Commit 7de8f987 authored by Mark Stevens's avatar Mark Stevens
Browse files

populate repo from existing folder :...

populate repo from existing folder : /home/mstevens/platforms/duco/rk312x-20170119/device/buzztime/common
parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
LOCAL_PATH := $(call my-dir)
include $(call all-makefiles-under,$(LOCAL_PATH))
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES += $(call all-java-files-under, src)
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_PACKAGE_NAME := ApkInstaller
LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.buzztime.apkinstaller"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="15" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.DELETE_PACKAGES" />
<uses-permission android:name="android.permission.CLEAR_APP_CACHE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
<application android:icon="@drawable/icon"
android:label="@string/app_name"
android:debuggable="true">
<activity android:name=".ApkInstallerActivity"
android:theme="@android:style/Theme.NoDisplay"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
\ No newline at end of file
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "build.properties", and override values to adapt the script to your
# project structure.
# Project target.
target=android-7
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-14
ApkInstaller/res/drawable-hdpi/icon.png

4.05 KB

ApkInstaller/res/drawable-ldpi/icon.png

1.68 KB

ApkInstaller/res/drawable-mdpi/icon.png

2.51 KB

<?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"
>
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, ApkInstallerActivity!</string>
<string name="app_name">ApkInstaller</string>
</resources>
package com.buzztime.apkinstaller;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.net.Uri;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import android.widget.Toast;
// The following import statements currently do NOT compile in Eclipse + Android sdk, use make
import android.content.pm.IPackageInstallObserver;
import android.content.pm.IPackageDeleteObserver;
public class ApkInstaller extends Object
{
private static final String TAG = "ApkInstaller"; // log TAG...
private Activity owner = null; // Activity that invoked the install...
private String srcRootPath = null; // Source root install path...
public ApkInstaller()
{
owner = null;
srcRootPath = null;
}
public ApkInstaller(Activity owner)
{
init(owner);
}
public void init(Activity owner)
{
// Cache the Activity ("owner") that invoked the install...
this.owner = owner;
// Set the root installation source path...
setRootPath(null);
}
private void setRootPath(String path)
{
srcRootPath = path;
}
/*
* boolean installApk(String fullSrcApkFileName, String srcPackageName)
*
* Core apk installer...
*/
public boolean installApk(String srcApkFilePath, String srcPackageName)
{
boolean success = false;
// Extract root path and source filename from the full path...
// /sdcard/HelloWorld1.apk -> "/sdcard", "HelloWorld1.apk"
String path = "";
int slashIndex = srcApkFilePath.lastIndexOf("/");
if (slashIndex >= 0)
{
path = srcApkFilePath.substring(0, slashIndex);
}
String srcApkFileName = srcApkFilePath.substring(slashIndex + 1);
setRootPath(path);
// Copy the source apk to our private "files" directory...
boolean result = copyToFiles(srcApkFileName);
if (result)
{
// Install the apk from our owner's private "files" directory...
String uriInstallString = owner.getFilesDir().getAbsolutePath() + "/" + srcApkFileName;
File tempInstallApkFile = new File(uriInstallString);
if (doInstall(tempInstallApkFile, srcPackageName))
{
success = true;
}
else
{
// Install failed...
}
// Delete temp file...
if ((tempInstallApkFile != null) && tempInstallApkFile.exists())
{
tempInstallApkFile.delete();
Log.v(TAG, "Deleted temp APK file: " + srcApkFileName);
}
}
else
{
// Copy failed...
}
return success;
}
public boolean deleteApk(String packageName, boolean deleteDataFlag)
{
PackageManager pm = owner.getPackageManager();
int flags = 0;
if (! deleteDataFlag)
{
// The following statement currently does NOT compile in Eclipse + Android sdk, use make
flags = PackageManager.DELETE_KEEP_DATA;
}
// Instantiate a delete observer (delete is async)...
ApkDeleteObserver observer = new ApkDeleteObserver();
// The following statement currently does NOT compile in Eclipse + Android sdk, use make
pm.deletePackage(packageName, observer, flags);
// Lock the observer and wait until the installation has finished...
synchronized (observer)
{
while (! observer.finished)
{
try
{
observer.wait();
}
catch (InterruptedException e)
{
}
}
}
if (observer.result)
{
Log.v(TAG, "Deleted package: " + packageName);
}
else
{
Log.v(TAG, "Failed to delete package: " + packageName);
}
return observer.result;
}
/*
* boolean copyToFiles(String srcApkFileName)
*
* Given a srcApkFileName, copy the file into the private "files" directory.
*/
private boolean copyToFiles(String srcApkFileName)
{
boolean success = false;
String srcFullApkFileName = srcRootPath + "/" + srcApkFileName;
try
{
// Open the source apk file...
FileInputStream src = new FileInputStream(srcFullApkFileName);
try
{
// Copy the source apk to our private "files" directory...
if (! copyToFiles(src, srcApkFileName))
{
Log.v(TAG, "Error: Couldn't copy source->temp APK");
}
else
{
success = true;
Log.v(TAG, "Copied source->temp APK");
}
}
finally
{
src.close();
}
}
catch (FileNotFoundException e)
{
Log.v(TAG, "FileNotFoundException: " + srcFullApkFileName);
}
catch (IOException e)
{
Log.v(TAG, "IOException: " + srcFullApkFileName);
}
return success;
}
/*
* boolean copyToFiles(FileInputStream src, String destApkFileName)
*
* Given a src file stream and a destApkFileName, copy the source to the
* destination.
*/
private boolean copyToFiles(FileInputStream src, String destApkFileName)
{
try
{
// Create the destination file stream...
FileOutputStream dest = owner.openFileOutput(destApkFileName,
Context.MODE_WORLD_READABLE + Context.MODE_WORLD_WRITEABLE);
try
{
// Copy the file...
byte[] buffer = new byte[4096];
int bytesRead = 0;
while ((bytesRead = src.read(buffer)) >= 0)
{
dest.write(buffer, 0, bytesRead);
}
}
finally
{
dest.close();
}
return true;
}
catch (IOException e)
{
// TDB - Need to consider deleting dest file upon failure...
return false;
}
}
/*
* boolean doInstall(File tempInstallApkFile, String srcPackageName)
*
* Install/replace the given apk file.
*/
private boolean doInstall(File tempInstallApkFile, String srcPackageName)
{
boolean success = false;
try
{
PackageManager pm = owner.getPackageManager();
Uri uri = Uri.fromFile(tempInstallApkFile);
Log.v(TAG, "Installing from: " + uri.getPath());
int installFlags = 0;
try
{
PackageInfo pi = pm.getPackageInfo(srcPackageName, PackageManager.GET_UNINSTALLED_PACKAGES);
if (pi != null)
{
// The following statement currently does NOT compile in Eclipse + Android sdk, use make
installFlags |= PackageManager.INSTALL_REPLACE_EXISTING;
installFlags |= PackageManager.INSTALL_ALLOW_DOWNGRADE;
Log.v(TAG, "Replacing package: " + srcPackageName);
}
}
catch (NameNotFoundException e)
{
// nop...
}
// Instantiate an install observer (install is async)...
ApkInstallObserver observer = new ApkInstallObserver();
// Low-level install. installPackage() is an internal/hidden method...
// The following statement currently does NOT compile in Eclipse + Android sdk, use make
// (unless using a modified android.jar)
// TDB - 5/10/11
pm.installPackage(uri, observer, installFlags, null);
// Lock the observer and wait until the installation has finished...
synchronized (observer)
{
while (! observer.finished)
{
try
{
observer.wait();
}
catch (InterruptedException e)
{
}
}
// The following statement currently does NOT compile in Eclipse + Android sdk, use make
if (observer.result == PackageManager.INSTALL_SUCCEEDED)
{
success = true;
Log.v(TAG, "Installed package: " + srcPackageName);
}
else
{
Log.v(TAG, "Failed to install package: " + srcPackageName);
}
}
}
catch (SecurityException e)
{
Log.v(TAG, "Install Package: Security Exception");
e.printStackTrace();
}
catch (RuntimeException e)
{
Log.v(TAG, "Install Package: Runtime Exception");
e.printStackTrace();
}
catch (Exception e)
{
Log.v(TAG, "Install Package: Generic Exception");
e.printStackTrace();
}
return success;
}
// IPackageInstallObserver.Stub is an internal/hidden "platform" class
// The following class currently does NOT compile in Eclipse + Android sdk, use make
// TDB - 5/10/11
private class ApkInstallObserver extends IPackageInstallObserver.Stub
{
public boolean finished;
public int result;
public void packageInstalled(String name, int status)
{
synchronized(this)
{
finished = true;
result = status;
notifyAll();
}
}
}
// IPackageDeleteObserver.Stub is an internal/hidden "platform" class
// The following class currently does NOT compile in Eclipse + Android sdk
// TDB - 5/11/11
private class ApkDeleteObserver extends IPackageDeleteObserver.Stub
{
public boolean finished;
public boolean result;
/*
// Pre-Android 4.x...
// Note: works on Tab 2 when built with Android 2.2 Framework), does not get called on the Tab 3
public void packageDeleted(boolean succeeded)
{
synchronized(this)
{
finished = true;
result = succeeded;
notifyAll();
}
}
*/
// Android 4.x...
public void packageDeleted(String packageName, int returnCode)
{
synchronized(this)
{
finished = true;
result = (returnCode == PackageManager.DELETE_SUCCEEDED);
notifyAll();
}
}
}
// public boolean isDebuggable(){
// return (0 != (owner.getApplication().getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE));
// }
/*
* ApkInstallerObserver interface - not currently used.
* Save for future reference, if needed.
public interface ApkInstallerObserver
{
public void onApkInstallInit(int numApks);
public void onApkInstallUpdate(int index, int total, int pct, String fileName);
public void onApkInstallDone(boolean success);
}
*/
/*
public class ApkInstallerFileSpec extends Object
{
public String fileName;
public String packageName;
public ApkInstallerFileSpec(String fileName, String packageName)
{
this.fileName = fileName;
this.packageName = packageName;
}
}
*/
/*
* boolean installApks(ApkInstallerFileSpec[] apks)
*
* Simplistic multiple apk installer - MAY NOT BE NEEDED!
* Save for future reference, if needed.
* Currently does not handle exceptions, retrys, etc.
*/
/*
public boolean installApks(ApkInstallerFileSpec[] apks)
{
boolean success = true;
// Iterate array...
int numApks = apks.length;
if (numApks > 0)
{
// Notify observer that we're about to start installation..
if (observer != null) observer.onApkInstallInit(numApks);
for (int i = 0; i < numApks; i++)
{
String fileName = apks[i].fileName;
// Update observer progress...
// Note that progress % is 0-based (0% done means we're in the process of
// installing the first apk. Progress index is 1-based (1st file, index = 1).
int pct = (i * 100) / numApks;
if (observer != null) observer.onApkInstallUpdate((i + 1), numApks, pct, fileName);
Toast.makeText(owner, "ApkInstaller: installing " + fileName, Toast.LENGTH_LONG).show();
if (! installApk(fileName, apks[i].packageName))
{
success = false;
break;
}
}
// Notify observer that we're done...
if (observer != null) observer.onApkInstallDone(success);
}
return success;
}
*/
/*
* Rough implementation if an async install. Save for future reference, if needed.
*
public void installApkAsync(String srcApkFileName, String srcPackageName)
{
boolean success = false;
// Copy the source apk to our private "files" directory...
boolean result = copyToFiles(srcApkFileName);
if (result)
{
// Install the apk from our owner's private "files" directory...
String uriInstallString = owner.getFilesDir().getAbsolutePath() + "/" + srcApkFileName;
File tempInstallApkFile = new File(uriInstallString);
doInstallAsync(tempInstallApkFile, srcPackageName);
// Delete temp file...
//if ((tempInstallApkFile != null) && tempInstallApkFile.exists())
//{
// tempInstallApkFile.delete();
// Log.v(TAG, "Deleted temp APK file: " + srcApkFileName);
//}
}
else
{
// Copy failed...
}
}
private void doInstallAsync(File tempInstallApkFile, String srcPackageName)
{
boolean success = false;
try
{
PackageManager pm = owner.getPackageManager();
Uri uri = Uri.fromFile(tempInstallApkFile);
Log.v(TAG, "Installing from: " + uri.getPath());
int installFlags = 0;
try
{
PackageInfo pi = pm.getPackageInfo(srcPackageName, PackageManager.GET_UNINSTALLED_PACKAGES);
if (pi != null)
{
// The following statement currently does NOT compile in Eclipse + Android sdk, use make
installFlags |= PackageManager.INSTALL_REPLACE_EXISTING;
Log.v(TAG, "Replacing package: " + srcPackageName);
}
}
catch (NameNotFoundException e)
{
// nop...
}
// Instantiate an install observer (install is async)...
ApkInstallObserverAsync observer = new ApkInstallObserverAsync();
// Low-level install. installPackage() is an internal/hidden method...
// The following statement currently does NOT compile in Eclipse + Android sdk, use make
// (unless using a modified android.jar)
// TDB - 5/10/11
pm.installPackage(uri, observer, installFlags, null);
}
catch (SecurityException e)
{
Log.v(TAG, "Install Package: Security Exception");
e.printStackTrace();
}
catch (RuntimeException e)
{
Log.v(TAG, "Install Package: Runtime Exception");
e.printStackTrace();
}
catch (Exception e)
{
Log.v(TAG, "Install Package: Generic Exception");
e.printStackTrace();
}
}
private void doFinishInstallAsync(String packageName)
{
if ((tempInstallApkFile != null) && tempInstallApkFile.exists())
{
tempInstallApkFile.delete();
Log.v(TAG, "Deleted temp APK file: " + srcApkFileName);
}
Log.v(TAG, "Installed: " + packageName + ", need to delete temp apk file!!!");
}
// IPackageInstallObserver.Stub is an internal/hidden "platform" class
// The following class currently does NOT compile in Eclipse + Android sdk, use make
// TDB - 5/13/11
private class ApkInstallObserverAsync extends IPackageInstallObserver.Stub
{
public boolean finished;
public int result;
public void packageInstalled(String name, int status)
{
synchronized(this)
{
finished = true;
result = status;
//notifyAll();
Message msg = handler.obtainMessage(INSTALL_COMPLETE);
msg.arg1 = result;
msg.obj = name;
handler.sendMessage(msg);
}
}
}
private final int INSTALL_COMPLETE = 1;
private Handler handler = new Handler()
{
public void handleMessage(Message msg)
{
switch (msg.what)
{
case INSTALL_COMPLETE:
doFinishInstallAsync((String)msg.obj);
break;
default:
break;
}
}
};
*/
}
\ No newline at end of file
package com.buzztime.apkinstaller;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
public class ApkInstallerActivity extends Activity
{
//private static final String TAG = "ApkInstallerActivity"; // log TAG...
private static final String APK_COMMAND = "apkInstaller_command";
private static final String APK_INSTALL_CMD = "apkInstaller_installApk";
private static final String APK_DELETE_CMD = "apkInstaller_deleteApk";
private static final String APK_FILE_NAME = "apkInstaller_fileName";
private static final String APK_PACKAGE_NAME = "apkInstaller_packageName";
private static final String APK_DELETE_DATA_FLAG = "apkInstaller_deleteDataFlag";
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
//setContentView(R.layout.main); // Don't display the view(s)...
// Fetch the command, if there is one...
String cmd = getIntent().getStringExtra(APK_COMMAND);
if (cmd != null)
{
int result = RESULT_CANCELED;
if (cmd.compareTo(APK_INSTALL_CMD) == 0)
{
boolean success = installApk();
if (success)
{
result = RESULT_OK;
}
}
else if (cmd.compareTo(APK_DELETE_CMD) == 0)
{
boolean success = deleteApk();
if (success)
{
result = RESULT_OK;
}
}
setResult(result);
}
finish();
}
private boolean installApk()
{
boolean success = false;
// Fetch Intent parameters, and install...
Intent intent = getIntent();
if (intent != null)
{
String fileName = intent.getStringExtra(APK_FILE_NAME);
String packageName = intent.getStringExtra(APK_PACKAGE_NAME);
if ((fileName != null) && (packageName != null))
{
ApkInstaller apkInstaller = new ApkInstaller(this);
success = apkInstaller.installApk(fileName, packageName);
}
}
return success;
}
private boolean deleteApk()
{
boolean success = false;
// Fetch Intent parameters, and delete...
Intent intent = getIntent();
if (intent != null)
{
String packageName = intent.getStringExtra(APK_PACKAGE_NAME);
// By default, we'll delete apk data (unless specified by the caller)...
boolean deleteDataFlag = intent.getBooleanExtra(APK_DELETE_DATA_FLAG, true);
if (packageName != null)
{
ApkInstaller apkInstaller = new ApkInstaller(this);
success = apkInstaller.deleteApk(packageName, deleteDataFlag);
}
}
return success;
}
}
\ No newline at end of file
# Copyright 2007-2011 The Android Open Source Project
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
#LOCAL_STATIC_JAVA_LIBRARIES := libs/core.jar
LOCAL_PREBUILT_JAVA_LIBRARIES := libs/core.jar
LOCAL_SRC_FILES += $(call all-java-files-under, src)
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_PACKAGE_NAME := BridgeReceiver
#LOCAL_OVERRIDES_PACKAGES := Provision
# Builds against the public SDK
# LOCAL_SDK_VERSION := current
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
include $(BUILD_PACKAGE)
# This finds and builds the test apk as well, so a single make does both.
include $(call all-makefiles-under,$(LOCAL_PATH))
# Copyright 2007-2011 The Android Open Source Project
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
#LOCAL_JAVA_LIBRARIES := telephony-common
LOCAL_SRC_FILES += $(call all-java-files-under, src)
LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res
LOCAL_PACKAGE_NAME := BridgeReceiver
# Builds against the public SDK
LOCAL_SDK_VERSION := current
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
include $(BUILD_PACKAGE)
# This finds and builds the test apk as well, so a single make does both.
include $(call all-makefiles-under,$(LOCAL_PATH))
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2007-2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.buzztime.bridgereceiver">
<original-package android:name="com.buzztime.bridgereceiver" />
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="22"/>
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<uses-permission android:name="android.permission.DEVICE_POWER" />
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.HARDWARE_TEST" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.MASTER_CLEAR" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
<uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIMAX_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIMAX_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="com.android.certinstaller.INSTALL_AS_USER" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.WRITE_APN_SETTINGS"/>
<uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
<uses-permission android:name="android.permission.READ_USER_DICTIONARY"/>
<uses-permission android:name="android.permission.WRITE_USER_DICTIONARY"/>
<uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/>
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
<uses-permission android:name="android.permission.BATTERY_STATS"/>
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.MOVE_PACKAGE" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.BACKUP" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.READ_SYNC_STATS" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.STATUS_BAR" />
<uses-permission android:name="android.permission.MANAGE_USB" />
<uses-permission android:name="android.permission.SET_POINTER_SPEED" />
<uses-permission android:name="android.permission.SET_KEYBOARD_LAYOUT" />
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
<uses-permission android:name="android.permission.COPY_PROTECTED_DATA" />
<uses-permission android:name="android.permission.MANAGE_USERS" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
<uses-permission android:name="android.permission.ACCESS_NOTIFICATIONS" />
<uses-permission android:name="android.permission.REBOOT" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
<uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
<uses-permission android:name="android.permission.OEM_UNLOCK_STATE" />
<!--Provision-->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<!-- Buzztime required permissions-->
<uses-permission android:name="android.permission.BIND_INPUT_METHOD" />
<uses-permission android:name="android.permission.SHUTDOWN"/>
<uses-permission android:name="android.permission.CRYPT_KEEPER"/>
<uses-permission android:name="android.permission.SET_TIME" />
<uses-permission android:name="android.permission.SET_TIME_ZONE" />
<uses-permission android:name="android.permission.DELETE_CACHE_FILES" />
<uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
<uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
<!--Package actions-->
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.DELETE_PACKAGES" />
<uses-permission android:name="android.permission.GET_PACKAGE_SIZE" />
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
<uses-permission android:name="android.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="android.permission.UNINSTALL_SHORTCUT" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
<uses-permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES" />
<!-- Needed just for the unit tests -->
<application android:name="BridgeReceiverApp"
android:label="@string/app_name"
android:hardwareAccelerated="true"
android:debuggable="false">
<activity android:name=".DefaultActivity"
android:label="BuzztimeProvisioner"
android:screenOrientation="landscape"
android:excludeFromRecents="true"
android:enabled="true"
android:immersive="true"
android:launchMode="singleTop"
android:theme="@style/SetupWorkSpaceTheme">
<intent-filter android:priority="1">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name="com.google.zxing.client.android.CaptureActivity"
android:label="Contact Buzztime for Provisioning Details"
android:screenOrientation="landscape"
android:excludeFromRecents="true"
android:enabled="true"
android:theme="@style/SetupWorkSpaceTheme">
<intent-filter>
<action android:name="com.google.zxing.client.android.PROVISIONING_SCAN" />
</intent-filter>
</activity>
<activity android:name=".PushReleaseActivity"
android:label="Factory Push"
android:screenOrientation="landscape"
android:excludeFromRecents="true"
android:enabled="true"
android:theme="@style/SetupWorkSpaceTheme">
</activity>
<activity
android:name=".BridgeSettingsActivity"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.Material.Light"
android:launchMode="standard"
android:label="Buzztime Device Manager" >
<!--<intent-filter>-->
<!--<action android:name="android.intent.action.MAIN" />-->
<!--<category android:name="android.intent.category.LAUNCHER" />-->
<!--<category android:name="android.intent.category.DEFAULT"/>-->
<!--</intent-filter>-->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<intent-filter>
<action android:name="buzztime.intent.action.DEVICE_SETTINGS" />
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<receiver
android:name=".BuzztimeDeviceOwnerReceiver"
android:enabled="true"
android:exported="true"
android:label="Buzztime Device Owner"
android:permission="android.permission.BIND_DEVICE_ADMIN" >
<meta-data
android:name="android.app.device_admin"
android:resource="@xml/device_admin" />
<intent-filter>
<action android:name="android.app.action.PROFILE_PROVISIONING_COMPLETE"/>
<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
<action android:name="android.app.action.ACTION_SHUTDOWN" />
<!--<action android:name="android.app.action.QUICKBOOT_POWEROFF" /> &lt;!&ndash;HTC specific feature &#45;&#45;!>-->
</intent-filter>
<!-- LifeCycle broadcasts -->
<!--<intent-filter>-->
<!--<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />-->
<!--&lt;!&ndash;<action android:name="android.intent.action.BOOT_COMPLETED" />&ndash;&gt;-->
<!--</intent-filter>-->
<intent-filter>
<action android:name="com.buzztime.bridge.SetPreferredActivity" />
</intent-filter>
</receiver>
<receiver android:name=".BridgeBroadcastReceiver">
<intent-filter>
<!-- New calls for halo-->
<action android:name="com.buzztime.bridge.SET_CHARGER_AUTOBOOT" />
<action android:name="com.buzztime.bridge.CHECK_OTA_UPDATE" />
<!-- new calls for knox-->
<action android:name="com.buzztime.bridge.SET_INPUT_METHOD" />
<action android:name="com.buzztime.bridge.SET_LATIN_IME" />
<action android:name="com.buzztime.bridge.DISABLE_KEYS" />
<action android:name="com.buzztime.bridge.ENABLE_KEYS" />
<action android:name="com.buzztime.bridge.SET_MULTIWINDOW_STATE" />
<action android:name="com.buzztime.bridge.SHOW_NOTIFICATION_MESSAGES" />
<action android:name="com.buzztime.bridge.HIDE_NOTIFICATION_MESSAGES" />
<action android:name="com.buzztime.bridge.SET_INACTIVITY_TIMEOUT" />
</intent-filter>
<!-- all the calls that are in use -->
<intent-filter>
<!-- compatibility calls to match the old SERI broadcasts -->
<action android:name="com.buzztime.bridge.DISABLE_ADB" />
<action android:name="com.buzztime.bridge.DISABLE_USB" />
<action android:name="com.buzztime.bridge.DisableADBResult" />
<action android:name="com.buzztime.bridge.DisablePackage" />
<action android:name="com.buzztime.bridge.DisablePackageResult" />
<action android:name="com.buzztime.bridge.DisableUSBResult" />
<action android:name="com.buzztime.bridge.ENABLE_ADB" />
<action android:name="com.buzztime.bridge.ENABLE_USB" />
<action android:name="com.buzztime.bridge.EnableADBResult" />
<action android:name="com.buzztime.bridge.EnablePackage" />
<action android:name="com.buzztime.bridge.EnablePackageResult" />
<action android:name="com.buzztime.bridge.EnableUSBResult" />
<action android:name="com.buzztime.bridge.FACTORY_RESET" />
<action android:name="com.buzztime.bridge.GET_SERIAL_NUMBER" />
<action android:name="com.buzztime.bridge.GetSerialNumberResult" />
<action android:name="com.buzztime.bridge.HEADSET_OFF" />
<action android:name="com.buzztime.bridge.HEADSET_ON" />
<action android:name="com.buzztime.bridge.InstallPackage" />
<action android:name="com.buzztime.bridge.InstallPackageResult" />
<action android:name="com.buzztime.bridge.NavigationBarInvisible" />
<action android:name="com.buzztime.bridge.NavigationBarVisible" />
<action android:name="com.buzztime.bridge.POWER_DIALOG_STRINGS_DISABLE" />
<action android:name="com.buzztime.bridge.POWER_DIALOG_STRINGS_ENABLE" />
<action android:name="com.buzztime.bridge.PROMPT_FOR_PIN" />
<action android:name="com.buzztime.bridge.REBOOT" />
<action android:name="com.buzztime.bridge.SET_ADMIN_PIN" />
<action android:name="com.buzztime.bridge.SET_BRIGHTNESS" />
<action android:name="com.buzztime.bridge.SET_LOCALE" />
<action android:name="com.buzztime.bridge.SET_OTA_ALLOWED" />
<action android:name="com.buzztime.bridge.SET_SCREEN_TIMEOUT" />
<action android:name="com.buzztime.bridge.SET_TIME" />
<action android:name="com.buzztime.bridge.SET_USB_DEVICE_PACKAGE" />
<action android:name="com.buzztime.bridge.SHUTDOWN" />
<action android:name="com.buzztime.bridge.START_KIOSK_MODE" />
<action android:name="com.buzztime.bridge.STOP_KIOSK_MODE" />
<action android:name="com.buzztime.bridge.START_LOGCAT" />
<action android:name="com.buzztime.bridge.SetAdminPINResult" />
<action android:name="com.buzztime.bridge.SetLocaleResult" />
<action android:name="com.buzztime.bridge.SetOtaAllowedResult" />
<action android:name="com.buzztime.bridge.SetScreenTimeoutResult" />
<action android:name="com.buzztime.bridge.SetTimeResult" />
<action android:name="com.buzztime.bridge.SetUsbDevicePackageResult" />
<action android:name="com.buzztime.bridge.StartKioskModeResult" />
<action android:name="com.buzztime.bridge.StatusBarInvisible" />
<action android:name="com.buzztime.bridge.StatusBarVisible" />
<action android:name="com.buzztime.bridge.SystemBarInvisible" />
<action android:name="com.buzztime.bridge.SystemBarVisible" />
<action android:name="com.buzztime.bridge.StopKioskModeResult" />
<action android:name="com.buzztime.bridge.UninstallPackage" />
<action android:name="com.buzztime.bridge.UninstallPackageResult" />
</intent-filter>
</receiver>
<receiver android:name=".DropboxEntryReceiver">
<intent-filter>
<action android:name="android.intent.action.DROPBOX_ENTRY_ADDED" />
</intent-filter>
</receiver>
<service android:name=".LogcatService">
<intent-filter>
<action android:name="com.buzztime.bridge.logcatservice"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</service>
</application>
</manifest>
# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If you don't need to do a full clean build but would like to touch
# a file or delete some intermediate files, add a clean step to the end
# of the list. These steps will only be run once, if they haven't been
# run before.
#
# E.g.:
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
#
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
# files that are missing or have been moved.
#
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
# Use $(OUT_DIR) to refer to the "out" directory.
#
# If you need to re-do something that's already mentioned, just copy
# the command and add it to the bottom of the list. E.g., if a change
# that you made last week required touching a file and a change you
# made today requires touching the same file, just copy the old
# touch step and add it to the end of the list.
#
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************
# For example:
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************
Copyright (c) 2005-2008, The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
}
}
apply plugin: "com.android.application"
android {
compileSdkVersion 22
buildToolsVersion "20"
defaultConfig {
applicationId "com.buzztime.bridgereceiver"
}
signingConfigs {
release {
storeFile file("platform.keystore")
keyAlias "platform"
storePassword "android"
keyPassword "android"
}
debug {
storeFile file("platform.keystore")
keyAlias "platform"
storePassword "android"
keyPassword "android"
}
}
sourceSets {
main {
manifest.srcFile "AndroidManifest.xml"
java.srcDirs = ["src"]
res.srcDirs = ["res"]
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
zipAlignEnabled true
signingConfig signingConfigs.release
debuggable false
}
debug {
signingConfig signingConfigs.debug
debuggable true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
repositories {
mavenLocal()
}
dependencies {
//compile "com.android.support:support-v4:+"
compile fileTree(dir: "libs", include: [ "core.jar" ], exclude: ["ksoap2.jar", "ksoap2-android-assembly-3.5.0-jar-with-dependencies.jar"])
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment