Loading Layouts - both appear

acedashdog

Member
Licensed User
Longtime User
This is dumb question corner; I'm coming from a PC/VB/Basic4PPC background so be gentle :)

I know I use
Activity.LoadLayout("menu")
to locad a form. It has buttons to show other forms, ubn the evnt for which I put
Activity.LoadLayout("nextpage")

But I end up with both instead of the new one 'over' the old
How do I hide the menu form and bring it back when I'm done with the second one?

Cheers
 

acedashdog

Member
Licensed User
Longtime User
Thanks Erel - looks like what I need
Another dumb one when you're ready
I complile the program, as far as I can tell that creates
\objects\temp.ap_

How do I install that on an actual phone (or in my case, streak tablet)? Which files do I copy?

Cheers
 
Upvote 0

acedashdog

Member
Licensed User
Longtime User
Sorry - I'll start a new one next problem :sign0161:

So the file called
\objects\result_DEBUG.apk is the compiled application?

What I want to do is hang it on my website for my Android phone using friends to find...

Thanks!
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
The name of the APK file will be the same as the project file or 'result' if the project file contains an illegal character (like space). You can rename the APK file as needed.

Do not distribute the DEBUG apk file as it contains debugging code and will not work properly. Uncheck Project - Attach debugger and then run your program.
 
Upvote 0

acedashdog

Member
Licensed User
Longtime User
Still doesn't show up, terribly sorry, I don't know what I'm doing wrong :(

My package name is AceDashDog.Greychar and label GreyChar

So I should get \objects\Grechar.apk, shouldn't I?
 
Upvote 0
Top