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.
Related
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.
I need to do following thing from my android application please give me idea to make it possible.
1.I known package name to install which is on play google market.
now when i execute code it should start that Application to download in my android mobile.
Same thing is done by Play google for example.
In web site of google play if i select facebook to install it will start download in my android mobile So again my question is how i can achieve to direct start download application from Google play by my installed android application.
Finally what i have found to make install android app from developer site is below.
Developer distribution App Intent .
But in that code user have to accept install and term button to start real download Application and i don't want to
Thanks for any help.
If I understand your question, what you want is your app to be a replacement of the google play app in that it can download directly from google play store and without asking the user for permission. This is not possible. It's a security feature that android has to ask the phone user whether or not it's okay to download a certain app. Without this it would be possible to install malicious apps without the user knowing.
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.
Here's the scenario i am trying to achieve:
Publish/have an app in the Android app store
However - i do not want it to be searchable through the android market search, etc.
The only way people can access the app is if i give them an explicit link to download
Is above possible? If so - how? All FAQs/instrucitons i have seen publish & make it searchable for the whole world - but i want it only accessible through #3 above.
Thanks.
Try this site https://www.push-link.com/, you can upload apk on your private account and only can be accessible thorough automatic generated link and QR code. This service contains user notification on new versions and bug reports.
Two things that are problematic with the link to an APK approach:
Some of the devices out there (I m only aware of the Motorola Atrix) don't have the "Unkown Sources" option, meaning that this won't work on them.
You loose the ability to auto update the app if you want.
I would recommend adding a login process where only your users will have access to the actual application. This way, you still have the Market advantages and only those people can activate the application.
The main disadvantage is that the application will be open to search in the Market, but as far as I know, this won't be a problem since people will immediately uninstall it since they won't be able to activate it.
In your case, what I do is, I dont upload the application to the Market and distribute it from my server.
I mean this is simple, sweet and it also saves my $25 for the market account...
Don't do this. Just publish the APK to your own website, then give the users the URL to the APK, they can download and install it directly. The only thing they'll need to do is ensure that Menu-Settings-Applications-Unknown sources is ticked.
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.