[android-porting] Byte stream @ "/sys/class/lightsensor/switch_cmd/" getting deleted on Reboot.

2009-06-26 Thread Zhubham
I mark auto brightness checkbox option in one of my apk. This would send some byte stream to "/sys/class/lightsensor/switch_cmd/ lightsensor_file_cmd". And auto brightness will be activated once this byte stream is delivered However, the auto brightness capability should be ON eve

[android-porting] Re: We want to port android on FPGA as part of master thesis. Please help

2009-06-26 Thread Elvis Dowson
Hi guys, The effort required to port android to an FPGA is huge!! My honest opinion is to try to scale your thesis into something more realistic and achievable in a 1 year time frame, such as hooking up an existing general purpose CPU to an FPGA and accelerating a specific computational a

[android-porting] Re: Class resolved by unexpected DEX

2009-06-26 Thread bazookier
On 6月27日, 上午10时49分, bazookier wrote: > On 6月27日, 上午3时12分, fadden wrote: > > > > > > > On Jun 26, 12:55 am, bazookier wrote: > > > > I have two classes declared in one package. > > > One accesses the other. > > > Made a dex file contain this whole package. > > > When running, it reported the f

[android-porting] Re: We want to port android on FPGA as part of master thesis. Please help

2009-06-26 Thread Sean McNeil
FPGA stands for Field Programmable Gate Array. It is essentially programmable hardware. The answer to such a query is no, Android cannot be ported to an FPGA. You would basically need a 32-bit cpu core placed on the FPGA along with supporting hardware. Then port Linux onto it, then Android. An

[android-porting] Re: Class resolved by unexpected DEX

2009-06-26 Thread bazookier
On 6月27日, 上午3时12分, fadden wrote: > On Jun 26, 12:55 am, bazookier wrote: > > > I have two classes declared in one package. > > One accesses the other. > > Made a dex file contain this whole package. > > When running, it reported the following error: > > > Class resolved by unexpected DEX:

[android-porting] Re: We want to port android on FPGA as part of master thesis. Please help

2009-06-26 Thread Eric Wong (hdmp4.com)
On Jun 26, 2:49 am, tapas kundu wrote: > Hi all, > > We are doing our masters project at IITD, our supervisor has asked us > to consider getting the Andoid OS working on FPGA. What exactly is that? > > This project is very important for us as it has 18 credits out of > total 61. So we want to be

[android-porting] Re: Open soft keyboard with button?

2009-06-26 Thread Dianne Hackborn
Ouch my head hurts. What in the world is the point of showing a soft keyboard when there is no touch screen?!? Anyway, you can use the InputMethodManager class to show or hide the current soft keyboard. I really don't understand what you mean about using SYM to show a soft keyboard, I don't thin

[android-porting] Re: Android on OLPC anyone?

2009-06-26 Thread Jacob Yu
Hi! Just wonder how does this project progress. I am also interested in Android port on OLPC but I don't have a XO yet. Best, On Mon, Apr 27, 2009 at 12:15 AM, Gani Bhagavathula < gani.bhagavath...@gmail.com> wrote: > > Gowtham: > > I have just read in another thread that it looks for it in /et

[android-porting] Re: Class resolved by unexpected DEX

2009-06-26 Thread fadden
On Jun 26, 12:55 am, bazookier wrote: > I have two classes declared in one package. > One accesses the other. > Made a dex file contain this whole package. > When running, it reported the following error: > > Class resolved by unexpected DEX: .. > .. The message means it expected the cla

[android-porting] Flv to mp4 Convertion

2009-06-26 Thread Vinay
Hi All, I want to play the flv files in Android. So what I thought is to convert the flv file to mp4 or 3gp(for which there is a decoder in Android). OpenCore can be used to convert. I have looked into opencore code, there is a class in opencore "/android/external/opencore/ fileformats/mp4/compose

[android-porting] Re: USB Mouse HID integration issue

2009-06-26 Thread Yi Sun
Ok, good to know. Xor, I did not get time to look at your logcat output yet, You may try this out as well. Thanks Yi On Fri, Jun 26, 2009 at 2:56 AM, Dinesh M wrote: > Dear Yi Sun, > > Thanks for your suggestion. I checked the power management, in the kenel > settings the wakelock was turned off

[android-porting] Re: How to get to android jni library to access /dev/ttyS0

2009-06-26 Thread Michael Trimarchi
Hi, Addison wrote: > for temparately, > you can try "chomd 777 /dev/ttyS0" to see if it works or not. This is a temp hack. The best thing is change the owner of the process to open the device. I just ask to the list in how android assign process owner and I'm waiting for an answer Michael > >

[android-porting] Re: How to get to android jni library to access /dev/ttyS0

2009-06-26 Thread Addison
for temparately, you can try "chomd 777 /dev/ttyS0" to see if it works or not. 2009/6/26 Elvis Dowson > > Hi, > I'm writing an android jni project to access the serial ports, > e.g. /dev/ttyS1, however, I get the following error: > > I/SerialLibrary( 1070): Opening serial port /dev/ttyS0 :

[android-porting] Re: Android boot hangs at splash screen

