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

Create short video IP in the first year of 5G and make your fans addicted to you

2019 is known as the first year of 5G. The arriva...

Apple iWatch will have to wait until next year!

According to Taiwan's Economic Daily News, th...

How difficult is it to produce the blue fireworks in the TV series "Nothing But Thirty"?

In the TV series “Nothing But Thirty”, “blue fire...

The most complete! 13 tricks for selling goods through live streaming

I believe that the first time many people heard t...

Virtual Reality Entrepreneurship: How long will it take to see spring?

Virtual Reality (VR), a field that is somewhat un...

How to build a product operation strategy? Just 3 steps!

Recently, I have seen many articles online that d...

Community operation, what exactly is it?

I have been engaged in community operations for P...

The dispute over "real" and "fake" 4K TVs stems from a lack of unified standards

The World Cup, which is held every four years, is...

Vocational training advertising plan!

Analysis of vocational skills training market Wit...

How to attract traffic on Weibo, 5 tips on how to attract traffic (effective)

Traffic is actually not difficult, especially gen...