Re: [android-porting] Andoird x86 eclair build error with unrecognized command line option "-Wno-psabi"

2009-12-08 Thread Yi Sun
This option is only supported in gcc 4.4 I think. I have posted a patch to remove this flag from android-x86. You can get the patch from the download section of android-x86.org. But I'm not sure about the impact. On Tue, 2009-12-08 at 22:14 -0800, sparq wrote: > Hi all, > > I synchronize latest ec

Re: [android-porting] Need Info on Porting Android

2009-12-08 Thread hedwin
What are you using flash or NFS? Hedwin Koning On Wed, Dec 9, 2009 at 5:00 AM, linux newbie wrote: > Hi, > > I compiled linux_2_6_31_1 with Android support for my target PXA255 > based platform. > > Next step is to add, android specific files i.e system & data in the > Root File System. Can any

[android-porting] Andoird x86 eclair build error with unrecognized command line option "-Wno-psabi"

2009-12-08 Thread sparq
Hi all, I synchronize latest eclair source from git.android-x86.org and rebuilt the source code. But I am facting the following error: Install: out/target/product/eeepc/system/app/Mms.apk target thumb C++: libosclbase <= external/opencore/oscl/oscl/osclbase/ src/oscl_time.cpp cc1plus: error: unre

[android-porting] Re: Publish IBinder interface of native service with system manager

2009-12-08 Thread Paturi
I have a doubt regarding the fourth step. How can I publish the IBinder interface with the private ServiceManger API? Please provide me with some example. On Dec 9, 4:11 am, Dianne Hackborn wrote: > The way to do this without modifying the framework is to put your > implementation in an .apk th

[android-porting] SurfaceView of type PUSH_BUFFERS and Surface Flinger memory allocation

2009-12-08 Thread android-newbie
Can someone please help me to understand this? When my CameraSurfaceView is of type SURFACE_TYPE_PUSH_BUFFERS, does Surface Flinger actually allocate 2 buffers for this surface? Thanks an -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/androi

Re: [android-porting] Need Info on Porting Android

2009-12-08 Thread linux newbie
Hi, I compiled linux_2_6_31_1 with Android support for my target PXA255 based platform. Next step is to add, android specific files i.e system & data in the Root File System. Can anybody let me know how to do this step? Is there any link that gives step-by-step instructions? Thanks On Mon, Dec

Re: [android-porting] Re: eclair V4L2 camera problem

2009-12-08 Thread 李務誠
The app may set preview display as null and start the preview. The app can set preview display after preview is started. Please check if your driver supports that. Or you can write a simple camera app like the one in ApiDemo to verify if the driver is working correctly. On Wed, Dec 9, 2009 at 7:5

[android-porting] Re: How to exclude com.android.internal.R from my apk

2009-12-08 Thread James Wang
I have solved my problem by adding the command below: LOCAL_JAVA_LIBRARIES := framework -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] Re: pppd start

2009-12-08 Thread Xingwen Huang
Hi,all this is my pppd log. It seems that, radio call the service pppd, but radio could not create file in /etc. How can i solve this problem? chmod, chown? Failed to create pid file, it will cause "Couldn't attach to PPP", will it? D/pppd( 163): using channel 1 I/pppd( 163): Using interf

[android-porting] Re: How to exclude com.android.internal.R from my apk

2009-12-08 Thread James Wang
Anybody can help me? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] AudioFlinger issue

2009-12-08 Thread Liu Wenlan
Thanks All! The issue has been resolved after using toolchain 4.4.0 instead of 4.2.1 to comiple the build. BRs/Wenlan On Tue, Dec 8, 2009 at 1:46 PM, tommy tommy wrote: > it is alsa driver issue ! > 1: you should test your alsa sound card playback by none android system by > aplay and amixer

[android-porting] Re: eclair V4L2 camera problem

2009-12-08 Thread Yang Chris
The logcat shows as follows -- It seems that the segmentation fault causes this problem. I also set the USE_CAMERA_STUB=true to see whether it has the same problem. But, the same problem occurs. Do you have any idea? Thanks for your help. D/camera ( 935): (com.android.camera) onCreate> --- D

Re: [android-porting] Register a service with Android framework

2009-12-08 Thread Dianne Hackborn
getSystemService will only work if you have written client-side code in the framework to create a client wrapper API around the service. For device customization, you should just use your own library that uses the ServiceManager directly to get the service and returns whatever API you think is app

Re: [android-porting] lock screen always portrait

2009-12-08 Thread Dianne Hackborn
Sorry I mean not force it to be portrait. On Tue, Dec 8, 2009 at 3:19 PM, Dianne Hackborn wrote: > You'll need to modify the lock screen window (which you can find somewhere > in frameworks/policies/base/phone/...) to not force the orientation to be > landscape. > > > On Mon, Dec 7, 2009 at 7:44

Re: [android-porting] lock screen always portrait

