现在开发一个软件 有些操作只希望它在首次运行时执行 或者说在安装时才执行 那么我应该写在哪里呢?
解决方案 »
- 关于Highcharts在安卓上的显示问题
- GridView中getConstantState获取不正确
- moto手机上的摩托罗拉手机门户,可以在手机构建一个web页面从电脑上访问,请问是怎么实现的呢?
- 求助 Android 反射 GSMPhone 的方法 例如:invokeOemRilRequestStrings
- wifi问题
- android里面如何实现各种绘字的效果
- android 如何读取word中的图片,并显示在两段文字之间。
- android怎样在真机上调试
- android开发中,Bundle和Intent的联系和区别?
- 在布局文件ViewPager标签中直接放置三个fragment的问题
- 请教大家一个问题,下载了android版本的新浪微博SDK,请问有哪些可以开发的
- 关于activity和view中的ontouchevent的问题
可是我想要的操作并不是数据库处理的 其他的操作也能写在 SQLiteOpenHelper 派生类里面吗?
pendingIntent = PendingIntent.getBroadcast(this, i, intent[i], PendingIntent.FLAG_UPDATE_CURRENT);
alarmManager = (AlarmManager)getSystemService(ALARM_SERVICE);
alarmManager.set(AlarmManager.RTC, calendar.getTimeInMillis(), pendingIntent);