Hi all,

I'm porting an app which runs well under  m5 to 0.9 using Eclipse with
ADT on Mac OSX 10.5.4
I appear to have made all necessary changes to get the app to compile
and link: Eclipse doesn't complain.
The bad behavior symptom is that the app basically fails to start.
It simply hangs up before getting the Activity started in the
debugger, displaying ActivityThread.class in Eclipse.
Here's the DDL trace (sans datetime):

 Android Launch!
 adb is running normally.
 Launching: com.herenow.android.quester.Quester
 Automatic Target Mode: launching new emulator.
 Launching a new emulator.
 emulator: warning: cannot load emulator configuration at '/Users/
ken/.android/emulator.cfg'

 emulator: broken configuration file doesn't have 'window' element
 New emulator found: emulator-5554
 Warning once: This application, or a library it uses, is using
NSQuickDrawView, which has been deprecated. Apps should cease use of
QuickDraw and move to Quartz.
 HOME is up on device 'emulator-5554'
 Uploading Quester.apk onto device 'emulator-5554'
 Installing Quester.apk...
 Success!
 Starting activity com.herenow.android.quester.Quester on device
 ActivityManager: Starting: Intent { comp={com.herenow.android.quester/
com.herenow.android.quester.Quester} }

The file /Users/ken/.android/emulator.cfg mentioned above does not
exist.
If I attempt to restart the app by clicking the Eclipse debug icon, I
get the following:

 Android Launch!
 adb is running normally.
 Launching: com.herenow.android.quester.Quester
 Automatic Target Mode: using existing emulator: emulator-5554
 Uploading Quester.apk onto device 'emulator-5554'
 Installing Quester.apk...
 Application already exists. Attempting to re-install instead...
 Success!
 Starting activity com.herenow.android.quester.Quester on device
 ActivityManager: Starting: Intent { comp={com.herenow.android.quester/
com.herenow.android.quester.Quester} }
 Attempting to connect debugger to 'com.herenow.android.quester' on
port 8611

...Nothing more.

Here's my AndroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
    package="com.herenow.android.quester">
    <application android:icon="@drawable/icon">
        <activity android:name=".Quester" android:label="@string/
app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <receiver android:name=".SMSReceiver">
            <intent-filter>
                <action
android:name="android.provider.Telephony.SMS_RECEIVED" />
            </intent-filter>
        </receiver>
    </application>^M
    <uses-permission
android:name="android.permission.ACCESS_LOCATION"></uses-permission>^M
    <uses-permission android:name="android.permission.ACCESS_GPS"></
uses-permission>^M
    <uses-permission
android:name="android.permission.ACCESS_ASSISTED_GPS"></uses-
permission>^M
    <uses-permission
android:name="android.permission.ACCESS_CELL_ID"></uses-permission>
    <uses-permission android:name="android.permission.RECEIVE_SMS" />
</manifest>

The file Quester.java contains the onCreate menthod beginning as
follows:

    @Override
    public void onCreate(Bundle icicle)
    {
        super.onCreate(icicle);
        setContentView(R.layout.main);
        _mapView = new MapView(this, GOOGLE_MAP_API_KEY);
         ....blah..blah...

There is a debug breakpoint set on super.onCreate(icicle);

I will //GREATLY// appreciate pointers/suggestions for getting this
running.
Thanks in advance,
Ken


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to