Android mt9p031 sensor support

by ashwani » Thu, 21 Oct 2010 19:02:22 GMT

Sponsored Links
 Hi all,

I have successfully ported android kernel (enabling staging kernel
2.6.32) on leopard DM365 board.
I am using mt9p031 sensor in my board.

I am getting the following errors while running the android camera
application from adb shell.

W/HAL     ( 2118): load: module=/system/lib/hw/
error=Cannot find library
W/HAL     ( 2118): load: module=/system/lib/hw/
error=Cannot find library

I want to know, what are the changes requires in android file system.
My camera  is working fine with previous file system.

Please help me to solve this problem.



Other Threads

1. Debugging on a real device

I have gotten to to the point where I need to test my application on a
real Android device.  I have obtained an Motorola Droid phone and
attached it to my computer (Windows).  I have installed the USB
driver, and I believe that my computer can see the phone.  When I
start up the DDMS it shows my device as 'Online'.

I cannot, however, figure out how to get the de{*filter*} to use the
device instead of the emulator.  The Android documentation states that
when I run my program from within Eclipse that I should be presented
with a 'Device Chooser', but that does not happen.  I read somewhere
else that pressing F11 will bring up the Device Chooser, but it only
runs the application on the emulator.

I know there is probably something obvious that I am missing here, but
I cannot figure out what it is.  Any help would be appreciated.



2. PreferenceScreen - <intent 鈥? > - Exception - FLAG_ACTIVITY_NEW_TASK

I've got a probleme with an exception, but I don't know why I get this

The project is about implementing an AbstractAccountAuthenticator with
an AbstractThreadedSyncAdapter to sync certain data on a server with a
content provider.

I made everything and both adding accounts and syncing is running
without any problems.

Now I've tried to add a Preference-Screen just like suggested in the
android reference (search for AbstractAccountAuthenticator, it is
explained there) via xml like this:


<account-authenticator xmlns:android="

The Preference-Screen-xml looks like this:


<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="
 <PreferenceCategory android:title="@string/pref_cat_general">
  <PreferenceScreen android:key="@string/pref_cat_scr_keygen"
   <intent android:action="android.intent.action.VIEW"
android:targetClass="" />

The screen is promted how it should be, but and that is the problem:
When I click on the PreferenceScreen with the intent it leads to a
crash of the system (both in the emulator and my HTC-Desire).

Logcat says:

    ERROR/AndroidRuntime(18754): android.util.AndroidRuntimeException:
Calling startActivity() from outside of an Activity context requires
the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?

(whole Logcat on pastebin:

Here the part of the manifest, where the activity is defined:

<activity android:name=".KeygenAct">
     <action android:name="android.intent.action.VIEW" />
     <category android:name="android.intent.category.DEFAULT" />

The whole test-code (it is my project on the essentials to find the
problem) is to find at googlecode (
cleanproject/source/browse/) (Eclipse-Project)

Thank you already for your help, Esentian

p.s.: keygen is not a key generator, it means more key_general. A bit
inartfully expressed ;)


3. How to calculate distance between to city (dynamically)

4. Geocoder backend service

5. Activity throws an exception after the 1st run

6. Navigate up activity stack

7. Using a different layout depending on parent dimensions