in an app we are developing we are using GPS in the iPhone to monitor location changes of the user (when driving) and using them to calculate used energy, power, etc.
This has been working fairly exact up to iOS 7 but ever since these values are quite off and we are struggling to find the issue.
Has there been any changes to the way the CLLocationManager presents it's data (speed, location, etc) or something else that might cause this?
Thanks a lot!
You can find the list of deprecated methods here:
Deprecated CLLocationManager Methods
It doesn't seem to be many changes apart from the deprecation of regionMonitoringAvailable
iOS 7 allows application to fetch location only when application is in foreground.
See if the api allowDeferredLocationUpdatesUntilTraveled:timeout: can be of any help to you.
Related
I want to capture all the touch events at the system level, I do not mean capturing at one specified app, but all the apps even the SpringBoard.I tried IOHIDEvent(https://github.com/kennytm/iphone-private-frameworks/tree/master/IOKit/hid), but the runtime headers was changed after iOS4, and now I can not get them of iOS6.
May be GSEvent is also a good way, but does anyone known how to do this by GSEvent?
Thank you!
Take a look at EntryDevLevel excellent answer here on how to capture and record clicks on iOS using iOHID:
iOS touch event notifications (private API)
BTW. His solution works on non jailbroken iOS either.
I know there is the core location sim project, however that requires new headers and your app to use them to override the builtin Core Location classes, but is there a way for an app to supply location information to the iDevice (iPhone, iPod, iPad etc) so that apps you installed may get the location information from them?
ie I have written an app to listen to another GPS device, get location information and I wish to supply that data to other apps on my iPad that rely on the standard CoreLocation interface.... Can anyone point to any docs available? (I don't want to use anything that Apple will block because it's based on hidden/undocumented APIs, nor do I want to rely on something that will require jailbreaking the phone/pad/pod etc.)
Working with iOS 5.1 and above...
Thanks in advance,
Michelle
It is not possible to override the installed Core Location hardware/software stack and supply your own values to all other apps' CLLocation calls.
Is there any api for call recording in iOS while the conversation is going on?
The requirement is that i want to record the desired part of the call and store locally in the device such that i an move it to my storage disks later.
Does there any apps exist with this capability...such that we can record during the call is going on??
Know about the legal issues and gone through other questions in stack.Want to know any further improvements by iOS5
No, there is no such API in iOS.
No sir.. there is no such thing.(IMHO)
One word answer. "No"...!! Not in the current SDK.
My question is simple but I haven't found a good answer anywhere. My question is this: Is there a way through either the iOS SDK or third-party frameworks to get cell tower location data? Meaning cell tower location, distance from you, etc.
The signal application for iOS does this, so I know it's possible, but I can't seem to find any documentation or resources on the matter.
Thanks!
There is no official way to do this as far as I know.
iOS SDKs abstract that info to a single and easy to use location API.
The application you link is probably using private APIs from iOS.
That means that developer is using undocumented functions from iOS.
If you really want to find more about it, you can try contacting him.
Also check this:
iOS Private API Documentation
The signal app used some private API which will lead to immediate rejection by Apple, which is why it says jailbreak device only.
Plus, you may find this post helpful: iPhone signal strength
The CellStumbler application (CellStumbler at code.google.com) uses undocumented methods in the CoreTelephony framework. There is a CellInfo struct defined which can be queried via the _CTServerConnectionCellMonitorGetCellInfo method.
However, on iPhone-4S - iOS5 the CTServerConnectionCellMonitorGetCellCount always return zero - so no cell info can be queried. Things may look different on a iPhone4/3S since Apple changed the baseband modem from Infineon Gold to Qualcomm mdm6610.
You mal also try to evaluate the built-in FieldTest app (just dial *3001#12345#* to start) which gives you a couple of info related to your cellular network status.
Is there any way that I can develop an application that is running in the background that will detect when a call is being made, start a timer and then alert me at any set time, say before 5 minutes?.
I used to do a lot of iPhone programming but I haven't done any in 6 months. Is there any way to do this now?. Can anyone point me in the right direction?. Thank you.
Look at the documentation for callEventHandler in CoreTelephony. It's not exactly what you want, but read the discussion carefully. You'll be able to use this to do what you want in some cases. If your app is available for full blown background multitasking, then using it might even be reliable.