[android-porting] Android screen resolution limit

2008-12-04 Thread [EMAIL PROTECTED]
Hi, I have searched this group but couldn't find the answer: What's the largest screen resolution android support right now? We are going to port android on rather large size of scree and the resolution is about 1024X800. Can Android supports this? If not, is there any setup or configuration file

Re: Fwd: [android-porting] Re: Android porting problem - LCD BPP

2008-12-04 Thread gogofly
Greeting, Now 16 BPP is used at FB driver and surface flinger, but blue color has more weight on the display, I don't know why? The 16 BPP format is: RGGB (RGB565) in the fb driver, is the surface flinger different data format with driver?Thanks! Mark On Dec 4, 12:47 pm, Mathias Agopi

[android-porting] Re: openGL can't support YUV422?

2008-12-04 Thread [EMAIL PROTECTED]
yuv422 to rgb565 doesn't work well uint32_t mCoefTbl32[516]; uint8_t *mCoefTbl = NULL; static void init_coff() { uint8_t *clip; int i; mCoefTbl = (uint8_t *)mCoefTbl32; *((uint32_t*)mCoefTbl) = (int)(65536*0.4681); //0.714); *((uint32_t*)(mCoefTbl+4)) = (int)(65536*1.5748);//

[android-porting] Re: Integrating codec into android

2008-12-04 Thread Yogi
I have facing some problem to launch the emulator after integartion. When i am trying the following command: ~/bin# out/host/linux-x86/bin/emulator Cannot locate system directory, which contains 'system.img' and other system files. Please specify one by using '-system ' or by defining the environ

[android-porting] Re: Enabling Qwerty keyboard with Android

2008-12-04 Thread Rupesh Gujare
Hi, Mouse is identified as a trackball. It doesn't show pointer but you can navigate using it. Regards, -- Rupesh Gujare http://embinux.com Maxime Petazzoni wrote: > > On Dec 3, 9:50 am, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > >> On Wed, Dec 3, 2008 at 9:20 AM, Maxime Petazzoni

[android-porting] Re: openGL can't support YUV422?

2008-12-04 Thread Shirish
Hi, I want to use the YUV format and its a different format. In that case do I need to only change the Surface Flinger to use the Open GL extension for YUV format. Is there some other module which needs to change? Does currently Android 1.0 Release has Open GL extensions for the YUV format? Than

[android-porting] Re: Help to port android on openmoko

2008-12-04 Thread Christopher Friedt
Hi Sean, On Tue, Nov 25, 2008 at 10:01 PM, Sean McNeil <[EMAIL PROTECTED]> wrote: > Third, work that I have done needs cleanup to get past Googles > high-grade review process. I have other things to do, so I honestly have > no idea when I'll get around to that. I was one of the earlier guys to h

[android-porting] Re: Jezelle

2008-12-04 Thread Jean-Baptiste Queru
The open-source release is much closer to RC30 than RC19 if I remember correctly. I don't believe that there should be any significant system-wide performance difference between the three. The current roadmap http://source.android.com/roadmap puts the next open-source step before the end of this

[android-porting] Re: Android screen resolution limit

2008-12-04 Thread Jean-Baptiste Queru
There used to be a point where there was a 1MB limit on the framebuffer (which would be about [EMAIL PROTECTED]). I believe that the emulator might let you easily specify the screen size to use, but I might be wrong. If it does, you should be able to try in the emulator. JBQ On Thu, Dec 4, 2008

[android-porting] Android Audio support

2008-12-04 Thread Pivotian
I am porting Android on S3c6410 and it contains wolfson wm8580 sound chip and the ALSA driver for this is already written inside kernel, Do i need to make any modification in the user space of android to support sound or android will automatically detect the sound? I read somewhere that Porting An

[android-porting] Re: Android x86?

2008-12-04 Thread Lucky-dog
hi all I fixed it with renaming swap to swapab. But now I have another question needed your help. I can't let the following command get to be run. dx --dex --output=foo.jar Foo.class What is the dx command and where is it? Would you like to help me out? Thank you very much. On Dec 3, 10

[android-porting] Re: timer_create problem

2008-12-04 Thread pavan savoy
Hi, Its some-one else's code & its huge, anyways, the functionality doesn't seem to break if I use SIGEV_NONE. Should I expect it to break ? Since the code doesn't really depend on SIGEV_THREAD specifically [I may be wrong..] Anyway, I'll get back as to why the SIGEV_SIGNAL isn't working, all I k

[android-porting] android porting

2008-12-04 Thread borhe
Hello! I am porting the android to the ARM platform,my hardware doesn't have the GPS, bluetooth and GSM , so my goal is to see whether i can run the android Interface(desktop) on my hardware. So far i managed to load main services and run the java virtual machine. When the system starts, I can s

