일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- larravel
- SeLinux
- Linux
- junit
- 안드로이드
- 이클립스
- javascript
- jquery
- tomcat
- input
- NetBeans
- Spring
- ajax
- php
- 리눅스
- CentOS
- curl
- Android
- laravel
- 정규식
- MySQL
- 와일드카드
- html
- 톰캣
- File
- DB
- properties
- java
- error
- JSON
- Today
- Total
목록Java/Android (10)
합쭈기 programming
http://fimtrus.tistory.com/entry/Android-HybridopenFileChooser-%ED%82%B7%EC%BA%A3%EC%97%90%EC%84%9C-%EB%8F%99%EC%9E%91%ED%95%98%EC%A7%80-%EC%95%8A%EB%8A%94-%EB%AC%B8%EC%A0%9C-openFileChooser-Kitkat-bug 참조
//init databases private SQLiteDatabase mDb = null; public BaseDAO(Context context) { super(context); mDb = this.getWritableDatabase(); } //dml sample public ArrayList selContactSearch(Bundle item) { Cursor cursor = null; cursor = mDb.rawQuery("select * from dual", null); ArrayList arList= getBundleList(cursor); return arList; } public void insContact(Bundle item) { mDb.execSQL("insert into t_co..
//xml android:fillViewport="true" 뭐뭐뭐 뭐뭐뭐 // source ListView listview; ScrollView sv ; listview.setOnTouchListener(new OnTouchListener() { //리스트뷰 터취 리스너 @Override public boolean onTouch(View v, MotionEvent event) { sv.requestDisallowInterceptTouchEvent(true); // 리스트뷰에서 터취가되면 스크롤뷰만 움직이게 return false; } });
public class Repository { private static Repository repository; private SharedPreferences sharedPreferences; public static Repository getInstance(Context context) { if(repository == null) repository = new Repository(context); else if(repository.isNullSharedPreferences()) repository = new Repository(context); return repository; } public void setNotifyCnt(int cnt) { sharedPreferences.edit().putInt..
protected boolean requestJson(final String addr, final int method, final String data) { if (chkHandler()) { new Thread(new Runnable() { String strJson = ""; @Override public void run() { // TODO Auto-generated method stub try { URL url = new URL(addr); if (url.getProtocol().toLowerCase().equals("http")) { HttpURLConnection httpConn = null; httpConn = (HttpURLConnection) url.openConnection(); htt..
protected void requestFileUpload(final String urlString, final String fileName) { new Thread(new Runnable() { @Override public void run() { // TODO Auto-generated method stub String lineEnd = "\r\n"; String twoHyphens = "--"; String boundary = "*****"; try { FileInputStream mFileInputStream = new FileInputStream( fileName); URL connectUrl = new URL(urlString); Log.d("Test", "mFileInputStream is ..
InputMethodManager mgr = (InputMethodManager)getActivity().getSystemService(Context.INPUT_METHOD_SERVICE); mgr.hideSoftInputFromWindow(editCmt.getWindowToken(), 0);