[codenameone-discussions] Re: Problem loading mapcontainer --> black screen

2019-09-17 Thread Peter Bell
I havent the problem on the simulator but only on the device .the map wont load 
the first time on the device and load the second time fast.
I will check the permissions widh keys do i need for the android version

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/528f3011-91c8-4084-b383-a8295fb9de71%40googlegroups.com.


[codenameone-discussions] Re: Problem loading mapcontainer --> black screen

2019-09-17 Thread Shai Almog
Does this exact behavior happen in the device and the simulator?
Are you seeing the JavaScript maps or the native SDK maps when running on 
the device?
When you generated the keys is it possible you restricted them in any way?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/41462c2e-e6c1-4e2c-8f2a-0c29036df77f%40googlegroups.com.


[codenameone-discussions] Re: Build failed (trying to use a .aar)

2019-09-17 Thread Shai Almog
Try this: 
https://www.codenameone.com/blog/tip-include-source-android-studio-3.html

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c7105d1a-b11c-4b20-9a64-f78ce9006a4e%40googlegroups.com.


[codenameone-discussions] Re: Problem loading mapcontainer --> black screen

2019-09-17 Thread Peter Bell
i tried also to move the map to another form . but also here i have to go 
out the app and return to see the map/ But the problem becomes bigger 
because the bittons name doesn't change anymore when l click on the button

Op dinsdag 17 september 2019 21:33:58 UTC+2 schreef Peter Bell:
>
>
>
>
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/fb8e8d9d-f5d9-48b3-b1ce-8d709e2b9aa5%40googlegroups.com.


[codenameone-discussions] Re: Problem loading mapcontainer --> black screen

2019-09-17 Thread Peter Bell
i use jdk 1.8.0_121 and i dont get an error message  on the device and in 
the simulator

Op dinsdag 17 september 2019 21:33:58 UTC+2 schreef Peter Bell:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans
> Simulator 
> Device LG 4C
>
> I have build an app with uses native googlemaps.cn1lib. The app conainns a 
> tabbed view with a side toolbar.
> in one of the tabs i got the google map.
>
> i have a problem with loading the object. when i open the app i got a 
> black screen. when i open the app a second time then the app start normal 
> and i get the first tab. i tried a workarround with a splash screen and 
> then load the mapcontainer when i go to the map tab. But that didn't work 
> because the app crashes. 
> So how can i solve this problem. Any clues?
>
> Greetings
> Peter Bell
>
>
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b4dc40d9-5d0f-4445-a248-76c5d64c568b%40googlegroups.com.


Re: [codenameone-discussions] Problem loading mapcontainer --> black screen

2019-09-17 Thread Steve Hannah
What version of JDK?  When the app crashes, do you get an error message in
your console?

On Tue, Sep 17, 2019 at 12:34 PM Peter Bell 
wrote:

> If you are experiencing an issue please mention the full platform your
> issue applies to:
> IDE: NetBeans
> Simulator
> Device LG 4C
>
> I have build an app with uses native googlemaps.cn1lib. The app conainns a
> tabbed view with a side toolbar.
> in one of the tabs i got the google map.
>
> i have a problem with loading the object. when i open the app i got a
> black screen. when i open the app a second time then the app start normal
> and i get the first tab. i tried a workarround with a splash screen and
> then load the mapcontainer when i go to the map tab. But that didn't work
> because the app crashes.
> So how can i solve this problem. Any clues?
>
> Greetings
> Peter Bell
>
>
>
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/8523e9ba-a900-48ff-be96-599496cf749a%40googlegroups.com
> 
> .
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKWqmZzzEOdhT8FqTR0T9T0GvyXYRj0fsQkh7-X41rKajQ%40mail.gmail.com.


[codenameone-discussions] Problem loading mapcontainer --> black screen

2019-09-17 Thread Peter Bell
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans
Simulator 
Device LG 4C

I have build an app with uses native googlemaps.cn1lib. The app conainns a 
tabbed view with a side toolbar.
in one of the tabs i got the google map.

i have a problem with loading the object. when i open the app i got a black 
screen. when i open the app a second time then the app start normal and i 
get the first tab. i tried a workarround with a splash screen and then load 
the mapcontainer when i go to the map tab. But that didn't work because the 
app crashes. 
So how can i solve this problem. Any clues?

Greetings
Peter Bell




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8523e9ba-a900-48ff-be96-599496cf749a%40googlegroups.com.


[codenameone-discussions] Re: Build failed (trying to use a .aar)

2019-09-17 Thread Gareth Murfin

There seems to be issues with the Android Studios project:

ERROR: Could not determine the class-path for class 
com.android.tools.idea.gradle.project.sync.ng.SyncAction.

And after cleaning and trying again I keep seeing

Build script error, unsupported Gradle DSL method found: 'google()'!

Possible causes could be:  
  - you are using Gradle version where the method is absent (Fix Gradle 
settings)
  - you didn't apply Gradle plugin which provides the method (Apply Gradle 
plugin)
  - or there is a mistake in a build script (Goto source)
Open File


FInally shouldnt it use SDK28 foro google play? seems to be on 27.

None of this would matter if I could test the .arr in the project but I 
cannot compile, and anything I type is considered "OK" by Android Studio. 
ANy ideas how I get a proper working AS project?



On Tuesday, September 17, 2019 at 6:03:05 PM UTC+1, Gareth Murfin wrote:
>
> Ohhh yes.. thanks again Shai, great support.
>
> On Tuesday, September 17, 2019 at 6:34:06 AM UTC+1, Shai Almog wrote:
>>
>> It won't import in the IDE but it should work when you compile in the 
>> build cloud. The best way to get this working is send a build with include 
>> source and edit the native class in Android Studio then copy/paste the code 
>> from there.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8ffab400-9e9e-4979-8272-e3881d0e1b44%40googlegroups.com.


[codenameone-discussions] Re: Build failed (trying to use a .aar)

2019-09-17 Thread Gareth Murfin
Ohhh yes.. thanks again Shai, great support.

On Tuesday, September 17, 2019 at 6:34:06 AM UTC+1, Shai Almog wrote:
>
> It won't import in the IDE but it should work when you compile in the 
> build cloud. The best way to get this working is send a build with include 
> source and edit the native class in Android Studio then copy/paste the code 
> from there.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/77891e71-d608-452e-8988-fed3af6742aa%40googlegroups.com.