Invisible Activity for Android > 1.6

Put your problem here if it does not fit any of the other categories.

Invisible Activity for Android > 1.6

Postby androidorama » Mon Jul 05, 2010 11:57 am

I have developed an App that launches and works fine on Android 1.5 and 1.6.

When I try and use it on a version higher then that the app's activity starts, progress dialogs popup and I can see my AsyncTask executing and the info being returned via Logcat. No errors or exceptions are shown.

But the Activity never displays. All I see is the progress dialog showing over the home screen and then nothing. The process is active and running under the DDMS view. and all the data has been initialised.

The Activity and its View are completely invisible for Android higher then 1.6
androidorama
Freshman
Freshman
 
Posts: 2
Joined: Mon Jul 05, 2010 11:55 am

Top

Re: Invisible Activity for Android > 1.6

Postby androidorama » Tue Jul 06, 2010 10:52 am

I found the problem.

I had to explicity call setVisible(true) in my onCreate() method. Even though the root layout component of the activities had visibility="true" already.
androidorama
Freshman
Freshman
 
Posts: 2
Joined: Mon Jul 05, 2010 11:55 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests