speech bubble like in Google Maps

by puk » Fri, 10 Apr 2009 08:19:31 GMT


Sponsored Links
 I'm coding an application wich uses the map. The map shows moving
Objects. The direction in which objects are move should be(displayed
as arrow) the object-image.
so i startet with the implementation of the map view.

How can i create objects on the map, which (after klicking on them)
are able to show their names and also that specific arrows to jump to
the next object, like in Google Maps.

I tried setMarker and Canvas, but have no idea of how to use them.

Thank you for helping me.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Samsung phone for 2009Q2 in North America

http://english.etnews.co.kr/news/detail.html?id=200812190010

-- 
======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~

2. Replacing default Menu with a Dialog

Hi,

I wish to replace the default Menu with a Dialog that consists of
several TextViews. Creating the dialog is easy, however how does one
override the defualt Menu and have the dialoge "show" and dismiss" in
the same manner as the default menu?

Currently I create the dialog like this:

@Override
public boolean onCreateOptionsMenu(Menu menu) {
        super.onCreateOptionsMenu(menu);

        dialog = new Dialog(this);
        dialog.setContentView(R.layout.menu_map_screen);

        dialog.show();

        return true;
}

This works and displays the dialog when the "Menu" button is pressed,
however if I press the "back" button to hide the dialog the dialog
fails to display again if I repress the "Menu" button.

I thought maybe the dialog needed to be properly "dismissed" so I
overrided this method:

@Override
public void onOptionsMenuClosed(Menu menu) {
        super.onOptionsMenuClosed(menu);
        dialog.dismiss();
}

However, this does not work either.

Anyone know the correct way to do this?

--~--~---------~--~----~------------~-------~--~----~

3. G1 owners: "A system update is available" - is it safe?

4. Getting Starting Guide for Android Dev Phone missing.

5. android dns problems

6. How To Eliminate Preferences Values Database?

7. deleting whole call log