[android-porting] Re: V4L2 Camera interface

2009-05-08 Thread Androidphan
Thanks for the tip, I'll let you know if it worked. On May 8, 5:07 am, Harishkumar V harishpres...@gmail.com wrote: Hi Androidplan, ignore previous mail. you can see android_build/external/opencore/codecs_v2/utilities/colorconvert/src/ there lot of conersions are available. Thanks and

[android-porting] Build Environment

2009-05-08 Thread Claw
We have built an Android run-time on a custom board. We have got touch screen and QWERTY keyboard running. We would like to integrate Audio, WAN and WLAN in next step as well as integrate custom hardware. Can this be done without creating a host system as detailed in

[android-porting] Re: How to add another status bar

2009-05-08 Thread Dianne Hackborn
Look at the status bar code and do something similar. You may want to look at PhoneWindowManager to see how it decides to do overall layout of the screen, though I think it is general enough now that you shouldn't need to change it just to put a panel at the bottom of the screen (though you may

[android-porting] Run Android with Eee PC resolution using grub2+915resolution

2009-05-08 Thread Chih-Wei
Hi All, I have successfully run Android on Eee PC with the native resolution (800x480 or 1024x600) using vesa driver. If you are interesting, I've written an article to describe it: http://code.google.com/p/patch-hosting-for-android-x86-support/wiki/RunAndroidWithEeePCResolutionUsingGrub2

[android-porting] Re: Porting ANDROID on S3C2440 Platform

2009-05-08 Thread Michael Trimarchi
Hi, Vinay R Rao wrote: Hi all, I am a newbie in ANDROID. My first question is : HAS ANYONE PORTED ANDROID ON S3C2440 (armv4 Architecture ) PLATFORM SUCCESSFULLY? I am trying to port ANDROID on S3C2440 platform which is a arm920T and ARMv4 architecture. Linux version which i am using is

[android-porting] GPS function not present in system diretory

2009-05-08 Thread deepak singal
Hi all, I am trying to port gps on my board using latest cupcake source code. I have checked out the latest source code and built android root file system. I am facing the following problem :- $ cd out/target/product/generic /**hardware/libhardware_legacy/vibrator/vibrator.c*/ $

[android-porting] Re: automating net.dns1 configuration

2009-05-08 Thread Nimit Manglick
Hi Jpitt / David, have u got any solution and pointer for this problem. I am also having the same doubts. I get my ppp0 interface up with an IP but still my browser is not working. Please help me with some pointers. Thanks Regards Nimit On Tue, Mar 10, 2009 at 3:49 AM, jpitt42

[android-porting] Unable to create static exectuable

2009-05-08 Thread Kiran Kumar
Hi All, I am new to Android and started porting native C application to Android. It worked. Then started with shared objects. I am getting 'No such file / directory' error. Here is the procedure. 1. Created Shared object with arm-none-linux-gnueabi toolkit. 2. For creating binary, I used

[android-porting] Re: Porting ANDROID on S3C2440 Platform

2009-05-08 Thread Jollen Chen
Hi, You need a s3c2440 Android ports. Koolu has ported Android to armv4 platform. Please get it from Koolu repository - git.koolu.org -jollen Hi all, I am a newbie in ANDROID. My first question is : HAS ANYONE PORTED ANDROID ON S3C2440 (armv4 Architecture ) PLATFORM SUCCESSFULLY? I am

[android-porting] Timer running in hciattach

