Re: [android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-04 Thread Mark Murphy
On Sat, Jul 3, 2010 at 7:42 PM, Indicator Veritatis mej1...@yahoo.com wrote: That may be true, but if so, there is a serious problem with the online Android documentation. For as I have already shown, the documentation clearly states that there is a possible transition direct from the started

[android-beginners] Application Lifecycle Questions.

2010-07-04 Thread Ubuntu Explorer
Hi, I have the following questions about application lifecycle. 1. Activity 1 of Task 1 (affinity 1) starts Activity 2 (affinity 1, allowTaskReparenting ) of Task 2 (affinity 2) using Intent with FLAG_ACTIVITY_NEW_TASK. But, Activity 2 is already part of task 2 stack. Will activity2 move from

[android-beginners] Re: Having trouble with setDataSource() for MediaPlayer

2010-07-04 Thread appsgrrl
Hi -- I sorted out my problem. I found the answer in someone's blog. it turns out that I have to pass the startOffset and the length to the setDataSource(), and those are obtained via the AssetFileDescriptor: AssetFileDescriptor afd = getAssets().openFd(fileName);

[android-beginners] is here the right place for my question ?

2010-07-04 Thread jean francois pion
because I can't find elsewhere my question is about the google maps application on android 2.1 (or more) the pb is with an proprietary web application to send the adress of the mdical intervention for SOS Mdecins sometime when I clic on the adress in the web page the system ask if i want to

[android-beginners] Eclipse and shell have separate avd dirs - how to fix?

2010-07-04 Thread Michael Portuesi
On Mac OS 10.6.4, I've installed Android SDK, plus Eclipse 3.5 and Android plugins. - My SDK is installed at ~/android-sdk-mac_86 - The tools folder of the SDK is added to my bash PATH env var. - I've set up the SDK/AVD manager within Eclipse, pointing it to my ~/ android-sdk-mac_86 folder.

[android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-04 Thread Indicator Veritatis
Hi, Mark- As I should have expected for someone who did write a good book on Android, I see your knowledge of the Android life-cycle really is better than mine. But I am seeing something else that vitiates this superior knowledge, your habit of stating unconditionally, in a very general form,

[android-beginners]

2010-07-04 Thread A A
http://vecteurhabitat.phpnet.org/home.php -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send

Re: [android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-04 Thread Mark Murphy
On Sun, Jul 4, 2010 at 7:21 PM, Indicator Veritatis mej1...@yahoo.com wrote: Do you really want to encourage, for example, Android programmers to fail to handle correctly the case where onStop() is called without a preceding, corresponding call to onPause()? Such programming sounds very

[android-beginners] Difference Between Two Times

2010-07-04 Thread Jake Colman
I have a Date variable which, according to the Javadoc, represents a specific moment in time. I need to compare that time with the current time so that I can do something if the current time is within X minutes of the time represented by the Date. How the heck can I figure this out? I know