본문 바로가기
[android] Browser 의 링크를 통해 내 앱 실행시키기 android, Browser 의 링크를 통해 내 앱 실행시키기 Declare Intent-filter on Manifest The activity which wants to be started has to have action name "android.intent.action.VIEW".Additionally, it has two basic category; they are android.intent.category.DEFAULT and android.intent.category.BROWSABLE.To link the url to the activity, intent-filter has to have data and it declares one or some of followings : scheme, .. 2013. 11. 6.
[android] intra app communication method statistics. ( localbroadcastmanager, eventbus, otto ) android, intra app communication method statistics. ( localbroadcastmanager, eventbus, otto ) Android, eventbus, intra app communication, Listener, local broadcast listener, localbroadcastmanager, Other, OTTO, otto ), statistics, [android] intra app communication method statistics. ( localbroadcastmanager, 안드로이드, 앱 내부 통신, 통계 2013. 11. 4.
[android] Bitmap too large to be uploaded into a texture android, Bitmap too large to be uploaded into a texture ImageView 등에 Bitmap 을 표시할 때 사이즈 제한이 있다.다음 에러 메세지를 보면 알 수 있는데, 필자가 decoding 하여 ImageView 에 올리려 했던 것은 4288 x 2848 사이즈. 그러나 maximum 은 4096 x 4096 사이즈까지만 가능하다. Bitmap too large to be uploaded into a texture (4288x2848, max=4096x4096) 참고하여 만약 bitmap 사이즈가 4096 x 4096 보다 크다면,미리 sample size 를 조절하여 사이즈를 조절하여 decoding 하거나,아니면 디코딩 후 resize 를 하여 ImageV.. 2013. 10. 31.
[android] view 기본 click 소리 내는 방법. 안드로이드, view 기본 click 소리 내는 방법. VIew attribute 설정 먼저 view 가 sound effect 를 낼 수 있는 조건을 만들어야 한다.code ( programatically ) 로도 만들 수 있고, xml 로도 만들 수 있다. android:soundEffectsEnabled="true" view.setSoundEffectsEnabled (true ); 소리 내기 view.playSoundEffect( SoundEffectConstants.CLICK ); Android, android:soundeffectenabled, attribute, Click, CODE, condition, playsoundeffect, Programatically, setsoundeffecten.. 2013. 10. 30.
[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.
반응형