[android-porting] inverted touch on ads7846 chip

2008-12-04 Thread Manav Gautama
Dear droidans, I have a ads7846 chip and the tslib working fine on a 2.6.27 kernel ported to my 2430 based board, with Xorg and tslib have got it to give fine calibration and behaviour. On using android i am getting inverted touch with reference being the X axis. Any tips on ho

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-04 Thread Mohan Parthasarathy
On 12/3/08, Peter McDermott <[EMAIL PROTECTED]> wrote: > > Mohan, > Did you reformat your mmc as ext3? > Yes. The text files contain some instructions about how to do this as well as > some notes about what we had to change in the user space. I was able to > download them at > http://sourcefor

[android-porting] Re: Android Audio support

2008-12-04 Thread Mohan Parthasarathy
Look at the omap-zoom project. They are using ALSA. They are making calls to ALSA from the userspace HAL driver - modified version of the driver included in Android source. Based on my quick parsing, mohan On 12/4/08, Pivotian <[EMAIL PROTECTED]> wrote: > > > I am porting Android on S3c6410 and

[android-porting] Re: Help to port android on openmoko

2008-12-04 Thread Jean-Baptiste Queru
Obviously, there's a process challenge, between the obvious need to get things to work at all and the desire to submit patches back to the main Android tree and have them accepted. This is a situation where "build one to throw away" might have some merit. This is a team effort. It'd be sad to end

[android-porting] Re: inverted touch on ads7846 chip

2008-12-04 Thread Maxime Petazzoni
Hi, You need to invert the READ_X and READ_Y calls in drivers/input/ touchscreen/ads7846.c for the ts->read_x and ts->read_y values. This is a well known OmapZoom issue with Android. - Maxime On Dec 4, 8:42 am, Manav Gautama <[EMAIL PROTECTED]> wrote: > Dear droidans, >                    I hav

[android-porting] Re: android porting

2008-12-04 Thread Dianne Hackborn
I'd suggest digging into the code and seeing why this is happening: E/AndroidRuntime( 98): Caused by: java.lang.NullPointerException E/AndroidRuntime( 98):at android.media.AudioManager.setMode (AudioManager.java:673) E/AndroidRuntime( 98):at com.android.phone.PhoneUtils.setAu

[android-porting] Re: android porting

2008-12-04 Thread borhe
Thank you for a hint, I will definitely look at this. On Dec 4, 10:05 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > I'd suggest digging into the code and seeing why this is happening: > > E/AndroidRuntime(   98): Caused by: java.lang.NullPointerException > E/AndroidRuntime(   98):        at

[android-porting] Re: timer_create problem

2008-12-04 Thread David Turner
the functionality might not break if the callback is used to handled exceptional signals, i.e. that doesn't necessarily mean that using a SIGEV_NONE won't introduce a hideous bug. Do you know exactly what the signal callback function does ? can you provide a small code extract that shows how you s

[android-porting] Re: Android screen resolution limit

2008-12-04 Thread David Turner
the emulator allows you to specify a larger size with a "magic" option (e.g. -skin 800x600), but it seems that the 1MB is either in the kernel or the system code, so large sizes won't work even here :-( On Thu, Dec 4, 2008 at 6:25 AM, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote: > > There used

Re: Fwd: [android-porting] Re: Android porting problem - LCD BPP

2008-12-04 Thread David Given
Mathias Agopian wrote: [...] > The notion of "high" byte and "low" byte in a 24-bits frame buffer is > a little odd. Since these are not 32 bits or 16 bits numbers, I'm not > sure what you mean. People typically use the same order that the equivalent 32-bit format would be. So the first byte, red,

[android-porting] Re: Integrating codec into android

2008-12-04 Thread David Given
Yogi wrote: > I have facing some problem to launch the emulator after integartion. > When i am trying the following command: > ~/bin# out/host/linux-x86/bin/emulator > Cannot locate system directory, which contains 'system.img' and other > system files. Please specify one by using '-system ' or by

Re: Fwd: [android-porting] Re: Android porting problem - LCD BPP

2008-12-04 Thread Mathias Agopian
On Thu, Dec 4, 2008 at 3:55 PM, David Given <[EMAIL PROTECTED]> wrote: > Mathias Agopian wrote: > [...] >> The notion of "high" byte and "low" byte in a 24-bits frame buffer is >> a little odd. Since these are not 32 bits or 16 bits numbers, I'm not >> sure what you mean. > > People typically use

Re: Fwd: [android-porting] Re: Android porting problem - LCD BPP

