[Q] How to use GPS in an APK - Android Q&A, Help & Troubleshooting

Hello, I'm sorry for the strange tittle. Well, in my job my boss (an devoloper) ask me one think: Create an simple app that uses GPS to show near places.
I know that already have an App for this, but he asks me to create an from sources.
What I need is, how to toggle GPS in the app, or I mean: How do I make my app "call" GPS Positioner and looks for near places that was setuped before.
Like:
I open the app go to "My places" and set a place like: "Italian Restaurant 1" and "Italian Restaurant 2" and when I go to the mapped gps, I write "italian restaurant near" or, something that doesn't metter. And it shows the nearest Restaurant.
So guys, how to do this?
It's a development question: So doestn't show me any apks that does the same thing! I already developed others apps, so be easy and answer the question, mentioning HOW DO I DO THIS.
Thanks for everyone who wants to help me.

Related

[Q] Google NAV Feature questions

So i take it based on whats out, google NAV is the best GPS NAV app out there on this phone. Of course being free has alot to do with it, but I find a few features that it is lacking. Does Google nav have a way to search for waypoints,POI, save custom address, change alternate routes (fastest-shortest), day/night switching, map updates or any other hidden feature that i may have missed.
I know i'm asking too much for a free app, but its google..seems like they give away apps all the time.
If there is an app better, please also recommend
Day/night switching happens automatically.. Don't know what the threshold is, but I'd imagine it's based around sunrise/sunset times for your location. Other items on your list.. Not sure about.
I have to say Google Maps has done me a multitude of good since my first Android. I have watched the app develop as I used it and heres what I think...
Recently GM added multiple subapps to GM: Latitude, Maps, Navigation, and Places. Latitude allows you to share and view you and your friends locations. Can be really handy for some.
Maps is what it is....a mapping programs.
Navigate is my favorite. Clicl this and you can speak or type or choose from a saved address. Pretty nice too and you CAN choose route information and rerouting its pretty nice. Set your gps start and end....go drive and play with you phone on the Nav portion and youll find all the options. Plus multiple methods of getting to and from as well.
Places is basically POI layed out nicely anyone can quickly find whatever they need.
I swear by gmaps and wont do anything elzeq
On the first screen of Navigation, click on the "gear" icon at the top and you can choose "Avoid highways" and/or "Avoid tolls". Not earth shattering settings, but certainly a step in the right direction. I think this was around a couple of updates ago. I have CoPilot Live installed on my phone and I always go to Google Navigation when I need directions, especially where it's integrated into the system much better (navigating to contacts, address links, etc).
Thanks guys, this makes me like the google map even more..However I don't see why google made sub applications to work with G. maps...maybe they shoulda just made 1 application to do all the functionality instead of running map, nav, location, places, and whatever else they come up with..too many apps to run instead of being a feature that should be built as one..in my opinion
Not complaining just sharing my thoughts.
Just a guess, but I'd imagine separating is so the carriers can customize the basic Maps app, without having to worry about messing with the other advanced features.

NFC Task Launcher Question

Well, I emailed the developer about this question a couple days ago...still waiting...but just in case some of you high IQ guys know how to do this...
I have a tag that I set up to open up the Navigation app. In Task Launcher, when I select the Navigation app...there is a command below it: CUSTOM...open a specific activity within an app. There are no option in the app itself to change it...but it looks like I need to type what I want launched once the Navigation app is opened.
I want the Map activity to launch...what code do I need to put in there? Looks like there already is a code there...and it looked like it was going to do what I wanted...but it doesn't do anything. (com.google.android.maps.driveabout.app.DestinationActivity)
SiNJiN76 said:
Well, I emailed the developer about this question a couple days ago...still waiting...but just in case some of you high IQ guys know how to do this...
I have a tag that I set up to open up the Navigation app. In Task Launcher, when I select the Navigation app...there is a command below it: CUSTOM...open a specific activity within an app. There are no option in the app itself to change it...but it looks like I need to type what I want launched once the Navigation app is opened.
I want the Map activity to launch...what code do I need to put in there? Looks like there already is a code there...and it looked like it was going to do what I wanted...but it doesn't do anything. (com.google.android.maps.driveabout.app.DestinationActivity)
Click to expand...
Click to collapse
Hey, I'm on vacation but have been answering emails - mostly from my phone. I don't see any that didn't get responses, when did you email?
That custom activity field is for specifying a full package and activity within that package, like you cite at the end of your post. Right now you have to type it out (mainly because this was never intended to be widely used) going forward there are plans to make this more user friendly.
Can you grab the logcat output when you try to launch that activity (enable debugging in the app) and send that? I should be back tomorrow or Wednesday and can get back to proper work.

[Q] [HELP] Google Now Not Taking Commands, Just Search Everything

Hi,
I have updated my SIII with the Poland release of JB. Everything works perfect, but Google Now does not.
When I open it and ask to show me my next meeting, which is the weather, or whatever I want, it completes the search field and search for it on internet. Always throwing web results instead of cards or answering me with Voice.
Anyone knows why is not accepting any command? I checked all the settings of it and don't know what else could be missing (or in the worst case if it depends on where you are located in the world).
Thanks,

[Q] Offline pending for share

Hello everyone,
someone knows an app that let me "post" offline facebook status, or some kind of "bank of pending for sharing"???
sounds weird, but what i am actually asking is, something i need:
This is my problem, i use JustReader as my feed reader, i use the offline feature, so when I travel or for any other reason I dont have a internet connection and find lots of stuff in my feeds that i want to share, but of course, i am offline, then I just mark as "favorite" and I say "when I get a internet connection i will share" but then, i have lots of another stuff I mark as favorite and I don't want to share, so i dont do anything...
There is some kind of app than let me store "my sharing stuffs", to post in another time???
Thanks!!!

[Q] Reverse Image Search on Android/ Google Now Support (Question)

Title basically says it. This is a super small deal and I can't see it happening. In fact the only example I can think of right now for this is say, you don't know the name of a car. So you take a picture with your smart phone. Go into your picture display app and long press the picture. Little Google Now interface pops up. "What car is this?" And then....it simply tells you.
Does anybody else ever find that the only way they can describe something is visually but they would like to know what it is? It's great to be able to do this on Google normally (which I love for finding better resolution images of something), but i only do that for pictures found on the web and sometimes, would like to know what the hell I'm looking at.
I'm pretty new to the development side of Android but I've been hovering around this forums for a little while and knew this would be the best place to ask. Is this a reasonable feature to look into?
KSulli said:
Title basically says it. This is a super small deal and I can't see it happening. In fact the only example I can think of right now for this is say, you don't know the name of a car. So you take a picture with your smart phone. Go into your picture display app and long press the picture. Little Google Now interface pops up. "What car is this?" And then....it simply tells you.
Does anybody else ever find that the only way they can describe something is visually but they would like to know what it is? It's great to be able to do this on Google normally (which I love for finding better resolution images of something), but i only do that for pictures found on the web and sometimes, would like to know what the hell I'm looking at.
I'm pretty new to the development side of Android but I've been hovering around this forums for a little while and knew this would be the best place to ask. Is this a reasonable feature to look into?
Click to expand...
Click to collapse
have you tried out google goggles?
already exists. Google Goggles will scan any picture and give you back google image search results that are similar.
Search by image on android phone
I just found alternative solution using the Search by image app (free). This app let me can search by image on smartphone via google easily. You can also share images from any website to social media in one click. This app is available on Play Store you can download here : play.google.com/store/apps/details?id=com.searchbyimage.app

Categories

Resources