Black screen with no controls when running program on mobile device

lagarre99

New Member
I downloaded the trial of basic4android and was really impressed, but i have a problem with running anything on my zte blade mobile device.
The designer works fine on it, but when i compile and run i just get a black screen with the titlebar and text. None of the controls are displayed, although the orientation flipping still works.
I have tried numerous layouts and example code but they all do the same thing.
I cant seem to locate any solutions on the forum, so anyone have any ideas?
 

TomK

Member
Licensed User
Longtime User
Did you "Generate Members" from the Tools menu selection in the designer?

It sounds as though perhaps they are not declared in the code.

Just a thought....



Tom
 
Upvote 0

lagarre99

New Member
Ha iv solved it,

Sub Activity_Create(FirstTime As Boolean)
activity.LoadLayout("testlayout")
end sub

seems i forgot to load the layout, so it was my own incompetance :signOops:

Thanks for your help tom :sign0089:
 
Upvote 0
Top