Getting biometric information from stylus for iPad - ipad

Using a stylus such as Jot Touch or Pogo Connect, how do I get biometric information such as coordinates (X,Y) pressure (T), stroke speed (S) when a user signs on the iPad (using Objective-C)?
Which method or libraries should I use?

The iOS SDK provides X/Y coordinates. It does not provide access to stroke speed or pressure.
UIPanGestureRecognizer computes a velocity, presumably simply by taking distance / time. Possibly it computes a moving average of distance/time. You can do that yourself.
The Jot Touch SDK provides access to pressure data if you are using a Jot Touch.
The Pogo Manager SDK provides access to pressure data if you are using a Pogo Connect.
If you want to support both styli, you will have to use both SDKs.
If you don't want to put your app in the App Store, you can use a private API to determine the touch size (which may be a good proxy for pressure).

Have you looked at the Jot Touch or Pogo API's? There are no Apple methods or libraries for this. Its 3rd party hardware. Apple does not have support for pressure. You can use the touchesBegan: and touchesMoved: functions to get x,y data on a touch and then calculate speed. You can also use gesture recognizers to detect movement and speed.

Related

Placing objects automatically when ground plane detected with vuforia

I'm working on an application where the concept is that you can 'select' objects before actually placing them. So what I wanted to do was have some low quality objects on a shelf or something like it. When the user selects the object he then can tap to place the high quality version of the object in his area for further viewing.
I was wondering if it's possible with vuforia. I wanted to use this platform since it works well from what I could tell and it's cross platform (The application needs to be for android and the HoloLens).
I have set up the basic application where you can place a capsule in the area. Now I wanted to automatically place the (in this case capsule) once vuforia has detected a ground plane. From what I could see the plane finder has events that go off when an input is detected, but I couldn't find an event that goes off when the ground plane is detected. Is it still possible with vuforia? I know it's doable with the HoloLens, but I would like to know if it's possible for android or other mobile devices. I really don't know where to start/look for so I hope someone can point me in the right direction.
Let me know if I need to include more information!
The Vuforia PlaneFinderBehaviour (see doc here) has the event OnAutomaticHitTest which fires every frame a ground plane is detected.
So you can use it to automatically spawn an object.
You have to add your method in the On Automatic Hit Test instead of the On Interactive Hit Test list of the "Plane Finder":
I've heard that vuforia fusion, does not yet support ARCore (it supports ARKit) so it uses an internal implementation to simulate ARCore functionality, and they are waiting for a final release of ARCore to support it. Many users reported that their objects move even when they use an ARCore supported device.

Create track motion app in iOS

I just want some hint of how can I create an app in iOS which can do following.
When a user is at point X, user will click on start button so app will start a timer and track the movement. User will be on a horse and user needs to ride in a full circle. When user comes back to point X the app should draw the route taken by the user on the horse.
Aim is to ride completely in a circle. I want to make this app to
practice and see how close to a circle I ride.
I tried to look at GPS locator but I am not sure whether it will give me efficient results because the circle I ride can be as small as 60m or less in radius.
I don't know if iOS GPS can be this accurate. I read article on motion sensor and how to track rotation and acceleration.
But I am not quite sure how to use that to my advantage.
I just need some tips like which API to use etc.
Using the Standard Positioning Service one can achieve 15 meter
horizontal accuracy 95% of the time. This means that 95% of the time,
the coordinates you read from your GPS receiver display will be within
15 meters of your true position on the earth.
More Information click here
For integrate Map and draw path using current position google map is good option for integrate in iOS mobile .
small and range and get accurate result use indoor position system.
For more information about Indoor positioning system (IPS) click here
http://developer.estimote.com/
and Github iOS demo : get code

Does Cordova support iPod Touch and Indoor Positioning System

I have requirement to support iPod Touch as a part of cross platform cordova application. Application should use Indoor Positioning System using wifi triangulation or any other approach to locate and map objects.
Does cordova support iPod Touch, if So what are the Pros and Cons, Challenges while implementing solution?
Does iPod touch can be used for Indoor Positioning System and How to achieve it using cordova like using wifi triangulation or any other third party sdks(please suggest)?
Can ipod Touch camera can be used to capture and process images like to read QR code etc. Please suggest any third party api's
Thanks,
Phani
I'm not an expert with iPod touches, but in theory there should be no problem with using them for indoor positioning.
Wifi triangulation is not possible to do with iOS devices (you are only able to obtain the info about the Wifi base station you are attached to), and thus not the optimal solution. I would do this with Bluetooth beacons, which the iPod touch should be able to support well. With beacons you can do triangulation and get to approximately 2m accuracy. The easiest way to get that functioning is through a Cordova plugin. I work for a company called Proximi.io that is a unified positioning platform. All you have to do is place your beacons in their correct positions on our portal, and our libraries will handle the rest. We also have a Cordova plugin.
That being said, we haven't tested our SDKs with iPod touches, so I would recommend testing it first. I also think that the camera usage should be possible, but unfortunately cannot help you more with that.

Polygon geofencing with iOS

I am trying to find a way to create several polygon geofences with iOS. I need to draw multiple zones in a city to represent areas, streets, etc. From what I've read so far, iOS only allows circular zone from a geolocated device.
Is it feasible with iOS?
Is there a web app somewhere to draw polygons on a map and generate the coordinates in an array?
1) iOS only allows to create circular geofences indeed however what you are trying to achieve is possible with some extra logic.
I have developed similar features so I suggest you to do the following:
create a circular geofence that embeds your polygon
when the device gets notified as being within the circular geofence,
start the GPS
every time you get a location update, check if its coordinates are
within the polygon
turn off the GPS as soon as the device's location is found within the
polygon, unless you need to be notified when exiting the polygon as
well
turn off the GPS when the device gets notified as outside the
circular geofence
As you need polygon geofences I guess you expect a good level of accuracy, so you would need to use an extra layer of GPS on top of the geofencing anyways, as geofencing is not accurate at all.
2) Have a look at those links:
https://github.com/thedilab/v3-polygon-shape-creator
https://github.com/tparkin/Google-Maps-Point-in-Polygon

iPad - biometric signature - getPressure touch

I need to create an app for iPad, where the client can make a signature and i can get coordinates, acceleration and pressure of touch. For draw, coordinates and acceleration no problem. but i can't get pressure. I tried with CPBPressureTouchGestureRecognizer but I didn't solve. I could also use a pen and a sdk.
Someone can suggest something to me? Can i do all with finger or it's necessary a pen? What is cheaper pen and easier sdk to use?
iPad has no hardware capability of sensing the pressure. Unless it'd be some special stylus that sends the pressure info via BT to the iPad app - you're out of luck.
Also - you'd have to calculate acceleration yourself.

Resources