본문 바로가기

나 어제 배웠다/Android

(22)
Android APK Emulator Install & uninstall ▣ Android APK Emulator Install & uninstall 1. Dos창실행 Windows > 시작(Start) > 실행(Run) > cmd 2. 등록 adb install C:\ANDROID\배포\Map1\APK\Map1.apk 3. 제거 adb uninstall hjh.map
Android Market 등록하기 1. 개발자등록 접속 http://market.android.com/publish/Home 오른편 이메일과 비밀번호 입력 후 로그인(없으면 가입 후 로그인시도) 개발자정보입력등록 결제 카드정보 입력 후 결제 결제완료 완료 2. 배포 ※ 주의 팩키지 이름 충돌주의 - key생성 ※ 키가없는 경우 최초키생성 Use the Export Wizard to export and sign an APK ..
Android 위치기반 서비스-GoogleMap ▣ Android 위치기반 서비스(LBS:Location Base Service)-GoogleMap ※ Google API 참고 https://code.google.com/intl/ko/android/add-ons/google-apis/reference/index.html Google Map Configurations 1. local 계정 이동 C:\Documents and Settings\4c6\.android 2. debug.keystore 파일 복사 3. 자바설치 디렉토리 이동 C:\Program Files\Java\jdk1.6.0_10\bin 4. debug.keystore 파일 붙..
Android SQLite Android SQLite 1. 프로젝트 생성 2. main.xml widget 추가 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="SQLite ..
SQLite DBMS 다운 및 설치, 실행 ▣ SQLite DBMS 1. http://www.sqlite.org 프로그램 다운 2. 설치 압축풀면 끝! 3. 프로그램 실행 접속 C:\ANDROID\Android_Program\sqlite-3_6_23>sqlite3 my.db Table 생성 sqlite> create table test(_id integer primary key autoincrement, name text not n ull, addr text default 'seoul', ddate date); Sample Data Insert sqlite> insert into test(name,addr,ddate) values('test',..
Android Implicit Intent 내장기능 호출 Android Implicit (암시) 처리 - 바로전화걸기 : Call - 전화기능 호출 : Dial - 기타기능 호출 : 오디오App 1. 프로젝트 생성 2. main.xml widget 추가 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent..
Android Explicit Intent 화면 및 데이터 이동 Android Intent (전달매체) - Explicit Intent ( 명시 : 이동) - Implicit Intent ( 암시 : 조건->검색->실행 ) Explicit Intent 1. 프로젝트 생성 2. main.xml widget 추가 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_hei..
Android Activity Life Cycle-Sub Active[화면전환] ▣ Android Activity Life Cycle-Sub Active - Main Activie => Sub Activie 화면 전환 - Sub Activie => Main Activie 화면 전환 - Sub Activie 화면 종료 1. sub.xml 생성 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill..