As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am making a web app that needs to communicate with the Android phone, what is the best way to get data from the web app to the phone? I have heard of C2DM but I don't know any good guides for it. I have tried polling, but that is way too heavy on the battery. Whats the best way to accomplish this?
The best practice is the following: using C2DM your phone should just receive a notification about the event. Basing on this event you connect to a resource and download necessary information. This and this resources I used when I've tried to develop my C2DM application.
As well as C2DM you could also look at services such as Urban Airship or if the communication with the device is interactive then you could look at a realtime web technology.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am creating an app where user can delete all history of a particular number or group of numbers. I am able to delete calls and sms was just thinking if there a way to delete message/chats related to a particular number from whatsapp pragmatically in android. As whatsapp is also a popular source now. Any views/directions would be helpful.
Thanks in advance.
No, you cannot do this.
WhatsApp is a third party app, and does not provide an API for you to edit their data. On a rooted device you may be able to gain access to their databases, by they are AES encrypted, and you will have a tough time editing them on the fly.
You can't access to other app. But if your device is root, you can access to database of Whatsapp
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to create an user database online so people can create accounts via an android app and login. How can this be realized?
Your android app cannot connect directly to the database. You'll need to create a server side service layer that serves as an API between the Android app and the database. For example, if you want to get a list of all users, your app will make an HTTP GET request to
http://example.com/api/users
This script will query the DB for a list of all users, and respond back to the application with the data encoded as either XML, JSON or any other consumable format.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm doing a Mobile Device Management (MDM) solution for android device. I have found out few feature that are possible for this application:
Remote lock
Wipe data
Password policy
Disable Camera
Manage Applications
I have done all the things mentioned above. Is there any other possible feature that I can include in my application ? some feature using native android programming ?
I think there are alot of things to do in the arena of MDM policy and its implmentations like for example:
Backup/Restore.
New apps Installation notifications.
GPS tracking and mapping.
and for more information about those implmentation you can start by reading the following here
Some I can think right off the bat are:
Monitoring : Administrator can monitor device status .A lot of info available here, like battery, location, uptime, network usage history etc.
Settings : Administrator can configure the device.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to build a mass mail application to send around 20 lacs mail per day. I need some suggestions regarding the technology choice between php and java.
Please suggest.
Either would work.
Java is typically good for bigger projects because it is strongly typed and good for collaboration, but a mass mail application might be simple enough to make that unnecessary.
Most people think of it as easier to do web stuff in PHP, so if you want this to live in a website, you might want to use PHP.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Im at the point where i would like to start playing around with some web information apis in my programs. Noting Specific but something that i can use with java or python. I tried using the google task api, but it seemed a little tough with the authentication process.Any suggestions?
Have a look at the Twitter API and the Flickr API. They're both pretty easy to work with: it's just a matter of constructing a URL, making a web request, getting the XML response and parsing that XML response. They both have methods which are public and don't need authentication.
When you are a bit more comfortable, you can start looking at using authentication for user-specific data requests. For OAuth with Java, you can have a look at the OAuth-Signpost library.