Google Places API support ?

17 views
Skip to first unread message

use...@gmail.com

unread,
May 31, 2015, 4:20:57 PM5/31/15
to codenameone...@googlegroups.com
Hello, i've been reading docs and watching tutorials for weeks to make sure Codename one is the right choice for my new project.

For now, pretty much everything look great so far. So i wanna first express my appreciation for your efforts to bring such a brilliant and affordable platform.

However, there's one thing that makes me doubtful about this service. In fact, i need to use the native client-side Google Places and Geocoding APIs for my app.

Unfortunately, i couldn't find any related cn1lib in here. I also figured out that supporting an arbitrary JAR is a pretty complex process and "something no one will ever be able to fully deliver on" as stated here.

So, are you guys planning to support those APIs in the future? Could you suggest any workaround for now ?

Jfyi, i thought first about using the REST API but i figured out unfortunately that it's not the right solution for its major limitations as stated here (server-side limit is per IP address which is bad while client-side limit is per user session).

Shai Almog

unread,
Jun 1, 2015, 1:24:30 AM6/1/15
to codenameone...@googlegroups.com, use...@gmail.com, use...@gmail.com
Hi,
we can't properly support arbitrary jars but you can use native interfaces which is roughly the same.
We were able to support the full Native Maps implementation using such an approach which is probably harder than supporting the places API. On Android this should be trivial to implement and on iOS it should be doable.
See http://www.codenameone.com/how-do-i---access-native-device-functionality-invoke-native-interfaces.html

Right now the only solution that I'm aware of is a cn1lib for the REST API which as you indicated has its limitations.
Reply all
Reply to author
Forward
0 new messages