-
Android 的 Json 解析
Android JSON 解析是 java 脚本对象表示法,基本上从 url 获取 json 数据并返回一个 json 响应。
- 2022-06-25 23:07:08下载
- 积分:1
-
pubu
Android项目源码带瀑布流的旅游指南应用是一款旅游型的APP,是旅游目的地攻略指南,可以自动定位到城市,景点,餐馆,酒店,还可以分享旅游经验,与参与者互动。该项目的架构合理,有详细的注解,其中引入了第三方的瀑布流项目,以源代码的形式直接加入,很好的学习材料。默认使用UTF-8编码,编译版本为4.3(The Android project source code with a waterfall flow guide application is app a type of tourism, tourism destination strategy guide, can automatically locate the city, attractions, restaurants, hotels, can also share travel experiences, to interact with the participants. The framework of the project is reasonable, there are detailed notes, which introduces the third side of the waterfall flow project, in the form of source code to join, a good learning materials. The default use of UTF-8 code, the compiler version is 4.3)
- 2020-12-27 16:59:03下载
- 积分:1
-
android平台下的数独代码
不用多说了,数独大家都很熟悉了。android平台下的数独代码供大家参考。喜欢数独或android的朋友千万不要错过哦!注:1.6版本下可正常运行。
- 2022-06-01 01:00:40下载
- 积分:1
-
实时采集存储汽车CAN总线数据的Android APP
基于OBDII的蓝牙车载设备发送汽车CAN总线数据,本APP基于蓝牙通信解析得到的jason文件,实现汽车行驶状态实时采集存储
- 2023-06-12 21:31:03下载
- 积分: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
-
Android_Gadget_CDC_driver
android gadget driver
- 2019-05-23 14:07:34下载
- 积分:1
-
Android轻触菜单键从底部滑出的方格状自定义菜单
Android轻触菜单键从屏幕底部滑出的方格状自定义菜单 ,请按Menu键显示自定义菜单,一共是制作了两个菜单演示,菜单文字分别定义为:
菜单文字 **/
String[] menu_name_array = { "搜索", "文件管理", "下载管理", "全屏", "网址", "书签",
"加入书签", "分享页面", "退出", "夜间模式", "刷新", "更多" };
/** 菜单图片2 **/
int[] menu_image_array2 = { R.drawable.menu_auto_landscape,
R.drawable.menu_penselectmodel, R.drawable.menu_page_attr,
R.drawable.menu_novel_mode, R.drawable.menu_page_updown,
R.drawable.menu_checkupdate, R.drawable.menu_checknet,
R.drawable.menu_refreshtimer, R.drawable.menu_syssettings,
R.drawable.menu_help, R.drawable.menu_about, R.drawable.menu_return };
/** 菜单文字2 **/
String[] menu_name_array2 = { "自动横屏", "笔选模式", "阅读模式", "浏览模式", "快捷翻页",
"检查更新", "检查网络", "定时刷新", "设置", "帮助", "关于", "返回" };
@Override
* add()方法的四个参数,依次是:
* 1、组别,如果不分组的话就写Menu.NONE,
* 2、Id,这个很重要,Android根据这个Id来确定不同的菜单
* 3、顺序,那个菜单现在在前面由这个参数的大小决定
* 4、文本,菜单的显示文本
*/
menu.add(Menu.NONE, Menu.FIRST + 1, 5, "删除").setIcon(
android.R.drawable.ic_menu_delet
- 2022-12-30 11:10:18下载
- 积分:1
-
Android演示五种不同效果的Toast实现方法
Android实现五种不同外观样式的Toast弹出框效果,演示了自定义位置的Toast显示、带图片的Toast显示、完全自定义的Toast显示、长时间的Toast显示5种Toast,在效果测试时,你可以单击任意一种Toast,查看对应的弹出提示效果是什么样子,这些Toast在android应用开发时,用的比较多。
- 2022-01-26 03:45:10下载
- 积分:1
-
TouchActivity
触屏触摸活动测试代码,声明ImageView变量,声明相关变量作为存储图片宽高,位置使用,声明存储屏幕的分辨率变量,取得屏幕对象,取得屏幕解析像素,通过findViewById构造器创建ImageView对象,将图片从Drawable赋值给ImageView来呈现,当点击ImageView,还原初始位置,取得手指触控屏幕的位置,覆盖触控事件,防图片超过屏幕的相关处理,防止屏幕向右超过屏幕,以setLayoutParams方法,重新安排Layout上的位置,以setLayoutParams方法,重新安排Layout上的位置...
(Weather Android source code, obtained Google s weather API data themselves may again be extended run shot more difficult to grasp here, an environmental source test it on the download, Android Weather WeatherForecast seems to be common and the primary example of a simple Android , but would like to develop a beautiful and feature-rich weather application, it requires a lot of knowledge of the perfect combination.)
- 2013-08-01 18:19:48下载
- 积分:1
-
android xutils 工具 源码+实例下载
xutils 工具
- 2015-01-09下载
- 积分:1