2009-05-08 Thread BHEEMSEN KULKARNI
Hi, There is piece code in the hciattach poll(p, 1, 500), which is poll for every 500 msec. main() { while (!__io_canceled) { p.revents = 0; err = poll(p, 1, 500); if (err 0 errno == EINTR) continue; if (err) break; } what is this

[android-porting] Re: Timer running in hciattach

2009-05-08 Thread Michael Trimarchi
Hi, BHEEMSEN KULKARNI wrote: Hi, There is piece code in the hciattach poll(p, 1, 500), which is poll for every 500 msec. main() { while (!__io_canceled) { p.revents = 0; err = poll(p, 1, 500); In my code the poll is every 5000 seconds, but maybe is a different

[android-porting] Re: Timer running in hciattach

2009-05-08 Thread BHEEMSEN KULKARNI
HI Michael, Thanks for your reply, Which version of Bluez-utils are you using? This timer is not the System to go to sleep, basically in the system Idle thread start when there is no activity on the system and it should stay in the idle state for some time (in our case it is more than 500 msec)

[android-porting] Re: Timer running in hciattach

2009-05-08 Thread Michael Trimarchi
BHEEMSEN KULKARNI wrote: HI Michael, Thanks for your reply, Which version of Bluez-utils are you using? This timer is not the System to go to sleep, basically in the system Idle thread start when there is no activity on the system and it should stay in the idle state for some time (in

[android-porting] Re: S3C 64X0 kerenl tree using git for android platform.

2009-05-08 Thread Lim,GeunSik
Dear S3C6410 Users I moved my repository for android platform on s3c6410 because most developers want to download in english from all over the world. and, because of network traffic. before) git clone git://www.kandroid.org/samsung-s3c6410-android.1.0 after )

[android-porting] Attempting to build wrapsim for x86

2009-05-08 Thread kewarken
I'm trying to build the simulator lib for x86 and I'm running into some strange problems, most of which seem related to header conflicts between bionic libc and my host (ubuntu 9.04). A few things I resolved: LOCAL_CFLAGS += -D__off_t=uint32_t -D__off64_t=uint64_t in the makefile fixed some

[android-porting] Re: Cursor.patch fails

2009-05-08 Thread Yi Sun
CHih-wei, Could you document the test results in the project wiki? THanks Yi On Fri, 2009-05-08 at 00:40 -0700, Chih-Wei wrote: I've done more tests on all EeePC I can access, including 701/701SD/900/900A/901/904HD/1000/1000HD. (using the same kernel image, of course) The touchpad works for

[android-porting] Please help me in porting Android to a new hardware

2009-05-08 Thread edu.mvk
Hi Group, I have started recently working on Android, I am trying to port Android to a new phone hardware i have few doubts regarding that. - What factors do i need to consider while selecting the hardware other than the processor and some telephony hardware - How can i flash the phone with the

[android-porting] loading kernel module

2009-05-08 Thread yarik...@gmail.com
Hi, How can I load kernel module? I'm trying the following: mRuntime.exec(/system/bin/insmod /data/data/com.hello/hello.o); Will it work? Thanks for response. --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Re: Run Android with Eee PC resolution using grub2+915resolution

2009-05-08 Thread Yi Sun
Confirmed following things: 1. it has to be the grub2 downloaded from the place mentioned in Chih-wei's guide 2. intelfb works as well. Yi On Fri, 2009-05-08 at 08:57 -0700, Yi Sun wrote: Chih-wei, is this a standard grub2 that can be download with apt-get from ubuntu? Yi On Fri, 2009-05-08

[android-porting] Re: Attempting to build wrapsim for x86

2009-05-08 Thread fadden
On May 8, 8:03 am, kewarken kewar...@gmail.com wrote: I'm trying to build the simulator lib for x86 and I'm running into some strange problems, most of which seem related to header conflicts between bionic libc and my host (ubuntu 9.04). [...] Any ideas to help me keep moving? The wrapsim

[android-porting] Patchs malformed

2009-05-08 Thread Kasuko
Also you might want to add the following to certain files before running Kris's script. in put project frameworks/base/ as first line in 0001-1.-added-mouse-cursor.patch put project frameworks/base/ as first line in 0001-1.-enabled-power-mgt.patch put project vendor/asus/ eee_701/ as first line

[android-porting] Re: Patchs malformed

2009-05-08 Thread Kasuko
Sorry this wasn't supposed to be a new post, it was destined for a reply. Please ignore On May 8, 4:16 pm, Kasuko kas...@gmail.com wrote: Also you might want to add the following to certain files before running Kris's script. in put project frameworks/base/ as first line in

[android-porting] Re: How to Apply Patches?

2009-05-08 Thread Kasuko
Also you might want to add the following to certain files before running Kris's script. in put project frameworks/base/ as first line in 0001-1.-added-mouse-cursor.patch put project frameworks/base/ as first line in 0001-1.-enabled-power-mgt.patch put project vendor/asus/ eee_701/ as first line

[android-porting] Re: can not resume from suspend [was Re: Cursor.patch fails]

2009-05-08 Thread Yi Sun
Current finding is that the wakelock puts the system back to suspend again after resume. Look at the end of wakelock.c:suspend function, it checks the entry_event_num. I did not see anyone else changed the value of entry_event_num beside wake_lock_internal. Now, my hard drive is screwed up by a

[android-porting] Re: can not resume from suspend [was Re: Cursor.patch fails]

2009-05-08 Thread Yi Sun
ok, I have disabled the check in the suspend function. Now, my machine can wake up from suspend with the pm test. The new problem is that the screen is not on after wakeup, not sure if this is a kernel (fb) issue or a Android issue, still digging. On Fri, 2009-05-08 at 14:53 -0700, Yi Sun

[android-porting] playing video without hardware OpenGL and overlay

2009-05-08 Thread Sergej Pupykin
Hi, I port android to platform without OpenGL and overlay support. I try to play videos with MediaController and found that it use GL drawing which is very slow. I try to switch VideoView surface type to SURFACE_TYPE_NORMAL, but picture disapears at all. 'mplayer -vo fbdev ...' in generic

[android-porting] Re: vold vs. mountd

2009-05-08 Thread Howard M. Harte
I also saw this problem. I'm not using the ADP1, so my hardware is different. Anyway, modifying uevent.c in system/core/vold/vold.c to use PHYSDEVICEPATH seems to work. Here is the patch, it is obviously a hack, but it does seem to work. --- a/vold/uevent.c +++ b/vold/uevent.c @@ -309,6

[android-porting] Re: vold vs. mountd

2009-05-08 Thread Yi Sun
There are other issues with vold, for example, the function get_uevent_param can not handle the param name like xxx_yyy and xxx. It will tread them as the same. On Fri, 2009-05-08 at 16:43 -0700, Howard M. Harte wrote: I also saw this problem. I'm not using the ADP1, so my hardware is