java - How to launch the graph as initial activity using achartengine -


in app want display graph when app launches. used tab activity. possible implement without tab activity? if yes, how implement this. please can me.

code:

public class alinegraph extends tabactivity {      tabhost tab_host;     tabspec tab1;      /** called when activity first created. */     @override     public void oncreate(bundle savedinstancestate) {         super.oncreate(savedinstancestate);               tab_host = gettabhost();            tab1 = tab_host.newtabspec("1wk");          tab1.setindicator("1wk");          linegraphpage actc = new linegraphpage();         intent intent = actc.execute(alinegraph.this);               tab1.setcontent(intent);              tab_host.addtab(tab1);          }  } 


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -