-
EntryTest
Entry Test Source Code for Andriod.
- 2013-11-12 11:44:19下载
- 积分:1
-
androidloadingremote
有Loading的Android远程登录源代码,用于在后台请求服务器是否登录成功,返回[0]登录状态,[1]是否网络错误。(Loading Android remote login source code, the request server login is successful, return [0] logged in the background, [1] is a network error.)
- 2013-04-16 20:29:26下载
- 积分:1
-
android自动升versioncode的工具, 也可以自定义versioncode和versionname
android自动升versioncode的工具, 也可以自定义versioncode和versionname, 还附带了ant编译脚本, 想学ant脚本的同学也可以下载哦
- 2023-08-21 13:25:03下载
- 积分:1
-
android图片旋转、淡入淡出、缩放效果、移动效果示例
android图片旋转、淡入淡出、缩放效果、移动效果示例,先来看下截图的运行效果,单击对应的按钮,即可看到效果,淡入淡出之类的,图片旋转之类的。
图片旋转的代码如下:
rotateAnimation.setDuration(5000);
animationSet.addAnimation(rotateAnimation);
image.startAnimation(animationSet);
淡入淡出效果:
AnimationSet animationSet = new AnimationSet(true);
animationSet.setInterpolator(new AccelerateInterpolator());
AlphaAnimation alphaAnimation = new AlphaAnimation(1, 0);
RotateAnimation rotateAnimation =
new RotateAnimation(0, 360,
Animation.RELATIVE_TO_PARENT, 1f,
Animation.RELATIVE_TO_PARENT, 0f);
animationSet.addAnimation(alphaAnimation);
animationSet.addAnimation(rotateAnimation);
alphaAnimation.setDuration(3000);
image.startAnimation(animationSet);
animationSet.setRepeatCount(4);
- 2023-02-06 16:40:04下载
- 积分:1
-
sphinxbase-0.8-win321
这是android语音识别引擎源码,希望对大家有所帮助。(This is the android source speech recognition engine, we want to help.)
- 2014-02-11 12:44:50下载
- 积分:1
-
gamepikachu
这是一种连接游戏,在游戏中,你必须连接游戏相同的卡在3线内清除它们。
- 2022-05-06 08:41:32下载
- 积分:1
-
vgprznb3
多载波以及扩频通信系统相关的书,主要内容有OFDM以及多载波CDMA,偏重于工程感念,理论性不是很强(Multicarrier and spread spectrum communication system related books, including OFDM and multicarrier CDMA, focus on engineering perception, the theory is not very strong)
- 2019-03-27 22:27:57下载
- 积分:1
-
安卓Android Launcher桌面启动器的简单例子
安卓系统中的桌面启动器,设置程序参数,安卓Android Launcher桌面启动器的简单例子,这里在 Launcher里创建了一些菜单,类似于包括于子菜单的二级菜单,类似于程序中的设置界面,包括了一些参数设置项,如示例图所示的样子。
//一级分组
String[] arrTypes = {"神族兵种","人族兵种","虫族兵种"};
//二级分组
String[][] arr = {
{"狂战士","龙骑士","黑暗圣堂","电兵"},
{"小狗","刺蛇","飞龙","自爆飞机"},
{"机枪兵","护士MM","幽灵"}
};
- 2023-04-17 16:55:03下载
- 积分:1
-
ViewPager+Fragment基本使用
ViewPager+Fragment基本使用
- 2014-01-09下载
- 积分:1
-
自己开发的Android 直接发送短信方法附上代码
这是一个自己开发的Android 直接发送短信方法附上代码,Android 发短信功能,包括了对内容合法性的验证,发送完成弹出提示。自己开发的直接发送短信的方法:
private void sendSMS(String telNo,String smsStr,View v){
PendingIntent pi=
PendingIntent.getActivity(this, 0, new Intent(this,Sample_11_1.class), 0);
SmsManager sms=SmsManager.getDefault();
sms.sendTextMessage(telNo, null, smsStr, pi, null);
//短信发送成功给予提示
Toast.makeText(
Sample_11_1.this, //上下文
"恭喜你,短信发送成功!", //提示内容
5000 //信息显示时间
).show();
v.setEnabled(true);//短信发送完成后恢复发送按钮的可用状态
}
对手机号码和短信内容的验证部分:
//获取输入的电话号码
EditText etTel=(EditText)findViewById(R.id.EditText02);
String telStr=etTel.getText().toString();
//获取输入的短信内容
EditText etSms=(EditText)findViewById(R.id.EditText01);
String smsStr=etSms.getText().toString();
//判断号码字符串是否合法
if(PhoneNumberUtils.isGlobalPhoneNumber(telStr)){//合法则发送短信
v.setEnabled(false);//短信发送完成前将发送按钮设置为不可用
sendSMS(telStr,smsStr,v);
}
else{//不合法则提示
Toast.makeText(
Sample_11_1.this, //上下文
"电话号码不符合格式!!!
- 2022-08-23 23:05:12下载
- 积分:1