eclipse plugin - Android not able to show result in my device -


i new android. when running android application in eclipse getting these messages in console:

[2012-06-04 22:51:00 - interface] ------------------------------ [2012-06-04 22:51:00 - interface] android launch! [2012-06-04 22:51:00 - interface] adb running normally. [2012-06-04 22:51:00 - interface] performing yassine.ana.kantester.interfaceactivity activity launch [2012-06-04 22:51:00 - interface] automatic target mode: using device 's557083c795c2' [2012-06-04 22:51:00 - interface] uploading interface.apk onto device 's557083c795c2' [2012-06-04 22:51:01 - interface] installing interface.apk... 

after message nothing displayed in device ,same problem when use emulator tested app samsung s5570

and here androidmanifest.xml file

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"     package="yassine.ana.kantester"     android:versioncode="1"     android:versionname="1.0" >      <uses-sdk android:minsdkversion="7" />      <application         android:icon="@drawable/ic_launcher"         android:label="@string/app_name" >         <activity             android:name=".interfaceactivity"             android:label="@string/app_name" >             <intent-filter>                 <action android:name="android.intent.action.main" />                  <category android:name="android.intent.category.launcher" />             </intent-filter>         </activity>     </application>  </manifest>  

here activity code

package yassine.ana.kantester;   import yassine.ana.kantester.barreaction.ondispatchclicklistener; import android.app.activity; import android.os.bundle; import android.view.*; import android.widget.*;  public class interfaceactivity extends activity implements ondispatchclicklistener{     /** called when activity first created. */      private textview etiquette;     private barreaction actionbar;     @override     public void oncreate(bundle savedinstancestate) {         super.oncreate(savedinstancestate);         setcontentview(r.layout.main);         actionbar.settext("barre d'etat");         actionbar.affichechercher();          actionbar.loading();         actionbar.setondispatchclicklistener(this);         etiquette =(textview) findviewbyid(r.id.etiquette);     }     //méthode qui se déclenchera lorsque vous appuierez sur le bouton menu du téléphone     public boolean oncreateoptionsmenu(menu menu) {          //création d'un menuinflater qui va permettre d'instancier un menu xml en un objet menu         menuinflater inflater = getmenuinflater();         //instanciation du menu xml spécifier en un objet menu         inflater.inflate(r.layout.menu, menu);          //il n'est pas possible de modifier l'icône d'entête du sous-menu via le fichier xml on le fait donc en java         menu.getitem(0).getsubmenu().setheadericon(android.r.drawable.ic_menu_preferences);          return true;      }         //méthode qui se déclenchera au clic sur un item       public boolean onoptionsitemselected(menuitem item) {          //on regarde quel item été cliqué grâce à son id et on déclenche une action          switch (item.getitemid()) {             case r.id.option:                toast.maketext(interfaceactivity.this, "option", toast.length_short).show();                return true;             case r.id.favoris:                 toast.maketext(interfaceactivity.this, "favoris", toast.length_short).show();                 return true;             case r.id.stats:                 toast.maketext(interfaceactivity.this, "stats", toast.length_short).show();                 return true;            case r.id.quitter:                //pour fermer l'application il suffit de faire finish()                finish();                return true;          }          return false;        }       public void ontoggleclicked(view v) {             // perform action on clicks             if (((togglebutton) v).ischecked()) {                 toast.maketext(interfaceactivity.this, "toggle on", toast.length_short).show();             } else {                 toast.maketext(interfaceactivity.this, "toggle off", toast.length_short).show();             }         }     @override     public void ondispatchclick(int id) {         switch (id) {         case r.id.ab_home:             etiquette.settext("home ! ");             break;         case r.id.ab_search:             etiquette.settext("recherche  !");             break;         case r.id.ab_loading:             actionbar.loaded();             break;          default:             etiquette.settext("une erreur s'est produite!");             break;         }      }  } 

about list of application in device m not finding new installed application


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -