It is a wrap for this Github project. I came across it while I was looking for some additional code for this project:
https://www.b4x.com/android/forum/t...has-flash-inline-java-code.66427/#post-427412 - it will start up both the front and back cameras of devices that support this functionality and display both camera previews simultaneously (functionality that is supported by for eg the HTC One M8).
This project is however not related to devices that support this type of functionality (mostly hardware functionality) but rather a project that allows you to:
The combined image will be saved in your device's /pictures folder (in a sub folder called dualCam)
You will need android-support-v4.jar in your additional library folder. Posting the following:
1. B4A project
2. B4A library files
Take note of the files inside the /Objects/res/blabla... folders of the B4A project. Make sure they are set to READ ONLY before you run the project.
When the app starts, click on the Start Scan button. The back camera will be activated. Now click on the icon (camera + heart) to take a snapshot with the back camera.
The front camera is started automatically once the back camera pic has been taken. Click on the icon (camera + heart) to take a picture with the front camera.
The following dialog will appear - click on Yes
Enter your text in the text box, use the slider to set the text size, and then click on Select a Font Color
Pick a text color in the outer ring and click the centre "bulls eye" once you have selected your color from the outer ring
I have selected Green....and then clicked on the Green "bulls eye"
The result....
....continuing in post #2
You can download and test it but if you want to use it you need to
https://www.b4x.com/android/forum/t...has-flash-inline-java-code.66427/#post-427412 - it will start up both the front and back cameras of devices that support this functionality and display both camera previews simultaneously (functionality that is supported by for eg the HTC One M8).
This project is however not related to devices that support this type of functionality (mostly hardware functionality) but rather a project that allows you to:
1. take a photo with the back camera,
2. then take a photo with the front camera,
3. then add some text via a dialog
5. Share the image via one of numerous standard apps
2. then take a photo with the front camera,
3. then add some text via a dialog
a. set the text size via a slider
b. set the text color via a color picker
c. enter the text to be added to the picture
4. save the combined front/back/text into a single imageb. set the text color via a color picker
c. enter the text to be added to the picture
5. Share the image via one of numerous standard apps
The combined image will be saved in your device's /pictures folder (in a sub folder called dualCam)
You will need android-support-v4.jar in your additional library folder. Posting the following:
1. B4A project
2. B4A library files
Take note of the files inside the /Objects/res/blabla... folders of the B4A project. Make sure they are set to READ ONLY before you run the project.
When the app starts, click on the Start Scan button. The back camera will be activated. Now click on the icon (camera + heart) to take a snapshot with the back camera.
The front camera is started automatically once the back camera pic has been taken. Click on the icon (camera + heart) to take a picture with the front camera.
The following dialog will appear - click on Yes
Enter your text in the text box, use the slider to set the text size, and then click on Select a Font Color
Pick a text color in the outer ring and click the centre "bulls eye" once you have selected your color from the outer ring
I have selected Green....and then clicked on the Green "bulls eye"
The result....
....continuing in post #2
You can download and test it but if you want to use it you need to