I need to implement the ability to take pics/vids in my app. I am not trying to reinvent the wheel - as simple as possible. These photos/videos are for technical documentation so quality/color are not critical, Compressed (jpg) is important- a must really as these will later be uploaded downloaded from a network drive.
It is important that this be seamless:
Click take a picture in my app
User takes the picture
I prompt for a filename/option to cancel (pictures will be saved on a network drive. If it is already a local file it will be deleted.).
I have tested Camera2 and it works OK but saves as BMP as default and a little research indicates that converting to compressed jpg is problematical? Also the interface is a little klutzy, seems like using the built in camera app would look better - but that part is not horribly critical.
Tried to test CameraIntent but I get the compile error "File type not supported: Macro", is this a lib issue or do I need a newer B4A? I am running 7.3 (I know it is time to upgrade). Besides in reading the replies there is evidently the issue on certain devices of it not using the supplied file name which means it would be impossible to open the picture in my app. How big an issue is this? We do spec the approved devices (tablets) but if it is going to be a real limitation this would be a problem.
Thanks in advance for any thoughts/ideas on the best way to go about this.
It is important that this be seamless:
Click take a picture in my app
User takes the picture
I prompt for a filename/option to cancel (pictures will be saved on a network drive. If it is already a local file it will be deleted.).
I have tested Camera2 and it works OK but saves as BMP as default and a little research indicates that converting to compressed jpg is problematical? Also the interface is a little klutzy, seems like using the built in camera app would look better - but that part is not horribly critical.
Tried to test CameraIntent but I get the compile error "File type not supported: Macro", is this a lib issue or do I need a newer B4A? I am running 7.3 (I know it is time to upgrade). Besides in reading the replies there is evidently the issue on certain devices of it not using the supplied file name which means it would be impossible to open the picture in my app. How big an issue is this? We do spec the approved devices (tablets) but if it is going to be a real limitation this would be a problem.
Thanks in advance for any thoughts/ideas on the best way to go about this.