cyanogenmod

Google Play services: How to handle devices that do not have Google Play?

﹥>﹥吖頭↗ 提交于 2019-11-28 19:14:35
Google Play services is an Android library whose goal is to provide: OAuth 2.0 authentication Google+ sign-in Google+ +1 button various other goodies If I were to use it (for instance because I want Google+ sign-in), what would happen to users whose device does not have Google Play? (Nook, Cyanogenmod, China Mobile, old devices, maybe Huawei? , etc) QUESTION: Will my app become incompatible with such devices? Will it be displayed as compatible but then crash, or not work? Is there a best practice to keep this in mind when using Google Play services? GooglePlayServicesUtil

Building Vanilla AOSP Rom with CM repos?

匆匆过客 提交于 2019-11-28 12:46:35
问题 I'd like to know if I can build a pure Vanilla 6.0 ROM with CyanogenMod repos for my device. Here they are: Device Kernel Should I do some particular edits (excluded adding my device to "lunch")? Thank you :) 回答1: A quick try could be changing $(call inherit-product, vendor/cm/config/common_full_phone.mk) to $(call inherit-product, build/target/product/full.mk) . This will use the AOSP default PRODUCT_PACKAGES (e.g. UI stuff like SystemUI, Launcher2 or platform relevant stuff like

Google Play services: How to handle devices that do not have Google Play?

久未见 提交于 2019-11-27 20:30:47
问题 Google Play services is an Android library whose goal is to provide: OAuth 2.0 authentication Google+ sign-in Google+ +1 button various other goodies If I were to use it (for instance because I want Google+ sign-in), what would happen to users whose device does not have Google Play? (Nook, Cyanogenmod, China Mobile, old devices, maybe Huawei?, etc) QUESTION: Will my app become incompatible with such devices? Will it be displayed as compatible but then crash, or not work? Is there a best

CyanogenMod: Translate a Project

喜夏-厌秋 提交于 2019-11-26 21:39:20
问题 I have translated a project in CyanogenMod (the Email app) to Hebrew by adding a values-he folder, and compiled the entire repository (make). I have made sure that the full languages make file includes the Hebrew language. However, when I loaded the update zip to the phone and switched the language to Hebrew, I still received the English strings. I'm pretty sure I am missing a step. Any idea, please? EDIT: Again, my phone supports Hebrew - as evident by other applications that do switch

INSTALL_FAILED_UPDATE_INCOMPATIBLE when I try to install compiled .apk on device

烂漫一生 提交于 2019-11-26 18:21:44
I've compiled Trebuchet launcher from CyanogenMod 9, and trying to install it with adb: $ adb install out/target/product/generic/system/app/Trebuchet.apk 3986 KB/s (7870141 bytes in 1.928s) pkg: /data/local/tmp/Trebuchet.apk Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] I tried on Nexus S with CM9 and Galaxy Nexus with stock JB. Why I'm getting this error? EDIT: In my case I've tried to reinstall system package with package manager. That's not supported, so I've got this error. Source of the error may differ in your case. it means the application which you want to install is already installed.

INSTALL_FAILED_UPDATE_INCOMPATIBLE when I try to install compiled .apk on device

北战南征 提交于 2019-11-26 05:16:09
问题 I\'ve compiled Trebuchet launcher from CyanogenMod 9, and trying to install it with adb: $ adb install out/target/product/generic/system/app/Trebuchet.apk 3986 KB/s (7870141 bytes in 1.928s) pkg: /data/local/tmp/Trebuchet.apk Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] I tried on Nexus S with CM9 and Galaxy Nexus with stock JB. Why I\'m getting this error? EDIT: In my case I\'ve tried to reinstall system package with package manager. That\'s not supported, so I\'ve got this error. Source of