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

rich! capricious! : 5 best ways to promote paid apps

How to promote APP through mobile advertising pla...

How did the short video app “Tik Tok” become popular?

If I were to say which APP is the most popular in...

What is "i人e人"? Can MBTI really define us?

I don’t know when it started, but MBTI is everywh...

How to identify and acquire high-value super users?

Super users are users who are willing to pay for ...

How does Zhihu monetize? Zhihu monetization skills!

I wrote the first answer on Zhihu , which unexpec...

How did Qutoutiao achieve more than 10 million daily active users?

Qutoutiao has emerged as a dark horse among infor...

Teach you step by step how to view nearby people

The tutorial shared today is to teach you how to ...