Android Question Convert project from B4XPages to B4A

Sinan Tuzcu

Well-Known Member
Licensed User
Longtime User
Hi,

Is it possible, to change the project from B4XPages to B4A ?
I have tried, but doesn't works.
 

Attachments

  • Project.zip
    178.1 KB · Views: 128

MikeSW17

Active Member
Licensed User
Longtime User
If you have a working B4XPages project, why do you want/need to 'downgrade' it?
If something you want to do in B4XPages isn't working for you, it would be better to search for a solution here surely?
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
Is it possible, to change the project from B4XPages to B4A ?
Yes. Attached is your project converted to a conventional B4A project from a B4Xpages project. But, you will probably get criticized and received a lot of flack , rightfully so for going back to the old way, .
I tested it in B4A on QR codes and it works properly. No B4i testing.
 

Attachments

  • SinanBarCodeReaderModifiedByMahares.zip
    14.1 KB · Views: 124
Upvote 0

Sinan Tuzcu

Well-Known Member
Licensed User
Longtime User
Hi Mahares,

ok, this is now without B4XPages but the library like B4XView is still available.
Or ist this not relevant for B4X?

Thanks
Sinan
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
the library like B4XView is still available
1. If you want you app to be pure B4A specific, change all the 3views from B4Xview to:
B4X:
Private pnlPreview As Panel
 Private btnStartStop As Button
Private lblResult As Label
2. You can uncheck BCToast and XUI libraries, but you need to check JavaObject library
3. Replace all the BCTOAST messages and stuff with ToastMessageShow(......
 
Upvote 0

Sinan Tuzcu

Well-Known Member
Licensed User
Longtime User
Hi Mahares,

can it be, thats works only on your device?
If I click on the Button, den I gett the error msg:

activity_permissionresult was not found.
although I have confirmed the message with allow camera.
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
If I click on the Button, den I gett the error msg:
I tested it on 2 tablets and it worked on both. Here it is again attached, stripped of all B4X stuff. It is strictly B4A if you want to try it again
 

Attachments

  • SinanBarCodeReader101721.zip
    14.4 KB · Views: 108
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
If you want you app to be pure B4A specific, change all the 3views from B4Xview to:
Panel is not more "pure" or native than B4XView.

can it be, thats works only on your device?
If I click on the Button, den I gett the error msg:
Upgrade to B4A 11 and make sure that there are no old libraries in the internal libraries folder.
 
Upvote 0
Top