• 大小: 8.95MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-31
  • 语言: Java
  • 标签: android  

资源简介

package com.example.wzq; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import com.example.wzq.MyInfo.MyInfoActivity; import com.example.wzq.gameview.WzqGame; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.Parcelable; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.support.v4.view.ViewPager.OnPageChangeListener; import android.view.KeyEvent; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import android.widget.ImageView.ScaleType; import android.widget.Toast; public class MainActivity extends Activity implements OnClickListener{ private ViewPager viewPager; private List imageViews; //滑动的图片集合 private String[] titles;//图片标题 private int[] imageResId;//图片ID private List dots; //图片标题正文的那些点集合 private TextView tv_title; private int currentItem = 0;//当前图片的索引号 Intent intent = new Intent(); private ScheduledExecutorService scheduledExecutorService; //切换到当前显示的图片 private Handler handler = new Handler(){ @Override public void handleMessage(Message msg) { viewPager.setCurrentItem(currentItem); } }; //定义两种颜色设置 static final int COLOR1 = Color.parseColor("#787878"); static final int COLOR2 = Color.parseColor("#ffffff"); //定义四个按钮切换按钮 private Button start_btn=null; private Button bluetooth_btn=null; private Button myinfo_btn=null; private Button finish_btn=null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); //生成滚动图片 initImageFlow(); View view_

资源截图

代码片段和文件信息

/** Automatically generated file. DO NOT MODIFY */
package com.example.wzq;

public final class BuildConfig {
    public final static boolean DEBUG = true;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-05-08 10:09  wzq_1.1\
     文件         364  2013-04-13 10:45  wzq_1.1\.classpath
     文件         843  2013-04-13 10:45  wzq_1.1\.project
     目录           0  2013-04-13 10:45  wzq_1.1\.settings\
     文件         177  2013-04-13 10:45  wzq_1.1\.settings\org.eclipse.jdt.core.prefs
     文件        2255  2013-04-23 23:21  wzq_1.1\AndroidManifest.xml
     目录           0  2013-04-13 10:45  wzq_1.1\assets\
     目录           0  2013-05-08 19:35  wzq_1.1\bin\
     文件        2255  2013-05-06 22:11  wzq_1.1\bin\AndroidManifest.xml
     目录           0  2013-05-10 16:55  wzq_1.1\bin\classes\
     文件      644244  2013-05-08 19:35  wzq_1.1\bin\classes.dex
     目录           0  2013-05-10 16:55  wzq_1.1\bin\classes\com\
     目录           0  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\
     目录           0  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\
     文件         339  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\BuildConfig.class
     文件        3405  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\Change.class
     文件         449  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\Const.class
     目录           0  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\database\
     文件        2541  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\database\DBWzq.class
     目录           0  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\
     目录           0  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\ai\
     文件        1070  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\ai\ShaWuJin.class
     文件        2733  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\ai\ZhuBaJie.class
     文件         892  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\GameView$1.class
     文件        2563  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\GameView$2.class
     文件         906  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\GameView$3.class
     文件         868  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\GameView$4.class
     文件       11329  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\GameView.class
     文件         161  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\OnTimerListener.class
     文件         838  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\Point.class
     文件        1488  2013-05-10 16:55  wzq_1.1\bin\classes\com\example\wzq\gameview\WzqGame$1.class
............此处省略233个文件信息

评论

共有 条评论