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

10 formulas for social media operations

We have previously analyzed four formulas: the co...

Look! There are a group of prehistoric monsters "sealed" in the rocks!

The fantastic creatures that are difficult to dis...

Talking about execution ability from Zhihu

The day before yesterday, when the news started t...

iOS 16.5 update push, this feature will be disabled

Early this morning, Apple pushed the iOS 16.5 Bet...

The secret to increasing information flow conversion rate from 3% to 13% lies here!

The effect is poor. What went wrong? First, let’s...

US expert: China's auto industry is developing synchronously in all fields

At a recent symposium organized by the University...

Android 7.0 vs. iOS 10: Which is better?

The competition in the mobile operating system spa...

Can a rice cooker be used to boil water?

The electric rice cooker is a common household co...

Pinduoduo's operation ideas for new stores

Now with the development of the Pinduoduo market ...

How to use iPad at work to improve work efficiency

How to be more efficient with iPad requires using...