[android-porting] Re: how is framework-res.apk loaded?

2009-12-03 Thread James Wang
We just like our resource to be public to all apks like framework's resource. Develop can reference it in layout.xml or in code directly. I saw some discussions about loading resource from another apk. I think that way is no elegant enough. Thanks, Dianne. -- unsubscribe: android-porting+unsubs

[android-porting] internal compiler error: Segmentation fault (Eclair + 4.3.1 toolchain)

2009-12-03 Thread Sachin
Hi, i am using Eclair source from AOSP. Earlier i was using 4.4.0 (default tool chain with Eclair) which was giving problems in compilation and i also saw that it is incompatible with Eclair. ref: http://groups.google.com/group/android-platform/browse_thread/thread/fd853fb176ccea5c/ So i switched

[android-porting] what is envsetup.sh

2009-12-03 Thread anshexp
Hi, i am new to the android build system can anybody tell me what is envsetup.sh in build directory and what is the use of this script file. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] need complied binary of android with bluez

2009-12-03 Thread Shrenik Vikam
i need complied binary of android with bluez if any one has complied the image successfully , can i get that image to install on adp or can i get the steps to compile bluez with android to create images which later can be installed on adp by fastboot method -- unsubscribe: android-porting+unsub

[android-porting] build a single module

2009-12-03 Thread anshexp
hi, i am new to android can anybody tell me what is the way to build a particular module . i don't wana to build whole file system. i tried make $(LOCAL_MODULE) as given in build system document but it is not working. thanks for any reply. -- unsubscribe: android-porting+unsubscr...@goo

Re: [android-porting] build a single module

2009-12-03 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 anshexp wrote: [...] >i am new to android can anybody tell me what is the way to > build a particular module . i don't wana to build whole file system. > i tried > make $(LOCAL_MODULE) as given in build system document but it is not > working.

[android-porting] A2DP problem in Eclair

2009-12-03 Thread BHEEMSEN KULKARNI
Hi All, I facing issue with A2DP, I am doing audio streaming to BT headset (connected to phone and media audio), if I restart the board (power cycle). After power cycle, I see the BT headset connected to "phone and media audio", when I play the mp3 file from music player, I don’t hearing anythin

[android-porting] cupcake how to support multi-touch and linux kernel version?

2009-12-03 Thread JW
I'm using cupcake now and linux kernel 2.6.27 . But I would like to support multi-touch function. Is there any hint about how to add multitouch function in cupcake? I found that linux kernel 2.6.30 had added one multi-touch protocol, did that mean I must upgrade my kernel to be 2.6.30+? -- unsu

[android-porting] eclair's libgcc.a

2009-12-03 Thread helen.wjt
Hi,all: I get eclair source . But the libgcc.a is based on armv5te arch . Can anybody send me one that can used on armv4t arch ?? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Kernel panic after clicking on the browser button

2009-12-03 Thread jack
Hi all, I am porting Android to our own ARM11 platform. Right now it can successfully boot it up. However, when I click on the browser icon, the following message shows and the system dies. Kernel panic - not syncing: Attempted to kill init! I suffer this problem for many days and cannot figure o

[android-porting] Re: Resistive touchscreens

2009-12-03 Thread ms12
We have gotten a Xenarc 706TSA resistive touchscreen to work on beagle board with Android 1.5 (haven't tried later versions yet). Seems to work fine. Calibration was done manually by printing out coordinates read in the kernel driver and programming the compensation into the driver. Maybe not th

[android-porting] From cupcake to Eclair?

2009-12-03 Thread JW
If I want to upgrade cupcake(1.5) to be Eclair(2.0). What processes do you suggest to follow? How to patch will be more efficient (include file system and kernel)? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] LayerBase::drawWithOpenGL()

2009-12-03 Thread android-newbie
Hi I have been looking at LayerBase::drawWithOpenGL() and trying to figure out if the scaling being done in this function is performing a "stretch" or "crop", but not able to figure that out yet. Can someone please let me know if LayerBase::drawWithOpenGL() is doing "stretching" or "cropping" fo

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

