본문 바로가기
[android]The library 'lombok2.jar' contains native libraries that will not run on the device. Android, The library 'lombok2.jar' contains native libraries that will not run on the device. [En] I have encountered following error message after adding lobmok library. The library 'lombok2.jar' contains native libraries that will not run on the device.The following libraries were found: - com/sun/jna/darwin/libjnidispatch.jnilib - com/sun/jna/freebsd-amd64/libjnidispatch.so - com/sun/jna/free.. 2013. 10. 28.
[android] TaskStackBuilder Tutorial android TaskStackBuilder Tutorial API Level 11 이상에서는 ( 3.0 / HoneyComb ) back key 를 통한 navigation convention 이 바뀌었다.back key 의 behavior 는 현재 task 에서의 조작만을 의미하고, 다른 task 로의 이동은 없다.이전 task로의 inter task 이동은 "recents" 를 통해서 가능하다. android 3.0 이후에서 한 task stack 에서 다른 task 로 이동하는 경우, 어플리케이션은 back stack 과 history 를 융합시켜서 유저가 back 키 여러번 눌러 launcher 로 나갈 수 있게 해야 한다. back key 를 눌러서 다른 task 로 이동하면 안된다. Task.. 2013. 10. 27.
[android] Google Map V2 manifest 설정 안드로이드, Google Map V2 manifest 설정 1. Permission 정의 2. Permission 설정 3. uses-feature 설정 4, Application Tag 에 Map API KEY 설정 2.0, 20000, access_coarse_location, access_fine_location, Android, android:protectionlevel, API KEY, application tag, com.google.android.maps.v2.api_key, com.google.android.providers.gsf.permission.read_gservices, glesversion, google map v2, internet, manifest, meta-data, per.. 2013. 10. 24.
[android] addToBackStack( String name ) 뭐하는 녀석이냐? 안드로이드, addToBackStack( String name ) FragmentTransaction.addToBackStack( String name ) name 은 optional 로 들어간다.이 함수가 불리면 이 transaction 은 back stack 에 쌓인다.이것은 다시 말해 이 transaction 은 기억되고, 후에 stack 에서 pop 이 될 수 있다. addtobackstack, Android, back stack, fragment pop, fragment stack, fragmenttransaction, Name, POP, Stack, stack pop, transaction, 안드로이드 2013. 10. 23.
[android] process 를 죽이는방법 #2 안드로이드, process 를 죽이는 방법 #2 moveTaskToBack( true );finish(); Process.killProcess( Process.myPid() ); ActivityManager am = (ActivityManager) getSystemService( ACTIVITY_SERVICE ); am.killBackgroundProcesses( getPackageName() ); Process 를 죽이는 방법 #1 moveTaskToBack? Android, getpackagename, killbackgroundprocesses, killprocess, movetasktoback, mypid, packageName, process, process 죽이는 방법, process.killp.. 2013. 10. 18.
[android] how can I detect if notification clear button is clicked? android, how can I detect if notification clear button is clicked? [En] Very easy.When you make Notification instance, just add delete intent with setDeleteIntent() method. private Notification getNotification( Context context, Intent intent, String pushMessage ){int notiCount = Application.getNotiMessageCount();NotificationCompat.Builder builder = new NotificationCompat.Builder(context).setSmal.. 2013. 10. 16.
[android] at GingerBread device GCM register returns SERVICE_NOT_AVAILABLE android, @ GingerBread device, GCM register returns SERVICE_NOT_AVAILABLE [En] java.io.IOException: SERVICE_NOT_AVAILABLEat com.google.android.gms.gcm.GoogleCloudMessaging.register(Unknown Source) Even though GCM register function returns SERVICE_NOT_AVAILABLE, registration process is actually done well. You can check the registration id, a.k.a. device token, via Broadcast Receiver with followin.. 2013. 10. 15.
[android] HttpClient vs. HttpURLConnection 안드로이드, HttpClient vs. HttpURLConnection HttpClient HttpClient 는 아파치 라이브러리를 사용. DefaultHttpClient 와 AndroidHttpClient 가 제공된다. 방대한 API 가 지원하고, 버그가 별로 없이 안정적으로 동작한다. 하지만, 너무 방대한 API 를 제공하여 안드로이드 개발팀은 이 클래스들을 더 이상 지원하지 않는다. HttpURLConnection HttpURLConnection 은 가벼운 version 의 HttpClient 라 볼 수 있겠다. 핵심적인 API 들만을 가지고 있다. 그러나 프로요 이전 버전의 경우 HttpURLConnection 클래스에 이상한 버그들이 있었다. InputStream 을 열어둔 상태에서 close.. 2013. 10. 11.
[android] how can I know if there is any application which can handle an intent. android, how can I know if there is any application which can handle an intent? public static boolean hasAvailableIntentHandlingApp( Context context, Intent intent ){List list = context.getPackageManager().queryIntentActivities( intent, PackageManager.MATCH_DEFAULT_ONLY );return list.size() != 0;} Android, hasAvailableIntentHandlingApp, match_default_only, PackageManager, queryintentactivity, re.. 2013. 10. 10.
반응형