2009-06-26 Thread Neo
On Jun 26, 7:12 am, Neo wrote: > On Jun 26, 3:02 am, chrisk wrote: > > > Hi all, > > > I am wondering if this issue (the battery > > issuehttp://tinypic.com/view.php?pic=30k65vr&s=5 > > ) has been resolved and there is a patch ID for gerrit available? > > If anybody has the final resolution I

[android-porting] Re: V4L2 Camera interface

2009-06-26 Thread Androidphan
I don't know, I never heard of libv4l2convert before. On Jun 26, 2:20 pm, Harishkumar V wrote: > Androidphan, > > Thanks, > > Also, i am using kernel version 2.6.29 and using v4l2, now-a-days i see of > lot of applications seems to be working only if u do preloading of > libv4l2convert , otherwi

[android-porting] Re: V4L2 Camera interface

2009-06-26 Thread Harishkumar V
Androidphan, Thanks, Also, i am using kernel version 2.6.29 and using v4l2, now-a-days i see of lot of applications seems to be working only if u do preloading of libv4l2convert , otherwise the pixel format or the conversion is not happening, the display screen is black. Whether i need to do any

[android-porting] Open soft keyboard with button?

2009-06-26 Thread Markus
Hi, we have written an own soft keyboard for our hardware. Unfortunately, our hardware does not have a touchscreen. Is there are way to call the soft keyboard with a button? In a development version of Android, we could use SYM as keycode, but this does not work anymore. It just opens the soft ke

[android-porting] Re: V4L2 Camera interface

2009-06-26 Thread Androidphan
Your input frames for the camera are jpeg? Then you should change pixel format to V4L2_PIX_FMT_JPEG probably. Also you need to change the size of the buffers. At the moment they are 2 bytes per pixel: width * height * 2. On Jun 26, 1:03 pm, Harishkumar V wrote: > Hi Androidphan, > > I have one d

[android-porting] Re: V4L2 Camera interface

2009-06-26 Thread Harishkumar V
Hi Androidphan, I have one doubt, i have one logitech QuickCam Connect which supports jpeg as raw pixel format unlike other camera's which support RGB or yuv as raw pixel format. whether i needs to change anything in v4l2-camera.patch to make this work with android or it straight forward works.

[android-porting] Re: USB Mouse HID integration issue

2009-06-26 Thread Dinesh M
Dear Yi Sun, Thanks for your suggestion. I checked the power management, in the kenel settings the wakelock was turned off , and I enabled it started working. Thanks for your support. Rgds, Dinesh.M On Fri, Jun 26, 2009 at 12:50 PM, Yi Sun wrote: > I think (maybe) you have a power management i

[android-porting] Re: V4L2 Camera interface

2009-06-26 Thread crazygenie
It's working! Thanks Androidphan :-) On Jun 24, 7:04 pm, Ravishankar Haranath wrote: > Hi Androidphan, > > Thanks for this great effort. I will re-build with the changes included and > test it again on my netbook. > > 2009/6/24 Harishkumar V > > > Thats gr8... > > > As per Atsuo mail, we have w

[android-porting] Re: system_server SIGSEGV.

2009-06-26 Thread bryan hsu
i have meet the same issue , and just use mountd instead of vold. then it is ok. --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--

[android-porting] Re: where is "bionic/libc/kernel/original"??

2009-06-26 Thread Jimmy-Creupagu
OK. I'll wait until then... and try to find some arch-specific headers :) On Jun 25, 2:14 pm, David Turner wrote: > the headers are not available yet. We're working on putting them in the > open-source repository. > (for the record, it's a mix of old and new headers, for various historical > rea

[android-porting] Class resolved by unexpected DEX

2009-06-26 Thread bazookier
I'd like to ask one question: I have two classes declared in one package. One accesses the other. Made a dex file contain this whole package. When running, it reported the following error: Class resolved by unexpected DEX: .. .. The information said when one class access the other, the

[android-porting] Re: USSD feature on Android

2009-06-26 Thread Michael Trimarchi
Henrik Persson wrote: > Hi there, > > >> From: android-porting@googlegroups.com >> > [mailto:android-port...@googlegroups.com] On Behalf Of Rakesh Kumar > >> Sent: den 26 juni 2009 09:35 >> To: android-porting@googlegroups.com; >> > omapandroid-discuss...@omapzoom.org > >> Subje

[android-porting] Re: USSD feature on Android

2009-06-26 Thread Henrik Persson
Hi there, >From: android-porting@googlegroups.com [mailto:android-port...@googlegroups.com] On Behalf Of Rakesh Kumar >Sent: den 26 juni 2009 09:35 >To: android-porting@googlegroups.com; omapandroid-discuss...@omapzoom.org >Subject: [android-porting] USSD feature on Android > > >Hi, >I

[android-porting] USSD feature on Android

2009-06-26 Thread Rakesh Kumar
Hi, I am working on USSD feature on Android. USSD data is coming as Unsolicited response whem I am giving AT+CUSD command. Now , Please help me how to handle these data. Thanks & Regards Rakesh --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@go

[android-porting] Re: USB Mouse HID integration issue

2009-06-26 Thread Yi Sun
BTW-- all the event are stuck at x:0,y:-32 that is not right. Suppose that the keyinputqueue should conver the rel_x/y to abs_x/y. It seems that the convertion has some issue. You may also need to add some debug in the keyInputqueue as well to see what the rel_x/y is and how it is converted. Anyway

[android-porting] Re: USB Mouse HID integration issue

2009-06-26 Thread Yi Sun
I think (maybe) you have a power management issue. Could you check if you kernel has wakelock turned on? Is this a eeepc or what? Please also send me your WindowManager and KeyInputQueue java files Yi On Thu, Jun 25, 2009 at 11:13 PM, Dinesh M wrote: > Dear Yi Sun, > > Please find the logs aft