Java
文章平均质量分 81
flyfly121
这个作者很懒,什么都没留下…
展开
-
自定义View(来自Android API Demo)
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo原创 2015-02-12 09:11:49 · 617 阅读 · 0 评论 -
thread exiting with uncaught exception
问题: thread exiting with uncaught exception 没有详细错误信息。 解决方案: Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler() { @Override public void uncaughtException(Thread thread, T原创 2015-03-10 09:03:13 · 559 阅读 · 0 评论 -
【android】IntentService
public class MyIntentService extends IntentService { @override protected void onHandleIntent(Intent intent) { ...... } } 其他应用程序组件想要通过IntentService完成一个任务,需要启动Service并传递给它一个包含完成该任务所需的参数的Intent。 I原创 2016-03-10 00:53:06 · 323 阅读 · 0 评论