[Q] find current locations continuously and automatically and match with locations - Android Q&A, Help & Troubleshooting

Hi i am developing an android based application "Route Tracker For Special Person".
well i am working with Google map api v2 and till now i have include map in my app and mark some places and further work i need to know this... During traveling When user reach at specific location let say user reach at location A, i have to call an event. e.g My app should find current locations continuously and automatically and match with locations that i marked ( how can it be done) and when it matched, event should be called.
Thanks And Regards

hmkn001 said:
Hi i am developing an android based application "Route Tracker For Special Person".
well i am working with Google map api v2 and till now i have include map in my app and mark some places and further work i need to know this... During traveling When user reach at specific location let say user reach at location A, i have to call an event. e.g My app should find current locations continuously and automatically and match with locations that i marked ( how can it be done) and when it matched, event should be called.
Thanks And Regards
Click to expand...
Click to collapse
maybe this will help you !
the idea is to set a radius for your markers.
Remember you can easily get your location every ( n Secondes ) [ just for testing ]
now !
- find the closest marker ( this will help you Click Here and just test if the user location is inside the Marker Radius .

Related

All Rights !

Hi there !
I think you may have to specify in the app description why you need all this right access : gps location, read/send/receive sms etc.
Or explain this in your blog and add a link in play store.
Thanks
Wendigogo said:
Hi there !
I think you may have to specify in the app description why you need all this right access : gps location, read/send/receive sms etc.
Or explain this in your blog and add a link in play store.
Thanks
Click to expand...
Click to collapse
Maybe :
1. This is one click apps.
2. Most of the theme have weather widget ( to locate your current location).
3. Counting unread sms/calls etc.
4. Extra feature in the future.
penreturns said:
Maybe :
1. This is one click apps.
2. Most of the theme have weather widget ( to locate your current location).
3. Counting unread sms/calls etc.
4. Extra feature in the future.
Click to expand...
Click to collapse
1. there's a lot of one click app that don't need all this rights
2. approximative location is enough for weather widget
3. *sending* sms to have unread count ???
4. More rigths access could be asked in the future
I know that a lot of rights are needed (launchers/widgets required some of these) but this needs to be explained somewhere imho !
This one click apps is include weather - yes its state that approximate location on (network base) and precise location on (gps). Unlike other launcher like Buzz, you still need to install third party apps that also need same permission. For sms and calls, i think in the future the will be other option like sms verification because we use google acc for this apps.
I too wonder why this app needs so many permissions. I guess it needs to view many details for functionality, but it is always a risk when an app needs so many permissions along with reading and writing on the storage and connecting to the interwebz.............. I'll wait before installing to see what reviews these developers and the app get.

[Q] Context Simulation: Decision Help

Hello together,
I`m writing currently my master thesis with the topic "Context Simulator For Mobile Business Application". The goal is, to test how an Android application reacts during changing context conditions: How reacts an application, if the battery is almost empty? How reacts an application, if internet connection breaks down during data transmission? How reacts an application, if a SD-Card is available/not available? ...
I want to simulate all of these factors on the PC and send the data to my android device. Some more examples:
- Simulating sensor data for accelerometer, gyroscope, ...
- GPS
- Camera and microphone (if an application requests a camera image, it should receive a image from my simulator)
- Fake connection for Wi-Fi, HDSPA, EDGE
- Fake time, time zone and date
- Simulate a specific battery level
- Fake calendar entries
------------------ My approaches ------------------
No 1:
Extend an existing custom rom with my features => Some calls should not transfer to OS (example: GPS) but to my simulator on PC. Also send data (example: battery level) to android OS. For example to pretend a low battery level.
No 2:
Write my own sandbox application (I haven`t found information to this topic so far). In this sandbox application, I`m going to start my application to test. So it is possible, to fetch all request from this System under test and I can decide if I want to transfer them to Android OS or to my simulator.
No 3:
Develop my own library, which will be included from my system under test. This library extends some android classes (e.g. Activity, Location Manager, Sensor Manager). My extensions classes will transmit the request to my simulator instead to the OS.
I`m afraid, I only have limited functionalities when I`m using this approach.
No 4:
Take sensor simulator from open intents as basic and extend it as good as possible.
-------- About Me --------
I only have few experience in Android development, but a lot experience in Java development. I know, I should read now a lot about custom roms, ... Unfortunately this thesis should be finish at the end of march.
------- What I want from you -------
Advice. I hope you understand my problem. Which is the best way to realize this project? I would like to have as much functionalities as possible. My prototype doesn`t need to support all context factors, but I should consider all factors in my system design.
I wanted to attached two graphics, but unfortunately I`m not allowed to. These are two possibilities and I`m not sure, which one is better (and also, if they are possible):
http ://s7.directupload.net/images/131212/bnpuo8gh.png
http ://s7.directupload.net/images/131212/e7u8dv4r.png
Thanks a lot,
Michael

[Q] feasability / Idea for an app

I work at a branch of BASF (chemical plant) and we have these lists of things that need to be checked regularly .. (valves and their state (open or closed), values for temperature, pressure, ...)
I was wondering if it would be possible to tag each valve/measurement with a QR code and have a device (tablet, or whatever..) that has a library of these valves/measurements and when a valve's/measurement's QR code gets scanned you could assign an open or closed attribute or a value.
This would make it much easier to get an overview of the entire situation, and would create a standard for the registration (one person does this differently then the next which sometimes leads to miscommunication)
Does anyone have an idea if this would be possible ?
I myself do not have the knowledge to create such an app, but I feel it should be fairly simple for someone who does.
If you can offer me any information on this matter It would mean a lot to me ! thanks in advance !

Real-time HR sharing (Notify & Fitness)

If anyone wants to have direct and easy access to real time HR data of Mi Band, for example to create a custom notification, exporting it to a PC or any other reason, here's an easy way.
- install Notify & Fitness app
- in Tasker, create new profile, event, system, intent received, action "com.mc.miband.heartRateGot"
- add a task with whatever action you want. The last measured HR is stored in variable "%value"
Whenever band measures a HR, this intent gets activated and %value is updated. For real-time measurements start a workout.
There are more intents available, the full list can be found here http://www.mibandnotify.com/help/tasker_send_intent.php
do all the results of those intents stored in "%value" variable ? or it changes with the action ? If it changes, how can I know all the other variables ?
please help I am trying to find those variables...
madkiran said:
do all the results of those intents stored in "%value" variable ? or it changes with the action ? If it changes, how can I know all the other variables ?
please help I am trying to find those variables...
Click to expand...
Click to collapse
Per the documentation (link in the first post), the result of intent is always stored in "%value" variable.
_mysiak_ said:
Per the documentation (link in the first post), the result of intent is always stored in "%value" variable.
Click to expand...
Click to collapse
yeah. value is working for all intents.. but I couldn't find that in the documentation'

guidance / suggesstions needed : android location of multiple users on map

my app will be used by multiple users, where app will track users location in real time.
I want to map everyone's location on single map to show who else is nearby. Currently i'm thinking of getting users location and saving in DB and updating every minute or so
If there are any other ideas or if there are any readymade libraries available to achieve this would be great. thanks in advance.

Categories

Resources