Re: [codenameone-discussions] Re: Access photos permission

2016-12-08 Thread Gareth Murfin
oh that could be bad! On 9 December 2016 at 13:20, Shai Almog wrote: > Yes as we mentioned in the permissions post https://www.codenameone.com/ > blog/switching-on-android-marshmallow-permission-prompts.html > SDK 21 didn't include this but if you submit to google with SDK 23 you > can't revert.

Re: [codenameone-discussions] Re: Access photos permission

2016-12-08 Thread Shai Almog
Yes as we mentioned in the permissions post https://www.codenameone.com/blog/switching-on-android-marshmallow-permission-prompts.html SDK 21 didn't include this but if you submit to google with SDK 23 you can't revert. They don't accept that which is REALLY frustrating. -- You received this mes

Re: [codenameone-discussions] Re: Access photos permission

2016-12-08 Thread Gareth Murfin
So if I set target sdk to 21, all my problems go away! On Thursday, December 8, 2016 at 7:02:04 PM UTC+8, Gareth Murfin wrote: > > Also why do I never get any permissions with the android 6 permission > option on the simulator? It would be the perfect way to debug of course but > doesnt seem to

Re: [codenameone-discussions] Re: Access photos permission

2016-12-08 Thread Gareth Murfin
Also why do I never get any permissions with the android 6 permission option on the simulator? It would be the perfect way to debug of course but doesnt seem to work here? On Thursday, December 8, 2016 at 5:43:59 PM UTC+8, Gareth Murfin wrote: > > no, not even sure how to do that, all I want to

Re: [codenameone-discussions] Re: Access photos permission

2016-12-08 Thread Gareth Murfin
no, not even sure how to do that, all I want to do is launch a browser and visit it. On 8 December 2016 at 13:32, Shai Almog wrote: > Do you have an app associated with that URL by any chance? > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Codena

Re: [codenameone-discussions] Re: Access photos permission

2016-12-07 Thread Shai Almog
Do you have an app associated with that URL by any chance? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googleg

Re: [codenameone-discussions] Re: Access photos permission

2016-12-07 Thread Gareth Murfin
and then after that it asks for access to "photos,media and files on device", JUST from opening a link. Android 6 permissions are killing me, also none of this shows in simulator even with android 6 permissions ticked. On Wednesday, December 7, 2016 at 8:08:35 PM UTC+8, Gareth Murfin wrote: > >

Re: [codenameone-discussions] Re: Access photos permission

2016-12-07 Thread Gareth Murfin
Client sent me a video, simply opening a browser link inside the app says "requires permission. this is required to open the file", all I can doing is: Display.getInstance().execute(url); On Wednesday, December 7, 2016 at 7:34:20 PM UTC+8, Gareth Murfin wrote: > > Thanks Shai I will ask client

Re: [codenameone-discussions] Re: Access photos permission

2016-12-07 Thread Gareth Murfin
Thanks Shai I will ask client to do that, I dont see anything in that link thatI aum using that would need access to media and files... Maybe it is due to us playing a video inside the app or something but that is stored in the jar. On Tuesday, December 6, 2016 at 1:18:47 PM UTC+8, Shai Almog w

Re: [codenameone-discussions] Re: Access photos permission

2016-12-05 Thread Shai Almog
After you grant a permission to an app Android doesn't re-prompt. You need to go to the apps settings in Android and revoke its permissions to make the app prompt for them again. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To un

Re: [codenameone-discussions] Re: Access photos permission

2016-12-04 Thread Gareth Murfin
Unfortunately I cannot recreate them, only client can, I have tried geny motion with android 6 etc :-( On Saturday, December 3, 2016 at 2:20:31 PM UTC+8, Shai Almog wrote: > > In the device if you deny the permission you would usually see an output > stack pointing you at the rough direction. >

Re: [codenameone-discussions] Re: Access photos permission

2016-12-02 Thread Shai Almog
In the device if you deny the permission you would usually see an output stack pointing you at the rough direction. Is it possible that there is native code that triggers that permission? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" grou

Re: [codenameone-discussions] Re: Access photos permission

2016-12-02 Thread Gareth Murfin
Yes I did in the simulator I dont see anything pop up. On Friday, December 2, 2016 at 1:33:24 PM UTC+8, Shai Almog wrote: > > That's a generic article about Android permission prompts. Did you > activate permission prompts in the simulator? > -- You received this message because you are subscri

Re: [codenameone-discussions] Re: Access photos permission

2016-12-01 Thread Shai Almog
That's a generic article about Android permission prompts. Did you activate permission prompts in the simulator? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send a

Re: [codenameone-discussions] Re: Access photos permission

2016-12-01 Thread Gareth Murfin
this explains a bit http://www.howtogeek.com/230683/how-to-manage-app-permissions-on-android-6.0/ although surely you dont need permission to write it internal storage? On Friday, December 2, 2016 at 11:54:56 AM UTC+8, Gareth Murfin wrote: > > ripped out everything i could yet its still happeni

Re: [codenameone-discussions] Re: Access photos permission

2016-12-01 Thread Gareth Murfin
ripped out everything i could yet its still happening. ;-( On Friday, December 2, 2016 at 11:27:42 AM UTC+8, Gareth Murfin wrote: > > im thinking this... > > String roots[] =FileSystemStorage.getInstance().getRoots(); > for (int i=0; i { > _("R

Re: [codenameone-discussions] Re: Access photos permission

2016-12-01 Thread Gareth Murfin
im thinking this... String roots[] =FileSystemStorage.getInstance().getRoots(); for (int i=0; i > I actually did find a references to the capture api imported, i removed it > but i am still getting this. > > Could this cause it ? surely this is internal, weird thing is I only s

Re: [codenameone-discussions] Re: Access photos permission

2016-12-01 Thread Gareth Murfin
I actually did find a references to the capture api imported, i removed it but i am still getting this. Could this cause it ? surely this is internal, weird thing is I only see on 2 phones. String[] files = Storage.getInstance().listEntries(); String whatHappened = deleteFiles(files

Re: [codenameone-discussions] Re: Access photos permission

2016-11-30 Thread Shai Almog
It's possibly related to the capture API. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit

Re: [codenameone-discussions] Re: Access photos permission

2016-11-30 Thread Gareth Murfin
ps this happens mid app - not at the start, im presuming it really is when i get an image to store. On Thursday, December 1, 2016 at 8:53:34 AM UTC+8, Gareth Murfin wrote: > > I think its something new from Android it says do you want "Raffler to > access photos, media and fileso n your device?"

Re: [codenameone-discussions] Re: Access photos permission

2016-11-30 Thread Gareth Murfin
I think its something new from Android it says do you want "Raffler to access photos, media and fileso n your device?" - I am downloading an image of the winner, and storing it is this it do you think? See screenshot never seen this on any other device apart from 2, one from client one from mate

Re: [codenameone-discussions] Re: Access photos permission

2016-11-30 Thread Gareth Murfin
Thanks i dont see anything, I have capturePhoto call in commented out code, could that be causing it somehow ? On 30 November 2016 at 12:55, Shai Almog wrote: > In the developer guide https://www.codenameone.com/ > manual/advanced-topics.html > We have a section where every Android permission is

[codenameone-discussions] Re: Access photos permission

2016-11-29 Thread Shai Almog
In the developer guide https://www.codenameone.com/manual/advanced-topics.html We have a section where every Android permission is mapped to the methods/classes that trigger it. You can just search thru that. But make sure to check the build hints first to see that a cn1lib didn't inject a per