Android testing: Emulator vs G1

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


Sponsored Links
 Hello,

        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.

Thanks
 HowlettAndroid

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



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 <johnhowlet...@googlemail.com>


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


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 <johnhowlet...@googlemail.com>



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



Android testing: Emulator vs G1

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


 Hi,
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
why.

Hoper you can help



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



Other Threads

1. How can I align an ImageView to the right of the Parent?

Hi,

I have the following l relative layout, which I want an Image to the
left and an Image to the right, then the rest is filled by TextView.
But I can't get the last image to align right of the parent. I have
added 'android:layout_alignParentRight="true"' but it does not work.


Any idea please?
Thank you.



<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
        android:padding="6dip">

        <ImageView android:id="@+id/icon"
            android:layout_width="wrap_content"
                android:layout_height="fill_parent"
                android:layout_alignParentTop="true" />

        <TextView android:id="@+id/text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignWithParentIfMissing="true"
            android:layout_toRightOf="@id/icon"
            android:layout_alignParentTop="true" />
                
        <ImageView
        android:id="@+id/button1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toRightOf="@id/text"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true"
        android:src="@drawable/icon" />

</RelativeLayout>

-- 

2. interpolatedTime in applyTransformation method



interpolatedTime == 0.0 when animation starts

interpolatedTime == 1.0 when animation ends

interpolatedTime == 0.5 in the middle of animation, and so on

pskink

-- 

3. CheckoutCheck Open-Sourced

4. Easiest way to programmatically check if the Market app is installed?

5. Feature support in WebKit on Android?

6. importing android system parcelables in eclipse

7. For miley user...:)