Difficulty Troubleshooting a Misbehaving App
<p>We have a simple app deployed using PhoneGap targeting Android version 2.2 API 8 and up. On the various android emulator's I've setup it works and on all the devices in the office it works....except one and go figure it's the squeaky wheel in the office. So enough noise has been made that I am now tasked with spending time on only one device. I've setup an emulator as close to it as possible. The device is a Motorolla Droid2 Global running 2.3.4. Know right off the bat I can't setup the emulator to 2.3.4 only 2.3.3. I understand 2.3.4 is only a service patch but I'm trying to mimic it as best as possible.</p>

<p>The behavior that it exhibits is that upon opening on this one device it hangs indefinately with a white modal screen and the spinning animation. Of course I can't get the behavior to happen in development. Further everything is self contained so there are no web services etc. involved. So I need advice on how to debug.</p>

<p>My current thought...may not be a good one is to fall back to the 80's and put a message box display after every significant line of code and push the .apk onto her device. </p>

<p>Also since this happens at the very load of the application here is the code...one line.</p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    //setContentView(R.layout.main);
    //super.load( "file:///android_asset/www/index.html");
    super.loadUrl("file:///android_asset/www/index.html");
}
</code></pre>

<p>Any thoughts greatly appreciated.
JB</p>
