adriano.freitas Active Member Nov 16, 2021 #1 Hi! I'm trying to use an example I saw here on the forum about taking pictures with the device's default camera through INTENT. The difficulty I'm having is how to make this example work without using a B4X Page. My app has only one activity and I would like to keep it that way... Could someone help me?
Hi! I'm trying to use an example I saw here on the forum about taking pictures with the device's default camera through INTENT. The difficulty I'm having is how to make this example work without using a B4X Page. My app has only one activity and I would like to keep it that way... Could someone help me?
Erel B4X founder Staff member Licensed User Longtime User Nov 17, 2021 #2 adriano.freitas said: . My app has only one activity and I would like to keep it that way... Click to expand... Big mistake. Upvote 0
adriano.freitas said: . My app has only one activity and I would like to keep it that way... Click to expand... Big mistake.
josejad Expert Licensed User Longtime User Nov 17, 2021 #3 adriano.freitas said: The difficulty I'm having is how to make this example work without using a B4X Page. Click to expand... Is not the original example based on Activities? PS: Change to B4XPages¡¡ Last edited: Nov 17, 2021 Upvote 0
adriano.freitas said: The difficulty I'm having is how to make this example work without using a B4X Page. Click to expand... Is not the original example based on Activities? PS: Change to B4XPages¡¡
AnandGupta Expert Licensed User Longtime User Nov 17, 2021 #4 adriano.freitas said: The difficulty I'm having is how to make this example work without using a B4X Page. My app has only one activity and I would like to keep it that way... Click to expand... You already have it 'app has only one activity' as required in B4XPages See B4XPages is nothing special. It is a single activity with many panels. That's it. Only Erel added some function/methods to make life easier for us. Basically it is multi panel single activity sample of Klaus. ? Upvote 0
adriano.freitas said: The difficulty I'm having is how to make this example work without using a B4X Page. My app has only one activity and I would like to keep it that way... Click to expand... You already have it 'app has only one activity' as required in B4XPages See B4XPages is nothing special. It is a single activity with many panels. That's it. Only Erel added some function/methods to make life easier for us. Basically it is multi panel single activity sample of Klaus. ?
adriano.freitas Active Member Nov 17, 2021 #5 Hello everyone! For years I worked with other technologies and in recent days I found B4A and I've been trying ever since to find a way to develop what I need. I confess that this concept of Activity/B4X pages is strange to me and still somewhat obscure. I think then I took the wrong path! I've already started trying to review this! I appreciate everyone's information! Upvote 0
Hello everyone! For years I worked with other technologies and in recent days I found B4A and I've been trying ever since to find a way to develop what I need. I confess that this concept of Activity/B4X pages is strange to me and still somewhat obscure. I think then I took the wrong path! I've already started trying to review this! I appreciate everyone's information!
adriano.freitas Active Member Nov 17, 2021 #6 I quickly managed to convert the application and start using B4X Page. But even things that worked (intent, oauth, etc) are still working, but on the return the application is all restarted, not following where it was. Can anyone guide me on this? Upvote 0
I quickly managed to convert the application and start using B4X Page. But even things that worked (intent, oauth, etc) are still working, but on the return the application is all restarted, not following where it was. Can anyone guide me on this?
adriano.freitas Active Member Nov 17, 2021 #7 In the original code done in Activity, there was a line that I couldn't get past, which to use Activity.GetStartingIntent To redirect the flow back. It was in Activity_Resume I'm lost rsrsr Upvote 0
In the original code done in Activity, there was a line that I couldn't get past, which to use Activity.GetStartingIntent To redirect the flow back. It was in Activity_Resume I'm lost rsrsr
Erel B4X founder Staff member Licensed User Longtime User Nov 17, 2021 #8 Start with this example: https://www.b4x.com/android/forum/threads/b4x-b4xpages-intent-based-camera.120721/#content Upvote 0
Start with this example: https://www.b4x.com/android/forum/threads/b4x-b4xpages-intent-based-camera.120721/#content