Friday, July 16, 2010

Re: [android-developers] Blank black screen while transiting to new activity.

On Fri, Jul 16, 2010 at 7:51 AM, Shekhar <shekharkec@gmail.com> wrote:
> I am facing a problem.In my application I have 3 actvities A,B,C which
> i have declared as singleInstance.I have observed that for the
> first time when I launch these activities(like A > B or B > C) there
> is a  delay observed and  I see a black screen for a while.
>
> I see in the blanch screen the header text that gets displayed is the
> application name which i have given in the android
> manifest.xml(android:label="@string/app_name")
>
> I amy unable to understand why this blank screen is observed? Experts
> please comment on how to avoid it

Build your UI faster. Use traceview to see where the slowdowns are:

http://developer.android.com/guide/developing/tools/traceview.html

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate