[android-developers] Re: internet connection in emulator

2010-05-05 Thread Thilo-Alexander Ginkel
On May 5, 11:25 am, Jags jag...@gmail.com wrote: I am trying to access internet through android emulator. I followed instructions from http://developer.android.com/guide/developing/tools/emulator.html#proxy and supplied same ip and port that i am using in my IE browser. Still public

[android-developers] Re: WiFi data transfer stalls as soon as screen becomes blank

2010-05-04 Thread Thilo-Alexander Ginkel
Hi Jack, On May 4, 3:18 am, jdeslip jdes...@gmail.com wrote: I have the exact same problem on a download manager app I am trying to write.  My service aquires PARTIAL_WAKE_LOCK, but when the screen is blank wifi downloads still seem to come to a stand-still (on Nexus One).  If I instead

[android-developers] Re: Problem in renaming file in Sdcard

2010-05-03 Thread Thilo-Alexander Ginkel
On May 3, 9:23 am, brijesh masrani masrani.brij...@gmail.com wrote: I want to rename a file in sdcard using program, i am not able to do that using String[] prog ={mv HArdcore.chm h_ardcore.chm}; Process p = Runtime.getRuntime().exec(prog); so if anyone knows how to do that than please

[android-developers] Re: MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread Thilo-Alexander Ginkel
On Apr 25, 3:48 pm, henrik henrik.aron...@gmail.com wrote: On 25 apr, 12:08, henrik henrik.aron...@gmail.com wrote: I have a problem with MediaPlayer on my HTC Hero.  When I set it to decrypt play a local file in the background, it starts skipping after a minute or two, even though I have

[android-developers] Re: MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread Thilo-Alexander Ginkel
On Apr 25, 9:59 pm, Thilo-Alexander Ginkel th...@ginkel.com wrote: The weird thing is, the problem goes away if I use SCREEN_DIM_WAKE_LOCK instead.  But I really don't want to drain my users' batteries needlessly. That looks somewhat similar to the problem I described at:  http

[android-developers] Re: MediaPlayer skips even though PARTIAL_WAKE_LOCK is set

2010-04-25 Thread Thilo-Alexander Ginkel
On Apr 25, 10:23 pm, Thilo-Alexander Ginkel th...@ginkel.com wrote: Can you try what happens if you acquire the wake lock with the WAKE_BIT_CPU_WEAK set? I'd try it myself, but am a little short on time right now. Well, scrap that idea... Did not try it, but figured out that at various places

[android-developers] Android emulator -dns-server usage

2010-04-20 Thread Thilo-Alexander Ginkel
Hello everyone, I am currently somewhat struggling to get the Android emulator to use a custom DNS server, which is running on localhost (127.0.0.1). As of now, I have tried various approaches trying to convince the emulator to use my DNS server, so far without success. In the end, it always

[android-developers] Re: WiFi data transfer stalls as soon as screen becomes blank

2010-04-15 Thread Thilo-Alexander Ginkel
Hello again, On Apr 11, 3:12 pm, Thilo-Alexander Ginkel th...@ginkel.com wrote: I am currently trying to figure out how to fix an annoying bug in Sipdroid [1], which seems to be triggered by a power management optimization in Android 2.1: While a SIP (VoIP) call is in progress via WiFi

[android-developers] WiFi data transfer stalls as soon as screen becomes blank

2010-04-11 Thread Thilo-Alexander Ginkel
Hello everyone, I am currently trying to figure out how to fix an annoying bug in Sipdroid [1], which seems to be triggered by a power management optimization in Android 2.1: While a SIP (VoIP) call is in progress via WiFi, the data transfer becomes unreliable (and basically stalls) as soon as

[android-developers] Re: Out of memory and no useful stack trace

2010-04-11 Thread Thilo-Alexander Ginkel
On Apr 11, 3:44 pm, HippoMan hippo.mail...@gmail.com wrote: My android app is getting an Out of memory error without a useful stack trace. It occurs after I have repeatedly re-invoked its main logic through a menu interaction, which leads me to believe that there's a memory leak somewhere. I

[android-developers] Re: Clickable hyperlinks in AlertDialog

2010-01-05 Thread Thilo-Alexander Ginkel
On Jan 4, 7:55 am, Tommy Hartz to...@webpro.com wrote: you can set the android:autoLink=all or whatever attribute you need in place of all So, to sum things up there is no way around using a custom TextView. I am currently using the following code successfully, which I am including for the

[android-developers] Clickable hyperlinks in AlertDialog

2010-01-03 Thread Thilo-Alexander Ginkel
Hello everyone, apologies if I missed something obvious... What I am trying to accomplish is to have clickable hyperlinks in the message text displayed by an AlertDialog. While the AlertDialog implementation happily underlines and colors any hyperlinks (defined using a href=... in the string

[android-developers] Using custom defaults for PreferenceScreen

2009-12-10 Thread Thilo-Alexander Ginkel
Hello everyone, I am currently trying to implement a PreferenceActivity for my application that uses custom default values for its preferences instead of the defaults declared in the corresponding preference XML as the defaults are supposed to change dynamically based on certain conditions.