Android Question Is possible converter app Android to Iphone?

Alisson

Active Member
Licensed User
Hello!
The application or app developed in Basic4android can be converted to run on iPhone?
If is possible how make,?

Thanks very much!
 

Cableguy

Expert
Licensed User
Longtime User
The simplest answer is : YES
The most complete answer is :

Since the aim of B4x products and main feature is a common IDE, and very similar language, any app can be re-created in either of the 3 Platforms, except for Platform specific (hardware) limitations.
This means that an App created in B4A can "easily" ( according to your degree of expertize ) be implemented in B4i, even sharing up to about 80% of the code between them. BUT since they are different devices ( OS wise ), some adaptation is needed.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
There is no 'automatic' converter.
iOS and Android are different operating systems.
Not all B4A views have a B4i equivalent, B4i has views not available in B4A.
Erel has written a layout file converter which converts a B4A layout file into a B4i layout file. I hevent' used it yet.
General basic code can be reused without problem but user interface parts need to be rewritten.
You can have a look at the SQLiteLight examples in my signature the B4i version were ported from B4A.
You should also have a look at following chapters in the B4i Beginner's Guide 7 Process life cycle, 11 Differences B4i <> B4A and 12 User Interfaces.
 
Upvote 0

Alisson

Active Member
Licensed User
Klaus, if B4X team develop a B4A converter for B4i would be fantastic. Because there are many libraries in B4A
and import the code for B4i give more popularity to B4A .
Many thanks for the reply.
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
You have to start new projects with keeping both B4A & B4i in mind and create suitable routines in shareable modules.

When you do that convertions are done very quickly (depending on the type of app and if both OS's support everything ofcourse)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…