How to compile a kernel module to And roid Linux Kernel 锛

by Qiang Wang » Fri, 04 Sep 2009 19:27:03 GMT

Sponsored Links
There is something wrong with the configure file.
You should check if you are use the arm compiler and configure file.

best regards

2009/8/20 rk <>:



Other Threads

1. Wrong API reference doc?

Hi all,

Building with:
    [setup] Android SDK Tools Revision 6
    [setup] Project Target: Google APIs
    [setup] Vendor: Google Inc.
    [setup] Platform Version: 2.2
    [setup] API level: 8,

The documentation says that direction should be one of:  FOCUS_UP,

The doc says that FOCUS_FORWARD is a value to be used with 'focusSearch(int)'.

And from here:

The doc says that direction should be one of: FOCUS_UP, FOCUS_DOWN,

I needed to extend Gallery as it seems to manage absolutly BAD the
focus on the selected view. When I was overriding:

'onRequestFocusInDescendants(int direction, Rect  previouslyFocusedRect)'

I made a debug to see which value was 'direction'. It was 2
(FOCUS_FORWARD). I was NOT calling requestFocus(int, Rect), so the
view system was. After that, I made a 'focusSearch(FOCUS_FORWARD)'
from a View and I get an illegal argument exception.

Any ideas where that '2' came in? And why the doc says that
FOCUS_FORWARD is to be used in focusSearch() in the constant details
but in the method description says no.

Best regards,
If you want freedom, compile the source.

Sebastin Treu


2. Image Saving Small Size

I have written a simple app that opens the camera and passes in a path
for saving any captured images.

The code basically looks like this:

File file = new File( Environment.getExternalStorage() + "myimages/",
"my_image.jpg" );

Uri outputUri = Uri.fromFile( file );

Intent intent = new
Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE );
Intent.putExtra( MediaStore.EXTRA_OUTPUT, outputUri );

This works perfectly on my Motorola Droid. Images are saved 2592x1936.
However, when tested on the Motorola Milestone, the images are saved
at much smaller sizes such as 320x240 and 1280 x 1900.

It seems like there is some default setting on the Milestone causing
this behavior. The difficult part about this bug is that I don't
actually have the device to test on. This is part of a research
project that is happening in Greece and the Milestones are there. I am
testing at home with a Droid.

Any help would be greatly appreciated.



3. "Uninstall Updates" functionality

4. Game development

5. Kasian ya Adroid?

6. google ion/htc ??? source code?

7. HOAX Oot 5 planet dalam satu garis lurus