This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Create Free/Paid versions of Application from same code
Im trying to make a donate version of my app on Google Play, but when I go to upload it, it gives me an error that there is already an application with the package name. Is there an easy way to make a duplicate of the app and have a different package name? Thanks.
Another way to handle this, that I've been seeing more and more of, just create a simple app that costs whatever your donation amount is, and link your users to it. It will be something simple, like a thank you card, or even no activity at all. Just remind your users to keep it for more than 20 minutes before deleting it, or it will be refunded.
Google Play uses package names to identify different applications, so you would need to change the package name. If you use Eclipse, it is quite simple to refactor the package name (e.g. if your package name is com.example.test, change it to com.example.test.donate), and then build it again.
Related
I was wondering If I could get some help on this. I have created a new mobile app and published it to the android market a few days ago. I was naturally expecting to be able to find the app by simply searching for its name in the Play Store, however when I do this nothing shows up for my app and I can only find the app by searching for the package name.
I just want to know if this is something I am doing wrong or just the way the Play Store works? A link to my app is below:
https://play.google.com/store/apps/details?id=com.skystalker.wedcon&hl=en_GB
Thanks in advance
It seem that I'm able to locate your app by searching (160-ish result). However your app name seems to be a common one, and that's causing it to go down the list since it's new and haven't yet gained popularity. If you care about the app coming up first in the search either: change the name to a unique one, or get popular (more downloads and high ratings).
Is it legal to update an Android app on the Play store with a totally different app under the same package name?
Is it considered against the policies since I am updating the app USING THE SAME PACKAGE NAME with a totally different app?
Is it legal to update an Android app on the Play store with a totally different app under the same package name?
well, there's no such definition "different app".
as long as you are using the same keystore (as #SplatFace Development said) it considers from Google play point of view the same app by definition.
you can change whatever you'd like.
it's legal for sure, and there's no any security problem with that because the user anyway would have to accept again the new app permissions if they changed at all...
and as I mentioned in the comment -
I almost sure google did it with thier own apps when Google Talk replaced with Hangouts.
I don't see why it wouldn't be legal. If they are both your creations, you should be alright. It's basically changing the source code with a normal update, only a lot of changes, and changing the name if you're going to change the name. If you are going to change the name though, that may be more of a problem. I wouldn't be sure. I never did that.
Two apps cannot have the same package name. Android will treat them as the same app, with all the consequences that implies.
This question already has an answer here:
To protect the apk
(1 answer)
Closed 9 years ago.
I want to make my android app apk to be install only once and it should not run on other device if it is copied from first device.Is it possible to do this in android?
Thanks in advance.
No, it is not possible. Apps can be installed and removed as many times the users want them to. Also our code comes into control only after our application gets installed. Hence we cannot determine whether we are getting installed or removed.
You don't have any way to do that if you want your user to be able to install the application
A possible workaround would be to test the DeviceID, and allow the app to proceed only if the DeviceID has been authorized.
Obviously you would have to manage this in your code, and that could become quite cumbersome if you need to authorize numerous devices. Plus I am not sure every device has a DeviceID
see Is there a unique Android device ID? for more information about this
and even take a look at licensing
Its not possible in android ,By using application signature you can't install same signature app if a same signature app is already there.but you can't restrict it to getting installed in other devices.
Just think about it. The application doesn't know whether it is installed already or not.
If you are using an web based application, then assign a value to the database after the installation. (This value should only be known by the device inserting the value at database)
So when your application open next time on another device check the value and prohibit the user. This is the way you can block it.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Is it possible to decompile an Android .apk file?
I have a question about Android APK signing. Here is a scenario:
There is some App on the market. I install it on my device. Extract the APk, decompile it. Then recompile it (making whatever changes i want) , sign it using my keystore and upload it to the Market and basically spoof that App. Is there anything (apart from the App itself checking who has signed the App) stopping someone from doing this?
On the play store every app has a unique package name. So you can't upload an app with the same package name. Besides that you have to agree to Google's agreements(and uploading someones app is definitely against their agreement), so If you want to get sued by the original developer then go ahead...
I'm assuming that you are asking because you are worried about this happening to you, not that you are planning to do this to someone else's app.
You won't be able to use the same package name as an app already in the market. Someone installing your app will not lose the other one. As far as the market is concerned, they are completely different apps. They will need to be published under different publisher accounts, since they are signed by different keys.
If you want to spoof at the surface level (which is all you can do anyway), there's a much easier way. Just write an app that has the same name and description as an app on the market. Someone looking for "Goofy Game" will find your ersatz title along with the real "Goofy Game" app. Caveat emptor.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to get package name from anywhere?
In my project I have selected an application from installed applications in the phone and stored it as a string. But later in the project I need to launch that application for which I need d package name.
Is it possible to get name of the package from application name??
Please help.
Thanks in advance
The package is the only official identity of an application. If you using anything to be a persistent identity of an app, it should be that, not some something else. (You are not clear on what you are currently using, but if by "application name" you mean the label that is shown to the user for the application, that is most definitely not what you should be doing. All the user needs to do is change their locale and poof you are lost. Or install an update to the app that changes its name... like Google Music becoming Play Music.)