Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8689247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:35:51+00:00 2026-06-12T23:35:51+00:00

Hello and thanks for looking. I am working on my first android app. In

  • 0

Hello and thanks for looking. I am working on my first android app. In one of the tabs I want a functional version of google maps. As you can see, I am well on my way. However I don’t know how to zoom in/type in an address for navigation etc with the emulator to see if it is functioning properly.

enter image description here

Here is the layout xml:

 <?xml version="1.0" encoding="utf-8"?>
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:orientation="vertical"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     >

    <com.google.android.maps.MapView
     android:id="@+id/myMapView"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:enabled="true"
     android:clickable="true"
     android:apiKey="myapikey"
   />

 </LinearLayout>

and the java of my map activity:

 import android.os.Bundle;

 import com.google.android.maps.MapActivity;

 public class MapsActivity extends MapActivity {
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.maps_layout);
     }

     @Override
     protected boolean isRouteDisplayed() {
         // TODO Auto-generated method stub
         return false;
     }
 }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:35:53+00:00Added an answer on June 12, 2026 at 11:35 pm

    To turn on zooming you should do the following:

    public class MapsActivity extends MapActivity {
         private MapView map;
         public void onCreate(Bundle savedInstanceState) {
             super.onCreate(savedInstanceState);
             setContentView(R.layout.maps_layout);
             map = (MapView) findViewById(R.id.map);
             map.setBuiltInZoomControls(true);
         }
    

    I’m not sure for navigation, the required override for

    protected boolean isRouteDisplayed() {
            // TODO Auto-generated method stub
            return false;
        }
    

    is this and therefore you can’t display a route to the searched place.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking to simply add a google map using google maps api to one
Hello and thanks to everyone for reading my question. I've been working on a
Hello all I am working on javascript jquery and svg.I want to ask a
Hello and thanks for looking! Background I am designing a greenfield application using .NET4
Hello I'm looking to create a web-page where users can play Gomoku live with
Hello I am looking for a solution to my app. I have 10 Buttons
Hello and thanks for looking! Background I am building a commercial web application for
Hello and thanks for looking! Background I currently have a C# method for looping
Hello everyone thanks for looking into my problem. What I am trying to do
I'm working on a simple hello world TCP/IP client server app in C# and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.