登录
首页 » Java » Activity_02

Activity_02

于 2011-11-17 发布 文件大小:47KB
0 145
下载积分: 1 下载次数: 7

代码说明:

  Android 应用开发基础,Activity的使用和Layout布局设置(Android Develop Code)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Sliding Puzzle Game By Java
    Numeric Sliding Puzzle is a simple type of game where a user clicks on a sliding tile (containing a number) in order to move it to another location. A tile can only be moved to another location if it is neighbour to a blank tile. The game continues until all the tiles are in the correct order; e.g. for a 3*3 size puzzle, the correct order of the tiles is blank tile, 1, 2, 3, 4, 5, 6, 7, 8.
    2022-01-25 23:42:01下载
    积分:1
  • 微信小程序:电商源码
    【实例简介】微信小程序:电商源码
    2021-12-08 00:37:38下载
    积分:1
  • 围棋小游戏
    用java写的围棋小游戏,可以与机器人对战,也可以玩家对战,有特殊的音效和绚丽的界面。对于Java初学者具有参考价值。
    2022-02-04 11:31:01下载
    积分:1
  • android 静态壁纸实例源码下载
    一款还不错的静态壁纸代码 核心代码:package com.example.wallpaperchange;import android.os.Bundle;import android.app.Activity;import android.app.AlarmManager;import android.app.PendingIntent;import android.app.Service;import android.content.Intent;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;import android.widget.Toast; public class MainActivity extends Activity { AlarmManager aManager; Button start,stop; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); start = (Button)findViewById(R.id.start); stop = (Button)findViewById(R.id.stop); aManager = (AlarmManager)getSystemService(Service.ALARM_SERVICE); //指定ChangeService组件 Intent intent = new Intent(MainActivity.this,ChangeService.class); //创建PendingIntent对象 final PendingIntent pi = PendingIntent.getService( MainActivity.this, 0, intent, 0); start.setOnClickListener(new OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub aManager.setRepeating(AlarmManager.RTC_WAKEUP, 0, 5000, pi); start.setEnabled(false); stop.setEnabled(true); Toast.makeText(MainActivity.this, "壁纸定时更换启动成功", 5000).show(); } }); stop.setOnClickListener(new OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub start.setEnabled(true); stop.setEnabled(false); aManager.cancel(pi); } }); } }
    2014-06-03下载
    积分:1
  • Java Web 应用程序
    这是我们开发使用 netbeans 工具的项目和项目的概念是在 java 服务器页中基于 java web 应用程序中。
    2023-02-13 01:35:04下载
    积分:1
  • JAVA 围棋对弈软件
    最新JAVA开发的围棋对弈软件,实现人机与人人的对弈平台。具有完善的智能平台
    2023-05-10 17:50:03下载
    积分:1
  • android 图片高斯图片模糊算法
    android 图片高斯图片模糊算法
    2015-06-16下载
    积分:1
  • 视频聊天android端代码 下载
    使用webrtc的开源android端代码
    2015-05-27下载
    积分:1
  • android camera test
    android camera test to android camera test
    2022-03-10 16:41:08下载
    积分:1
  • 有吸引力的联系人列表视图
    应用背景这部电话簿联系应用程序有美丽的布局,与列表视图,搜索表单,多布局和功能。你可以在这个应用程序中开发和添加更多的功能;关键技术使用Java的数据库,好的包装,建立由Eclipse SDK,最小:8
    2023-02-25 00:10:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载