[codenameone-discussions] google map

2016-12-01 Thread Youssef Abdeen
 it's my first time developing an application and i am new at programming. 
i am using codename one on netbeans ide, i dont know how to put google map 
in my app, if there anyone that could send me any tutorials or any steps to 
follow 

-- 
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 this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ae363173-42a6-42a4-a78e-442116c07276%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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);

or what about this 
?  com.codename1.io.Util.downloadUrlToStorageInBackground(winnerPhoto, 
nameOfPhoto, imageCompleteListener);

Only happens on Android 6.0 it seems so far.

On Thursday, December 1, 2016 at 1:46:13 PM UTC+8, Shai Almog wrote:
>
> 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 this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/656f0ca9-7e8b-4a47-afa9-790204c4d245%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 see 
> on 2 phones.
>
>   String[] files = Storage.getInstance().listEntries(); 
> String whatHappened = deleteFiles(files);
>
> or what about this 
> ?  com.codename1.io.Util.downloadUrlToStorageInBackground(winnerPhoto, 
> nameOfPhoto, imageCompleteListener);
>
> Only happens on Android 6.0 it seems so far.
>
> On Thursday, December 1, 2016 at 1:46:13 PM UTC+8, Shai Almog wrote:
>>
>> 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 this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/57ddfb9d-e75d-48fa-9c67-24d099df88e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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> {
>> _("ROOT: "+roots[i]);
>> }
>>
>> On Friday, December 2, 2016 at 11:25:26 AM UTC+8, Gareth Murfin wrote:
>>>
>>> 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);
>>>
>>> or what about this 
>>> ?  com.codename1.io.Util.downloadUrlToStorageInBackground(winnerPhoto, 
>>> nameOfPhoto, imageCompleteListener);
>>>
>>> Only happens on Android 6.0 it seems so far.
>>>
>>> On Thursday, December 1, 2016 at 1:46:13 PM UTC+8, Shai Almog wrote:

 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 this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/443d865c-66cf-4b35-9a08-7b5762a83da0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 {
> _("ROOT: "+roots[i]);
> }
>
> On Friday, December 2, 2016 at 11:25:26 AM UTC+8, Gareth Murfin wrote:
>>
>> 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);
>>
>> or what about this 
>> ?  com.codename1.io.Util.downloadUrlToStorageInBackground(winnerPhoto, 
>> nameOfPhoto, imageCompleteListener);
>>
>> Only happens on Android 6.0 it seems so far.
>>
>> On Thursday, December 1, 2016 at 1:46:13 PM UTC+8, Shai Almog wrote:
>>>
>>> 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 this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/037ea784-8340-43e3-a8c9-32095851a3ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: google map

2016-12-01 Thread Shai Almog
I answered here: http://disq.us/p/1e4etbp

-- 
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 this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a34f8e63-8b20-4c5b-b947-788769af41fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/95975491-4192-4cd2-a420-4bada29093f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.