Accessing an Android through a web site - android

There are plenty of software in Google play which can be used to locate your phone when it is lost/stolen. There is a daemon running in the phone and you contact that daemon through internet over a web site.
There are two ways of doing this. The daemon can send the details like IP to a server periodically and the server can use those details to contact the phone. But this approach has a higher overhead.
Instead there should be another way to do this. In Google play (Earlier Market) a user can select an application and the device using web interface and the relevant software is automatically downloaded to the phone which is properly configured with the same Google account. How do I mimic this behaviour with a custom application.
As an example I am trying to develop an android application that can associate with a google account and then I should be able to connect to the phone over a web site given the Google credentials.

You usually don't want your app to be a daemon, as those eat batteries. Instead implement this with C2DM. When the app first launches, it registers with the website; later, when the owner wants to locate his/her/its phone, they login into said website, click the "find my phone" button, a "wherefore art thou" notification is sent to the phone, which does an HTTP POST to the website with its GPS location. The website shows it, or emails it, to the owner, who then rolls with the posse.

Related

making a link to take you from inbox to app page in correct app store (Mobile)

(this is for mobile devices)
For marketing purposes, I need to send an email to a potential user with a generic link. once the link is clicked it will take the user to the app store of the user's device (ios app store or Google Play) showing my app so they can install it.
How can I implement a link like this?
p.s. my app has a server side plus a client side.

Is it possible to create an Android application where the server side run on Android Mobile?

I am studying the feasibility of developing a mobile application for Android, for traders, where the client-side installs on a smartphone (A) and of course, through Google Play, and server-side installs itself in another smartphone (B) that installs via the Play also.
B through the merchant takes pictures of your items and upload adding a description (this article) for the application server side, in ways that the user A, which has the side application client can enjoy the products.
In short:
Capturing data to the server must be made ​​through an Android phone that can take pictures of products and upload to the system and adding text to describe the product.
Consultation of products will be made ​​by a mobile phone with Android as well.
Is it possible to do this? If not, I would appreciate to give me suggestions on how to do this. But I wanted to try not to make using computers (PC / Mac) or web app to load the data to the application. I want a system purely mobile. Maybe will use the computers to store the BD system only.
When you say the server side is a phone app, you imply that the phone is always on, the app is always running, and you need no central storage whatsoever.
You also lose any ability to keep analytics for your service, which is a crucial part of any startup.
If you want your app to have the server available even 80% of the time, and you want to keep a central database of what's going on, you must have some server you can control.
There are a lot of very cheap and manageable cloud solutions, so you don't need to buy an actual server.

how can i locate an android device with a website and communicate with an application installed on it

android is able to locate devices and then communicate and update these device. That is the basis behind what i want to achieve. I have created a Content Management System which is a webpage that requires login details. This CMS will contain a record of all my android devices, the users of these devices and all the applications available for these devices. The CMS was constructed using html and it also uses javascript, php and mysql. each android device will have one of my applications installed on it and will be a wifi only enabled device(so that is how it will communicate with the world).
the scenario is, a device stored on my cms will be used by a user in london and they will be able to access the internet via wifi.I want to send a notification to the device using the cms and my location is . I am logged on to my cms in Scotland.
1, What sort of code or software or technique can i implement into my cms(html code, php code, javascript code) and my android devices and or android applications(java code) that will allow me to send a notification from my cms webpage to my application?
2, how can i make sure it is sent to the right device and the right application on that devices? (i.e if i want to contact someone who has a mobile phone i use their phone number, in this case device does not have a sim card and can only connect to wifi.)
please provide me with a clear answer with links on how to achieve this and excuse my ignorance if the answer is straight forward i am new to this.
again just to make it clear i want to send notifications from my cms webpage to a specific application that i have made in android using eclipse and java on a specific android device whos only connection to the internet is via wifi.
thank you
I think Google Cloud Messaging is appropriate for your problem.
Here is the link: http://developer.android.com/google/gcm/index.html

What API could be used to sync an Android app with a Windows application

I want to write an application on both Android and Windows that behaves somewhat like dropbox or evernote. The functionality that I need to implement basically allows someone to upload data from an Android app and updates a remote user running said Windows application. Here's a simple use case/example:
The mobile device user uses said Android app to indicate his/her global positioning coordinates.
Those coordinates are sent to a server somewhere by the Android app.
The server updates registered Windows client applications, stating that new coordinates have been submitted by a mobile device user.
The Windows client application can then view those coordinates on a map.
More to the point, the idea is to implement some functionality where a mobile device user can submit data and have that data accessible by some kind of remote control center that runs Windows. Also please refrain from mentioning a GPS-specific API as the example I have mentioned is only that, an example.
Many Thanks!

Send android notifications with a link to install an apk from a web page

I'm looking at building functionality similar to Amazon's Appstore installation flow (http://www.amazon.com/gp/feature.html?docId=1000626391&ref=mas_gs) to get a user to install an apk without going through Google's App Market.
Basically, I would like to provide a web page form that accepts an email or phone number. In Amazon's case, when the user enters a phone number, it sends a notification to the phone with an actionable link that can be used to finally install an apk.
To build something similar, what is the best way to actually implement this so that the user receives an Android notification that is non-intrusive, but noticeable enough that they can expand it to complete the install process?
Note that at this point, the user does not yet have any version of the target app installed yet, so it's solely reliant on the user providing a phone number to reach them.
First Option:
You would need some kind of integration on your web site to be able to send sms.
A quick google search returned a site with a list of some possible services that can let you do that: http://mashable.com/2008/04/19/send-text-messages/
And you would sms a direct download link to the application wherever it's stored on your server.
Then they would download and install it.
Second Option:
Say screw the phone number business, and just have them click a download link on the website.
Third option:
Use email.
This link, another one I grabbed from google, might help with that: How do I send email from my website?
I don't really think there's any other way to do it, but I have never done web programming (other than simple html), so I don't really know that much on this topic.

Categories

Resources