[android-porting] How to send data from android application to UART

2010-10-11 Thread pramod.deore
Hi, I want to develop an Android application which will communicate (read and write data) with UART. I had tried to search documents for this but I was not successful. Please let me know how to communicate with UART from android application? If any link is there please provide me. It's really very

[android-porting] Information regarding to565.c file

2010-10-11 Thread abdul bari
hi, How to convert an image as .rle using to565.c program The code try to read data from stdin. how to provide an image file as input to the program. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Information regarding to565.c file

2010-10-11 Thread abdul
Hi, Iam trying to use to565.c program to convert image file to .rle. When i saw the code of to565.c,it tries to read data from stdin.How can i provide image file as an input. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] port a linux c app to android

2010-10-11 Thread Vb
Hi, I am trying to port an application which is compiling and working in linux env. The application references a set of *.a files which was given by an external vendor. I extracted the *.a and copied it into a *.so file. I copied the *.so files and the include *.h files in to the /external// fold

Re: [android-porting] How to send data from android application to UART

2010-10-11 Thread Ashwin Bihari
You will need to create a JNI interface that will deal with the low-level UART handling and then you can either create a Java file and package that with the JNI into a library that you can use from your application or you can package that Java file with your application and use the JNI functionalit

[android-porting] Re: htop ncurses static library

2010-10-11 Thread Alexey Roslyakov
Hello, I think problem is: >3. Copied the ncurses inside htop sources folder Try move it to platform/external directory. Also: CyanogenMod already contains htop, you can lookup smth useful in their repo. On 11 окт, 07:50, Kurt Glivos wrote: > Hi, >      I'm trying to port htop into android. This

[android-porting] Re: Multi-touch in browser of Froyo AOSP

2010-10-11 Thread G2
After reading the code, I think that zoom pinch is not implemented in browser of AOSP. Please correct me if I'm wrong. The place to implement it would probably be: frameworks/base/core/java/android/webkit$ mousepad WebView.java This would be a good tutorial: http://www.zdnet.com/blog/burnette/how

[android-porting] How to Benchmark Video Playback performance?

2010-10-11 Thread Marvin Hsu
Hello, We are trying to compare different SW/HW solutions in terms of video playback performance. Ideally we want to play a series of videos with different bit rate and resolution, and check how well the platform can play it. For example, counting how many frames are dropped in each scenario. How

Re: [android-porting] How to Benchmark Video Playback performance?

2010-10-11 Thread Deva R
similar thread - http://groups.google.com/group/android-porting/browse_thread/thread/8e60ef93ce4e464e You can profile the frames passed to display device at VideoMIO for opencore, Renderer level for stagefright., also, its possible to detect and track how many frames are dropped. (w both opencore/

Re: [android-porting] port a linux c app to android

