-
蓝牙聊天
我正在使用蓝牙开发聊天应用程序。您可以共享通信和图像。您可以聊天、蓝牙、bchat。应用程序应连接到任何一个android设备。一旦它连接起来,你就可以共享信息和图像
- 2022-09-10 22:30:03下载
- 积分:1
-
android 的 webSocket
消息Web Socket客户端
- 2022-08-09 08:22:13下载
- 积分:1
-
Android 支持人脸识别拍照程序范例
Android 支持人脸识别拍照程序范例,拍摄照片时将自动锁定人脸部位,然后对焦什么的都会跟上,就像现在手机拍照的人脸检测一样的功能。同时本拍照程序还有一些特效功能,比如黑白、负片、曝光过度、色调分离、白板、浅绿、浮雕、素描、霓虹灯等。
改变方向并作动画效果 @param orientation [0 , 7] 方向分别为 0上面朝下 1左上面朝下 2左面朝下 3左下面朝下 。。。依次类推
本APP运行时需要开启摄像头权限、读取外部存储权限、写入外部存储权限。
- 2022-10-02 09:30:04下载
- 积分:1
-
使用FFmpeg实现视频录制和视频播放
android视频录制,模仿微视,支持按下录制、抬起暂停。进度条断点显示。该源码解决以下问题: 1.如何获取摄像头的数据2.如何把获取到的数据保存到视频文件中3.如何录制音频,并和视频合并4.录制视频时如何实现暂停功能5.android摄像头支持的分辨率可能不符合需求,需要转换分辨率 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-01-25 13:57:24下载
- 积分: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
-
android gif图片实现
android 中实现gif图片的效果展示,代码不错大家下下!
- 2023-07-15 05:30:03下载
- 积分:1
-
呼呼手机网络电话 6.1 下载(手机网络电话Android版)
“呼呼”手机网络电话Android版由杭州陆虎科技有限公司历时1年多开发,主要给手机用户提供更便宜的通话服务,目前已有25万活跃用户,特别适合传统通话费用高,长途或国际电话比较多的用户,通话质量清晰,和传统拨号习惯一致,最主要是:话费更便宜!特点:1、安装即送10-60分钟话费,话费便宜最低至0.01元/分钟;2、除了wifi,其它网络模式皆不消耗流量(采用回拨机制);3、系统自动注册,不产生吸费,操作安全方便;4、来电显示为真实手机号(一般网络电话来电显示非真实号码);5、国际国内都可以打,使用习惯与常规手机拨号完全一致,国内标准资费:0.1元/分钟(WIFI),0.15元/分钟(GPRS,3G等网络);6、打国际长途尤为便宜,如美国只需0.18元/分钟;7、无月租、无漫游、无功能费;注:建议办理免接听义务业务;(含港澳台)下载、安装、使用步骤:第一步:下载安装包至本地电脑;第二步:安装到手机;第三步:触发呼呼图标,系统自动注册,送10-60分钟话费;第四步:拨号,系统默认呼呼拨打,除了通话费,不产生其它任何费用,方便好用!若要恢复常规拨号,关闭呼呼即可;现行套餐:套餐一:首次一次性充值满30元送50元;套餐二:首次一次性充值满100元送200元;每自然月消费满100元后:0.01元/分钟(国内01:00-7:59),0.09元/分钟(国内8:00-17:00);更多优惠政策请关注官方活动;如有任何疑问请致电应用使用帮助下方的客服电话。
- 2022-10-04 17:55:03下载
- 积分:1
-
客户端首页广告栏位循环 并支持点击
客户端首页广告栏位循环 并支持点击
- 2015-01-19下载
- 积分:1
-
android 异步 执行 任务 例子 附讲解
Rules::The AsyncTask instance must be created in UI thread. .execute must be invoked on the UI thread.Never call objMyTask.onPreExecute(), objMyTask.doInBackground(), objMyTask.onProgressUpdate(), objMyTask.onPostExecute manually.The AsyncTask can be executed only once (an exception will be thrown if a second execution is attempted.)AsyncTask have Four Main Method... onPreExecute() doInBackground() onProgressUpdate() onPostExecute() onPreExecute-This method is called first when you start AsyncTask using objAsync.execute().And mostly this method is use for initializing dialog(ProgressDialog,CustomDialog) and showing. doInBackground-The main purpose of AsyncTask is accomplished by this method.Any non-UI thread process is running in this method.Such as Rss Feed Reader,Image and video Uploading and Downloading.You cant handle your View in this method.Because this method is non-UI thread.While any background process is running if you want to handle UI therea are onProgressUpdate method. after completion of process this method send result to OnPostExecute. onProgressUpdate-While backgrounding task is running ,you can handle your UI using this method .Such as status of downloading or uploading task.and this method is called from doInBackground.Using publishProgress() you can call onProgressUpdate method to update UI while process is running. onPostExecute -This method is called after the background computation finishes.The result of background process in passed in this method as parameters.And now you can dismiss progress dialog ,to indicate that background task is completed. You can cancel AsyncTask using objAsyncTask.cancel().then you just check in doInBackground, if (isCancelled()) { break; } else { //continue... } See this Image For more Clear.
- 2013-07-05下载
- 积分:1
-
MainActivity-stopwatch
android stopwatch 秒表 实现秒表的功能(android stopwatch stopwatch stopwatch function)
- 2012-09-05 14:28:59下载
- 积分:1