Android M의 Doze 모드가 동작하게 되면 다음과 같은 동작이 불가능 REF-SITE
- 백그라운드 작업 불가
- 네트워크 작업 불가능
- AlarmManager
- JobScheduler
- WiFi Scan 멈춤, WakeLock 무시.
Android M의 Doze 모드가 동작하게 되면 다음과 같은 동작이 불가능 REF-SITE
Android 6.0 (API level 23) - Marshmallow
- runtime permissions.
- App Power Saving optimization.
Doze: device
App Standby:
- ART runtime 수정.
- Android for Work changes
- Camera Service Changes
priority 추가.
- Wi-Fi & Network
기존에 다른 네트웍이 끊어졌지만, 이젠 끊어지지 않는다. (API 21이후에는 multinetwork지원)
- APK validation
- USB Connection
Android 5.x (Lollipop, API Level 21)
- Android RunTime (ART), 기존 dalvik대체
1. AOT(Ahead Of Time) 컴파일
2. GC향상
3. debugging 향상
(단,
- JNI / obfuscator 쓰는 경우 주의 필요
- GC에 반하는 기술 주의 필요)
- Notification : 계정별로 noti가 됨.
- Sound / 진동
Notification.Builder를 이용해서 prioritymode를 써야 함.
- MediaSession 등장 for media control (이전의 RemoteControlClient 대신임.)
Notification.MediaStyle, (with Notification.Builder.addAction() )
- 64bit support in NDK.
- Managed Profile
- file공유 (profile간)
- Lockscreen widget support 없어짐. (이제 lockscreen에서 Widget이 사라지나 보네요)
Android 4.4 (Kitkat, API Level 19)
- WebView가 크롬으로 바뀜. (기존엔 WebView base였음)
- READ_EXTERNAL_STORAGE permission 추가됨. -> getExternalStoragePublicDirectory() 사용가능
- android.pirnt 프레임웍 추가, 로 문서 printing이 쉬워짐.
- SMS Provider 추가: default SMS앱으로 선정되어야만 SMS수신등이 가능
-
Android 4.1, 4.2, 4.3 (Jellybean API 16~18)
- 4.3 OpenGL ES 3.0 지원.
- WifiEnterpriseConfig 기업용 자동 Wi-Fi세팅 지원.
- MediaMuxer : 1audio + 1video mux.
- ViewOverlay: OpticalBounds 추가.
- Screen Orientation 사용자편의 옵션 3개 추가.
Android 4.0 (IcecreamSandwich, API Level 14)
- RemoteControlClient 등장: media control / lock screen 등의 이벤트 수신.
android 4.0이후부터 지원되는 Android for Work는
개인모드와 기업모드 데이타를 완전히 분리하여 앱도 설치하고 모드가 관리된다.
(심지어는 앱스토어도 틀리다)
단 통화와 SMS는 개인모드의 앱을 이용하게 된다.
(Ref-Site: 내용)
Android for Work는 기업용 모빌리티 운영(EMM) 플랫폼으로, 회사에서 이 플랫품을 통해 직원에게 안전하고 생산적이며 풍부한 모바일 환경을 제공할 수 있습니다. Android for Work에 솔루션을 구축하면 다음과 같은 이점이 있습니다.
Google은 Google Apps for Work 생산성 제품군에서 즉시 사용 가능한 Android for Work 솔루션을 제공합니다. 이 솔루션을 사용하면 Google Apps for Work 관리자가 관리 콘솔을 통해 EMM 기능에 액세스할 수 있으므로 현재의 기기 관리 기능을 확장할 수 있습니다.
또한 Google은 타사 EMM 공급자가 자체 Android for Work 솔루션을 구축하는 데 사용할 수 있는 인프라를 제공합니다. EMM 공급자는 휴대기기 관리(MDM), 모바일 애플리케이션 관리, 모바일 비용 관리 등의 고급 IT 솔루션을 제공합니다. Google Apps for Work를 사용하지 않는 회사는 Android for Work 배포 관리 도구를 제공하는 타사 EMM 공급자를 선택해야 합니다.
(그냥 android WebView를 이용해도 될 것 같은데.. 이부분은 좀 있다 확인하고..)
본 글은 andoid에서 phoneGap의 WebView를 추가하려면..
1. cordova.apache.org*을 다운받아서 android밑에 unzip
2. /framework/cordova-x.x.x.jar 를 만든다. ( framework에서 run ant jar 하면 됨)
3. .jar를 /libs 밑으로 복사
4. andoid 프로젝트에 /res/xml/main.xml 같은 layout 파일에 CordovaWebView 추가
5. andoid 소스에 CordovaInterface implements 구현.
6. Camera이용시에 setActivityResultCallback(CordovaPlugin .. ) 및 startActivityForResult(CordovaPlugin.. ) 추가
7. ThreadPool 추가. public ExecutorService getThreadPool() ==> plugins이 thread를 가지기 위함.
8. /assets/www 밑에 HTML들 복사
9. /framework/res/xml 밑에 있는 config.xml을 프로젝트의 /res/xml 밑으로 복사
MapView를 사용하기 위해서 google_play_service라이브러리를 import해야한다.
방법은 아래와 같은데.. 보다 자세한 건 맨 아래 링크를 참고!
1. SDK Manager에서 Google Play Service를 다운로드 한다.
2. import Android Existing_Android_Project : google_play_service (extra폴더) 추가하고
속성->build밑에 goolge_play_service 추가 < 소스 COPY 옵션 check 필요>
( android-sdk-windows\extras\google\google_play_services\libproject\google-play-services_lib
3.프로젝트의 빌드 옵션에서 google API 선택 및 밑에 lib하나 추가.
참고 그림.
http://www.androidhive.info/2013/08/android-working-with-google-maps-v2/