Blank screen on app startup.

140 views
Skip to first unread message

boggins

unread,
Dec 26, 2012, 4:06:41 PM12/26/12
to andro...@googlegroups.com
Hello. I just posted the following in the Qt Forums before I found this group. Perhaps somebody here can help. Here's the post again:

Hello. I’m taking my first tentative steps in developing for Android with Qt. I’m using the Necessitas SDK (Qt Creator 2.5.83) from Ubuntu 12.04 and I’m trying to deploy some hello-word style apps to a CnM Touchpad 7 running Android 4.0.4. I’m targetting the Android version 15 SDK. 

When the apps deploy and start up, all I get is a blank screen. 

I’m able to run the apps OK on a variety of emulators set up via the Android AVD Manager. 

On the real device, I can see the device OK (e.g. from ./adb devices) and it seems to deploy OK. On initial deployment from QtCreator it fetches Qt libraries through Ministro, but thereafter all I get is a blank screen. The apps appear loaded on the tablet (I can see their icons under “Apps”), but if I try to start them again, then I just get a necessitas splash screen for a second or so, followed by a blank screen.

On initial deployment from QtCreator I have also sometimes (not always) seen the message “Unfortunately, the process android.process.acore has stopped.” on the tablet. This happens before QtCreator starts the “Starting remote process” part of the deployment. 

Can anybody help here? Are there some set-up steps that I have neglected? 
 Thanks.

Alberto Saviotti

unread,
Feb 25, 2013, 2:48:54 PM2/25/13
to andro...@googlegroups.com
Hi,
   I got the same situation.
Did you found a solution?

Thanks

Alberto Saviotti

unread,
Feb 25, 2013, 3:03:54 PM2/25/13
to andro...@googlegroups.com
Hi, finally (clearly after 5 minutes from my reply), I found a solution.
I did the following:
- Start a new project using as template 'Mobile Qt Application'
- Insert a label just in the middle 'TEXT LABEL FOO'
WITHOUT ANY OTHER CHANGE I got it displayed.

In order to be have a target I'm using 'Blue Stack' application on the Windows 8 host (no virtual device defined). In that way I was able to install inside Blue Stack:
- MINISTRO II
- MINISTRO CONFIGURATOR II 
and switch to the UNSTABLE version of the repository.

So I wonder if was the switch to UNSTABLE or the MOBILE applicatino to do the trick.

Ciao,
   Alberto


Il giorno mercoledì 26 dicembre 2012 22:06:41 UTC+1, boggins ha scritto:

boggins

unread,
Apr 3, 2013, 4:41:39 AM4/3/13
to android-qt
Hi,
Thanks for the suggestion, but the problem seems to remain for me
regardless of which of the Ministro repositories I have used (stable/
testing/unstable) - always just a black screen on the device, while on
the emulator it works OK.
Regards
Robin.

On Feb 25, 10:03 pm, Alberto Saviotti <alberto.savio...@gmail.com>
wrote:
> Hi, finally (clearly after 5 minutes from my reply), I found a solution.
> I did the following:
> - Start a new project using as template 'Mobile Qt Application'
> - Insert a label just in the middle 'TEXT LABEL FOO'
> WITHOUT ANY OTHER CHANGE I got it displayed.
>
> In order to be have a target I'm using 'Blue Stack' application on the
> Windows 8 host (no virtual device defined). In that way I was able to
> install inside Blue Stack:
> - MINISTRO II
> - MINISTRO CONFIGURATOR II
> and switch to the UNSTABLE version of the repository.
>
> So I wonder if was the switch to UNSTABLE or the MOBILE applicatino to do
> the trick.
>
> Ciao,
>    Alberto
>
> Il giorno mercoledì 26 dicembre 2012 22:06:41 UTC+1, boggins ha scritto:
>
>
>
>
>
>
>
>
>
> > Hello. I just posted the following<http://qt-project.org/forums/viewthread/23080/>in the Qt Forums before I found this group. Perhaps somebody here can help.
Reply all
Reply to author
Forward
0 new messages