Eclipse - Galaxy Tab 7 with Android 2.3.4 not showing in Devices

Problem:

The Tablet is not showing in the "Devices" view.
Settings > Applications > Development > USB debugging is grayed out and not available to select.


The fix to the problem was simple, however it took several days to figure out as I always connect USB as a first thing:
  1. unplug the USB cable
  2. the "USB debugging" checkbox becomes available
  3. select (check) "USB debugging"
  4. re-connect the USB and it should show in devices



While investigating my options I updated from "Available Packages"
GALAXY Tab by Samsung Electronics., Android API 8, revision 1




You can also file-transfer APK to your device:








As an Amazon Associate I earn from qualifying purchases.

Eclipse - Galaxy Tab 7 with Android 2.3.4 not showing in Devices

Problem:

The Tablet is not showing in the "Devices" view.
Settings > Applications > Development > USB debugging is grayed out and not available to select.


The fix to the problem was simple, however it took several days to figure out as I always connect USB as a first thing:
  1. unplug the USB cable
  2. the "USB debugging" checkbox becomes available
  3. select (check) "USB debugging"
  4. re-connect the USB and it should show in devices



While investigating my options I updated from "Available Packages"
GALAXY Tab by Samsung Electronics., Android API 8, revision 1




You can also file-transfer APK to your device:








As an Amazon Associate I earn from qualifying purchases.

Google ADK - running DemoKit Android application

Set up of Eclipse and Arduino is necessary prior to following this tutorial.

Step ..
Eclipse > File > New Project > Android > Android Project



The source code for the DemoKit app is in:
~/Documents/Arduino/ADK_release_0512/app/AndroidManifest.xml


For Build Target, select Google APIs (Platform 2.3.3, API Level 10).

Step..



Possible problems:


Problem 1: Android 3.0 NOT 3.1

[2011-07-19 22:39:02 - DemoKit] Performing com.google.android.DemoKit.DemoKitLaunch activity launch
[2011-07-19 22:39:06 - DemoKit] Uploading DemoKit.apk onto device '380624742017317'
[2011-07-19 22:39:08 - DemoKit] Installing DemoKit.apk...
[2011-07-19 22:39:09 - DemoKit] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2011-07-19 22:39:09 - DemoKit] Please check logcat output for more details.
[2011-07-19 22:39:09 - DemoKit] Launch canceled!

[2011-07-19 22:40:49 - DemoKit] ERROR: Application requires API version 12. Device API version is 11 (Android 3.0.1).
[2011-07-19 22:40:49 - DemoKit] Launch canceled!




Solution (partial):
Samsung Galaxy Tab 10.1 is NOT 3.1, but 3.0.1 as of this writing therefore the libraries are missing.  Update the device to current 3.1 in the 
Settings > About tablet > System Updates > Update


Problem 2: Missing UsbManager

07-20 06:29:53.880: ERROR/AndroidRuntime(7879): FATAL EXCEPTION: main
07-20 06:29:53.880: ERROR/AndroidRuntime(7879): java.lang.NoClassDefFoundError: com.android.future.usb.UsbManager
07-20 06:29:53.880: ERROR/AndroidRuntime(7879):     at com.google.android.DemoKit.DemoKitActivity.onCreate(DemoKitActivity.java:152)

Solution: TBD

Answer from Samsung on StockOverflow

Accessory mode currently doesn't work with the Samsung Galaxy Tab 10.1. Samsung is aware of the issue and is working on resolving it. When the device does support accessory mode you should be able to use the com.android.future.usb.* APIs which will make it easier for you to write an app that works both with Android 3.1 and 2.3.4.







As an Amazon Associate I earn from qualifying purchases.

Google ADK - running DemoKit Android application

Set up of Eclipse and Arduino is necessary prior to following this tutorial.

Step ..
Eclipse > File > New Project > Android > Android Project



The source code for the DemoKit app is in:
~/Documents/Arduino/ADK_release_0512/app/AndroidManifest.xml


For Build Target, select Google APIs (Platform 2.3.3, API Level 10).

Step..



Possible problems:


Problem 1: Android 3.0 NOT 3.1

[2011-07-19 22:39:02 - DemoKit] Performing com.google.android.DemoKit.DemoKitLaunch activity launch
[2011-07-19 22:39:06 - DemoKit] Uploading DemoKit.apk onto device '380624742017317'
[2011-07-19 22:39:08 - DemoKit] Installing DemoKit.apk...
[2011-07-19 22:39:09 - DemoKit] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2011-07-19 22:39:09 - DemoKit] Please check logcat output for more details.
[2011-07-19 22:39:09 - DemoKit] Launch canceled!

[2011-07-19 22:40:49 - DemoKit] ERROR: Application requires API version 12. Device API version is 11 (Android 3.0.1).
[2011-07-19 22:40:49 - DemoKit] Launch canceled!




Solution (partial):
Samsung Galaxy Tab 10.1 is NOT 3.1, but 3.0.1 as of this writing therefore the libraries are missing.  Update the device to current 3.1 in the 
Settings > About tablet > System Updates > Update


Problem 2: Missing UsbManager

07-20 06:29:53.880: ERROR/AndroidRuntime(7879): FATAL EXCEPTION: main
07-20 06:29:53.880: ERROR/AndroidRuntime(7879): java.lang.NoClassDefFoundError: com.android.future.usb.UsbManager
07-20 06:29:53.880: ERROR/AndroidRuntime(7879):     at com.google.android.DemoKit.DemoKitActivity.onCreate(DemoKitActivity.java:152)

Solution: TBD

Answer from Samsung on StockOverflow

Accessory mode currently doesn't work with the Samsung Galaxy Tab 10.1. Samsung is aware of the issue and is working on resolving it. When the device does support accessory mode you should be able to use the com.android.future.usb.* APIs which will make it easier for you to write an app that works both with Android 3.1 and 2.3.4.







As an Amazon Associate I earn from qualifying purchases.

Google ADK - Arduino setup

This tutorial explains how to set up Android ADK / Arduino environment based on the official instructions

Step ..
Copy directories from:
~/Documents/Arduino/ADK_release_0512/firmware/arduino_libs
copy to:
~/Documents/Arduino/libraries


Step ..
Create directory:
~/Documents/Arduino/libraries/CapSense

Step ..
Copy .. 
~/Documents/Arduino/libraries/CapSense $ ls
CapSense.cpp CapSense.h


Step ..
Installing the Google APIs Add-On (instructions
Install "Third party Add-ons" -  Google APIs 10 revision 2











As an Amazon Associate I earn from qualifying purchases.

apt quotation..