Imitation mall app

Imitation mall app

Source code introduction: 1. It has the function of online login verification and login status maintenance. 2. It has JSON parsing. 3. Add shopping cart. 4. Automatic carousel. 5. Basic usage of SharedPreferences. Most functions of this app are done by this method and bundle transfer. 6. TabHost tabs are nested in Fragment. 7. QQ left slide menu application. 8. Automatic text completion can be used as a reference for beginners.

Source code effect:

Source code snippet:

  1. Stay logged in
  2. @Override  
  3. protected   void onRestart() {
  4. super .onRestart();
  5. quUser();
  6. }
  7.   
  8. public   void quUser() {
  9. SharedPreferences ps = getSharedPreferences( "isLogin" , Context.MODE_PRIVATE);
  10. str = ps.getBoolean( "isLogin" , false );
  11. name = ps.getString( "username" , "" );
  12. dengji = ps.getString( "dengji" , "" );
  13. if (str) {
  14. info = new ResideMenuInfo( this , R.drawable.ic_launcher1, name, dengji);
  15. } else {
  16. info = new ResideMenuInfo( this , R.drawable.ic_launcher, "Please log in" , "" );
  17. }
  18. }

Download address: http://download..com/data/2125291

<<:  I'm tired of waiting and found out that iOS 9.2 beta4 is the official version

>>:  Mobile phone ordering project source code

Recommend

6 carefully selected black technology apps that can make your phone omnipotent

Here I would like to share 6 carefully selected b...

Tencent Guangdiantong advertising placement and optimization!

In the 2020s, is there still anyone who doesn’t k...

How much does it cost to create a homestay mini app in Zhengzhou?

How much does it cost to produce a Zhengzhou home...

Which market makes the most money? Tencent tells you!

[[127236]] The Investment and M&A Department ...

Bidding Promotion | How to reduce costs and increase clicks?

The competition environment is intensifying. Alth...

Analysis of WeChat Reading's full-link user growth system

The Internet has been running wild, and the era o...

In order to prevent you from spitting out the seeds, fruits work so hard!

Summer is the season for eating fruits. I believe...

App channel promotion skills and strategies!

As we all know, the first step in App promotion i...