6/28/10

Idiots guide to android app development

Still a work in progress. Got stuck at:
could not find virtual device when i created my avd. Turns out to be some crap with windows file structure.

solution:
http://groups.google.com/group/android-developers/browse_thread/thread/72292c1ccb2e1bb4/0e83f589301d3f83?lnk=gst&q=emulator%3A+could+not+find+virtual+device#0e83f589301d3f83

more to come if i can ever get this to work at all.

after updating the environment var following the above link - i now get

"An internal error occurred during: "Launching HelloAndroid".
java.lang.NullPointerException"

So far, google android developing sucks.

-bp

5/4/10

Implementing the new Facebook Social Plugins

Facebook has an awesome collection of free social plugins available for web developers - as i started working with them i found very little in the way of "getting started" or "FAQ's" that were comprehensive enough to be useful. Most existing documentation assumed you were already part way there and left out steps. This is my try at a complete getting started tutorial.

1. Create a facebook (fb) profile for yourself (the developer) and then log into facebook using this profile.

2. Set up your fb application that will point to your website. THIS IS KEY! The result of this step will be the unique ID #'s that will allow everything else to happen. Visit this page http://developers.facebook.com/setup/ and follow the instructions.

3. Once you have created your application you are ready to visit:
http://developers.facebook.com/plugins

This page/site will write out the basic code for you - even writing out complete HTML sample pages that hold the various options.

4. Copy/paste in the sample code - being careful to get exactly what you need.

The result?

http://www.logsitall.com/fb-test.asp shows the result of this process - through to a comments box/ auto login and like link.


to summarize:

First, set up a new application:

1. Go to: http://www.facebook.com/developers
2. Click on the + Set Up New Application button (at the top right of the page)
3. Type your Application Name (example: Mysite-Name Comments) > select Agree > click on Create Application
4. Go to the Connect tab (on the left tabs-list)
5. Enter your site url with an ending slash in Connect URL and click on Save Changes (for example: http://mysitedomainname.com/)
6. You will see your Application ID number (below your app API & Secret)
7. It will take between 2 to 20 minutes until it will be ready to use with.

Happy coding.

-bill

4/15/10

Conversion tracking 101

1. tag ads (in other words use the link i just sent to append the destination that visitors go to when clicking your banner ads).
[3:47:56 PM] bill patton: 2. Set up the "goals" within your GA account.
[3:48:42 PM] bill patton: **each goal would be something like "submitted custom quote" or "submitted regular quote". You'll set up a goal for each of your contact/conversion types.
[3:49:08 PM] bill patton: This is done at the root level within your GA account by deciding which page defines a conversion (usuall a 'thank you page' or similar).
[3:50:06 PM] bill patton: 3. Once you have set up the goals and tags within GA and your advertising vendor you'll see within your GA account "traffic sources" - campaigns.
[3:50:26 PM] bill patton: Within each campaign you will see the # of visits and the # of conversions - giving your the conversion info you are looking for.
[3:51:11 PM] bill patton: 4. for bonus credit - calculate your average revenue per conversion - you can associate a $$ value for each conversion rule - this will then let you start calculating the value/click vs. the cost/click you are paying for.