(1)布局文件,一个简单的登录文件;
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:la...
分类:
移动开发 时间:
2015-01-17 20:56:16
阅读次数:
273
查看错误日志req.files.picture.path && fs.unlinkSync(req.files.picture.path)if (err) { req.flash('error', err) return res.redirect('/post/tag')}req.fla...
分类:
其他好文 时间:
2015-01-17 19:20:51
阅读次数:
191
(1)在res--menu目录下的main.xml文件
...
分类:
移动开发 时间:
2015-01-17 16:35:54
阅读次数:
268
(1)在布局文件中创建一个listview:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
androi...
分类:
移动开发 时间:
2015-01-17 15:16:03
阅读次数:
229
(1)布局文件:用于弹出菜单的处罚button:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
andr...
分类:
移动开发 时间:
2015-01-17 15:14:34
阅读次数:
199
(1)布局文件没有做更改
(2)在res--menu目录下的main.xml文件中代码如下:
<item
android:id="...
分类:
移动开发 时间:
2015-01-17 13:57:26
阅读次数:
141
void DomainToIP(const char * host, const char *portStr, char *ip){
struct addrinfo hints, *res, *res0;
char str[32] = {0};
memset(&hints, 0, sizeof(hints));
hi...
分类:
其他好文 时间:
2015-01-17 12:40:56
阅读次数:
1000
FM收音机需要插入耳机作为天线,拔出耳机时要自动退出
1.首先添加提示字符串
mediatek/packages/apps/FMRadio/res/values/strings.xml
The FM will close because you have been plug out the headphone
The FM will close because you have...
分类:
移动开发 时间:
2015-01-16 22:30:08
阅读次数:
312
(1)布局文件
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height...
分类:
移动开发 时间:
2015-01-16 19:18:58
阅读次数:
178
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_p...
分类:
移动开发 时间:
2015-01-16 19:10:00
阅读次数:
147