iOS Question Converting from B4A

db0070

Active Member
Licensed User
Longtime User
Just completed my B4A app, now need help with converting to B4i

I am using the following libraries in B4A - what are the equivalent in b4i?

Library1=core
Library2=dateutils
Library3=ahlocale
Library4=gps
Library5=astro
Library6=phone
Library7=animation
Library8=javaobject

I am struggling to find the following replacements in B4i:-

Dim GPS1 As gps
Dim Orientation As PhoneOrientation
Dim txtFile As TextWriter
Private txtBox1 As EditText
Dim Rotation As Animation
Private rbButton As RadioButton
Dim pm As PackageManager
Dim in As Intent

Will really appreciate if someone can point me in the right direction.
 

klaus

Expert
Licensed User
Longtime User
Library1=core > iCore
Library2=dateutils > DateUtils code module
Library3=ahlocale > doesn't exist or I don't know
Library4=gps > iLocation different from Android
Library5=astro > doesn't exist or I don't know
Library6=phone > doesn't exist Android specific, there is an iPhone library but completely different
Library7=animation > doesn't exist or I don't know
Library8=javaobject > doesn't exist Android specific, NativeObject does exist in B4i but is B4i specific and not compatible with Android.

Dim GPS1 As gps > Dim GPS1 As LocationManager
Dim Orientation As PhoneOrientation > look HERE
Dim txtFile As TextWriter > I don't know
Private txtBox1 As EditText > TextField
Dim Rotation As Animation > I don't know
Private rbButton As RadioButton > doesn't exist
Dim pm As PackageManager > I don't know
Dim in As Intent > doesn't exist or I don't know

The answers above are according to my knowledge, perhaps I am missing some points.

As the operating systems are different many things depending on the OS are different.

You may have a look at the B4i Beginner's Guide.
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
Thanks Klaus - I thought it would be relatively easy to convert to b4i - but I guess I have a learning curve here. I will plough ahead

Where is the TTS library for b4i?
Also, I used MP1.IsPlaying in b4A, which sadly is missing in b4i. How do I work out if the audio file is still playing?
 
Upvote 0
Top