Ted

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年5月21日

摘要: 1) declare permission <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" /> <uses-permission android:name="com.android.broswer.permission.WRITE_HISTORY_BOOKMARKS" /> <uses-permission android:name="android.permission.READ_CONT 阅读全文
posted @ 2012-05-21 20:56 wufawei 阅读(204) 评论(0) 推荐(0) 编辑

摘要: We all know android has content provider, and we can access these data with content resolver,1) add permission, <uses-permission android:name="android.permission.READ_CONTACTS" />2) getContentResolver ContentResolver cr = getContentResolver(); Cursor cur = cr.query(ContactsContr... 阅读全文
posted @ 2012-05-21 20:52 wufawei 阅读(234) 评论(0) 推荐(0) 编辑

摘要: 1 questioniOS app is sandboxed, so if yourapp needs to open some file types in other apps, like dropbox app does, it could list the installed apps which could open specific types of file.How can you do that?,2 answerYou'll want to useUIDocumentInteractionController. See also theDocument Interact 阅读全文
posted @ 2012-05-21 20:34 wufawei 阅读(638) 评论(0) 推荐(0) 编辑