2010-10-11 Thread Deva R
seems compilation is fine dude to proper header, but fails at linking stage. you can place libraries in lib path (which is usually $MYDROID/out/target/product//system/lib.. try copying manually and see if it helps. there are ways to export prebuilt binaries) next issue might probably be due to a

Re: [android-porting] Removing standard package SpeechRecorder in Build

2010-10-11 Thread Deva R
just delete /system/app/speechrecorder.apk from your filesystem after build or before boot. if you are using ext3 filesystem, its simple file detetion.., or if its a filesystem rom image, you need to mount it and delete it. to avoid it completely, it can be removed from project manifest altogethe

Re: [android-porting] How to send data from android application to UART

2010-10-11 Thread Deva R
android bluetooth stack exactly does the same., brief overview - http://sites.google.com/a/android.com/opensource/projects/bluetooth-faq (a post on the same - http://i-miss-erin.blogspot.com/2009/06/android-bluetooth-introduction-part-i.html ) (many other connectivity stacks like modem, gps, etc

Re: [android-porting] Information regarding to565.c file

2010-10-11 Thread Deva R
from your target or what? btw => its getting built to host architecture and binary remains at $MYDROID/out/host/linux-x86/bin/rgb2565 ('m not sure of the purpose though) you can reuse code with ur custom file open/read calls anyway., come with your own rgb2565 android libarary/executable., -- Re

Re: [android-porting] Kernel Crash in Some hardware ,After some cycle

2010-10-11 Thread Abhinayak Mishra
seems like you have left all the interesting stuff out of the actual log itself. :) post a more detailed log and someone might be able to help you out. On Mon, Oct 4, 2010 at 9:05 PM, gopu wrote: > Hi , > > Anybody have idea about why this crash is happening .This crash > happening in some ha

[android-porting] Making Wifi work on overo board running Android

2010-10-11 Thread manish shakya
Hi everyone, I am trying to make Marvell Wifi to work on overo board running Android. I am using 2.6.32 linux kernel and Android 2.2. I have put all files( libertas_sdio.ko, sd8686.bin,sd8686_helper.bin etc) in required place. I am using d8686.bin,sd8686_helper.bin from console prebuilt image (2.

[android-porting] Re: Information regarding to565.c file

2010-10-11 Thread prunand
First, be sure to build the source in order to get the rgb2565 executable. Then, starting with a png (without transparency), do the following: 1. Convert the png to raw format, using imagemagick: convert -depth 8 myimage.png rgb:myimage.raw 2. Run rgb2565 against the png using the following:

[android-porting] Android in another non-androids

2010-10-11 Thread jovistile
Want to Know if you can put Android on Mobile Devices, which manufactures non-Android! I mean, I can put the system in androida Rokr Z6 Motorola phone that uses the Mobile Linux platform which is also open source? Sorry for my english, I am Brazilian and I have a Rokr z6 and was wondering if you c

[android-porting] StageFreight seeking improvements

2010-10-11 Thread Daniel Charles
Hi list, I'm working with the seek operations using StageFreight. Maybe this is something known but since I saw it on a Motorola Droid, I'm wondering how seek can be improved in general for any device. My problem is a follows, 1. Start playing a clip 2. Pause the clip after some seconds (it i

[android-porting] Re: porting 3G modem in Android to transfer data

2010-10-11 Thread binh nguyen
Hello, Hardware is OMAP3630 with USB serial + 27.010 demuxer, ex: /dev/ ttyUSB0 please help me about this. Thanks On Oct 7, 8:48 pm, Hamilton Vera wrote: > Provide more info about the hardware, does it use usbserial module? > Does it bind to a /dev/ttyUSBx? > > []'s > > Hamilton Vera > > On Tue,

[android-porting] KeyCharacterMap problem and Bluetooth Headset

2010-10-11 Thread Ajith Kamath
Hi I am facing a problem with Bluetooth Headset and KeyCharacter Mapping When I press play/pause button from Samsung sbh-170 , its not getting reflected in Phone. I traced and came to know that , normally scan code of 164, keycode of 85 is formed when i press Headset play/pause. And PhoneWindow m

[android-porting] Re: [android-developers] KeyCharacterMap problem and Bluetooth Headset

2010-10-11 Thread Dianne Hackborn
This is unrelated to keycharmap files, which are used for converting key events to printable characters. Generally the Linux driver for the device should be reporting the key as the standard Linux key code, and there is a generic scan code -> key code mapping the platform has for turning those to

[android-porting] Re: htop ncurses static library

2010-10-11 Thread Kurt Glivos
Hello Alexey Thank you for the response. Tried moving ncurses to platform/ external but is the same problem. Regarding CyanogenMod; I could only see ncurses (http://github.com/ CyanogenMod/android_external_libncurses) but not htop. Could you please ponit me to htop. Sorry to bother you but e

[android-porting] the format of resources.arsc has been changed in android 2.2.1

2010-10-11 Thread allstars
hi recently I have found that the resources.arsc in APK the format has been changed slightly I use HelloActivity as example in api level : android-8 the string is H.E.L.L.O but in my mydroid build, (branch froyo-release) PLATFORM_VERSION=2.2.1 its string is HELLO the format has been changed fr

[android-porting] Playing of opencore test output .dat file for VIDEO

2010-10-11 Thread journeyer
Hi list, I am recently testing opencore test code following the document "quick_start.txt" under "external/opencore" from Android-x86 project(Donut-x86) Once I executed any test using "make run_pe_test TEST_ARGS=\"-test # # \"", I got output .dat files under "external\opencore\build_config \openc

[android-porting] Re: Making Wifi work on overo board running Android

2010-10-11 Thread hairui
Maybe you should re-compile the modules for yourself arch which you chose to use the prebuild one. On 10月12日, 上午2时50分, manish shakya wrote: > Hi everyone, > > I am trying to make  Marvell Wifi to work on overo board running Android. I > am using 2.6.32 linux kernel and Android 2.2. I have put all

[android-porting] Some issues about lock the screen orientation

2010-10-11 Thread hairui
Hi everyone, I am a developer on an android porting project. While looking for ways to 'lock' the screen orientation in the framework layer, I found some posts here talking about the similar topic. I guess the key is to modify the file 'lockscreen.java' or nearby, but i know no more about what to

Re: [android-porting] port a linux c app to android

2010-10-11 Thread Vijay Bharath
Hi Deva, Thanks for your reply. I have already placed the libraries to the mentioned folder manually. Still i am getting the error. The libraries are provided by an external vendor and they want to hide the source from us. Is there anyway to cross compile the existing library with android withou

[android-porting] How to develop a android app store

2010-10-11 Thread Nitin Mahajan
Hello, How can we develop an Android app store, to distribute apps/upgrades specific to a product, which is a non mobile device? Any pointers towards this would be very helpful. thanks and regards -Nitin -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google