2009-12-03 Thread jack
Dear all, I am porting Android to our own ARM11 platform. I use android-2.6.29 to be the kernel with some patches for our own ARM11 CPU. Besides, cupcake is used as the root file system. The kernel is written on the flash and I use nfs to mount the root file system. The bootargs is nfsroot=10.20.

[android-porting] fix alsa compilation problem Eclair

2009-12-03 Thread Michael Trimarchi
Hi, I have fixed the alsa compilation problem on Eclair, I have to test because I just create some stub fuction and I must read the source code of other device for understandig the new interface. So it is just to have somenthing to start and compile. Michael -- unsubscribe: android-porting+un

Re: [android-porting] fix alsa compilation problem Eclair

2009-12-03 Thread Michael Trimarchi
Hi, Michael Trimarchi wrote: > Hi, > > I have fixed the alsa compilation problem on Eclair, I have to test because I > just create some stub fuction > and I must read the source code of other device for understandig the new > interface. So it is just to have > somenthing to start and compile. >

a2dp (WAS Re: [android-porting] fix alsa compilation problem Eclair)

2009-12-03 Thread Michael Trimarchi
Michael Trimarchi wrote: > Hi, > > Michael Trimarchi wrote: > >> Hi, >> >> I have fixed the alsa compilation problem on Eclair, I have to test because >> I just create some stub fuction >> and I must read the source code of other device for understandig the new >> interface. So it is just to h

Re: a2dp (WAS Re: [android-porting] fix alsa compilation problem Eclair)

2009-12-03 Thread Michael Trimarchi
Michael Trimarchi wrote: > Michael Trimarchi wrote: > >> Hi, >> >> Michael Trimarchi wrote: >> >> >>> Hi, >>> >>> I have fixed the alsa compilation problem on Eclair, I have to test because >>> I just create some stub fuction >>> and I must read the source code of other device for under

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

2009-12-03 Thread fadden
On Dec 3, 4:42 am, jack wrote: > Right now, it can successfully boot up and see Android main screen. > However, when I execute some applications, e.g. browser, the system > dies with kernel panic. Check /proc/last_kmsg after the reboot. The details of the kernel panic should be there, assuming t

[android-porting] Copy resources to userdata.img

2009-12-03 Thread Ryan Beesley
At build time, I'm trying to copy resources to userdata.img. I know how to do it for individual files, but I have a rather large resource directory that I was hoping to just copy over. Any suggestions using Android.mk? Ryan Beesley Senior QA Engineer e:  ryan.bees...@swypeinc.com w:  www.swyp

[android-porting] RE: Copy resources to userdata.img

2009-12-03 Thread Ryan Beesley
I may have a bigger hurdle here. I am currently moving files one at a time. When I boot into recovery and attach ADB shell, I see that I have my data correctly stored in /data/data/com.swype... however, when I fully boot into the device for the first time, it seems as though that gets deleted.

Re: [android-porting] cupcake how to support multi-touch and linux kernel version?

2009-12-03 Thread Dianne Hackborn
Hi, the multitouch APIs were added in 2.0 so you can not officially support them prior to that. You could of course hack the system to do something, but third party apps will not be able to use whatever you do. On Thu, Dec 3, 2009 at 1:39 AM, JW wrote: > I'm using cupcake now and linux kernel 2

Re: [android-porting] Re: how is framework-res.apk loaded?

2009-12-03 Thread Dianne Hackborn
On Thu, Dec 3, 2009 at 12:35 AM, James Wang wrote: > We just like our resource to be public to all apks like framework's > resource. > Develop can reference it in layout.xml or in code directly. > Absolutely not, just like you can't make arbitrary APIs public to developers on your builds. The An

[android-porting] Re: opencore is broken on android-x86

2009-12-03 Thread Adm.Wiggin
For those who, like me, were still confused, here's some brief instructions: Visit http://www.android-x86.org/download --> download open_core_build_break.diff and save it in your "external/opencore" directory. Open a terminal in that directory (external/opencore), and type: patch -p1 < open_core_b

