Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8857903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:42:07+00:00 2026-06-14T14:42:07+00:00

While porting my Android app to iOS I was confused with one thing, so

  • 0

While porting my Android app to iOS I was confused with one thing, so I want to find out: am I right or mo code works wrong. At Android device accelerometer returns values in physical measure units: m/s2. On ipad i get summary force approximately = 1.0 for still device(and i expect 9.8). My first explanation is that returning value is normalized to 9.8, so I must multiply it with 9.8 to get real force. My second idea – my code is totally wrong, but it’s hard to believe.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:42:08+00:00Added an answer on June 14, 2026 at 2:42 pm

    From the Docs on CMAcceleration:

    CMAcceleration
    The type of a structure containing 3-axis acceleration values.
    
    typedef struct {
          double x;
          double y;
          double z;
    } CMAcceleration;
    

    X-axis acceleration in G’s (gravitational force).
    Y-axis acceleration in G’s (gravitational force).
    Z-axis acceleration in G’s (gravitational force).

    A G is a unit of gravitation force equal to that exerted by the earth’s gravitational field (9.81 m s−2).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am porting iOS code that works perfectly to the Android OS. I perform
I'm porting an app from iOS to Android. In the iOS app, there is
I'm in the process of porting an app originally developed on iOS to Android.
I'm porting an Android app to Windows Phone 7, and while perusing through the
While porting some Windows C++ code to iOS, I need to provide an implementation
I'm porting an OpenGL app from the iPhone to Android, and I need to
While porting data from one mysql database to another there have come some issues
I am porting a mid-sized body of C++ code to Android NDK. Unfortunately the
While porting over a code fragment from python I've stumbled over a trivial problem:
I am porting an app that I originally wrote using the accelerometer for IOS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.