Jump to content
grantful

Take a pic works on Iphone but not on android.

Recommended Posts

Hello.

I am adding the sample project 

Documents\Embarcadero\Studio\22.0\Samples\Object Pascal\Mobile Snippets\AccessCameraApp

to my project.

I did Project/addtoProject and the AcesscamaraApp.

It compiles and works great on my Iphone but on my android phone i get

anPhoneIssue.thumb.jpg.91b42f626a3c1197ec4cba5c1557633d.jpg

 

I am trying to figure out what the issue is.

 

Thaks for any help with finding a solution to this.

Edited by grantful

Share this post


Link to post
4 hours ago, grantful said:

I am trying to figure out what the issue is.

Make sure that the Secure File Sharing option is checked in the Entitlement List section of the Project Options:

 

image.thumb.png.d86d10d300e741f7078f1e98c3c786b9.png

Share this post


Link to post

Hey thanks so much for your help. 

That was it.

May i ask what pointed you in the right direction ?

I am trying to learn how to debug these problems.

Thanks

Share this post


Link to post
Just now, grantful said:

May i ask what pointed you in the right direction ?

It's a common issue. Also, I implemented something similar before it was added to Delphi.

1 minute ago, grantful said:

I am trying to learn how to debug these problems.

Using Google can help, although with this particular issue it's not entirely obvious what is the easiest way to resolve it. Here, Delphi is doing the work for you, by creating a provider_paths.xml file and including it in the deployment.

Share this post


Link to post
48 minutes ago, Dave Nottage said:

It's a common issue. Also, I implemented something similar before it was added to Delphi.

Using Google can help, although with this particular issue it's not entirely obvious what is the easiest way to resolve it. Here, Delphi is doing the work for you, by creating a provider_paths.xml file and including it in the deployment.

thanks alot i appreciate it

 

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×