We are working on one health based application in iPhone in which we need to find the Pull-ups count for the user. We need to do same as it is working in the “Runtastic Pull Ups - Workout, Trainer & Rep Counter” app available on AppStore.
App URL:
https://itunes.apple.com/in/app/runtastic-pull-ups-workout/id570182252?mt=8
We are trying to calculate the Pull-Ups count using accelerometer in iPhone device. But not getting proper solution to count the pull-ups data correctly. Can anyone tell where we are wrong and how to count the correct data like Runtastic Pull Ups app?
Related
I want to find iPhone devices/device tokens within a specific radius from particular location.
For example : Within a 25 K.M. of radius from Sydney,i want to get iPhone devices tokens.
I am working on ASP.NET MVC2 for this.
Let me know,if is there any API for that?
Thanks,
You are only able to get details for devices that you 'know' about. Your app will need to log unique IDs for each device, and your app will need to log known locations for devices. It's then up to you to look up, from your central database, the details of the devices within a certain distance. iPhones can update significant location changes when running in the background but it's up to you to track devices and accept the limitations that that data may not always be correct. eg. If a user falls outside connectivity then you will still have an old location logged for that user.
I'm not aware of a single API that offers this services, if you're coding it then in your app you will need to register devices identifiers and location information to a central server. You will also need to create the lookup to query your data to find devices within a location. I am guessing that you might want to send push notifications, in which case your app will also need to register for notification services too.
There is no way for you to discover devices that don't have your app running and you also do not know who the owner is.
My current application is using internet in order to download Google Maps (running iOS6). In addition, is connected to a server in order to retrieve info from a database, for user's details etc. My problem is that when iPhone is using mobile internet and the signal is too weak (no 3G) the map view is loaded having Apple maps on it. Need to wait 5-6 minutes in order to download Google maps and put them on the top of that as an overlay. There is any efficient way or trick in order to fix this situation. Does not looks good to the user to wait so much in order to display the maps(Google).
Thanks in advance.
I was wondering if it possible to create an application that will send my 9 year old's iPhone location let's say each 30 minutes, even when the iPhone is not active.
If not, then is it possible to send it each time he uses his phone?
Why not using an existing solution?
http://www.apple.com/icloud/features/find-my.html
See find my friends - it has also parental restrictions. This is excatly what you want.
You're probably looking for startMonitoringForReigion:desiredAccuracy:. This function will allow you to set the iPhone to notify your app anytime a defined boundary is crossed. When you receive this notification, I believe you can send that info to a server or wherever.
That said, if monitoring your child's location is what you want, you'll have great luck with the Find My Friends app from Apple.
I want to create an app that allows a user to find the nearby other users location using GPS coordinates who are Logged in to the same app .Also it can be track the location of the devices(Logged in to the same app) which are moving in a car .
Can someone give me an overview of how I can accomplish this. is there any free API available to accomplish this task.
Danielbeard is correct - you would need to be continually storing/updating locations on a server somewhere. Your app does get some running time when it is in the background, but I'm not sure it would be enough to run the web traffic that you'd need.
Check out this post: Running app in background and send frequent http request
And check out the multitasking guide here: Multitasking Guidelines
You can also look at Push Notifications. Hopefully this helps.
In iOS7 MultiPeerConnectivity was introduced to find near by applications, so if you have a coffee shop and someone walks by or in they could get the latest deals, or, you walk into a room and the music changes to what you like as your device exchanges information with another.
http://nshipster.com/multipeer-connectivity/
Can you send your currently location through the iPhone SDK to another iPhone and have them open up your location in Google Maps?
The only way I can think of is through text message, but I'm not even sure that would work.
Any ideas?
It'd be easy to set up a webserver to relay the message.
User 1's iPhone sends the phone's location to the server, which stores it in a database. User 2's iPhone periodically polls the server for the latest location of User 1 and displays it on screen.
You'd have to work out a good system of limiting which users can access whose data and so on, but otherwise it's a pretty straightforward project.