Eclipse-Android Touch Demo

Hello all, here are some supporting documents to go along with my Touch Demo from today in class.

Download the source files from the demo. Just unzip, and in Eclipse > Import, and point to the unzipped folder. (Note: I set this up to run on android 2.1 build 7)

Some references I used:

http://www.brighthub.com/mobile/google-android/articles/30286.aspx
(^This one refers to how one handles user interaction in an Android platform)

http://stackoverflow.com/questions/2748830/how-to-change-background-color-in-android-app
(^Background color, both static and dynamic)

http://developer.android.com/reference/android/view/View.OnTouchListener.html
(^The Android class for “OnTouchListener” and its various variables and such)

http://download.oracle.com/javase/tutorial/java/index.html
(^Reference for Java)

http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html
(^ ASE – Android Scripting Environment, a quick search for this on Google will show a Barcode scanner written in 6 lines of code!!!)

Also, just in case you wanted to export your project as an APK file (to install it on an Android phone, not in the market though) here is what you will need
Go to File > Export > Export Android Application > Select your project > Use existing keystore. For Location click Browse > Navigate to C:\Users\*YourUserName*\.android\debug.keystore
Here is all other relevant information, regarding passwords
The SDK tools create the debug keystore/key with predetermined names/passwords:

  • Keystore name: “debug.keystore”
  • Keystore password: “android”
  • Key alias: “androiddebugkey”
  • Key password: “android”
  • CN: “CN=Android Debug,O=Android,C=US”

(all found here: http://developer.android.com/guide/publishing/app-signing.html#debugmode)

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s