[android-porting] Re: sensor HAL in eclair

2010-03-03 Thread mkche...@gmail.com
Hi Deva, Thanks for you reply, >From the drivers i am getting accelerometer values i,e X,Y,Z how to convert these values for below ?? All values are in SI units(m/s^2) and measure the acceleration of the device minus the force of gravity. >X:Acceleration minus GX on the X-axis >Y:Acceleratio

Re: [android-porting] video play on android-2.1_r1

2010-03-03 Thread Andy Quan
The problem is probably caused by the patch below: http://android.git.kernel.org/?p=platform/external/opencore.git;a=commitdiff;h=afa07b52460a1c9f88294f14f5a2a259543c88b5 Emulator uses base class MIO which locks 2 output buffers by default now instead of 1 buffer previously. PV OMX by default allo

[android-porting] Eclair's opencore does not compile

2010-03-03 Thread iod
Hi With ECLAIR's source code, trying to compile opencore module separatley I get some missing included files as well as some missing "-I" options in the build system. Can anybody point me at the right/quickest fixes for this? Here's the list of really missing files during the build:

Re: [android-porting] Set system time from radio

2010-03-03 Thread David Turner
Yes, you can use a NITZ unsolicited message. See hardware/ril/reference-ril/reference-ril.c:onUnsolicited() On Wed, Mar 3, 2010 at 2:25 PM, ms12 wrote: > Is there a way to set the system time from the cell phone? I've > searched ril.h and ril_commands.h and there seems to be no way to > request

[android-porting] Set system time from radio

2010-03-03 Thread ms12
Is there a way to set the system time from the cell phone? I've searched ril.h and ril_commands.h and there seems to be no way to request the time from the cell modem. Am I missing something? Mike -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/gr

[android-porting] Re: can't compile opencore

2010-03-03 Thread genxsol
error:cast from osclAny* to int32 loses percision was because of my 64 bit OS. i tried to compile on ubuntu 32 bit and it compiled these libraries in build>installed_lib libopencore_author_debug.so libopencore_common_debug.so libopencore_net_support_debug.so libopencore_player_debug.so but i am

Re: [android-porting] sensor HAL in eclair

2010-03-03 Thread Deva R
do you meant 'above layer'?? accelerometer driver should publish input event to kernel via input_sync call (you might have already allocated input device).. Ref.. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=drivers/hwmon/applesmc.c I guess in android, if app's h

[android-porting] Re: Bad sound quality after codec integration

2010-03-03 Thread RaviY
Did you make sure that the input bitstream to your component matches, i.e., is as expected w.r.t. the "test application"? -Ravi On Mar 3, 3:12 am, anupama wrote: > Hi All, > > I am working on aac-codec integration.It is integrated to PV framework > and I am able to play the audio file.But the so

Re: [android-porting] Re: running emulator build on actual platform

2010-03-03 Thread David Turner
On Thu, Feb 25, 2010 at 9:49 PM, Ajay wrote: > Thanks. > So you mean to say that when i compile a native code using the > prebuilt toolchain of Android for emulator, > the ARM instructions generated is in no way limited by some > limitations of the emulator(if any). > > Yes, that's what I'm sayin

Re: [android-porting] executable directories under /system partition

2010-03-03 Thread David Turner
Yes, it's an Android-specific security feature. Look at system/core/include/private/android_filesystem_config.h On Sun, Jan 24, 2010 at 8:46 PM, Jun Sun wrote: > This might be a dumb question, but I can't seem to figure it out. > > In my donut build tree, I added some additional directories to >

Re: [android-porting] cupcake emulator crash on Windows

2010-03-03 Thread David Turner
>From the error message, it looks like the latest versions of Cygwin have removed support for the -mno-cygwin flag. I believe we're working on a fix, in the meantime, try to install an older Cygwin version (if that is possible, I sincerely don't know yet) On Wed, Mar 3, 2010 at 1:27 AM, Santosh Si

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
there are one thing strange. I think code flow in wpa_ctrl_open() ( wpa_ctrl.c ). it should go into #ifdef ANDROID, but not outside. I found that it will check the first char in ctrl_path, it can't be "/". or it will go outside. unfortunately, I just gave the path "/"data/ system/ #ifdef ANDROID

[android-porting] Re: can't compile opencore