[android-porting] Re: cupcake how to support multi-touch and linux kernel version?

2009-12-03 Thread JW
Hi Dianne Is 2.0 eclair multitouch based on linux kernel 2.6.30 multitouch protocol? or I just need the signal touch hardware and kernel driver? I'm confused by eclair multitouch and linux kernel 2.6.30 multitouch protocol. On 12月4日, 上午8時49分, Dianne Hackborn wrote: > Hi, the multitouch APIs we

[android-porting] how to change focus on soft keyboard?

2009-12-03 Thread abukustfan
Hi, I use a keyboard-less device and would like use soft keyboard + USB mouse to input text. but I cannot change the focus to key button on soft keyboard. Can anyone tell me how to change the focus on soft keyboard with USB mouse? Thanks! -- unsubscribe: android-porting+unsubscr...@googlegroups

[android-porting] Re: Resistive touchscreens

2009-12-03 Thread abukustfan
Resistive touchscreen also work on my platform with android-1.5 and android-1.6_r1. We did not use Z, which show pressure, but X/Y seems work well. On Dec 3, 11:40 pm, ms12 wrote: > We have gotten a Xenarc 706TSA resistive touchscreen to work on beagle > board with Android 1.5 (haven't tried late

[android-porting] Re: how is framework-res.apk loaded?

2009-12-03 Thread James Wang
Dianne, I post one message (http://groups.google.com/group/android- platform/browse_thread/thread/d7016b891fbabcea) on android-platform and share one method about how to build our own resource apk. Please take a look if you have time. Thank you. James -- unsubscribe: android-porting+unsubscr...@

[android-porting] Re: no response when touch the touchscreen

2009-12-03 Thread Weber
Hello,代云贵 I have configed the power management。 and what do you mean by “fully support”?what should be included? and which code should I change? could you tell me more details? Thank you! --Weber On Dec 2, 9:31 pm, 代云贵 wrote: > Hi Weber: > I have met this problem before .First you should make su

[android-porting] Re: no response when touch the touchscreen

2009-12-03 Thread Weber
Thank you ,I have tried it but it still didn‘t work。 what do you mean by saying “fix the driver in the kernel”? My driver seems ok,here are the bootup message: Loaded s3c-udc version Dec 2 2009 (DMA Mode) input: s3c-keypad as /devices/platform/s3c-keypad/input/input0 s3c-keypad Initialized S3C Ke

[android-porting] Re: "Software" Volume Control Problem

2009-12-03 Thread ani
Please reply to my last question in this thread~ On Nov 5, 11:06 am, ani wrote: > Hack, > > I just want one information.When i am playing music+ringtone in that > case there will be a buffer for both the sounds. > > questions are: > a.These mixing of buffers takes place in audiomixer.cpp? > b.If

[android-porting] Re: A2DP problem in Eclair

2009-12-03 Thread Jackson Fan
Better attach logs after "D/A2dpAudioInterface( 890): A2dpAudioStreamOut::set 80, 0, 0, 0", indicating seconds of activities after you start the A2DP streaming but without audio. There usually should be something printed out. Losing audio would be either caused by a2dp_write failure or lengthy pen

Re: [android-porting] build a single module

2009-12-03 Thread Prabhu Srivastava
Steps required to compile individual application package in Android SDK. 1. Go to build directory under Android sdk directory 2. Execute source source envsetup.sh 3. Go to corresponding application directory 4. Issue mm command to build the application only --- On Thu, 12

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

2009-12-03 Thread jack
Thanks for your help. I have checked /proc directory but cannot find /proc/last_kmsg in spite of CONFIG_ANDROID_RAM_CONSOLE=y. In order to get more information, I call dump_stack() just before calling panic("Attempted to kill init!"); in kernel/exit.c. The following is the dump messages shown on

[android-porting] Re: build a single module

2009-12-03 Thread anshexp
Thanks for reply i tried mm the steps given by you but it seems like it is building whole build system not my particular application taking the same time required by the whole build. On Dec 4, 10:56 am, Prabhu Srivastava wrote: > Steps required  to compile individual application package in Androi