Android testing: Emulator vs G1

by HowlettAndroid » Fri, 24 Apr 2009 00:20:17 GMT

Sponsored Links

        Hope you lot can help. I'm currently testing my application in
the SDK emulator, Great everything works perfectly. The next step was
to try the same application loaded on to the G1. After loading the
app, I'm getting some strange behaviour. Some Activities seem to be
called by intents multiple times, when in the emulator they only
appear once. Looking at the code I can't see what could be wrong. Any
help would be great.



Android testing: Emulator vs G1

by havexz » Fri, 24 Apr 2009 04:03:14 GMT

 You havnt clearly defined the problem. When is your activities called
again? By called again you mean these activities get restarted?

If I am guessing right this happens when you slide out the keyboard
(when the orientation is changed)?

On Apr 23, 8:44am, HowlettAndroid <>


Sponsored Links

Android testing: Emulator vs G1

by ShrinkRay » Mon, 27 Apr 2009 16:23:48 GMT

 Add debugging to the life cycle methods, this should help you see
exactly what is going on and at least analyse a time line of events.

On Apr 23, 2:44pm, HowlettAndroid <>


Android testing: Emulator vs G1

by HowlettAndroid » Wed, 29 Apr 2009 05:32:52 GMT

thanks for the messages.
I have a screen which gets input from the user,
this screen should be called once, but in execution, after inputing
all the data and clicking the continue button the input screen re-
appears. The continue button should and does in the emulator display a
menu screen. I have debugged the app and the intent (to create the
input screen),  seems to trigger a couple of time, but I can't explain

Hoper you can help


Other Threads

1. How to custom option menu to arrange four menu items at the one line??

standard four option menus displays 2 by 2 .
but i want to know that How to arrange 4 by 1.
I just want to custom option menu like that, any suggestion will be


2. Dev guide

Does somebody have Android dev guide (
guide/index.html) in PDF format?
I don't like to read on the computer, I'd like to print it but html
format is quite ugly.


3. android.webkit plugins

4. website login hashpassword?

5. The initial value of TextView's Text widget

6. Starting a Android Project in Eclipse

7. Keyboard.Key android:iconPreview attribute doesn't work