Re: [blrdroid] Black screen on activity transitions

From: Sandeep
Sent on: Tuesday, March 18, 2014 5:36 PM
The black color you are seeing is Window Background.
It is being shown on activity transition cause might be performing heavy operation either in onCreate or onStart of second activity on Main thread.
So, to avoid the issue, either refactor you code of second activity or change window background to match the theme of your application.


On Tue, Mar 18, 2014 at 5:18 PM, Amrit Sanjeev <[address removed]> wrote:
you are doing too much work on the oncreate() method of the activity .. 
reduce the amount work and move some of the work out to a thread . 
I would suggest a thread instead of asynctask as this is a one time run code and asynctask would just add additional load of setting up thread pools and stuff internally 

cheers, 

Amrit Sanjeev

"If at first the idea is not absurd, then there is no hope for it" - Albert Einstein 

Try Paperboy - Offline Feedly News Reader
 


On Tue, Mar 18, 2014 at 5:09 PM, pravin <[address removed]> wrote:
Hello,

Stuck with black screen appears for few seconds on before second activity open.

any idea, help ?



Thanks & Regards
    Pravin Mohol
  [masked])





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by pravin ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about pravin, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Amrit Sanjeev ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about Amrit Sanjeev, visit his/her member profile

To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

Our Sponsors

  • Though Works

    Location Sponsor

  • GTUG

    Sponsor

  • Apigee

    Location Sponsor

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy