To: android-developers@googlegroups.com
Subject: [android-developers] Re: Activity Issue on G1 phone
I meant that the static variable would -hold- the current activity.
Everything in your .apk runs in one process. When you declare a static
variable, that is creating a global to all code in that process
_
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Dianne Hackborn
Sent: Friday, January 23, 2009 3:07 PM
To: android-developers@googlegroups.com
Subject: [android-developers] Re: Activity Issue on G1 phone
There are two reasons
: Activity Issue on G1 phone
There are two reasons for this:
1. Both screen rotation and keyboard shown/hidden are configuration
changes, which means that after the state changes the application's
resources can have any arbitrary new values -- anything from specific
strings (for ex
Stanley.lei wrote:
Hi all,
I met a very strange issue when I tested my application on G1 phone.
As usual method, I started a thread in an activity, and stopped the
thread in the onDestroy method. But to my surprise, when I tried to
slide down the keypad, the onDestroy method was called
It's so interesting!
Thanks
On Jan 23, 11:21 pm, Mark Murphy mmur...@commonsware.com wrote:
Stanley.lei wrote:
Hi all,
I met a very strange issue when I tested my application on G1 phone.
As usual method, I started a thread in an activity, and stopped the
thread in the onDestroy
I think what happens is that the activity's state is saved, the activity is
destroyed, and then it is recreated with its saved state. This is the same
thing that happens when the home button is pressed and the app is reopened.
This just what I have come to understand, and may be wrong.
Then android's implementation has problem.
For example, if my application needs to create account, of cause, the
key board will open first. After user typed in user name and password,
then he clickes the create button.Request sends to server in a
thread. After that, he closes the keyboard, the
I rather agree with you!
In fact, I could not understand why Google designs like this. The
keyboard action could impact the rotation, but why changing rotation
impacts the activity? In my case, the thread is destroyed, which will
destroy all tasks in the thread. In worst case, the user will have
Yeah, threads are particularly fun to deal with in Android.
-Original Message-
From: Stanley.lei [mailto:xiaofeng.lei...@gmail.com]
Sent: Friday, January 23, 2009 11:52 AM
To: Android Developers
Subject: [android-developers] Re: Activity Issue on G1 phone
I rather agree with you
with in Android.
-Original Message-
From: Stanley.lei [mailto:xiaofeng.lei...@gmail.com]
Sent: Friday, January 23, 2009 11:52 AM
To: Android Developers
Subject: [android-developers] Re: Activity Issue on G1 phone
I rather agree with you!
In fact, I could not understand why Google designs
, 2009 12:45 PM
To: Android Developers
Subject: [android-developers] Re: Activity Issue on G1 phone
should this be considered as a bug for android application. Usally,
when people use keyboard, they are sending some information to server.
After that UI will be updated in call back.
On Jan 23, 10:20
Developers
Subject: [android-developers] Re: Activity Issue on G1 phone
should this be considered as a bug for android application. Usally,
when people use keyboard, they are sending some information to server.
After that UI will be updated in call back.
On Jan 23, 10:20 am, James Patillo ja
thread's state to the new one.
-Original Message-
From: cindy [mailto:ypu01...@yahoo.com]
Sent: Friday, January 23, 2009 12:45 PM
To: Android Developers
Subject: [android-developers] Re: Activity Issue on G1 phone
should this be considered as a bug for android application. Usally
13 matches
Mail list logo