开发者

Page navigation on Android using Basic4android

I am new to Android prog开发者_如何学Goramming. Using VB, how to navigate from one page to another page using Basic4android tool in www.basic4android.com

Code will be

startacticity("login")


From what I can gather, Basic4Android uses Layouts rather than the typical VB Forms

So if you want to click a button to move from 1 layout to another, behind the click event you would have

Activity.LoadLayout("layoutname")


To switch between activities on Basic4Android, you must enter the name of the activity in the code below.

StartActivity(LoginActivity)

Note that you should not include the name of an activity in Quotation mark .Name the activity without putting the mark.

I hope to help you

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