-
struts2.0 的配置文件,提供的为oa项目中的普通配置,供初学struts2.0的朋友参考用...
struts2.0 的配置文件,提供的为oa项目中的普通配置,供初学struts2.0的朋友参考用-struts2.0 configuration file, providing a project for the oa common configuration for the beginner struts2.0 friend of reference
- 2022-03-24 11:58:58下载
- 积分:1
-
分布式时钟
主要介绍了分布式系统下RMI的 框架,之后我们详细的 框架,之后我们详细介绍了在 C/S 框架下的分布式时钟实 验, 且本实验是基于观察者模式的
- 2022-05-10 14:07:15下载
- 积分:1
-
成绩输入和排名系统
可以认为定义学生人数和课程数目,可根据界面提示输入学生成绩,并能计算总分和平均分,同时实现排名系统!
- 2022-07-01 03:58:56下载
- 积分: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
-
班级网站我做的
应用背景
http://yc.wjnk010.com/yccs/680.html
http://yc.wjnk010.com/yccs/679.html
http://yc.wjnk010.com/yczz/678.html
http://yc.wjnk010.com/ychl/677.html
http://yc.wjnk010.com/ycys/676.html
http://yc.wjnk010.com/yccs/675.html
http://yc.wjnk010.com/ycys/674.html
http://yc.wjnk010.com/yccs/673.html
http://yc.wjnk010.com/yczmzl/672.html
http://yc.wjnk010.com/ycwh/671.html
http://yc.wjnk010.com/ycwh/670.html
http://yc.wjnk010.com/yccs/669.html
- 2022-04-07 15:49:48下载
- 积分:1
-
addressChange
wbml地址转换,可以跳出围堵,地址跳转(wbml NAT can jump out of containment, address Jump)
- 2007-04-18 10:25:28下载
- 积分:1
-
WapExplorer
一款WAP浏览器的J2ME源码,提供给新手参考学习(A WAP browser source code of J2ME to provide a reference to the new learning)
- 2009-04-13 17:00:02下载
- 积分:1
-
骗1点积分
购物车!啦啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊~!
- 2022-03-13 03:02:01下载
- 积分:1
-
上传一些英文书籍
上传一些英文书籍-upload some English books
- 2023-02-08 22:50:05下载
- 积分:1
-
This is a WEB prepared using JSP File Manager, in the JDK1.5 and Tomcat5.5 on th...
这是一个使用JSP编写的WEB文件管理器,在JDK1.5和Tomcat5.5上测试通过。可对网站上的目录和文件进行读、写、删除和上载等操作,也附带了JSP探针,用于了解程序所运行的容器环境。如果你所在的环境不能使用FTP,那么可以使用本工具上载你你所修改的JSP代码和其它文件。 -This is a WEB prepared using JSP File Manager, in the JDK1.5 and Tomcat5.5 on the test. On website directories and files to read, write, delete and upload operation, etc., but also comes with JSP probe for understanding of processes running on the container environment. If your environment should not use FTP, you can use this tool to upload your changes you have JSP code and other documentation.
- 2022-07-20 04:21:21下载
- 积分:1