개발자료/Android(36)
-
[Exception] Synchronous ResponseHandler used in AsyncHttpClient.
Thread 내에서 AsyncHttpClient 사용시 예외 발생 ● 예외내용 java.lang.IllegalArgumentException: Synchronous ResponseHandler used in AsyncHttpClient. You should create your response handler in a looper thread or use SyncHttpClient instead. at com.loopj.android.http.AsyncHttpClient.sendRequest(AsyncHttpClient.java:1493) at com.loopj.android.http.AsyncHttpClient.get(AsyncHttpClient.java:1078) at com.loopj.android...
2020.07.07 -
SQLiteDatabase 를 이용한 SQLite 사용하기
1. SQLiteDatabase 생성(Create) 및 열기(Open) SQLiteDatabase database = openOrCreateDatabase("database.db3", MODE_WORLD_WRITEABLE, null); 2. 쿼리 실행(CREATE, INSERT, UPDATE, DELETE 실행시) database.beginTransaction(); try{ database.execSQL(strSQL); database.setTransactionSuccessful(); }catch(Exception e){ e.printStackTrace(); }finally{ database.endTransaction(); } 3. 쿼리실행(SELECT 실행시) Cursor cursor = null; t..
2020.05.21 -
JSONUP
# https://jsoup.org/download Download and install jsoup Download and install jsoup jsoup is available as a downloadable .jar java library. The current release version is 1.13.1. What's new See the 1.13.1 release announcement for the latest changes, or the changelog for the full history. Previous releases of jso jsoup.org # 사용 build.gradle(:app) dependencies { ... implementation 'org.jsoup:jsoup:..
2020.05.11 -
ListView Divider 제거
# Layout XML 만약을 위해 dividerHeight 까지 같이 설정해 준다. 투명으로도 처리 가능 android:divider="@android:color/transparent" # Java Code listView.setDivider(null); //listView.setDivider(new ColorDrawable(android.R.color.transparent)); listView.setDividerHeight(0);
2017.03.16 -
Firebase 클라우드메시징 서버키 확인방법 2017.02.06
-
AVD Manager 실행 방법
## Windows> avdmanager.exe ## OSX(Mac)> {android sdk 설치 경로}\tools\android avd
2016.10.04