Android App: Let people find your shop on map

In android a button or any other event can be set to open a particular location in Google Maps app, with the use of Intent.

Suppose you have an Android app for your shop or organization developed in Sketchware, and you want people to reach you. You can provide your address to the app users but a location on maps is always better and preferable. Below is a description of how to link to Google Maps from an android app created in Sketchware.

For this Google maps app is a prerequisite and if your user do not have it installed on their device, they may not be able to locate your address on map.

Step 1. Download Sketchware App, and create an app for your shop. Insert a button which says 'Locate us' or 'Reach us'.

Step 2. Add a new Intent component and name it as share.

Step 3. Open Google Maps app. Find Your shop and copy it's coordinates.
 Or copy share URL for your address.
Step 4. In button onClick event, use blocks as shown below to link your app to Google Maps.
Intent share setAction ACTION_VIEW
Intent share setData geo:13.144748,77.618055(coordinates as copied from Google maps)
StartActivity share
Or,
Intent share setAction ACTION_VIEW
Intent share setData geo:0,0?q=13.144748,77.618055(coordinates as copied from Google maps)
StartActivity share

Or,
Intent share setAction ACTION_VIEW
Intent share setData https://goo.gl/maps/8ihEQnNFU8s (share url as copied from Google maps)
StartActivity share

Change the underlined data in above codes to link it to your address.

Step 5. Save and run the app, it will show the user your shop on google when the button is clicked.

Comments

  1. Is it also possible to have the map inside the app?

    ReplyDelete
  2. I want location tracking.... is this possible in sketchware??

    ReplyDelete
  3. How do I make an app, that shares location with users like uber?

    ReplyDelete
  4. First create a web server to manage the data, then link it to your app

    ReplyDelete
  5. please
    I want to make a bottom if user click on it . he share to me his location
    and thank you

    ReplyDelete
  6. and I want to make chat app
    have private chat and public chat

    ReplyDelete
  7. how to make shop app sketchware.
    please help me sir.

    ReplyDelete
  8. how to make map in sketchware that works offline

    ReplyDelete
  9. Great blog ! I am impressed with suggestions of author uber like app development

    ReplyDelete
  10. US people search I would like to say that this blog really convinced me to do it! Thanks, very good post.

    ReplyDelete

Post a Comment

Popular posts from this blog

Simple car racing android game in Sketchware

Creating a Drawing View in Sketchware

Enable Fullscreen for Youtube videos in WebView

How to enable upload from webview in Sketchware?

List of Calendar Format symbols valid in Sketchware