Regular Emulator Runs... but not my Program (got past the scrolling red bar)

by robertlee42 » Sun, 29 Jun 2008 20:47:31 GMT


Sponsored Links
 Hey guys,

I just downloaded Android. I used the tutorial for the HelloWorld, and
ran it... the emulator comes up fine but when it loads, the emulator
comes up with the homescreen of a phone instead of displaying my
HelloWorld.

Any ideas?

Eclipse shows this:

[2008-06-28 23:33:54 - Android_Hello] Android Launch!
[2008-06-28 23:33:54 - Android_Hello] adb is running normally.
[2008-06-28 23:33:54 - Android_Hello] Launching: Hello.Hello
[2008-06-28 23:33:54 - Android_Hello] Automatic Target Mode: launch
emulator.
[2008-06-28 23:33:54 - Android_Hello] Launching a new emulator.
[2008-06-28 23:33:55 - Android_Hello] New emulator found: emulator-
tcp-5555
[2008-06-28 23:34:00 - Android_Hello] emulator-tcp-5555 disconnected!
Cancelling 'Hello.Hello' launch!

Thanks,
Robert

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Cannot start volume '/sdcard' (volume is not bound) error using vold

Hi All,

Iam seeing the SDcard mount issue with the donut release 1.6_r1.

This uses vold.

Please see the below log portion for details:


# I/vold    (  620): Android Volume Daemon version 2.0
I/vold    (  620): New MMC card 'MMC08G' (serial 520946106) added @
/devices/EMMC/mmc_host/mmc0/mmc0:0001
I/vold    (  620): Disk (blkdev 179:0), 15638528 secs (7636 MB) 4 partitions
I/vold    (  620): New blkdev 179.0 on media MMC08G, media path
/devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 4
I/vold    (  620): Partition (blkdev 179:1), 16384 secs (8 MB) type 0x83
I/vold    (  620): New blkdev 179.1 on media MMC08G, media path
/devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 3
I/vold    (  620): Partition (blkdev 179:2), 524288 secs (256 MB) type 0x83
I/vold    (  620): New blkdev 179.2 on media MMC08G, media path
/devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 2
I/vold    (  620): Partition (blkdev 179:3), 2277376 secs (1112 MB) type
0x83
I/vold    (  620): New blkdev 179.3 on media MMC08G, media path
/devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 1
I/vold    (  620): New MMC card 'SU02G
I/vold    (  620): ' (serial 821168021) added @
/devices/MMC/mmc_host/mmc1/mmc1:bf0a
I/vold    (  620): Disk (blkdev 179:8), 3862528 secs (1886 MB) 4 partitions
I/vold    (  620): New blkdev 179.8 on media SU02G
I/vold    (  620): , media path /devices/MMC/mmc_host/mmc1/mmc1:bf0a, Dpp 1
W/vold    (  620): Skipping partition 8
I/vold    (  620): Partition (blkdev 179:9), 3858489 secs (1884 MB) type 0x0
I/vold    (  620): New blkdev 179.9 on media SU02G
I/vold    (  620): , media path /devices/MMC/mmc_host/mmc1/mmc1:bf0a, Dpp 0
E/vold    (  620): Unable to open '/sys/class/switch' (No such file or
directory)
D/vold    (  620): Bootstrapping complete

-------------------------------------------------------------------


D/vold    (  620): Accepted connection from framework
D/vold    (  620): dispatch_cmd(send_ums_status):
D/dalvikvm(  636): GC freed 4588 objects / 209768 bytes in 105ms
D/MountListener(  636): handleEvent volume_nomedia:/sdcard
D/vold    (  620): dispatch_cmd(mount_volume:/sdcard):
E/vold    (  620): Cannot start volume '/sdcard' (volume is not bound)


The log gives  some error like this
E/vold    (  620): Unable to open '/sys/class/switch' (No such file or
directory)
E/vold    (  620): Cannot start volume '/sdcard' (volume is not bound)

Please let me know if someone already has seen this issue and how to
overcome the same.


If i manually run the following command,
$mount -t vfat /dev/block/mmcblk1p1 /sdcard

then i am able to see inside the /sdcard my SDCard contents.

Regards,
Sreedhar

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Dynamically grow listview

Hi,
I am trying to make ListView which should display data from db. But
the db is filled slowly so want the entries in the ListView to grow
dynamically according to the elements in db.
For example on a desktop music player when you import a folder to the
music library the list with songs is filling in real time with the
newly added songs.
So how can i get this working on android.

-- 

3. Scroll Event in Android

4. android and building automation

5. Qestion about Android Build System

6. IWIC indosat

7. playing media files, from prebuilt android binaries