Posting messages for intended location Android application - java

I am new to android programming and I am trying to create an application that helps me to send a message/post (based on intended location) to those users using the same app in that particular location.
Can i get some resources on this?
Also currently i am trying to implement the feature wherein i post a message about a particular location on my wall and that same message has to seen by the users in that location. How can i implement this.
please post suggestions/open-srouce codes, examples etc.
thank you

You're probably looking for solutions related to the Geo-Fences concept.
There are plenty of applications that can use your mobile coordinates to interact and provide feedback. Notice that the accuracy of the mobile phone GPS is not THAT good, but people can play :-)
Take a look on this application -- https://www.onx.ms/#!landingPage
Official Android docs about geofencing here -- http://developer.android.com/intl/pt-br/training/location/geofencing.html

Related

How to retrieve required information from my playstore app in java android?

In my app I have seen that users don't really bother to update the app so I want to encourage them through a dialog requesting them to update the app. The best way possible was to tell them about all the benefits of updating the app but I don't know how to retrieve this information from the Google Playstore.
Any help would be deeply appreciated!
It is best to use the Firebase Notification Center.Please follow the following Official documentation to implement in your app..
Firebase Messaging
There isn't an API to do this in Play at the moment. The way most app developers do this is have their own server where they have information about versions which they require to upgrade, and also can put notifications.
If you haven't done much server side work, maybe check out Firebase from Google. It integrates with the Google Play console, and it should be very quick to get something like this running.

Java Eclipse Google App Engine Tutorial for Google Wallet

I preface this with the fact I am a Java newbie. If one has a working web app in Java using Google App Engine, and one is looking for a simple tutorial for how to add Google Wallet to accomplish a pay-per-use requirement of that web site, does anyone have a reference for a very easy to understand tutorial, book, sample, etc.? What Google provides seems to be a jumble.
If it matters, here is a basic outline of what my web app currently does: User enters a little bit of basic data, chooses from some options, hits "submit", and a whole bunch of calculations happen, with a printout of the result. I would like a tutorial or any direction on how to have Google Wallet popup at the point of "submit" and the calculations happen when that process is complete. Nothing fancy.
Thank you in advance. ANY direction is appreciated. I do not need my hand held (although I won't refuse that), just need a good place to visit to get those hands dirty without slamming my head on the desk in utter confusion.
You probably want the Google Wallet for digital goods API.
https://developers.google.com/commerce/wallet/digital/docs/tutorial
On submit you initiate the purchase flow. Then on the success callback you do whatever calculations you need.

Google Play API Allows Background Location Updates?

Someone told me it was a good idea to use the Google Play API to handle location updates. I am needing to receive very frequent location updates in order to return the users distance.
If this is a good idea, does anyone know if it allows updates in the background? Meaning, when a user leaves the app? Is it even a good idea to use this API?
I couldn't find anything about this in its docs.

Android Project - Required Tools

I'm in the process of starting a new Android project that will:
Display a Google map
Track and record users movements
Display the route on the map
Show local points on interest on the map
My question is what extra tools will I need to accomplish this? I can already get a basic Google Map working with zoom controls and place overlays etc. but my main concern is how I will track the users movements. I was thinking there maybe some sort of fleet management API but I really have no idea.
A link to some sort of tutorial would be great or even just to possible tools.
Use the class http://developer.android.com/reference/android/location/LocationManager.html to obtain the device geographical location
A Caltrans planning grant went towards creating an Android app called CycleTracks that does all of your bulleted items except the last one about points of interest.
You can download the source code here: http://www.sfcta.org/downloads/cycletracks/CycleTracks-android.zip
I haven't looked at the license to see how free you are to use it as a starting point, but I have to imagine it might be helpful just to be able to look at it even if the license is restrictive.
You can read more about it at http://www.sfcta.org/content/view/666/375.
You don't need any extra tools. Use the GPS or radio cells to get the location of the phone. This thread explains how you can get the location:
How do I get the current GPS location programmatically in Android?
If you want to Track the users movement you'll need to run a webservice on a server and have the app report the location of a user at regular intervals.
Be careful though, if you don't tell the user this is what you are doing, and provide an opt out, you could be pulled from the market pretty quickly.
Be sure you aren't recording any sensitive information as well. Usually position, phone type and OS type is allowed but much more could get you in trouble.

Location based applications for android

I would like to develop a location based application for android. I have been writing some code and succesfully retrieve my current location.
The thing is that i would like to be able to handle another people locations too (of course once registered in my service and accepted the terms of service).
I am not sure wether is legal or not, but, which would be the best way to develop location based applications?
Registering people in my service and handle latitude and longitud myself or maybe should i use the google latitude API? I would like to know the best approach in these cases.
I would build (and I did :)) own service for handling users' location. In case you will try to use google latitude you have to push your users register not only with you, but also with google application....

Categories