how application knows that camera is pointed on area - android

I'm wondering on one thing. There is a lot of apps for android that allow you to look on the stars and see labels near them or see airplanes with labels and data from public databases. The thing that I want to know is:
How application knows that it is looking on the specific part of the sky or area. Cause I also saw application that can point a building. I understand that there is a database with lat and lng (geo data) but I have no idea how to check from code that I'm looking on the specific part.
I don't want the code, I just need a clue to figure it out
Thanks in advance

Not exactly sure but i could give you a pointer . This subject comes under augmented reality . Google Goggles for example is one kind of app you are talking about , this application can tell you all about whats in a picture by using some special algorithms . But , you say you want to know of camera positioning etc.
I've done some research and arrived at a few other stack results:
How to begin with augmented reality?
augmented reality framework
https://stackoverflow.com/a/4797000/3436603
and one non-stack helper website for desert.
http://www.cwjobs.co.uk/careers-advice/it-glossary/the-10-things-you-need-to-know-about-augmented-reality
Happy to help !
EDIT:
here's one more extremely helpful link (library):
https://code.google.com/p/andar/

Related

How to implement Location Sensor?

I am working with android studio for last few days, and I am pretty new here with this work. I am trying to implement a location sensor app. The basic idea is if my phone enters into some restricted area (would be predefined in app), some voice message will be popped up, Surely I have to keep the app running on background to test this. I headed with FusedLocationProviderClient and implemented a very basic getmylocation app for now, where my actual obstacle I found. The co-ordinates keep fluctuating all the time for a same place after the decimal points by some values[(xx.xfffff,yy.yfffff) where f are the fluctuating figures,and the app is supposed to work on the truth of that figures], so the sensor can never implemented if the measurement is wrong.
Anyone having idea, how to fix this or may be there are better alternatives to implement this thing? I am pretty new to this work, so I would request you to give explanation or some attachment/article links in support of your answer so that I can get things clear and straight forward.
If any details is required from my work, Please mention , so that I can update this question on next round edit.
Thanks in advance.

Android camera feature: Augmented reality

Hi I want to develop an Android application that must have a feature that I don't even know what is his name but I want to know and know if there is an Android API that do that or I have to develop it by myself.
The feature
I know the geolocalization of an object and I want the users can turn on his camera and point to certain points and show the location of that object in a previous determinate meters. An application that do something similar is this:
https://play.google.com/store/apps/details?id=com.flightradar24pro
And as a picture is worth a thousand words (Image by Flightradar24):
PostData: I don't know if this is the place to ask this question if not please let me know in a comment and I will delete it. Thank you.
You are welcome to check if Urbo SDK can get the things done for you.

Android: Making a complex interface

I am a beginner at android app development. I have an idea of an app, but I first need to set my bearings straight. So instead of confusing you with the complexities of the app, I just want to ask a question. Obviously, I do not expect anyone to write me the entire code, instead just to guide me to the right path by indicating which methods, classes or keywords to look for.
I want to know how to create several instances of the same image. I am planning on having a toolbar with all the tools that you can select and then a workspace where you will be putting those tools. Ever played a tower defense games, you know how you have a toolbar with selection of towers to choose from and then you simply drag and drop them on the map? something like that. Please also guide me on which layout would best suit this type of application.
I understand the question is too broad, but any kind of help to get me started would immensely help.
For a game, you don't want to use native View objects. Here's a guide on Android game development.
Here is a simple example of a Sprite based game for Android.
I personally think that you are going the wrong way here. Just like if you wanted to build a house you wouldn't start from building the roof, first you need to get a book (I would recommend the Busy coders guide to android development) or start reading (or watching on youtube) a tutorial and just start learning to code in android. Get better at it and in some time you will understand better on what and how you can do with the platform. There are tons of stuff for you to learn before you will be able to do even simple stuff, but believe me learning android is very exciting and the feeling you get when developing an app should be what drives you forward. Hope this helps.

Creating my maps in android application

Hey guys i am looking for an application that can navigate inside a mall.We can adopt the idea of inputting our current location through a QR code or by taking a snap of any near landmark(like shop,name boards..),Then we can input where we want go?But the actual problem is How to build a map of the indoor?Can u suggest any such tool to create a map for android phones.Because after creating the map by programming the gyroscope sensor in android for proper routing,because application now knows the source and destination,so i think it can display the shortest route(like GPS),then we can start walking through that path with our phone.Whenever we violates route using gyroscope we can track it.I think it is possible,if we turn left instead of taking right then app will direct us it is a wrong way.But i need help to create the map.Can anyone please suggest any idea?
my email:anishubais#gmail.com
please----
I might be wrong, but I think that going off of GPS would be inaccurate. If I remember right, GPS is only accurate up to 10 meters or something like that.
Like I said, I might be horribly wrong, I'm just going off of what I remember

Camera/Compass/GPS

I was wondering if anyone could explain or clear me out -- I am currently doing some project to identify trees using android. I suppose the main components I must use at this project is GPS, Camera API and Compass (Please let me know if anyone can think anything) -- I am still in a middle of researching about the project and the possible problems that might arise during implement the project for example if there are two trees are in the same line of sight or same line (overlapping), what information is going to be displayed? How I can tell my software that I am actually want to display the front tree not the back of the tree? What sort of information or API will determine this? I mean does the camera or compass or GPS or even the database of the location of tree will determine it?
Can anyone please give me some idea, how I can tackle this kind of problem? Or perhaps if anyone know any tutorials that I can learn etc?
Much appreciated.
theBorneo
There is no existing api that would let you determine this specifically. I can image that you could estimate object identifications based on gps location. If you had waypoints in front, you could use the compass to get a direction and then approximate the gps region in front of you. Then try to see if you know of any prior waypoints that are in that area. Obviously, the one you see in direct line sight is the closest, and this would probably be the heuristic.
The camera will have almost no use in this case other than a view finder. If you are looking to segment images in order to differentiate between different objects, consider this impossible with google api, or any mobile application. This is difficult enough to do for professional researchers who can isolate variables..
The gps approximations are pretty trivial, however I am not confident as to how accurate or often a compass returns direction.

Categories

Resources