摘要:
class MyView extends View { float phase; PathEffect[] effects = new PathEffect[7]; int[] colors; private Paint paint; Path path; pub... 阅读全文
摘要:
懒得打字/** * 发送post请求传递Json */ public void jieXi() { new Thread(new Runnable() { public void run() { // Json中... 阅读全文
摘要:
懒得打字了,直接把这个类的代码贴上来public class MainActivity extends Activity { private TextView tv_shuju; private ListView listView; private ArrayAdapter ada... 阅读全文
摘要:
private void saveFullImage(String str) { Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); // 文件夹aaaa File path1 =... 阅读全文
摘要:
服务类,一定要在清单文件中注册public class lightService extends Service { private boolean ifrun = false; @Override public IBinder onBind(Intent intent) { ... 阅读全文