Custom KML - This Community Map could not be displayed....

by raster » Tue, 25 Jan 2011 02:51:15 GMT

Sponsored Links
 I'm new to Android Dev but have been looking at the tutorials/
examples. One was hooking up google maps to the AVD. It was a small
tutorial and google maps come up fine. I then added the few lines to
link in a custom KML file. My AVD target is Google APIs Platform=2.1
API Level=7.
When I link the google example KML file like so...
Uri uri1 = Uri.parse("geo:0,0?q= 
It all runs fine and the KMl loads.
But when I copy this same KML_Samples.kml onto a local server in our
domain, I get the "This Community Map could not be displayed because
it contains errors.".
I've looked on the web and others have had this issue but there are no
resolutions I can find. The local domain server I'm putting it on is
Server 2003 with IIS running. I put the KML_Samples.kml in the same
virtual directory which serves up another KML for a Google Earth app
we have. I can hit this KML file on our local server through a browser
(http://IPAddress/kml_files/KML_Samples.kml) and it opens fine. It
just fails when being link through google maps on the AVD.
Is there something else I need to do to make it work on the local



Other Threads

1. Database version is zero on initial install

I have released an app (World Time) with initial database. Now i want to
update the app with a database upgrade.

I have put in the upgrade code in OnUpgrade() and checking for the
newVersion. But it was not being called in my local testing...

So i put in the debug statement to get the database version and it is zero .

Any idea why it is not being versioned ?

Following is the code to copy the database from my Assets folder ...
        InputStream myInput = myContext.getAssets().open(DB_NAME);

        // Path to the just created empty db
        String outFileName = DB_PATH + DB_NAME;

        //Open the empty db as the output stream
        OutputStream myOutput = new FileOutputStream(outFileName);

        //transfer bytes from the inputfile to the outputfile
        byte[] buffer = new byte[1024];
        int length;
        while ((length =>0){
            myOutput.write(buffer, 0, length);

        //Close the streams



2. Ooot..konversi pemakaian xl

Maklum..kurang tau konversi dr KB ke MB pemakaian xl unlimited nih..
Klo nilai di bawah ini brpa MB ya



"Indonesian Android Community [id-android]" 

3. Is it possible to draw to a home screen icon?

4. Bring InCallScreen to front while in call

5. How to show a dialog even if the Activity is in background

6. How to make a widget that doesn't drain the battery and updates often

7. How to make a widget that doesn't drain the battery and updates often