2008-12-04 Thread David Given
Mathias Agopian wrote: [...] > I don't understand what "looking at a GL_RGB pixel in a word" means. A > word has 32 bits, GL_RGB has 24. Well, I thought it was pretty obvious --- you load your 24 bits, in natural order, into the bottom end of a quad, exactly the same way that you'd load a 32 bit v

[android-porting] Re: Android screen resolution limit

2008-12-04 Thread brad
Thanks for the replies. But I wonder where android sets this limit so I can modify this to support 1024X600 or 1024X800 resolution? David Turner wrote: > the emulator allows you to specify a larger size with a "magic" option > (e.g. -skin 800x600), but it seems that the 1MB is either > in the

[android-porting] Re: Android Audio support

2008-12-04 Thread Dave Sparks
The AudioHardwareInterface abstraction layer allows for user space drivers. You need an implementation that matches your driver. Some want ALSA, some want OSS, still others want some proprietary interface with user space code that isn't required to be open sourced under GPL. By abstracting the aud

[android-porting] Re: openGL can't support YUV422?

2008-12-04 Thread Dave Sparks
The reference software implementation of SurfaceFlinger doesn't support YUV color conversion. It uses the Y plane for monochrome so that something is displayed. On Dec 4, 3:22 am, Shirish <[EMAIL PROTECTED]> wrote: > Hi, > > I want to use the YUV format and its a different format. In that case >

[android-porting] Re: Integrating codec into android

2008-12-04 Thread Yogi
Thanks David. On Dec 5, 5:01 am, David Given <[EMAIL PROTECTED]> wrote: > Yogi wrote: > > I have facing some problem to launch the emulator after integartion. > > When i am trying the following command: > > ~/bin# out/host/linux-x86/bin/emulator > > Cannot locate system directory, which contains

[android-porting] wpa_supplicant not compiled?

2008-12-04 Thread Richard Zhao
Hi all, I got android souce using repo sync, and run choosecombo using the default value. After making, I find external/wpa_supplicant was not compiled. I can't find place to add wpa_supplicant for compile. I also tried the wpa_supplicant from G1 phone, but it doesn't support wireless extension

[android-porting] Re: problem when using gcc-4.3.2

2008-12-04 Thread Yang Xiaopeng
Thanks Sean, I wonder whether android will support newer version gcc so that we can get support for new features in armv7 architecture, like thumb2 and neon/vfp3. Sean McNeil 写道: > Don't use 4.3.x. Use gcc 4.2.4 or older. > > Damwid wrote: >> Hi all, >> >> I'm trying to use gcc-4.3.2 from codesou

[android-porting] Re: problem when using gcc-4.3.2

2008-12-04 Thread Sean McNeil
As far as I can tell, it is external/elfcopy that is the only issue preventing newer versions of gcc from working. I'm sure this will eventually be updated to work with them. Yang Xiaopeng wrote: > Thanks Sean, > > I wonder whether android will support newer version gcc so that we can get > suppo

[android-porting] ALSA userspace library

2008-12-04 Thread Pivotian
I just now saw that the latest Android contains "ALSA userspace library" , what is this for ? does this means that we need not requires inheriting from and modifying AudioHardwareInterface to support the driver-specific implementation. --~--~-~--~~~---~--~~ unsubscr

[android-porting] Re: openGL can't support YUV422?

2008-12-04 Thread [EMAIL PROTECTED]
can OpenGL convert YUV422P to RGB565,thanks On 12月5日, 下午12时42分, Dave Sparks <[EMAIL PROTECTED]> wrote: > The reference software implementation of SurfaceFlinger doesn't > support YUV color conversion. It uses the Y plane for monochrome so > that something is displayed. > > On Dec 4, 3:22 am, Shir

[android-porting] Re: ALSA userspace library

2008-12-04 Thread Misael Lopez
> does this means that we need not > requires inheriting from and modifying AudioHardwareInterface to > support the driver-specific implementation. No, ALSA userspace library contains the functions that you may need to create your own AudioHardwareInterface implementation. But if your driver is

[android-porting] Re: Audio support

2008-12-04 Thread mvniekerk
I've sorted the problem. If you go to line 2962 of alsa-lib/src/conf.c, I've changed it to the following: { if (!configs) { configs = ALSA_CONFIG_PATH_DEFAULT; if (!configs) configs = getenv(ALSA_CONFIG_PATH_VAR); } } What ha

[android-porting] port c++ layout engine

2008-12-04 Thread zoneson
Hi, We are planning to port our own layout engine, written in C++, to Android. It will play the role similar to Webkit layout engine. We would like to know: 1. Are there any documents or guidelines to us since the applications will be written in Java? Is android.webkit.WebView class a good e