[android-developers] Problem with screenshot

2008-12-17 Thread Dec.
hi,guys~! i've been playing around on g-phone test for a few days,But i'm really confused on how to get current screenshot,One way is to use getrootview()-getdrawingcache() method,providing that a View on the screen is already known ;But the statusbar is lost,What's more,if i launch an

[android-developers] Re: How to create .apk file from the resurces that are given fro Android market

2008-12-17 Thread Dec.
Actually that is the APK file, Just pick another .apk file,Change it's postfix to .zip,Decompression it and you will see everything. Hope this helps! On 12月17日, 下午6时38分, Asif k asifk1...@gmail.com wrote: Hi All, I have downloaded one application from adroidgear.com and application is not

[android-developers] Have you tried the event send EV_KEY command in android emulator console ??

2008-12-18 Thread Dec.
It just cann't work ,and without any reason Will anybody please tell me y ?? Any comment will be much appreciated! BTW, the command event text string does a very nice work, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Sleeping thread vs. new thread

2009-01-07 Thread dec...@shanaghy.com
It is not a good idea to create a new thread every 100ms. As you noted there are overheads associated with thread creation. In a past project we noticed a significant memory impact from creating hundreds of thousands of new threads (albeit on windows system) If you don't want to use the sleep

[android-developers] Re: Options for sound in games

2010-01-14 Thread dec...@shanaghy.com
I've found SoundPool to be more reliable when you use ogg format files. Anything else causes trouble. For example sounds wont play or exceptions are thrown. On Jan 14, 10:13 am, Neilz neilhorn...@googlemail.com wrote: Well I've got mine working fairly well by using a SoundPool which only