Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can access the telephone sensors?

New Here ,
Sep 09, 2013 Sep 09, 2013

How can access the telephone sensors?

The acelerometer?

The proximity sensor?

TOPICS
ActionScript
701
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 09, 2013 Sep 09, 2013

How can access the telephone sensors?

what's a telephone sensor?

The acelerometer?

use the accelerometer class

The proximity sensor?

you can use the geolocation class

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 09, 2013 Sep 09, 2013
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 09, 2013 Sep 09, 2013

Thanks.

Accelerometer OK, work fine.

When I write about "proximity sensor" is for detect "my hand is over the screen".

The geolocation class is not the solution for that.

¿Any other ideas?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 09, 2013 Sep 09, 2013
LATEST

proximity sensor is not natively supported.  you can use an ane, though:  https://github.com/richardolsson/proximity-sensor-ane

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines