if (isHighV) { //高版本
List photos = (List) data.getSerializableExtra(GalleryActivity.PHOTOS);
String result = photos.get(0);
if (null == mUploadMessage1)
return;
Uri[] c = new Uri[1];
Uri uri = getUri(result);
c[0] = uri;
mUploadMessage1.onReceiveValue(c);
mUploadMessage1 = null;
return;
} else { //低版本
List photos = (List) data.getSerializableExtra(GalleryActivity.PHOTOS);
String result = photos.get(0);
if (null == mUploadMessage)
return;
Uri uri = getUri(result);
mUploadMessage.onReceiveValue(uri);
mUploadMessage = null;
return;
}
http://www.namhuy.net/475/how-to-install-gui-to-centos-minimal.html
I have centos 6.3 minimal running as web server. I’m looking to install gui to my server to vnc to my server. You can insta
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option,changed_ids ) values('0ac91f167f754c8cbac00e9e3dc372
实例1:
package com.bijian.thread;
public class MyThread extends Thread {
private static ThreadLocal tl = new ThreadLocal() {
protected synchronized Object initialValue() {
return new Inte
var v = 'C9CFBAA3CAD0';
console.log(v);
var arr = v.split('');
for (var i = 0; i < arr.length; i ++) {
if (i % 2 == 0) arr[i] = '%' + arr[i];
}
console.log(arr.join(''));
console.log(v.r