Android Android Application: Indoor Maps, Walking Routes

I want to edit a custom Google map (because I need to add sidewalks for walking) with all its original functionality for the college campus, and also create an interior building containing classrooms with many outdoor definitions so that I can implement it in a mobile application. It can be done? And with javascript? I think that based on where theyโ€™ll arrive on campus using GPS along with this customized Google map overlay, they can provide the building and class, and it will use the Google Maps APIโ€™s predefined search method โ€œFound Routeโ€ somewhere there. First I need to build this using Android, and then maybe for Iphone.

+5
source share
1 answer

The Google Maps app already has all the features that you describe.

Now everyone can use their built-in Maps application to get directions between campus buildings. ( Example - note that the route runs along campus paths, not the surrounding roads.)

, "" Android, Ikea .

, "", :

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?saddr=START_LOCATION&daddr=DESTINATION_LOCATION&dirflg=w"));
if (isAppInstalled("com.google.android.apps.maps")) {
    intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity");
}
startActivity(intent);


// helper function to check if Maps is installed
private boolean isAppInstalled(String uri) {
    PackageManager pm = getApplicationContext().getPackageManager();
    boolean app_installed = false;
    try {
        pm.getPackageInfo(uri, PackageManager.GET_ACTIVITIES);
        app_installed = true;
    } catch (PackageManager.NameNotFoundException e) {
        app_installed = false;
    }
    return app_installed;
}

( .)

+8

All Articles