question

pranit avatar image
pranit asked Bryanne Vega commented

Can we use google map on clover device?

I want to open a google map if user click on some address text in the App.
Clover MiniMerchant
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Bryanne Vega avatar image
Bryanne Vega answered Bryanne Vega commented
Hello!

Please by all means, implement an activity with a WebView, I believe it can satisfy your needs :)
3 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Yes, in fact,

I did had the curiosity and managed to execute this well, you'll require an amount of work, nothing too mayor to include those required libraries from Google Play Services, thus also remembering that users in Clover aren't signed on to a Google Account on the device itself.

I don't have the resources at the moment to show you step by step, but it is possible. If you could provide a little more insight on your end goal, maybe we can shred some light.
0 Likes 0 ·

I just want to open this url by clicking textview
txtDeliveryAddress.setOnClickListener(new View.OnClickListener() {

    @Override
public void onClick(View v) {

Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("http://maps.google.com/maps?saddr=" + restroAdres_Lat + "," + restroAdres_Long + "&daddr=" + deliveryAdres_Lat + "," + deliveryAdres_Long));
startActivity(intent);
}
});
0 Likes 0 ·

yes thanks, I will use it in this way

0 Likes 0 ·

Welcome to the
Clover Developer Community