Maps API access to SKY Tiles

by Jonny » Mon, 03 Nov 2008 13:38:25 GMT


Sponsored Links
 I'm interested in accessing the Sky database using the Maps API in
Android.  While there are direct methods for boolean queries and
setting states for traffic, satellite, and streetview I don't see
anyway to change to the Google Sky database.  The javascript Maps API
has sky, mars, moon and much more but that would require I do all my
programming through the browser as a web app.  I would really prefer
to use a MapView and take advantage of the Android OS.  Does anyone
have any suggestions on how this could be done?  Is there a way to
utilize Maps API commands (the javascript version) from within Android
(ie: mapview method to change map tiles to sky tiles)?

Thank you,
Jonny

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



Other Threads

1. Proximity alerts not fired

Hi, this is my very first question:

I'm trying to configure proximity alerts that will be feed from a
Database and webservice provider; but I have a problem configuring a
simple proximity alert for testing. I manage to create the alert but
it never gets fired, I'm only trying in the emulator for now and dont
know if I need some extra code to trigger the alerts.

I've read somewhere that the GPS provider to disabled so the network
provider can be used in order to trigger the alerts on the emulator.

My code looks like this:

Proximity intent declaration

    private String proximityIntentAction = new
String("gpsdelivery.gpship.getLocation.GPS_PROXIMITY_ALERT");

Inside onStart() where the parameters of the alerts are set

    IntentFilter intentFilter = new
IntentFilter(proximityIntentAction);
    registerReceiver(new ProximityAlert(), intentFilter);
    setProximityAlert(45.150344, 9.999815, -1);

Proximity alert function where the alerts get created

    private void setProximityAlert(double lat, double lon, int
requestCode)
        {
                // 100 meter radius
                float radius = 100f;
                // Expiration is 10 Minutes
                long expiration = 600000;
                LocationManager locManager = (LocationManager)
getSystemService(Context.LOCATION_SERVICE);

                Intent intent = new Intent(proximityIntentAction);
                PendingIntent pendingIntent =
PendingIntent.getBroadcast(getApplicationContext(), requestCode,
intent, PendingIntent.FLAG_CANCEL_CURRENT);
                locManager.addProximityAlert(lat, lon, radius, expiration,
pendingIntent);

        }

And finally my proximity alert class with the Broadcast receiver

    public class ProximityAlert extends BroadcastReceiver
                {
                        @Override
                        public void onReceive(Context context, Intent intent)
                        {
                                Log.v("SomeTag","Proximity alert received");

                        }

                }

Please let me know what I'm missing or what am I doing wrong. Thanks
in advance, any source code would be appreciated.

-- 

2. setselection() doesn't have visual effect

I have create a listview . When listview is created I used
setSelection(0) to set it to first listitem.

But there is no visual effect, the selected  listitem is not changed
to listed color.

In my application, I want to high light the first listItem by default.
Does anyone know how to do that?

Thanks!

Cindy

-- 

3. Problem debugging Android Bootup Service

4. Application without main activity

5. Listview problems

6. libjingle ported to java

7. Layout_gravity for a button