Android source code download: APP startup guide

Android source code download: APP startup guide

Functional classification: Tools

Supported platforms: Android

Operating environment: Eclipse

Development language: Java

Development tool: Eclipse

Source code size: 5.43MB

Source code download address: http://down..com/data/1977580

Source code introduction

APP startup boot is one of the four common ways to boot projects in Android APP applications.

Source code running screenshot

Boot Success

APP guidance method selection

Slide guide 1

Slide Guide 4

Slide Guide 2

Source code snippet

  1. package com.zhangyx.MyLauncherGuide;
  2.   
  3. import com.lidroid.xutils.ViewUtils;
  4. import com.lidroid.xutils.view.annotation.ViewInject;
  5. import com.zhangyx.MyLauncherGuide.activity.scrollView.ScollerViewActivity;
  6. import com.zhangyx.MyLauncherGuide.activity.splash.SplashActivity;
  7. import com.zhangyx.MyLauncherGuide.activity.viewFlipper.ViewFlipperActivity;
  8. import com.zhangyx.MyLauncherGuide.activity.viewPage.ViewPagerActivity;
  9. import com.zhangyx.MyLauncherGuide.utils.AnimationUtil;
  10.   
  11. import android.os.Bundle;
  12. import android.app.Activity;
  13. import android.content.Intent;
  14. import android.view.Menu;
  15. import android.view.View;
  16. import android.view.View.OnClickListener;
  17. import android.widget.Button;
  18.   
  19. /**
  20. * APP guidance method classification
  21. *com.zhangyx.MyLauncherGuide.MainActivity
  22. * @author Admin-zhangyx
  23. *
  24. * created at 2015-1-21 2:04:27 PM
  25. */  
  26. public   class MainActivity extends Activity implements OnClickListener{
  27.   
  28. @ViewInject (R.id.btnSplash)
  29. private Button btnSplash;
  30. @ViewInject (R.id.btnViewPage)
  31. private Button btnViewPage;
  32. @ViewInject (R.id.btnViewFlipper)
  33. private Button btnViewFlipper;
  34. @ViewInject (R.id.btnScrollView)
  35. private Button btnScrollView;
  36.       
  37. @Override  
  38. protected   void onCreate(Bundle savedInstanceState) {
  39. super .onCreate(savedInstanceState);
  40. setContentView(R.layout.activity_main);
  41. ViewUtils.inject( this );
  42. btnSplash.setOnClickListener( this );
  43. btnViewPage.setOnClickListener( this );
  44. btnViewFlipper.setOnClickListener( this );
  45. btnScrollView.setOnClickListener( this );
  46. }
  47.   
  48.   
  49. @Override  
  50. public   boolean onCreateOptionsMenu(Menu menu) {
  51. // Inflate the menu; this adds items to the action bar if it is present.  
  52. getMenuInflater().inflate(R.menu.main, menu);
  53. return   true ;
  54. }
  55.   
  56.   
  57. /* (non-Javadoc)
  58. * @see android.view.View.OnClickListener#onClick(android.view.View)
  59. */  
  60. @Override  
  61. public   void onClick(View v) {
  62. // TODO Auto-generated method stub  
  63. if (v==btnSplash){
  64. startActivity( new Intent( this ,SplashActivity. class ));
  65. } else   if (v==btnViewPage){
  66. startActivity( new Intent( this ,ViewPagerActivity. class ));
  67. } else   if (v == btnViewFlipper) {
  68. startActivity( new Intent( this ,ViewFlipperActivity. class ));
  69. } else   if (v == btnScrollView) {
  70. startActivity( new Intent( this ,ScollerViewActivity. class ));
  71. }
  72. AnimationUtil.activityZoomAnimation( this );
  73. }
  74.       
  75. }

Source code download address: http://down..com/data/1977580

<<:  One picture tells you: Which generation of Android system is stronger?

>>:  Exclusive interview with Xu Shiwei: Three transformations completed in eleven years How a successful entrepreneur was made

Recommend

Poor traffic conversion recently? Share 8 high conversion techniques!

If you were asked to choose between the following...

Are white strawberries genetically modified fruits?

Strawberry, a perennial herbaceous plant of the g...

Li Zhongying's video on children's learning ability and results

Li Zhongying's children's learning abilit...

Development Trends of UI Design Industry in 2019

It goes without saying that UI is an important pa...

If a wild boar falls down, will a passing wild boar help it?

You will not only encounter wild boars in mountai...

A case study of the latest App Store recommendations!

It has been nearly two years since Apple announce...

Scaly "strange tree"

Strange fossils In 1991, an Australian museum rec...

For an in-depth analysis of oCPC, just read this article!

I have wanted to talk to you about conversion bid...

To be honest, before becoming pets, guinea pigs were actually food...

Many zoos and farms in Japan have a program calle...

Can the self-produced talent show help Sohu Video regain its momentum?

At the beginning of 2015, Zhang Chaoyang, who ret...