Hi Community,
I am porting an app from B4J Aand B4i to B4A.
I have code to use the MediaPlayer. As I learned there is a difference between B4J and B4i. I saw that B4A can use the same as B4i.
Is the following condition allowed for B4A and B4i?
The IDE show this warning
Regards
--Christian
I am porting an app from B4J Aand B4i to B4A.
I have code to use the MediaPlayer. As I learned there is a difference between B4J and B4i. I saw that B4A can use the same as B4i.
Is the following condition allowed for B4A and B4i?
B4X:
#If B4i AND B4A
MP.Initialize(File.DirAssets, "Abadice_wuerfel.mp3", "MyPlayEnd")
MP.Play
Sleep(2000)
#End If
The IDE show this warning
B4X:
B4XMainPage - 75: Variable 'MP' is never assigned any value. (warning #10)
Regards
--Christian