Note that there are some explanatory texts on larger screens.

plurals
  1. POphonegap simple example does not work in android emulator
    primarykey
    data
    text
    <p>I followed all the steps in the basic Phonegap tutorial (Eclipse, Android SDK, ADT Phonegap), I created an <code>index.html</code> page (code from phonegap site) and <code>cordova-2.2.0.js</code> in the <code>assets/www</code> folder and <code>cordova-2.2.0.jar</code>, when i ran it it showed this message on the consol screen :</p> <pre><code>[2013-09-05 12:44:14 - phonegape-test] ------------------------------ [2013-09-05 12:44:14 - phonegape-test] Android Launch! [2013-09-05 12:44:14 - phonegape-test] adb is running normally. [2013-09-05 12:44:14 - phonegape-test] No Launcher activity found! [2013-09-05 12:44:14 - phonegape-test] The launch will only sync the application package on the device! [2013-09-05 12:44:14 - phonegape-test] Performing sync [2013-09-05 12:44:14 - phonegape-test] Automatic Target Mode: launching new emulator with compatible AVD 'STest' [2013-09-05 12:44:14 - phonegape-test] Launching a new emulator with Virtual Device 'STest' [2013-09-05 12:44:27 - phonegape-test] New emulator found: emulator-5554 [2013-09-05 12:44:27 - phonegape-test] Waiting for HOME ('android.process.acore') to be launched... [2013-09-05 12:46:25 - phonegape-test] HOME is up on device 'emulator-5554' [2013-09-05 12:46:25 - phonegape-test] Uploading phonegape-test.apk onto device 'emulator-5554' [2013-09-05 12:46:26 - phonegape-test] Installing phonegape-test.apk... [2013-09-05 12:47:35 - phonegape-test] Success! [2013-09-05 12:47:35 - phonegape-test] \phonegape-test\bin\phonegape-test.apk installed on device [2013-09-05 12:47:35 - phonegape-test] Done! </code></pre> <p>but the application dose not work and i did not found my application lancher icon ! can u help me please !</p> <p><strong>EDIT</strong> : <em>MainActivity.java</em> :</p> <pre><code>package com.example.phonegape; import android.os.Bundle; import android.view.Menu; import org.apache.cordova.*; //import com.phonegap.DroidGap; public class MainActivity extends DroidGap { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init(); super.loadUrl("file:///assets/www/index.html"); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload