Only download app from android market - android

I want to prevent android market to install downloaded android application automatically. Rather I want an app gets downloaded from the market and then a custom installer will responsible for its installation.
I am using android SDK 2.3
Anyone help is really appreciated.
Thanks,
Sam

I am just wondering if we could intercept between post-downloading and pre-installation phase.
No, sorry, that is not possible.
You are welcome to have the Market-installed application download and prompt the user to install a second application, but the first application still exists.

Related

How to add update function into phonegap app

Does phonegap allow us to update the app we created if I want to add or change something later on?
For example, I created an app and installed on my Android cellphone. Now I want to change some content of this app. Is that possible to achieve that without installing the full .apk file again?
A similar question here: How to update app with phonegap
However,the answer "update them in your project then submit a new apk to Google Play" still makes me confused -- submitting a new apk to google then my installed app would know there is a new version? and would update??
It's impossible. You cannot update the app in user cellphone unless your app force user to update the app. IBM Worklight can do force update.
One way would be to put you html files on live server and change it from there. Suppose your files are in www.example.com site. Like www.example.com/main.html You can refer to this link from your phonegap app. And you can control it as you wish without forcing any installation.
But it comes with a price. Your app user have to be connected to internet for full time.

Update default app automaticall from market

I have a lower version App installed in device using adb install command. I have a higher version of App in Android Market. I would make update the app in device automatically from Android Market. I saw the similar post below:
Prompt Android App User to Update App if current version <> market version
Is there a way to automatically update application on Android?
but Neither of those posts answer this question.
They mush have some solution. just like Goole Maps and Gmail does. I don't know how Google Maps does it?
someone suggest uses
http://code.google.com/p/android-market-api/
But it failed for me on code below: (android 3.2)
session.login("mymail#gmail.com",password);
Thank you in advance.
this is not really possible since your app wasn't first installed from the Android Market, so the market doesn't know about this "purchase", doesn't track updates so it won't prompt the user to update, or auto-update the app.
The only way to do it is to install the app from the market, keeping the "auto-update" checkbox on.

Android - Check if APP is already installed

I wanted to have a web page with a link pointing to the apk app in a market (this is possible), but if the app already exists on the device did not want him to redirect the market but that the app is open soon as the app on the device.
Is that possible?
thank you
There's no way to do that on a website. You can create a link to the application on Market, and if the user is on an Android device, he or she will be redirected to the Market application - from here it's possible to see if it's installed or not.
Should you want to do it in Java code, you can use #Pedro's advice with a simple check.
You can use PackageManager.getInstalledApplications and check if the app you're looking for is listed.

Can I have the market update an app that was installed from else where?

I'm writing an app and would like users to be able to download the apk and install it from my website. However, I would like the app to still be able to update through the market, is this possible?
I don't believe that it is possible.
You are better off to link them to the market from your website rather than hosting the APK file.
market://search?q=pname:your.package.name
That will open the market on the users phone. It is safer and easier than plugging in the phone and installing over USB.
As far as I know and tested, applications installed using .apk files, will be recognized from the android market. Some games though like Angry Birds, do not appear on my list of installed applications and unfortunately I can't find out why.
But for what is worth the following link will help you more.
http://androidforums.com/application-development/65282-can-you-keep-your-paid-app-updating-illegally-installed-apk.html
This is not possible without apps like Titanium Backup. Titanium Backup can link apps to their market counter-parts but you cannot do it without an app like that (which requires Root).
As i know - it's not possible.
Even if you'll use the same package names and signing certificates.

How to find whether an application is installed in a device from web?

I created an android application and uploaded in my website. Is it possible to check from the web whether this application is installed in the device when someone is trying to download the application ? If it is installed, the user should get a prompt whether to reinstall or not. If not the application should not be downloaded.
Thanks in advance...
regards,
Vishakh
As far as I remember that's standard feature, android always asks if user wants to reinstall app or not. But that's definitely impossible to get this data from web.

Categories

Resources