-
TF卡实验(读写TF卡)
【实例简介】SPI方式读写TF卡.zip
- 2021-07-14 00:32:03下载
- 积分:1
-
天猫手机端html模板源码下载
天猫手机端html模板源码下载
- 2015-05-20下载
- 积分:1
-
android动态壁纸中的水波纹效果
android动态壁纸中的水波纹效果,采用opengl中的shader实现
- 2015-04-12下载
- 积分:1
-
android 短信拦截 实例完整源码下载
可实现拦截短信,自动转发的功能。 部分代码:import android.app.AlarmManager;import android.app.PendingIntent;import android.app.Service;import android.content.Context;import android.content.Intent;import android.content.IntentFilter;import android.os.IBinder;import android.os.PowerManager;import android.os.PowerManager.WakeLock;public class MyService extends Service{ SMSReceiver rs=null; static MyService service; private static PendingIntent pi = null; public static AlarmManager am = null; @Override public IBinder onBind(Intent intent) { // TODO Auto-generated method stub return null; } @Override public void onCreate() { // TODO Auto-generated method stub super.onCreate(); service=this; pm = (PowerManager) getSystemService(Context.POWER_SERVICE); registerAlarm(); acquireWakeLock(this); registerRecever(); } @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); releaseWakeLock(); unregisterAlarm(); } private void registerRecever(){ rs=new SMSReceiver(); IntentFilter filter=new IntentFilter(); filter.addAction("android.provider.Telephony.SMS_RECEIVED"); filter.setPriority(1000); registerReceiver(rs, filter); } @Override public int onStartCommand(Intent intent, int flags, int startId) { // TODO Auto-generated method stub if(rs==null)registerRecever(); return START_STICKY; } public static WakeLock wakeLock = null; private static PowerManager pm = null; public static synchronized void acquireWakeLock(Context c) { if (null == wakeLock) { wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "smslock"); wakeLock.acquire(); } } public static synchronized void releaseWakeLock() { if (wakeLock == null) return; if (wakeLock.isHeld()) { wakeLock.release(); wakeLock = null; } } /** * 启动重复型定时器 */ public static void registerAlarm() { if(Config.getAlarm())return; Intent intent = new Intent(service, AlarmReceiver.class); pi = PendingIntent.getBroadcast(service, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT); // 设置一个PendingIntent对象,发送广播 am = (AlarmManager) service.getSystemService(Context.ALARM_SERVICE); // 获取AlarmManager对象, Config.setAlarm(true); am.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), 30*60*1000, pi); } /** * 取消定时器 */ public static void unregisterAlarm() { am.cancel(pi); am = null; Config.setAlarm(false); }}
- 2014-05-21下载
- 积分:1
-
wifi_control_computer
一个基于安卓平台的用wifi控制电脑的源代码(An Android-based platform for the control of a computer source code wifi)
- 2013-09-07 20:08:04下载
- 积分:1
-
Android ExpandableList 例子下载 列表
Android ExpandableList 例子下载 列表
- 2013-08-14下载
- 积分:1
-
nfccard
安卓NFC读写非接触IC卡是一款基于非接触IC卡的NFC应用,支持符合ISO7816—3、ISO15693和Felica等国际标准卡片的读取,能够读取的电子标签包括公交卡、银行卡、图书馆射频标贴等。NFCard可以用来读取电子钱包(主要是公交卡)中未加密的余额、交易记录、标识等信息。该软件使用了模块化设计,方便扩充支持其他特殊类型的卡片协议和指令。(Android NFC read write non-contact IC card is a NFC application based on Contactless IC card, support in line with the international standard ISO7816- 3, iso15693 and felica etc. card read, to read electronic tag includes bus card, bank card, library RF stickers and so on. NFCard can be used to read the electronic wallet (mainly public transport card) in the balance of the encryption, transaction records, identification and other information. The software uses a modular design to facilitate the expansion of support for other special types of card protocols and instructions.)
- 2016-07-05 20:12:46下载
- 积分:1
-
基于android studio开发的新闻资讯系统
基于android studio开发的新闻资讯系统,完美兼容,界面优美,可参赛。 有代码,有报告册(包含实验截图,实验详解,实验功能描述,功能实现,数据库设计,系统框架,系统功能设计,以及需求分析等)一步到位,
- 2020-06-16下载
- 积分:1
-
android wifi设置静态ip 实例源码下载
android wifi设置静态ip 实例源码下载
- 2014-08-29下载
- 积分:1
-
蓝牙
说明: 蓝牙通信,手机端与单片机之间蓝牙通信,可用于蓝牙定位。(Bluetooth connection)
- 2019-10-22 18:22:21下载
- 积分:1