본문 바로가기
[android] Volley 를 이용한 동영상 업로드 테스트 결과. android, Volley 를 이용한 동영상 업로드 테스트 결과. 테스트 환경 국내 android major 단말들이라고 할 수 있는 Galaxy S 시리즈와 Note 1 을 대상으로 삼았다.동영상 업로드 방법은 Volley 와 MultipartRequest 를 이용한 일시 업로드이다. Galaxy S / hdpi / 2.3.4 - 12.5M 동영상 ( 30초 ) -process mem = 64MBruntime maxMemory = 64MBruntime totalMemory = 5MBruntime freeMemory = 2MBnative threshold = 26MBnative availMem = 83MB -Out of memory on a 26310336-byte allocation. java.lan.. 2014. 4. 20.
[android] software button height android, software button height What is software button? Opposite concept of hardware button.Software buttons are located at the bottom of screen which is generated programatically. Portrait mode 96px ( 48dp for xhdpi ) Landscape mode 84px ( 42dp for xhdpi ) hardware btn, hardware button, hardware key, height, landscape, portrait, Soft Button, soft key, software key, software keyboard, xhdpi, [a.. 2013. 12. 17.
[android] xxhdpi 는 뭐 하는 녀석이야?? android, xxhdpi 는 뭐하는 녀석이야? xxhdpi ?? 갈수록 폰의 해상도가 늘어나면서 이제는 xhdpi 를 넘어선 해상도가 나왔다.그 녀석의 이름은 xxhdpi.약 1920 * 1080 의 해상도 와 440dp 를 가진다. 출시된 대표 단말들 Galaxy S4( 겔럭시 S4), Optimus G Pro (옵쥐프로), Vega No 6. ( 베가 넘버 6 ) 등이 있다. 디자인 가이드 수정 방향 dp 해상도로 따지면 xxhdpi 는 360 dp x 640 dp 로, xhdpi 와 가로 dp 값이 같다.ScrollView 를 비롯한 scroll 가능한 layout 을 구성해 놓았다면 xxhdpi 를 위해 추가로 해야 할 일은 없다.다만 xhdpi 의 drawable resource 를 사용할 .. 2013. 12. 4.
[android] 대체 리소스는 어떤 것을 쓸까? 에 대한 실험 결과 안드로이드, 대체 리소스는 어떤 것을 쓸까? 에 대한 실험 결과 모든 resource 가 제대로 박혀 있을 때는 당연히 자신의 resource 를 가져다 쓰는 것이 당연하다. 환경구성 아래 폴더에 각각 drawable.png 이라는 이미지 파일을 만들고, 각 이미지에는 문자로 해상도를 표기한다.drawable drawable-nodpi drawable-ldpi drawable-mdpi drawable-hdpi drawable-xhdpi 실험 1 : xhdpi 단말에서 xhdpi resource 를 지웠다. 어느 것을 가져다 쓸까?예상 : 가장 밀접한 해상도인 hdpi 혹은 아예 default 가 될 수 있는 drawable, drawable-nodpi 를 가져다 쓸 것이다.결과 : hdpi 것을 가져다 .. 2013. 9. 20.
[android] screen size 와 px, dp, config 에 대한 핵심 정리 안드로이드, screen size 와 px, dp, config 에 대한 핵심 정리 mdpi 320px X 480 px hdpi - mdpi 의 1.5배480px X 800 px 320dp X 533dp xhdpi - mdpi 의 2배720px X 1280 px360dp X 640dp Programmatically Best Resource 채택하기 Configuration config = getResources().getConfiguration();if (config.smallestScreenWidthDp >= 600)setContentView(R.layout.main_activity_tablet);elsesetContentView(R.layout.main_activity); Configuration 에.. 2013. 8. 20.
반응형