<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to add i2c function through android sensor in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-add-i2c-function-through-android-sensor/m-p/191496#M9784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Daiane:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thanks for your reply, the problem is solved. I make a stupid error,&amp;nbsp;i should write the correct jni function define in the .c file:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jstring Java_+ mypacketname..._+ activity class name+ _( JNIEnv* env, jobject thiz ...)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;.....}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; change to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jstring Java_+ mypacketname..._+&amp;nbsp;service class name+ _( JNIEnv* env, jobject thiz ...)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;.....}&lt;BR /&gt;&lt;CITE&gt;Daiane Angolini said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to include some other sensor support?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to create something like i2ctools within an application?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2011 07:36:31 GMT</pubDate>
    <dc:creator>weishangHsu</dc:creator>
    <dc:date>2011-12-01T07:36:31Z</dc:date>
    <item>
      <title>How to add i2c function through android sensor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-add-i2c-function-through-android-sensor/m-p/191494#M9782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!, I using imx515 and 535 processor now, i need to use I2C function. I write a jni libray and it works on android activity. But when i load this .so file and use the function inside the libray in a service. The service always crash and&amp;nbsp; get "UnsatisfiedLinkError: myi2c" error message. I c&lt;SPAN class="hps"&gt;ontact the FAE, he said he doesn't familiar with JNI and suggest me&amp;nbsp;to use android sensor to s&lt;SPAN class="hps"&gt;imulate&lt;/SPAN&gt; I2C interface. I&lt;/SPAN&gt;s there anybody meet this problem or know how to solve the problem? thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 08:07:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-add-i2c-function-through-android-sensor/m-p/191494#M9782</guid>
      <dc:creator>weishangHsu</dc:creator>
      <dc:date>2011-11-30T08:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to add i2c function through android sensor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-add-i2c-function-through-android-sensor/m-p/191495#M9783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to include some other sensor support?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to create something like i2ctools within an application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 13:10:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-add-i2c-function-through-android-sensor/m-p/191495#M9783</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2011-11-30T13:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to add i2c function through android sensor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-add-i2c-function-through-android-sensor/m-p/191496#M9784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Daiane:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thanks for your reply, the problem is solved. I make a stupid error,&amp;nbsp;i should write the correct jni function define in the .c file:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jstring Java_+ mypacketname..._+ activity class name+ _( JNIEnv* env, jobject thiz ...)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;.....}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; change to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jstring Java_+ mypacketname..._+&amp;nbsp;service class name+ _( JNIEnv* env, jobject thiz ...)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;.....}&lt;BR /&gt;&lt;CITE&gt;Daiane Angolini said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to include some other sensor support?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to create something like i2ctools within an application?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 07:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-add-i2c-function-through-android-sensor/m-p/191496#M9784</guid>
      <dc:creator>weishangHsu</dc:creator>
      <dc:date>2011-12-01T07:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add i2c function through android sensor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-add-i2c-function-through-android-sensor/m-p/191497#M9785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great ;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thaks for sharing!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 13:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-add-i2c-function-through-android-sensor/m-p/191497#M9785</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2011-12-01T13:20:23Z</dc:date>
    </item>
  </channel>
</rss>

