본문 바로가기

모바일개발(Mobile Dev)/안드로이드개발(Android)64

android studio + nox (offline) 1.set root ON in nox app player in Nox app setting (System Setting) in General Tab. 2.goto nox android setting (not nox app setting) then About Phone/Tablet then tap 7 times on build Number until you see a message shows "you are developer." 3.Go back to setting then go to develepoer option and activate it then set usb debugging ON. 4.get intellij working port in resource mointor/network tab/list.. 2016. 7. 26.
making jar file on android studio written by [Android][Gradle] Jar file 생성Gradle Build로 JAR 파일 만들기 1. 환경 Device : Macbook Pro OS : OSX v10.11.1 IDE : Android Studio v1.4.1 2. 문제 eclipse에서 jar파일은 마우스로 클릭 몇번이면 export가 가능하다. Android studio는 Gradle을 이용하여 생성한다. - Jar 파일을 생성할 수 있는 빌드 방법을 모른다. 3. 참고 자료 - https://www.youtube.com/watch?v=1i4I-Nph-Cw 4. 문제 해결 1. plugin 변경 - apply plugin: 'com.android.application' -> apply plugin: 'com.and.. 2016. 7. 24.
android studio + nox Tutorial How to connect Android Studio with Nox App Player for Android development and debug Nox App Player • February 17, 2016 Nox App Player is a full feature Android emulator which could be used for Android development, testing and debugging. This post will give a step by step guidance on how to connect Nox with Android Studio as an example. It could also be connected to intellij idea and ecl.. 2016. 7. 13.
android fingerprint making For Maps API written by http://1004lucifer.blogspot.kr/2014/03/android-google-maps-api-v2-apikey.html 1. 인증서 지문 생성 1. java path 가 정상적으로 잡혀있는지 확인해본다. 커맨드에서 'keytool' 입력 시 다음과 같은 화면이 나오는지 확인한다. (아래와 같이 나오면 2단계로 건너도 좋다.) 만일 위와 같이 나오지 않지만 'java'는 실행이 된다면 다음과 같이 java가 설치되어있는 곳을 확인 후 이동한다. 위의 방법도 안되어 있다면 자바가 설치되어 있지 않거나 java자체도 심볼릭이 걸려있지 않은경우다. 차라리 java를 다시 설치하는게 빠르겠다. 2. 인증서 지문을 생성. 다음과 같은 명령으로 지문을 생성한다. 'keytool.. 2016. 6. 12.
Android LayoutInflater Usage written by http://arabiannight.tistory.com/entry/340 안드로이드/Android LayoutInflater 사용 방법 ~! 1) LayoutInflater란?XML에 정의된 Resource(자원) 들을 View의 형태로 반환해 줍니다. 보통 자바 코드에서 View, ViewGroup 을 사용하거나, Adpter의 getview() 또는 Dialog, Popup 구현시 배경화면이 될 Layout을 만들어 놓고 View의 형태로 반환 받아 Acitivity에서 실행 하게 됩니다. 우리가 보통 Activity를 만들면 onCreate() 메서드에 기본으로 추가되는 setContentView(R.layout.activity_main) 메서드와 같은 원리라고 생각하시면 됩니.. 2016. 5. 6.
Android Menu Vs Action Bar written by http://tekeye.biz/2013/android-menu-vs-action-bar Android Menu Vs Action Bar with Example CodePosted on October 8, 2013 by Tek EyeAn Android Menu in Your AppWhen a new Android App project is created in the Eclipse or Android Studio IDEs there is the option to create a default activity (the Create Activity option in the New Android Application wizard). If the option is checked and Blan.. 2016. 5. 5.
android:style/Theme.Dialog java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendat) with this activity 메인 에러:you need to use a theme.appcompat theme (or descendant) with this activity 상황: SplashActivity를 이용하려는데 actionbar를 없애기위해 android:theme="@android:style/Theme.NoTitleBar" manifest에 위와 같은 코드 추가후android support.v7.appcompat 관련 에러가 발생. 해결: 2014 년 8 월기준 모든 라이브러리및 관련sdk를 모두 설치하였다면, android.support.v7.appcompat 라이브러리가 있을 것임.고녀석은 .java파일에서. extends를 Activity 가아닌 ActionBarAcivity를 가지게됨.다음과 같이 import a.. 2016. 4. 5.
Emulator cpu acceleration status : Hax kernel module is not installed HAXM = Hardware_Accelerated_Execution_ManagerHAX는 CPU의 인텔가상화 기술을 이용해서 에뮬레이터 속도를 빠르게 해주는 것인데 아래처럼 에러가 나면서 실행이 안되는 경우가 있다. (참고로 제니모션 만큼 속도가 나온다) HAX is not working and emulator runs in emulation mode 이런 경우에는 SDK Manager에서 Extras - Intel x86 Emulator Accelerator (HAXM installer) 를 설치하면 된다. 이렇게 설치했는데도 불구하고 또 아래와 같은 에러가 발생한다면.. emulator: ERROR: x86 emulation currently requires hardware acceleration!P.. 2016. 3. 16.
Android with USB Device 디버깅 사용하기 written by http://blog.hometown.co.kr/395written by http://sodamix.tistory.com/13 -------------------------------------------------Eclipse AVD 대신 넥서스원 USB 디버깅 사용하기안드로이드 개발 할때 시뮬레이터 말고 내 폰(실제 기기)으로 만들어진 프로그램을 돌려보고 싶을 때 - 넥서스원 기준 아주 간단합니다. 해야 할 일은 윈도우에서 넥원 드라이버를 잡아준 뒤 넥서스원의 설정을 변경해 주면 끝입니다. 먼저 넥서스원을 켜고 설정을 변경합니다. 노란색으로 표시된 그림을 잘 따라가시면 됩니다! [ 설정 > 애플리케이션 > 개발 > USB 디버깅(check) ] 안드로이드와 컴퓨터를 USB로 연결 .. 2016. 2. 7.