English 中文(简体)
探测行距
原标题:detect the distance walked

我想到的是,在用户距离遥远的地方开发一台灯。 首先是试图通过全球定位系统地点实施,但与使用传感器有什么不同的想法?

Basicly my app is; The user clicks the start button and the walking starts The user clicks the stop button and the walking ends And app says you have walked bla meters.

我想在没有地点(纬度或长期能力)的情况下加以执行。

Is there any other way?

问题回答

可以帮助你们

这一申请表计算了 app。 用户步长的距离和速度。

你们唯一的选择是看一看ler计,看一看“步”的样子。 然后,你需要促使使用者了解其遗体的长处,他们是如何“放弃”的。

它赢得的脚步是轻松的,根据电话的持有方式,一个步骤将视不同的方向:被困在带的持照人身上,手上,背着pur,等等。 身处轻脚步的人作为真正lam倒的其他人,在传感器上打上了一种“ump”产品......

就我所知,唯一的方式是地点(GPS或网络)。

There s one (silly) idea I could think off:
If the device has a gyroscope, you could roll the phone over the ground, and together with the diameter of the device, you could calculate the distance ;)

但是,你的最好点仍然是使用地点。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签