2010-03-03 Thread genxsol
Hi RaVI, Thanks for your reply. i am not able to modify files in tools_v2/build/make for cygwin and decided to build in linux gentoo . still getting the error in build -- in file included from /root/opencore/oscl/oscl/osclbase/src/pvlogger.h: 34 from root /root/

[android-porting] Howto connect external modem with Mini2440

2010-03-03 Thread Prakash A S
Hello all, I am using Mini2440 (S3C 2440 ARM920T processor) and ported Android on top of it. Its working fine. Now I would like to add an external modem along with my board. Can you please give some hints on how to access the SIM from the external modem, What are the codes I have to modify

[android-porting] Fwd: cupcake emulator build failed on Windows

2010-03-03 Thread Santosh Singh
Hi There, I am getting following error when building Android Windows SDK in emulator. Can you help me please? $ development/build/tools/make_windows_sdk.sh out/host/linux-x86/sdk/android-sdk_eng.root_linux-x86.zip ../mysdk/ Using SDK 1.5 Current values: - Input SDK: out/host/linux-x86/

[android-porting] cupcake emulator crash on Windows

2010-03-03 Thread Santosh Singh
Hi There, I am getting following error when building Android Windows SDK in emulator. Can you help me please? $ development/build/tools/make_windows_sdk.sh out/host/linux-x86/sdk/android-sdk_eng.root_linux-x86.zip ../mysdk/ Using SDK 1.5 Current values: - Input SDK: out/host/linux-x86/

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
I think stop trying it from GUI maybe a good idea. and I figure out why fail. because I pass ctrl_path /data/system/ wpa_supplicant/ra0 to wpa_ctrl_open but I didn't creat "ra0" this directory under /data/system/ wpa_supplicant after I creat directory ra0, log has changed. E/Wap_Supplicant( 963):

Re: [android-porting] SurfaceFlinger, Frame buffer device, Overlays

2010-03-03 Thread Gilad Ben-Yossef
Ryan wrote: Hi all, I am trying to understand the different components of Android's display system and how they work together. I have been sifting through the source, but I still have a few fundamental questions. Here is my current understanding of a couple of these components: SurfaceFlinger:

Re: [android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread pavan savoy
I am not sure it's gonna help - but when I faced this kind of problem. I stopped trying it from GUI. I made sure - my supplicant ran from console (as root), I tried connecting with a wpa_cli and did all the steps in wifi.c manually (inserting modules/fw_download or whatever is specific to chip) O

Re: [android-porting] Re:eclair build error

2010-03-03 Thread Deva R
hi arun, looks like problem with repo sync.. i havent faced though, but just googled. these guys resolved using upgrading alsa-lib.. http://groups.google.com/group/android-x86/browse_thread/thread/422deed74d565bc7 -Deva 2010/3/3 தங்கமணி அருண் > I have googled enough, but nothing worked for me

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
Hi, savoy I did in wpa_supplicant.conf and init.rc here goes my wpa_supplicant.conf & init.rc == external/wpa_supplicant/wpa_supplicant.conf == # global configuration (shared by all network blocks) # # Parameters for the control interface. If this is specified, wpa_supplicant # will open a control

Re: [android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread pavan savoy
aren't these problems similar to, http://osdir.com/ml/android-porting/2009-02/msg00139.html ? modifications are required in init.rc and .conf file - If I remember correctly (does seem a long time ago ...). regards, Pavan 2010/3/3 Gaan > I found the problem is that the directory /data/system/wp

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
I found the problem is that the directory /data/system/wpa_supplicant is not creat after bootup and I change to use Group system in create all relative directories. & out/target/product/generic/system/etc/wifi/wpa_supplicant.conf still with ctrl_interface=DIR=/data/system/wpa_supplicant/ GROUP=sys

[android-porting] Bad sound quality after codec integration

2010-03-03 Thread anupama
Hi All, I am working on aac-codec integration.It is integrated to PV framework and I am able to play the audio file.But the sound quality very poor.From the dumped logs I have found that the decoded output is not the expected one. My codec-component works as follows -

[android-porting] Re: after referring the group,to uch screen can only respond at top bar

2010-03-03 Thread Weber
Thank you,Achim Could you be more specific? I can get the info(such as posted above) with getevent tool,does this means that poll can get the ts? On Mar 1, 10:18 pm, AchimNohl wrote: > Hi, > > have you tried to debug EventHub::getEvent in frameworks/bas/libs/ui/ > EventHub.cpp? I once had proble