2014/09(14)
-
[android] facebook Feed 담벼락
로그인 세션 기타 등등의 기능은 제외하고 FeedDialog의 소스 코드만 삽입 함 - Handler mHandler = new Handler(Looper.getMainLooper());mHandler.postDelayed(new Runnable() {@Overridepublic void run() { Bundle params = new Bundle();params.putString("name", "네임");params.putString("link", "링크URL");params.putString("picture", "사진 90x90");params.putString("description", "설명"); WebDialog feedDialog = (new WebDialog.FeedDialogBuilder..
2014.09.16 -
[android]파일 삭제 & 폴더 삭제
//파일 & 폴더 삭제public static void removeDir(String dirName) {String mRootPath = Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + dirName; File file = new File(mRootPath);File[] childFileList = file.listFiles();for(File childFile : childFileList){if(childFile.isDirectory()) {removeDir(childFile.getAbsolutePath()); //하위 디렉토리}else {childFile.delete(); //하위 파일}} file.delet..
2014.09.15