Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8902279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:34:24+00:00 2026-06-15T01:34:24+00:00

Install APK in Background Git Hub : Source Code google-certificate.keystore present in certificate folder[See

  • 0

Install APK in Background

Git Hub : Source Code

google-certificate.keystore present in certificate folder[See the above git link]

Step 1: I run the code in emulator its works fine [but i need to put that google-certificate.keystore location in custom debug keystore[which present in Eclipse -> Windows -> Preference -> Android -> bulit]

Step 2: if i didnt put the location it gives java.lang.reflect.InvocationTargetException

if i connect developer cable and run it to Android device

if i follow step 1 it gives Installation error: INSTALL_FAILED_INVALID_INSTALL_LOCATION in console window

if i follow step 2 it installs in device but give same Exception

Edit:

Signed APK Guide

here is a step to create as an apk file but i dont where should i enter that command

Edit: Added Manifest.xml

 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.yal"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="15" />

    <uses-permission android:name="android.permission.INSTALL_PACKAGES"/>

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".InstallInBackgroundSample"
            android:label="@string/title_activity_main" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T01:34:26+00:00Added an answer on June 15, 2026 at 1:34 am

    The blog guy himself posts this in the comments:

    Hi guys, I found the problem and unfortunately my news is not good. I discovered that this technique only works for me because I use the security certificate of the simulator (the same certificate used by my device in my case). I researched and saw that there are two ways to use the API hidden:
    – Put your application pre-installed into a system folder on the ROM
    – Compile your application using the manufacturer’s security certificate
    So this will just be useful for you if you will make an application to a specific device and you have the certificate of it, just like me. I apologize for not notifying it before, but I did not know that. I’ll update my post and I’ll warn about it at first. Thank you for the feedback.

    What you want is not possible anymore without the phone manufacturers certificate or a rooted device.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can i install apk in background using busybox on rooted device ??? i see
I wanna implement a download-and-install mechanism. I have a source link where my app
I'm trying to install my apk (which uses google maps) in android device. Its
Android APK-Files are not binaries but byte-code-files. So is it possible to install the
I'm trying to install apk programmatically by this code: Intent intent = new Intent(Intent.ACTION_VIEW);
Is it possible to install an apk programmatically in the background or does the
I am trying to install apk programatically from assets folder but not success, Please
when user click on url link i want to install apk file from server.
I'm trying to install an apk file present in internal/external storage. This is my
Can I install apk file without downloading? The apk file is on the server.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.