Difference between revisions of "Android Discovery Zone"
Line 55: | Line 55: | ||
*'''Decompiling Android''' by Godfrey Nolan (2012). -- ebook at Seneca Library | *'''Decompiling Android''' by Godfrey Nolan (2012). -- ebook at Seneca Library | ||
**Dalvik bytecode (DEX files) | **Dalvik bytecode (DEX files) | ||
+ | |||
+ | = Installing and Debugging Android Apps on Eclipse on a Kobo Vox in Ubuntu/Unix = | ||
+ | |||
+ | turn on your device. In settings go to application. From applications go to development and enable USB debugging. | ||
+ | |||
+ | plug in your device to the usb in your computer/laptop | ||
+ | |||
+ | log in as sudo and create a file called 51-android.rules in your etc/udev/rules.d in the root folder. | ||
+ | |||
+ | Sudo -i | ||
+ | |||
+ | enter your password | ||
+ | |||
+ | cd ../.. | ||
+ | |||
+ | cd etc/udev/rules.d | ||
+ | |||
+ | gedit 51-android.rules | ||
+ | |||
+ | |||
+ | in that file you enter the following | ||
+ | |||
+ | SUBSYSTEM=="usb", ATTR{idVendor}=="2237", MODE="0666", GROUP="plugdev" | ||
+ | |||
+ | ATTR{idVendor} is passed the vendor code for your device and varies depending on the type of android device you are using. (in this case vendor 2237 is the vendor ID for the Kobo Vox) | ||
+ | |||
+ | A list of vendor ID's can be found here: | ||
+ | |||
+ | http://developer.android.com/tools/device.html | ||
+ | |||
+ | exit and save the file | ||
+ | |||
+ | now type in adb devices. Your device should now be listed | ||
+ | |||
+ | activate eclipse and select your application | ||
+ | |||
+ | right click on it, select run as android application. As long as your device runs the minimum SDK version listed in your apps manifest file (ie: <uses-sdk android:minSdkVersion="10" />) then your device should be on the list of devices where you can run and debug your app. Most devices can run a SDKVersion 8 though for some of the later labs you might need SDKVersion 10. |
Revision as of 09:15, 21 November 2013
Contents
Development Environment Setup for using Google Maps and Location Services
- the Setup section in the Google Play services guide [1]
Google Maps Android API v2
- Hands-On Tutorials
- Google Maps Android API v2 - Tutorial (Lars Vogel 2013) [2]
- Demo projects (Google Maps Android API v2) from Dartmouth College [3]
- use your own Maps API keys for different apps!
- Google Maps Android API (Google services) [4]
- Add a map object.
- Draw markers.
- Change views.
- Get your API key for Maps (Getting Started Guide)
- A simple example using Google Maps Android API v2 [5]
- Exploration with Google Maps Android API v2
Location Awareness
- Making Your App Location-Aware [15]
- Location Services API (Google Play services)
XMLPullParser
Android UI Design
- Android UI Design
- Android UI: Menus vs Action Bar
- ebooks on Android UI Design at Seneca Library
- Smashing Android UI responsive user interfaces and design patterns for Android phones and tablets by Juhani Lehtimäki. Wiley 2013.
- Android UI fundamantals develop and design by Jason Ostrander. Peachpit 2012.
- Android design patterns interaction design solutions for developers byGreg Nudelman. Wiely 2013.
Resource Types
- application resources provided in the /res directory [24]
Decompiling Android
- Decompiling Android by Godfrey Nolan (2012). -- ebook at Seneca Library
- Dalvik bytecode (DEX files)
Installing and Debugging Android Apps on Eclipse on a Kobo Vox in Ubuntu/Unix
turn on your device. In settings go to application. From applications go to development and enable USB debugging.
plug in your device to the usb in your computer/laptop
log in as sudo and create a file called 51-android.rules in your etc/udev/rules.d in the root folder.
Sudo -i
enter your password
cd ../..
cd etc/udev/rules.d
gedit 51-android.rules
in that file you enter the following
SUBSYSTEM=="usb", ATTR{idVendor}=="2237", MODE="0666", GROUP="plugdev"
ATTR{idVendor} is passed the vendor code for your device and varies depending on the type of android device you are using. (in this case vendor 2237 is the vendor ID for the Kobo Vox)
A list of vendor ID's can be found here:
http://developer.android.com/tools/device.html
exit and save the file
now type in adb devices. Your device should now be listed
activate eclipse and select your application
right click on it, select run as android application. As long as your device runs the minimum SDK version listed in your apps manifest file (ie: <uses-sdk android:minSdkVersion="10" />) then your device should be on the list of devices where you can run and debug your app. Most devices can run a SDKVersion 8 though for some of the later labs you might need SDKVersion 10.