2009-12-08 Thread Dianne Hackborn
You'll need to modify the lock screen window (which you can find somewhere in frameworks/policies/base/phone/...) to not force the orientation to be landscape. On Mon, Dec 7, 2009 at 7:44 PM, Tung wrote: > I want to know how to set it always landscape, thx > > -- > unsubscribe: > android-portin

Re: [android-porting] Publish IBinder interface of native service with system manager

2009-12-08 Thread Dianne Hackborn
The way to do this without modifying the framework is to put your implementation in an .apk that: 1. Declares a shared user ID with the system process, and that its components will run in the system process. 2. Has a Service component that implements your "system" service. 3. Has an intent receive

[android-porting] Ubuntu Karmic 64-bit build notes

2009-12-08 Thread Ryan C. Underwood
I just built the cupcake branch of Android (debug build) on Ubuntu Karmic 64-bit. Karmic ships with gcc 4.4.1. Here are some notes regarding the instructions posted on the web at http://source.android.com/download 1. The required packages list needs to be updated, adding the following: sun-jav

Re: [android-porting] Andoird on x86 validate_display_surface:488 error 300d problem

2009-12-08 Thread Yi Sun
Is these the full log? Can the same tree boot on VirtualBox? On Tue, 2009-12-08 at 15:11 +0530, deepak singal wrote: > Hi all, > > I am trying to port Android on my board using latest source code: > repo init -u git://git.android-x86.org/platform/manifest.git -b > donut-x86 > > I have checked ou

[android-porting] Publish IBinder interface of native service with system manager

2009-12-08 Thread Paturi
HI I would like to register native service with system manager and publish its IBinder interface with service manager. I want my client to retrieve the service interface through Java code and invoke the methods in the service. Please help me how I can accomplish this without changing the android

[android-porting] Re: eclair V4L2 camera problem

2009-12-08 Thread Wu-cheng Li
What do logcat and bugreport say? On Dec 7, 12:54 pm, Yang Chris wrote: > Thecameraarchitecture ineclairseems a little difference in donut. > I reimplement the CameraHardwareInterface.h virtual function. > > The takePictue ineclairseems has no problems by using the mDataCb > (CAMERA_MSG_COMPRESSE

[android-porting] Register a service with Android framework

2009-12-08 Thread Bharath P
I cannot call the third party services by getSystemService() method but is there a way to to register my service as System Service so that I can invoke the service my above getSystemService() method? I have to register my service with Android Framework. I think I can do this by making changes to t

[android-porting] How can I change the color of the "Search" button on Searchable Activity?

2009-12-08 Thread Philip
Hi all, Firstly, we can see here: {sdk-path}/docs/reference/android/app/ SearchManager.html#SearchabilityMetadata In particular, we can change the text in the "Search" button through below: android:searchButtonText If provided, this text will replace the default text in the "Search" button. T

[android-porting] Re: Kernel panic occurs while Android is running

2009-12-08 Thread jack
Dear all, I try to use gdb to debug remotely. I found that /init will die at sigchld_handler() function when it catches a SIGCHLD signal and tries to write to signal_fd. Can anyone give me some information why it has this strange situation? Any kind of suggestion will be very appreciated. Thanks a

[android-porting] How to exclude com.android.internal.R from my apk

2009-12-08 Thread James Wang
We added some resource into framework-res.apk by PRODUCT_PACKAGE_OVERLAYS. We created a project named ResourceTest under development/samples and use Android.mk below to build it: LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := samples # Only compile source java files in t

[android-porting] Re: How does "@*android:type/name" work

2009-12-08 Thread James Wang
I noticed it seems that @+id:name is special in internal layout xml, i.e. rameworks/base/core/res/res/layout/activity_list_item.xml. when building Android source , @+id/icon generates one item "public static final int icon=0x01020006;" in com.android.internal.R.java and @android:id/tex

[android-porting] Andoird on x86 validate_display_surface:488 error 300d problem

2009-12-08 Thread deepak singal
Hi all, I am trying to port Android on my board using latest source code: repo init -u git://git.android-x86.org/platform/manifest.git -b donut-x86 I have checked out the above source code and built android root file system. I am facing the following problem :- I/dalvikvm( 4042): System server p

[android-porting] Re: OMX Component Integration- Getting crashed at event handler callback during audio playback.

2009-12-08 Thread RaviY
iThreadSafeHandlerEventHandler is initalized in the node Prepare(). -Ravi On Dec 8, 1:58 pm, guru wrote: > HI Ravi, > > I added log in the below function using LOGE to check problem with the > crash: > > OMX_ERRORTYPE CallbackEventHandler(OMX_OUT OMX_HANDLETYPE aComponent, >                    

[android-porting] Re: OMX Component Integration- Getting crashed at event handler callback during audio playback.

2009-12-08 Thread guru
HI Ravi, I added log in the below function using LOGE to check problem with the crash: OMX_ERRORTYPE CallbackEventHandler(OMX_OUT OMX_HANDLETYPE aComponent, OMX_OUT OMX_PTR aAppData, OMX_OUT OMX_EVENTTYPE aEvent,