登录
首页 » Java » SimpleDateFormatTest

SimpleDateFormatTest

于 2013-10-24 发布 文件大小:1KB
0 84
下载积分: 1 下载次数: 9

代码说明:

  Simple Date Format Test Source Code for Andriod.

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

发表评论

0 个回复

  • Android平台比较好用滚动通知效果MarqueeView-master
    Android平台比较好用滚动通知效果,可以进行点击事件。(Android platform is better to use scroll notification effect, you can click events.)
    2020-06-20 06:00:01下载
    积分: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
  • 基于stm32f103c8t6 spi-flash
    基于stm32f103c8t6 spi-flash
    2021-05-06下载
    积分:1
  • 插入排序算法
    package Algorithm; //2013.10.29 import java.util.Arrays; public class InsertionSort {     public static void insert(int[] a){         for(int n=1;n
    2023-03-04 11:20:04下载
    积分:1
  • Android-application-development
    本文详细在介绍了Android开发环境搭建的基础上,详述了Android应用程序的框架,UI系统的实现,以及2D,3D接口的控制和使用,是Android应用开发入门的经典教程。(This paper introduces in detail in the Android development environment to build, based on the details of the Android application framework, UI system implementation, as well as 2D, 3D interface to control and use, is a classic Android Application Development Tutorial.)
    2013-08-03 10:25:49下载
    积分:1
  • 刘斌老师的SSH整合项目--ePortal(电子商务平台)
    重新整理了一下刘斌老师的SSH整合项目--ePortal(电子商务平台) 1、根据sql文件夹中的说明建立数据库 2、修改applicationContext.xml文件中的jdbc链接配置 3、部署到tomcat中即可运行访问
    2022-10-01 18:50:17下载
    积分:1
  • ISSAuthorize
    Android与IIS身份验证案例源码,在Android移动项目开发中,访问服务器时,为了简洁方便,我们经常使用http协议来传递JSON格式的数据。然而有些项目需要有一定的安全性,如使用Android客户端登陆到MIS系统。虽然我们是通过Android手机客户端的登陆Activity中登陆到系统的,但是略懂电脑的黑客是能够跳过登陆Activity,从而直接进入系统的。这样,会造成一些由于系统的不安全所带来的麻烦。建立一种防止黑客强行登录的身份验证模式尤为重要。此时,系统的身份验证成为阻挡黑客登陆的一道屏障。那么,怎样实现一个身份验证呢?让我们以IIS为宿主,一步一步的实现身份验证吧(Android and IIS authentication case source code, in the Android mobile project development, access to the server, in order to be simple and convenient, we often use the HTTP protocol to transfer JSON format data. However, some of the project needs to have a certain security, such as the use of Android client login to the MIS system. Although we are through the Android mobile client landing Activity landing to the system, but slightly understand the computer hacker is able to skip the landing Activity, thus directly into the system. In this way, it will cause some of the problems caused by the system is not safe. It is particularly important to establish an identity authentication mode to prevent hackers logging in. At this point, the identity of the system has become a barrier to prevent hackers landing. So, how to achieve an identity verification? Let us take IIS as the host, step by step to achieve authentication bar)
    2016-06-20 11:04:56下载
    积分:1
  • 调用系统摄像头 录制视频 播放视频实例源码下载(亲测可用)
    调用系统摄像头调用系统摄像头调用系统摄像头
    2015-02-10下载
    积分:1
  • 基于Android平台的个人记账应用
    基于Android平台的个人记账应用开发基于Android平台的个人记账应用开发基于Android平台的个人记账应用开发基于Android平台的个人记账应用开发基于Android平台的个人记账应用开发基于Android平台的个人记账应用开发基于Android平台的个人记账应用开发基于Android平台的个人记账应用开发基于Android平台的个人记账应用开发
    2022-03-17 18:07:30下载
    积分:1
  • android 手机截屏 实例源码下载
    android 手机截屏 实例源码下载
    2014-09-10下载
    积分:1
  • 696518资源总数
  • 104292会员总数
  • 28今日下载