Tuesday, June 1, 2010

Bird Houses Changed Over

Assign install an app on the Motorola "Backflip" via Eclipse IDE

Here is a small report about installing an app on a "real" Android smartphone.

Equipment: Motorola "Backflip" (courtesy of an electronics wholesaler provided)

testapp: MP3 Player, Songs of the filters using the genre tags from the SD card.

Test System: Windows XP Professional comes standard with USB drivers for the following devices:

T-Mobile G1 * / ADP1
T-Mobile myTouch 3G * / Google ion

Verizon Droid *

Nexus One
  • for the Motorola "Backflip" must therefore have a matching ADB driver be installed:
  • Driver Motorola 32-bit version
  • Driver Motorola 64-bit version


If the unit is now properly recognized through the USB port, it is next due in Einstellungesmenü smartphone the mode "USB debugging" under "Applications -> Development" to activate.
Tip:
About Befehl adb devices

kann über die Kommandezeile im Unterordner "tools" des Android-SDK eine Liste mit allen angeschlossenen Geräten ausgegeben werden (wenn das Smartphone erfolgreich angeschlossen und erkannt wurde, erscheint hier genau ein Eintrag).

2. Installieren der App auf dem Gerät aus Eclipse Der eigentliche Installationsvorgang ist jetzt relativ einfach. Wichtig ist hierfür nur, dass in Eclipse im Tab "Target" der "Run Configurations" der Punkt "Manual"

angewählt ist .
Damit kann beim Starten der App manuell ausgewählt werden, ob diese im Emulator oder direkt auf dem Gerät installiert should be. Furthermore, in the AndroidManifest XML in the tab "Application" is the value for "debug Gable" is set to true.
third Results The MP3 player app could be installed works with the Motorola "Backflip" finally and fully successful.
Important: should access


If the tested app in any way to the SD card (as in this case), it is essential for connecting the device via USB cable
the display appearing dialog box with "Not be acknowledged "to provide, otherwise the SD card is blocked by the device, and this cursor as queries not properly ausgewertet werden können.

Bemerkenswert war außerdem die Tatsache, dass zumindest auf dem Testgerät die UI-Buttons nur dann funktionieren, wenn die Event-Listener vollständig ausprogrammiert wurden. D.h. die vereinfachte Zuweisung von Event-Funktionen rein über die "Properties" in der main.xml reichten in diesem konkreten Fall nicht aus. --us



0 comments:

Post a Comment