Develop Application like Google Play? [duplicate] - android

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Develop application like Google play?
I want to develop application like "Google play" to my organization purpose. Please give me some advice on this ? How do i start this?
I am looking for we have the server which has contains android application. By using this application it has to list out all the application available from our server and also listed the application which is installed from our server and show the updates for installed application if its available in our server.

Maybe you could use Google play itself for that purpose. Take a look here:
http://googleenterprise.blogspot.ca/2012/12/a-new-way-to-distribute-your-internal.html
Hope that helps.

Installing app is quite easy - just send intent to "open" .apk file.
Listing installed application also possible - PackageManager
Checking for updates - GCM or AlarmManager frequently checking for updates.
On the other hand, maybe all you need is private channel introduced last time:
http://support.google.com/a/bin/answer.py?hl=en&answer=2494992

Could you be a bit more specific? You need here both a server and client side component, maybe use some rest web-services to feed your client. As a quick idea you can just put out a gridview with some custom items which while scrolling would async call your web-service to display your apps.
Again, I'm not sure if this is what you're looking for, try to be a bit more specific.

Related

How to update my users of the version without using a webservices

I have made a simple android application and it does not have any web services. The Application is present in the Playstore. Suppose If I have fixed a bug in it and I want the users of the application update to the newer one. How can I do this? Please help me out!!
Thanks in Advance.
Application updates depend on play store and the settings of the user on his/her device.
Short answer: without a web service, i don't think its possible to do that.

How to get notification in your android app, if update available in android app store?

I developed an android application and I have put it in android app store by paying 25 bucks. However some people are using my application in their device. I wanna know, if I upload the updated version of my app in app store then how user finds that out?
I found out some links on the same context in android developer site and all but didn't technically clear out my understanding. Basically I want to know,
how android app update mechanism works?
How device gets notification of available updates?
Please provide some clarity as a developer point of view/ code level.
Reffered links:
Android app update mechanism http://developer.android.com/google/play-services/setup.html http://developer.android.com/tools/publishing/versioning.html#minsdkversion
Here you go.
Try this code hope thats what you want.

Install Apk only once [duplicate]

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.

What is the equivalent of Android permissions in iOS development? [duplicate]

This question already has answers here:
Android like permissions in iOS
(3 answers)
Closed 9 years ago.
I am not sure how to search for this so even a bunch of keywords would be enough or +1 if someone can point me to the relevant documentation.
Android has approx. 122 permissions described here. What is the equivalent in iOS? Do developers declare permissions or can they access everything? If everything, where can I find what this "everything" entails?
Although there are key differences in the way iOS and Android access the system, what Apple have done is to let you use some system resources (such as contacts or photos for example) and also register your app via some keys in a property list for using features such as background execution (for example a voip application that would like to listen for incoming calls). You can find all these options (keys) here.
There is no manifest-like permission concept in iOS. You can access every public API, as long as it is not against the developer agreement, and if you do something wrong, your application will be rejected by Apple.
There is no concept of "permissions" in iOS, there are certain things you are allowed to do and certain things you are not. You need not ask the user for access to these permissions.
I don't know of a specific list of things you are allowed to do, but the Review Guidelines should give you a good idea.
There is no concept of permissions for iOS (iOS 5; may happen in iOS 6 but do not count on it). You can only access official API as approved by Apple. Use of any unofficial API is not permitted and as such will in most cases leads to your app being rejected for distribution in the AppStore.
The closest you will find to permissions in notifications you see when using Location. See more #: http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/TechnologyUsage/TechnologyUsage.html#//apple_ref/doc/uid/TP40006556-CH18-SW10
Regards,
Bo
There is no such thing in iOS unfortunately. You might interested in reading this article about the difference between iOS and Android on this particular point.

Android Detect if app is downloading

I know that there are similar questions on stackoverflow and i read then all. My question is little bit different. I implement some small app that with iptables and I need to know if user install some app and this is not downloaded yet. My app must wait then until this app is installed. I know how to make an receiver for android.intent.action.PACKAGE_ADDED but how can I get information about apps that are installing now?
Getting specific app info is messy: not sure you can get it. This link provides some info about how to listen to the Download Manager app: there might be a way for you to use that and determine if what is downloading is actually an apk.

Categories

Resources