apk

How to install .apk file on android device [closed]

做~自己de王妃 提交于 2020-01-03 07:17:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . How can I install a .apk file on an android device without using the android SDK? 回答1: Copy the .apk file to an SD card. Download AppInstaller from Android Market. On opening the app you can see the apk file in the list. Click on the app, and it gets installed 回答2: Put the .apk file up at a web site and point

Read permission of installed Application in android phone?

二次信任 提交于 2020-01-03 07:16:06
问题 I want to read permission of other applications installed in my android mobile using programming. I think Android Cleaner read permission of other apps and display details like I want get detail like this Image. In this it's give details of Ad Network How i get details like this app in my app? If this app not Read Permission then How it's do it? 回答1: Well you can scrape the playstore app page for a given app and get the permissions it needs :) Well that's just off the top of my head. On a

Excluding certain folders when building PhoneGap aplication

放肆的年华 提交于 2020-01-03 04:50:25
问题 I have built a PhoneGap app for Android. Under www/ I have some folders, I use when developing my app. I want to exclude these ones, when building the .apk file. How can I do that? 回答1: You can add your platform specific files to the /merges folder. For example, if you have a set of files you want to be packed for iOS only, you can place them under /merges/ios/www/my_folder/my_files.* This also works if you have 1 CSS with 2 variations for each platform, you can have them as: /merges/android

Android studio APK buil error transformClassesWithJarMergingForDebug

我怕爱的太早我们不能终老 提交于 2020-01-03 02:22:58
问题 I'm trying to build APK, but there is an error when I try to make it. Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/gcm/PendingCallback.class Following is my build.gradle(Module:app) apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationId "jordan.personicle" minSdkVersion

calling activity from external Activity

*爱你&永不变心* 提交于 2020-01-03 02:05:13
问题 I'd like to start an Activity which is not included in my original .apk. How can I do so? the other Activity is contained in another .apk which is previous version of the current application. Thanks, Eyal. 回答1: This method is good if you only know the package name: PackageManager pm = getPackageManager(); Intent intent = pm.getLaunchIntentForPackage("com.the.other.app"); startActivity(intent); 回答2: I'd suggest you read through the Application Fundamentals first - as far as I'm concerned, you

How to detect the situation when a user cancels a program (“.apk”) installation?

杀马特。学长 韩版系。学妹 提交于 2020-01-02 07:29:16
问题 How to detect the situation when a user cancels an application (.apk file) installation? My app programmatically installs other apps, but users can cancel installation process. During the installation a user sees a dialog like that: "Replace application. The application you are installing will replace another application" . And then a dialog "Do you want to install this application?" . If the user presses "Install" the ACTION_PACKAGE_... broadcast is generated. But how to detect if the user

Android apk install: How to clear files from old version?

无人久伴 提交于 2020-01-02 06:53:25
问题 When I install a new version of my .apk, this overwrites the old version without deleting it: In the new version, I deleted some files (libraries generated with NDK) --- but on the device, the old files are still there. How can I ensure that whenever a new version is installed, all old files will be deleted before the installation? Edit/Clarification: This question asks for a solution for existing users of my application. I know that I can clean up the application myself by uninstalling it

I get only app-release-unaligned.apk when I press generate signed apk

旧城冷巷雨未停 提交于 2020-01-02 04:58:47
问题 I always get "app-release-unaligned.apk". I can't get "app-release.apk". But before I've updated Android SDK, I can get both "app-release.apk" and "app-release-unaligned.apk" after pressing Build->Generate Signed Apk... System Mac OS. Android Studio 1.5.1. Android SDK Tools 25.1.1. Android SDK Platform-tools 23.1. Android SDK Build-tools 23.0.3. I found the similar problem on Android Developer Tools Google Plus UPD1 I've used cmd to align my apk. Because I could not publish my application to

Uninstalling APK : one last action before uninstall

老子叫甜甜 提交于 2020-01-02 02:53:12
问题 I'm developing an application for Android that installs stuff on the phone's sim card. What I wan't is for the application to do one last action upon uninstall : remove what's inside the sim card. Which means : I need to do one last action when my APK is uninstalled. Problem : I didn't find any way to do so. (Apart from having a secondary application, that catches the uninstall intent, and does the job, but that's very faaaaar from what I wan't I'm afraid) If anyone has a solution, I'm really

Using images from apk expansion file in android webview

会有一股神秘感。 提交于 2020-01-01 19:13:06
问题 I have an android app that displays maps. The maps are hi-res images sliced to 100 tiles per map to maintain resolution. I currently have each map in a separate folder in my assets folder. As this makes my apk huge, I want to move these images to my main apk expansion file. Currently I am displaying the images in a webview using the following code to stitch the tiles together in the webview: class ShowMapTask extends AsyncTask<String, Void, String> { @Override protected String doInBackground