<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sei10sa10</author_name>
  <author_url>https://blog.hatena.ne.jp/sei10sa10/</author_url>
  <blog_title>The blog :: Memo &amp; Journal</blog_title>
  <blog_url>https://sei10sa10.hatenadiary.org/</blog_url>
  <categories>
    <anon>Android</anon>
    <anon>Manager</anon>
  </categories>
  <description>久しぶりのBlogを更新。今まで何をやっていたかというと、業務が開発と離れていたためサボっていました...。ということで、久しぶりに地道に頑張ってBlog更新して行こうかと思います。ということで、今回は軽めにSensorManagerから加速度センサーを取得し、各軸の加速度をTextViewに表示してみたいと思います。 やりたいこと SensorManagerを取得する 加速度センサーのSensorオブジェクトを取得する 加速度を取得する こんな感じで加速度を表示 実装の要点を下記にまとめます 1. SensorMangerを取得 SensorManager manager = (Sensor…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsei10sa10.hatenadiary.org%2Fentry%2F20120418%2F1334759939&quot; title=&quot;久しぶりに軽くAndroidでSensorManager - The blog :: Memo &amp;amp; Journal&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sei10sa10/20120418/20120418232152.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-04-18 23:38:59</published>
  <title>久しぶりに軽くAndroidでSensorManager</title>
  <type>rich</type>
  <url>https://sei10sa10.hatenadiary.org/entry/20120418/1334759939</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
