├── .gitignore ├── AndroidLibrary └── GoogleExtras │ ├── play_apk_expansion │ ├── zip_file │ │ ├── res │ │ │ └── .nores │ │ ├── gen │ │ │ ├── R.java.d │ │ │ └── com │ │ │ │ └── android │ │ │ │ └── vending │ │ │ │ └── expansion │ │ │ │ └── zipfile │ │ │ │ └── BuildConfig.java │ │ ├── .DS_Store │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── AndroidManifest.xml │ │ ├── local.properties │ │ ├── project.properties │ │ ├── .classpath │ │ ├── proguard-project.txt │ │ ├── .project │ │ ├── src │ │ │ └── com │ │ │ │ └── android │ │ │ │ └── vending │ │ │ │ └── expansion │ │ │ │ └── zipfile │ │ │ │ └── APKExpansionSupport.java │ │ └── build.xml │ ├── downloader_library │ │ ├── ant.properties │ │ ├── libs │ │ │ └── licensing_lib.jar │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── build-extras.gradle │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ └── notify_panel_notification_icon_bg.png │ │ │ ├── drawable-mdpi │ │ │ │ └── notify_panel_notification_icon_bg.png │ │ │ ├── values-v11 │ │ │ │ └── styles.xml │ │ │ ├── values-v9 │ │ │ │ └── styles.xml │ │ │ ├── values │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ └── status_bar_ongoing_event_progress_bar.xml │ │ ├── gen │ │ │ ├── com │ │ │ │ └── android │ │ │ │ │ └── vending │ │ │ │ │ └── expansion │ │ │ │ │ └── downloader │ │ │ │ │ ├── BuildConfig.java │ │ │ │ │ └── R.java │ │ │ └── R.java.d │ │ ├── AndroidManifest.xml │ │ ├── local.properties │ │ ├── project.properties │ │ ├── .classpath │ │ ├── proguard-project.txt │ │ ├── .project │ │ ├── src │ │ │ └── com │ │ │ │ └── google │ │ │ │ └── android │ │ │ │ └── vending │ │ │ │ └── expansion │ │ │ │ └── downloader │ │ │ │ ├── impl │ │ │ │ ├── CustomNotificationFactory.java │ │ │ │ ├── DownloadInfo.java │ │ │ │ ├── V14CustomNotification.java │ │ │ │ ├── CustomIntentService.java │ │ │ │ └── V3CustomNotification.java │ │ │ │ ├── IStub.java │ │ │ │ ├── DownloadProgressInfo.java │ │ │ │ ├── IDownloaderService.java │ │ │ │ ├── SystemFacade.java │ │ │ │ ├── IDownloaderClient.java │ │ │ │ └── DownloaderServiceMarshaller.java │ │ └── build.xml │ ├── downloader_sample │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ └── main.xml │ │ ├── project.properties │ │ ├── src │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── expansion │ │ │ │ └── downloader │ │ │ │ ├── SampleAlarmReceiver.java │ │ │ │ └── SampleDownloaderService.java │ │ └── AndroidManifest.xml │ └── README.txt │ └── play_licensing │ ├── library │ ├── ant-build │ │ ├── proguard.txt │ │ ├── classes.jar │ │ ├── classes │ │ │ └── com │ │ │ │ └── google │ │ │ │ └── android │ │ │ │ └── vending │ │ │ │ └── licensing │ │ │ │ ├── Policy.class │ │ │ │ ├── BuildConfig.class │ │ │ │ ├── Obfuscator.class │ │ │ │ ├── util │ │ │ │ ├── Base64.class │ │ │ │ └── Base64DecoderException.class │ │ │ │ ├── AESObfuscator.class │ │ │ │ ├── DeviceLimiter.class │ │ │ │ ├── LicenseChecker.class │ │ │ │ ├── ResponseData.class │ │ │ │ ├── StrictPolicy.class │ │ │ │ ├── LicenseValidator.class │ │ │ │ ├── APKExpansionPolicy.class │ │ │ │ ├── ILicensingService.class │ │ │ │ ├── NullDeviceLimiter.class │ │ │ │ ├── ServerManagedPolicy.class │ │ │ │ ├── ValidationException.class │ │ │ │ ├── PreferenceObfuscator.class │ │ │ │ ├── ILicenseResultListener.class │ │ │ │ ├── ILicensingService$Stub.class │ │ │ │ ├── LicenseCheckerCallback.class │ │ │ │ ├── ILicenseResultListener$Stub.class │ │ │ │ ├── ILicensingService$Stub$Proxy.class │ │ │ │ ├── LicenseChecker$ResultListener.class │ │ │ │ ├── LicenseChecker$ResultListener$1.class │ │ │ │ ├── LicenseChecker$ResultListener$2.class │ │ │ │ └── ILicenseResultListener$Stub$Proxy.class │ │ ├── build.prop │ │ ├── AndroidManifest.xml.d │ │ └── AndroidManifest.xml │ ├── gen │ │ ├── R.java.d │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── vending │ │ │ └── licensing │ │ │ └── BuildConfig.java │ ├── .settings │ │ └── org.eclipse.jdt.core.prefs │ ├── local.properties │ ├── project.properties │ ├── .classpath │ ├── proguard-project.txt │ ├── .project │ ├── aidl │ │ ├── ILicenseResultListener.aidl │ │ └── ILicensingService.aidl │ ├── src │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── vending │ │ │ └── licensing │ │ │ ├── util │ │ │ └── Base64DecoderException.java │ │ │ ├── ValidationException.java │ │ │ ├── NullDeviceLimiter.java │ │ │ ├── Obfuscator.java │ │ │ ├── DeviceLimiter.java │ │ │ ├── Policy.java │ │ │ ├── StrictPolicy.java │ │ │ ├── PreferenceObfuscator.java │ │ │ ├── ResponseData.java │ │ │ ├── LicenseCheckerCallback.java │ │ │ ├── ILicenseResultListener.java │ │ │ ├── ILicensingService.java │ │ │ └── AESObfuscator.java │ ├── AndroidManifest.xml │ └── build.xml │ ├── sample │ ├── res │ │ ├── drawable │ │ │ └── icon.png │ │ ├── layout │ │ │ └── main.xml │ │ └── values │ │ │ └── strings.xml │ ├── project.properties │ └── AndroidManifest.xml │ ├── test │ ├── res │ │ ├── drawable │ │ │ └── icon.png │ │ ├── values │ │ │ └── strings.xml │ │ └── layout │ │ │ └── main.xml │ ├── runTests.sh │ ├── project.properties │ ├── AndroidManifest.xml │ └── src │ │ └── com │ │ └── android │ │ └── vending │ │ └── licensing │ │ ├── StrictPolicyTest.java │ │ ├── ObfuscatedPreferencesTest.java │ │ ├── ServerManagedPolicyTest.java │ │ ├── AESObfuscatorTest.java │ │ └── APKExpansionPolicyTest.java │ └── README.txt ├── src └── android │ ├── res │ └── values │ │ └── xapkreader.xml │ ├── XAPKAlarmReceiver.java │ ├── XAPKDownloaderService.java │ └── XAPKReader.java ├── package.json ├── README.md ├── plugin.xml └── www └── xapkreader.js /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/zip_file/res/.nores: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/proguard.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/ant.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/gen/R.java.d: -------------------------------------------------------------------------------- 1 | : /Users/ajhomer/xapk/platforms/android/googleExtras/play_licensing/library/bin/AndroidManifest.xml \ 2 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/zip_file/gen/R.java.d: -------------------------------------------------------------------------------- 1 | : /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/zip_file/bin/AndroidManifest.xml \ 2 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/zip_file/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_apk_expansion/zip_file/.DS_Store -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/sample/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/sample/res/drawable/icon.png -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/test/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/test/res/drawable/icon.png -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes.jar -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/README.txt: -------------------------------------------------------------------------------- 1 | Client library for the Android Market licensing server. 2 | 3 | See the licensing documentation at http://developer.android.com/guide/publishing/licensing.html 4 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/libs/licensing_lib.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/libs/licensing_lib.jar -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/test/runTests.sh: -------------------------------------------------------------------------------- 1 | cd ../sample 2 | ant install 3 | cd ../test 4 | ant install 5 | adb shell am instrument -w com.example.android.market.licensing.test/android.test.InstrumentationTestRunner 6 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_sample/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_sample/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/test/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Hello World! 4 | MarketLicensingTest 5 | 6 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/zip_file/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/Policy.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/Policy.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/build-extras.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | debugCompile project(path: ':com.intel.xapkreader:library',configuration: "debug") 3 | releaseCompile project(path: ':com.intel.xapkreader:library',configuration: "release") 4 | } 5 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/res/drawable-hdpi/notify_panel_notification_icon_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/res/drawable-hdpi/notify_panel_notification_icon_bg.png -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/res/drawable-mdpi/notify_panel_notification_icon_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/res/drawable-mdpi/notify_panel_notification_icon_bg.png -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/build.prop: -------------------------------------------------------------------------------- 1 | #Last build type 2 | #Thu, 23 Oct 2014 14:44:21 -0400 3 | 4 | build.last.target=debug 5 | 6 | build.last.is.instrumented=false 7 | 8 | build.last.is.packaging.debug=true 9 | 10 | build.last.is.signing.debug=true 11 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/BuildConfig.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/Obfuscator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/Obfuscator.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/util/Base64.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/util/Base64.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/AESObfuscator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/AESObfuscator.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/DeviceLimiter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/DeviceLimiter.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseChecker.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseChecker.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ResponseData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ResponseData.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/StrictPolicy.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/StrictPolicy.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/gen/com/google/android/vending/licensing/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.google.android.vending.licensing; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/zip_file/gen/com/android/vending/expansion/zipfile/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.android.vending.expansion.zipfile; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseValidator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseValidator.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/APKExpansionPolicy.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/APKExpansionPolicy.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicensingService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicensingService.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/NullDeviceLimiter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/NullDeviceLimiter.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ServerManagedPolicy.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ServerManagedPolicy.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ValidationException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ValidationException.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/PreferenceObfuscator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/PreferenceObfuscator.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicenseResultListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicenseResultListener.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicensingService$Stub.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicensingService$Stub.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseCheckerCallback.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseCheckerCallback.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/gen/com/android/vending/expansion/downloader/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.android.vending.expansion.downloader; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicenseResultListener$Stub.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicenseResultListener$Stub.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicensingService$Stub$Proxy.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicensingService$Stub$Proxy.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseChecker$ResultListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseChecker$ResultListener.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/util/Base64DecoderException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/util/Base64DecoderException.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseChecker$ResultListener$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseChecker$ResultListener$1.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseChecker$ResultListener$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/LicenseChecker$ResultListener$2.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicenseResultListener$Stub$Proxy.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/APKexpansion/master/AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/classes/com/google/android/vending/licensing/ILicenseResultListener$Stub$Proxy.class -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/res/values-v9/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 15 | 16 | 20 | 21 | 24 | 25 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/aidl/ILicenseResultListener.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.vending.licensing; 18 | 19 | // Android library projects do not yet support AIDL, so this has been 20 | // precompiled into the src directory. 21 | oneway interface ILicenseResultListener { 22 | void verifyLicense(int responseCode, String signedData, String signature); 23 | } 24 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/aidl/ILicensingService.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.android.vending.licensing; 18 | 19 | import com.android.vending.licensing.ILicenseResultListener; 20 | 21 | // Android library projects do not yet support AIDL, so this has been 22 | // precompiled into the src directory. 23 | oneway interface ILicensingService { 24 | void checkLicense(long nonce, String packageName, in ILicenseResultListener listener); 25 | } 26 | -------------------------------------------------------------------------------- /src/android/XAPKAlarmReceiver.java: -------------------------------------------------------------------------------- 1 | package org.apache.cordova.xapkreader; 2 | 3 | import com.google.android.vending.expansion.downloader.DownloaderClientMarshaller; 4 | 5 | import android.content.BroadcastReceiver; 6 | import android.content.Context; 7 | import android.content.Intent; 8 | import android.content.pm.PackageManager.NameNotFoundException; 9 | 10 | /** 11 | * You should start your derived downloader class when this receiver gets the message 12 | * from the alarm service using the provided service helper function within the 13 | * DownloaderClientMarshaller. This class must be then registered in your AndroidManifest.xml 14 | * file with a section like this: 15 | * 16 | */ 17 | public class XAPKAlarmReceiver extends BroadcastReceiver { 18 | 19 | @Override 20 | public void onReceive(Context context, Intent intent) { 21 | try { 22 | DownloaderClientMarshaller.startDownloadServiceIfRequired(context, intent, XAPKDownloaderService.class); 23 | } catch (NameNotFoundException e) { 24 | e.printStackTrace(); 25 | } 26 | } 27 | 28 | } -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/src/com/google/android/vending/licensing/util/Base64DecoderException.java: -------------------------------------------------------------------------------- 1 | // Copyright 2002, Google, Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.vending.licensing.util; 16 | 17 | /** 18 | * Exception thrown when encountering an invalid Base64 input character. 19 | * 20 | * @author nelson 21 | */ 22 | public class Base64DecoderException extends Exception { 23 | public Base64DecoderException() { 24 | super(); 25 | } 26 | 27 | public Base64DecoderException(String s) { 28 | super(s); 29 | } 30 | 31 | private static final long serialVersionUID = 1L; 32 | } 33 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/gen/R.java.d: -------------------------------------------------------------------------------- 1 | /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/downloader_library/gen/com/android/vending/expansion/downloader/R.java \ 2 | : /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/downloader_library/res/drawable-hdpi/notify_panel_notification_icon_bg.png \ 3 | /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/downloader_library/res/drawable-mdpi/notify_panel_notification_icon_bg.png \ 4 | /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/downloader_library/res/layout/status_bar_ongoing_event_progress_bar.xml \ 5 | /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/downloader_library/res/values/strings.xml \ 6 | /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/downloader_library/res/values/styles.xml \ 7 | /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/downloader_library/res/values-v11/styles.xml \ 8 | /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/downloader_library/res/values-v9/styles.xml \ 9 | /Users/ajhomer/xapk/platforms/android/googleExtras/play_apk_expansion/downloader_library/bin/AndroidManifest.xml \ 10 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_sample/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | APKX Downloader 5 | Would you like to enable downloading over cellular connections? Depending on your data plan, this may cost you money. 6 | If you choose not to enable downloading over cellular connections, the download will automatically resume when wi-fi is available. 7 | Resume download 8 | Wi-Fi settings 9 | Verifying Download 10 | XAPK File Validation Complete. Select OK to exit. 11 | XAPK File Validation Failed. 12 | Pause Download 13 | Resume Download 14 | Cancel 15 | Cancel Verification 16 | 17 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/src/com/google/android/vending/licensing/ValidationException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.google.android.vending.licensing; 18 | 19 | /** 20 | * Indicates that an error occurred while validating the integrity of data managed by an 21 | * {@link Obfuscator}.} 22 | */ 23 | public class ValidationException extends Exception { 24 | public ValidationException() { 25 | super(); 26 | } 27 | 28 | public ValidationException(String s) { 29 | super(s); 30 | } 31 | 32 | private static final long serialVersionUID = 1L; 33 | } 34 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/ant-build/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/library/src/com/google/android/vending/licensing/NullDeviceLimiter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.google.android.vending.licensing; 18 | 19 | /** 20 | * A DeviceLimiter that doesn't limit the number of devices that can use a 21 | * given user's license. 22 | *

23 | * Unless you have reason to believe that your application is being pirated 24 | * by multiple users using the same license (signing in to Market as the same 25 | * user), we recommend you use this implementation. 26 | */ 27 | public class NullDeviceLimiter implements DeviceLimiter { 28 | 29 | public int isDeviceAllowed(String userId) { 30 | return Policy.LICENSED; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_apk_expansion/downloader_library/src/com/google/android/vending/expansion/downloader/impl/CustomNotificationFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2012 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.google.android.vending.expansion.downloader.impl; 18 | 19 | /** 20 | * Uses the class-loader model to utilize the updated notification builders in 21 | * Honeycomb while maintaining a compatible version for older devices. 22 | */ 23 | public class CustomNotificationFactory { 24 | static public DownloadNotification.ICustomNotification createCustomNotification() { 25 | if (android.os.Build.VERSION.SDK_INT > 13) 26 | return new V14CustomNotification(); 27 | else 28 | return new V3CustomNotification(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /AndroidLibrary/GoogleExtras/play_licensing/sample/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 21 | 27 |