Maps and M5, impossible??

by Altais » Thu, 06 Nov 2008 00:51:33 GMT

Sponsored Links

We have an application developed with M5-rc15 SDK that uses maps.
Migrate it  to 1.0 its a hard work and application is only for demo
purpose. (we need to show it only one more time!!)

Is there any way to show now a map in M5?



Maps and M5, impossible??

by JP » Thu, 06 Nov 2008 01:02:29 GMT

 You're out of luck there. In 0.9 and now 1.0, the MapView constructor
has changed to pass the now required Google Maps API key. Manual here: 


Sponsored Links

Maps and M5, impossible??

by Altais » Thu, 06 Nov 2008 01:09:15 GMT

 We know the changes. The emulator is better, butwe always can make a
Power Point presentation.



Other Threads

1. Changing text size on spinner example

I've been trying to do this for a couple of days so I thought I would share
how I eventually did it.

I created a new xml file with the name spinnerrow.xml (Notice that there are
no underscores and no caps, I had trouble with xml files with those

<?xml version="1.0" encoding="utf-8"?>

<CheckedTextView xmlns:android=""

In my main xml file I had the following definition:

<Spinner android:id="@+id/Spinner01" android:layout_width="wrap_content"
            android:layout_height="wrap_content" android:hint="Click to
change compounding type"

In my java file I had the following in the onCreate section:

Spinner mySpinner = (Spinner) findViewById(;
        ArrayAdapter <CharSequence> mySpinnerArrayAdapter =
ArrayAdapter.createFromResource(this, R.array.compoundingSpinner,


        mySpinner.setOnItemSelectedListener(new MyOnItemSelectedListener());

I was in the process of creating a custom ArrayAdapter but realized that I
had what I was looking for without it.

Good Luck


2. Is onDetachedFromWindow more reliable than onStop

We developed two heavy apps, A,B.
A startActivity B and B comes back to A by startActivity too.
We record one flag in A's onStop to remember going to background and
restore that flag in onStart.
After switching between A and B rapidly, we found A's onStop often get
called by system later than B's onResume.
Sometimes even later than A's second onResume.

So we have to find the other way to tell foreground and backgroud.
We got two proposals:
1) onDetachedFromWindow
2) ActivityManager.getRunningTasks

Any words about it will be appreciated.



3. What is the combo key press to fix project errors again?

4. Oot: peserta miring 3 july disurabaya

5. Re[2]: Oot: peserta miring 3 july disurabaya

6. Holding On to Camera

7. Terminal Server access from an Android Tablet PC