Custom magnometer plugin for Construct2 [Paid]

Looking to build a team or have a job to offer?

Post » Fri Dec 05, 2014 1:44 am

Hello Construct plugin developers.

We are interested in paying for the development of a custom plugin that can use the mobiles compass as a magnetic field sensor.
Also known as Magnometer. (EMF detector in the paranormal world)
The plugin should work on both Android and iOS (our apps are compiled with CocoonJS)

Please send me a private message, if you are interested.
- and to hear more about the payment and requirements.
B
38
S
10
G
9
Posts: 542
Reputation: 9,181

Post » Fri Dec 05, 2014 2:14 am

Isn't it kind of risky exposing a phone to magnetic fields?
I think ideally you would use something like an Arduino shield with bluetooth.
Image ImageImage
B
179
S
50
G
207
Posts: 8,719
Reputation: 128,306

Post » Fri Dec 05, 2014 9:16 am

There should be magnetic fields all around us, or electromagnetic fields i mean.
We just need a way to measure them via the mobiles sensors. A lot of apps can already do that, but i havent found out how to do it in Construct 2.
B
38
S
10
G
9
Posts: 542
Reputation: 9,181

Post » Fri Dec 05, 2014 1:12 pm

You should find PhoneGap plugin that can access sensor api such as geomagnetic field
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,426

Post » Fri Dec 05, 2014 1:14 pm

Unfurtunatly, we only use CocoonJS to compile our apps with, we have some really weird problems with phonegap. But im not sure if its even possible to create a plugin that works with CocoonJS?
B
38
S
10
G
9
Posts: 542
Reputation: 9,181

Post » Sat Dec 06, 2014 1:11 am

Looked into this a little, sounds like an interesting project. Unfortunately, it looks like this would be difficult data to get at from a javascript framework.

There was a W3C recommendation back in 2009 for the Compass API, which included the fieldStrength attribute, a perfect fit for what you are doing.

http://dev.w3.org/2009/dap/system-info/compass.html

Unfortunately, it doesn't look like fieldStrength was exposed in any version of phonegap I can find. It doesn't look like CocoonJS implemented any compass features at all.

Apparently, not all devices that offer compass data use a magnetometer either. However, all iPads, and all iPhones since the 3GS, do have true magnetometers. Many android devices have them, but some don't.

Here are links to the low-level API documentation for magnetometer data on android and iOS:

Android:
http://developer.android.com/guide/topi ... rs-pos-mag

iOS:
https://developer.apple.com/library/ios ... index.html
Don't lose your work. Backup your game with Dropbox.
B
45
S
10
G
11
Posts: 1,106
Reputation: 9,732

Post » Wed Apr 08, 2015 11:22 am

@TiAm - Thanks for the information! And sorry for the late reply. A Magnometer is exacly what i ws looking for.
I'll try to dig some more info up, and i will share it here, if i find anything good!


Thanks again!
B
38
S
10
G
9
Posts: 542
Reputation: 9,181


Return to Job Offers and Team Requests

Who is online

Users browsing this forum: Small Ink and 0 guests