distriqt / airnativeextensions

DEPRECATED: Original repository of the distriqt native extensions and is no longer maintained. Please see our site for the latest ANEs
https://airnativeextensions.com
2 stars 0 forks source link

Maps not showing in Android #283

Closed interactivemartin closed 8 years ago

interactivemartin commented 9 years ago

Hello,

After recent testing, I am having trouble with the same code, to make it work in Android. Also with your base example from the docs.

After fixing everything for iOS8 (now it works without problem), I can not seem to be able to show a map in Android 4.2.2 or 4.4...

Someone is having the same problem?

mola2alex commented 9 years ago

There is an issue with the same https://github.com/distriqt/airnativeextensions/issues/125

And it looks like it did get fixed but it doesn't look like those changes made it into a release since 2.2 is older than the above thread. Same problem on Android 5.0.

markthomasbieber commented 9 years ago

I really hope this gets fixed soon. I have tried all combinations of fixes and spent 8 hrs attempting to solve this with no luck.

koriner commented 9 years ago

I've had trouble replicating this problem as my tests are working correctly.

Here is a new version - it'd be good if you can try this one and see if it's working: https://dl.dropboxusercontent.com/u/2033109/2014_11_24_com.distriqt.NativeMaps.ane.zip

I've just tested and confirmed this works for Android 4.2.2 and 4.4.2. I don't yet have a device running 5.0 to try though.

interactivemartin commented 9 years ago

It works better, it does show the markers, but it does not the zoom automatically to street level in Android. Any fix for that? :D

Thanks!


Martín Lombana / CEO & Founder INTERACTIVEMARTIN™ — CREATIVE AGENCY

OFFICE : +34 946 759 137 | MOBILE: +34 633 63 02 35 ADDRESS : EGAÑA 17, 6º. 48010 BILBAO, VIZCAYA (SPAIN) WEB : INTERACTIVEMARTIN.COM http://www.interactivemartin.com/ FACEBOOK : FACEBOOK.COM/INTERACTIVEMARTIN http://facebook.com/interactivemartin TWITTER: TWITTER.COM/INTMARTIN http://twitter.com/intmartin

On Sun, Nov 23, 2014 at 9:29 PM, koriner notifications@github.com wrote:

I've had trouble replicating this problem as my tests are working correctly.

Here is a new version - it'd be good if you can try this one and see if it's working:

https://dl.dropboxusercontent.com/u/2033109/2014_11_24_com.distriqt.NativeMaps.ane.zip

I've just tested and confirmed this works for Android 4.2.2 and 4.4.2. I don't yet have a device running 5.0 to try though.

— Reply to this email directly or view it on GitHub https://github.com/distriqt/airnativeextensions/issues/283#issuecomment-64133249 .

markthomasbieber commented 9 years ago

still doesnt work for me. Still cant see maps, and only see zoom buttons and google logo. Im using android 4.2.2 with air version 16.

koriner commented 9 years ago

@markthomasbieber Is your map definitely invisible, or do you see gray coloured tiles instead of the map?

markthomasbieber commented 9 years ago

completly invisible. all i see is google logo and zoom buttons. I worried it might be an issue with my api / certificate, but i have tried every combination of api / cert values possible.

koriner commented 9 years ago

@markthomasbieber OK, its odd because I've specifically tested on 4.2.2 so I thought it should be working. Are you able to run adb logcat for me, and save the log output from your app when you create the map etc? That would be really helpful.

markthomasbieber commented 9 years ago

So i used adb logcat for system.out calls (since logcat on its own spits out to much info). i get this: ( It seems to point to an api key problem, but im at a loss why) I/System.out(11650): initHttpEngine: implies a POST method I/System.out(11650): [CDS]rx timeout:0 I/System.out(11650): initHttpEngine: implies a POST method I/System.out(11650): [CDS]rx timeout:0 I/System.out(11650): propertyValue:true I/System.out(11650): [socket][2] connection csi.gstatic.com/173.194.120.143:80;L ocalPort=44687(0) I/System.out(11650): [CDS]connect[csi.gstatic.com/173.194.120.143:80] tm:90 I/System.out(11650): [socket][/192.168.1.102:44687] connected I/System.out(11650): [CDS]rx timeout:0 I/System.out(12059): propertyValue:true I/System.out(12059): [socket][0] connection /173.194.33.169:443;LocalPort=50250( 60000) I/System.out(12059): [CDS]connect[/173.194.33.169:443] tm:60 I/System.out(12059): [socket][/192.168.1.102:50250] connected I/System.out(12059): [CDS]rx timeout:60000 I/System.out(12059): [CDS]SO_SND_TIMEOUT:60000 I/System.out(12059): [CDS]rx timeout:60000 I/System.out(12059): [CDS]rx timeout:60000 I/System.out(12059): [CDS]rx timeout:60000 I/System.out(12059): [CDS]rx timeout:60000 I/System.out(12059): >doSendRequest I/System.out(12059): <doSendRequest I/System.out(12059): [CDS]rx timeout:60000 I/System.out(12059): [CDS]rx timeout:60000 I/System.out(12059): >doSendRequest I/System.out(12059): <doSendRequest I/System.out(11373): propertyValue:true I/System.out(11373): [socket][0] connection /74.125.25.95:443;LocalPort=56191(20 000) I/System.out(11373): [CDS]connect[/74.125.25.95:443] tm:20 I/System.out(11373): [socket][/192.168.1.102:56191] connected I/System.out(11373): [CDS]rx timeout:20000 I/System.out(11373): [CDS]SO_SND_TIMEOUT:0 I/System.out(11373): [CDS]rx timeout:5000 I/System.out(11373): [CDS]rx timeout:5000 I/System.out(11373): [CDS]rx timeout:20000 I/System.out(11373): [CDS]rx timeout:20000 I/System.out(11373): [CDS]rx timeout:20000 I/System.out(11373): [CDS]rx timeout:20000 I/System.out(11373): >doSendRequest I/System.out(11373): <doSendRequest

koriner commented 9 years ago

I'll need the actual logcat output (all of it). You can email it to me since it will be large. support at distriqt.com if you can?

interactivemartin commented 9 years ago

Do you guys need anything from my part? For the zooming issue... Thanks!


Martín Lombana / CEO & Founder INTERACTIVEMARTIN — CREATIVE AGENCY

OFFICE : +34 946 759 137 | MOBILE: +34 633 63 02 35 ADDRESS : EGAÑA 17, 6º. 48010 BILBAO, VIZCAYA (SPAIN) WEB : INTERACTIVEMARTIN.COM http://www.interactivemartin.com/ FACEBOOK : FACEBOOK.COM/INTERACTIVEMARTIN http://facebook.com/interactivemartin TWITTER: TWITTER.COM/INTMARTIN http://twitter.com/intmartin

On Mon, Nov 24, 2014 at 10:03 PM, koriner notifications@github.com wrote:

I'll need the actual logcat output (all of it). You can email it to me since it will be large. support at distriqt.com if you can?

— Reply to this email directly or view it on GitHub https://github.com/distriqt/airnativeextensions/issues/283#issuecomment-64264049 .