標籤:android 掃描scard卡所有的圖這幾天為了掃描Scard卡所有的圖片的事非常糾結,我原本以為這是一件很簡單的事,但是我發現我錯了。網上也沒有完整的代碼,只是零零碎碎的能掃描單個檔案的代碼。在今天代碼調試通過之後,我覺得我有必要和大家分享一下。1、由於是手機端的掃描,所以最好開個線程。在子線程中把掃描工作完成這是非常重要的,那麼現在開始來看這個類吧!這個代碼可以掃描出SCARD卡上所有的檔案。public class GetFilePathThread implements
標籤:自從2013 Google I/O大會之後,筆者就將android ide開發工具從eclipse遷移到Android Studio了,android studio一直在更新完善,為了與時俱進,我們當然要將工具更新到最新版本啦!其實更新本來是很簡單,只要從Android Studio Help菜單中選擇Check for Update即可:但是你會收到如下提示:小夥伴們這是為什麼呢?因為“偉大的牆”!!!下面介紹筆者的解決方案。1.擷取自己電腦上安裝的Android Studio
標籤:之前一直使用requestWindowFeature(Window.FEATURE_NO_TITLE);取消標題,程式老是報 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.tcl.view/com.example.tcl.view.MainActivity}: android.util.AndroidRuntimeException: requestFeature() must
標籤:ui tableview //// MainViewController.m// UI09_多種Tableview//// Created by dllo on 15/8/10.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"@interface MainViewController ()
標籤:1、Runtime Permissions On your apps that target the M Preview release or higher, make sure to check for and request permissions at runtime. To determine if your app has been granted a permission, call the new