iOS Question B4A / B4I - shared files

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Sorry to ask this, but just signed up for B4I and am trying to take a current B4A Pages program and have it work on B4I

1621696751472.png


I am a little confused. Should I create all my Pages in the Shared Files directory and link relative to them?

When I create a page in B4A it is created under the B4A directory.
But when I try to create a page (no page just classes here) in B4I is is created in the B4i directory.

I had just converted my app to B4XPages thinking it would make going to B4i easier.

Any suggestions on how to proceed to get the most out of sharing as I can.
 

klaus

Expert
Licensed User
Longtime User
Did you have a look at the B4XPages cross-platform projects booklet ?
When you create a new B4XPages project you must select B4XPages !

1621698825272.png


All pages must be in the project folder like B4XMainPage.
It is easier to add new pages in B4A. When when create a new page you must select B4XPage.
Currently, Add a B4XPage does not exist in B4i for technical reasons.

1621698568991.png


Enter its name and select Add module to parent folder.

1621698664902.png


All files common to the platforms should be in the Shared Files folder, like images, databases etc..
These are copied to the platforms Files folder during compiling.

All platform specific files like layouts must be in the platforms Files folder.
 
Upvote 0
Top