[android-porting] Android build fail issue after reverting back to JDK 5.0

2009-08-13 Thread krish24
Hi all, We have ubuntu version 8.04 with JDK 6 (java version 1.6.0_10). We were using the ubuntu server for Android build and build was happening fine. In order to build latest release of Android, its been suggested to revert back to JDK 5(java 1.5). After uninstalling the JDK 6 and installing

[android-porting] Re: Android build fail issue after reverting back to JDK 5.0

2009-08-13 Thread Abhinayak Mishra
Simple hack to fix this would be to comment out the error instruction from the make file build/core/main.mk, line 121. You probably will find it in a couple of places in the make file. This would be just a hack to get you to compile, but what exactly are the actual functional dependencies on the

[android-porting] Re: How to build full source for MIPS(e.g:HMP10)

2009-08-13 Thread GeunSik Lim (invain)
and, One more... f11$ cd ~/bin/ f11$ wget http://dl.google.com/android/android-sdk-linux_x86-1.5_r3.zip f11$ cd ~/bin/android-sdk-linux_x86-1.5_r3/tools f11$ mkdir myimage f11$ cp ~/bin/mipsandroid/out/target/product/hmp10/*.img ./myimage f11$ cp

[android-porting] Re: Android build fail issue after reverting back to JDK 5.0

2009-08-13 Thread Abhinayak Mishra
Though if you use use jave 1.6 instead of 1.5( Eclipse Java Compiler v_774_R33x, 3.3.1, Copyright IBM Corp 2000, 2007. All rights reservedseems a bit iffy ), with this hack to make it compile, i would not expect to have any functional issues per say, but I might be wrong :). -Abhinayak On

[android-porting] Re: Android build fail issue after reverting back to JDK 5.0

2009-08-13 Thread Abhinayak Mishra
seems like your eclipse java version overrode the 1.5 ...if you want a cleaner solution, try doing $sudo apt-get install sun-java5-jdk On Wed, Aug 12, 2009 at 11:41 PM, Abhinayak Mishra abhina...@gmail.comwrote: Though if you use use jave 1.6 instead of 1.5( Eclipse Java Compiler

[android-porting] Re: How can I add my definition variables in Android source?

2009-08-13 Thread 이광도
Thank you for your reply.But I tried to modify the linux-arm.mk file by adding $(combo_target)GLOBAL_CFLAGS += \ -mach=arm5te -mtune=xscale \ -msoft-float -fpic \

[android-porting] Re: conatct/calender/dialer does not launch

2009-08-13 Thread vinay
Got fixed but in a strange way.. I am flashing using MMC card and this card need to be FAT formatted. On Aug 12, 8:06 pm, Yi Sun beyo...@gmail.com wrote: What did you do? Here is what I did: for each xxx-finger, I created a new directory called xxx-notouch On Wed, Aug 12, 2009 at 4:10

[android-porting] Hardware/Software Codec in OpenCore

2009-08-13 Thread Vinay
Hi All, I wanted some clarification about hardware and software codecs. I am integrating a hardware codec for some video format into OpenCore. I will get the codec from my vendor. After integration does it work in emulator, since the codec I am integrating is the hardware codec? Can I have both

[android-porting] Android: Starting User mode process from kernel mode driver

2009-08-13 Thread Rama
Hi all, We are developing an application in 'C'. We need to launch this process from USB gadget driver when its connected to Host. For this we used call_usermodehelper( ). But its not launching the process and we are not able to find root cause for this issue. Can anyone help us in this issue.

[android-porting] Re: Does android provide SMP multicore support ?

2009-08-13 Thread Gani Bhagavathula
Tapas: Android uses linux kernel. The kernel already has SMP support if you turn it on. The default kernel config for x86 has it turned on, so I would say Android on X86 already supports SMP. Other platforms, I dont know... Gani On Aug 12, 9:49 am, tapas kundu tapaskun...@gmail.com wrote:

[android-porting] Re: Does android provide SMP multicore support ?

2009-08-13 Thread pavan savoy
I am not sure about this. So you mean none of android staging drivers need to be SMP aware ? regards, Pavan On Thu, Aug 13, 2009 at 4:39 PM, Gani Bhagavathula gani.bhagavath...@gmail.com wrote: Tapas: Android uses linux kernel. The kernel already has SMP support if you turn it on. The

[android-porting] Re: audio video rendering in opencore

2009-08-13 Thread RaviY
It's upto the implementation of the MIO. The MIO gets to decide what it needs to do with the data that it receives. -Ravi On Aug 11, 11:09 pm, sandy sandroi...@gmail.com wrote: During media playback, the audio PCM and video YUV data is sent to audio and video MIO, which then send it to the

[android-porting] Re: Hardware/Software Codec in OpenCore

2009-08-13 Thread RaviY
Hardware codec typically means a codec that runs on a DSP. On the emulator, there are no hardware resources, so there is no way the hardware codec will be able to instantiate. Yes. You can have multiple codecs of the same format. The order in which the codecs will be picked up depends on the

[android-porting] Re: PORTING android to my smdk2440 board

2009-08-13 Thread jeefjiang1983
Thanks ,the following is the information after input the logcat commad,can you give me some advices I/DEBUG ( 1531): debuggerd: Aug 11 2009 18:45:02 E/mountd ( 1530): could not read initial mass storage state D/AndroidRuntime( 1533): D/AndroidRuntime( 1533): AndroidRuntime START

[android-porting] Re: Link error when link with 3rd party static library

2009-08-13 Thread tony
Let's describe more of my case: The static lib vendorlib1.a vendor2.a is located at external/vendor/ My project is located at frameworks/base/test/ Hi RaviY, Thanks for your comments first. When use include $(BUILD_MULTI_PREBUILT) ,the linker will complain all the symbol used is umdefined as if

[android-porting] Re: mobile ARM11-based platform, Linux 2.6.30 drivers - seeking suggestions for a quick port

2009-08-13 Thread sfLeon
Hi Tony, it is Samsung SC6410 On Aug 12, 6:28 pm, tommy tommy hongjiuj...@gmail.com wrote: hi,sfleon,What's your ARM11 SOC ? PXA or Samsung ? 2009/8/13 sfLeon sfl...@gmail.com Hello everyone - Any suggestions for a quick port? Have mobile ARM11- based platform, Linux 2.6.30 drivers,

[android-porting] Re: How can I add my definition variables in Android source?

2009-08-13 Thread white
You need to your definition in kernel's Makefile. You can search kernel/Makefile. On Aug 13, 5:07 pm, 이광도 chungae...@gmail.com wrote: Thank you for your reply.But I tried to modify the linux-arm.mk file by adding $(combo_target)GLOBAL_CFLAGS += \                                              

[android-porting] Re: whether the latest ANDROID supports armv4

2009-08-13 Thread white
Of course. It's not depend on the architecture. Because of Dalvik JVM. On Aug 11, 4:23 pm, jeefjiang1983 jeefjiang1...@163.com wrote: hi Hi all, I am a newbie in ANDROID. I am proting ANDROID ON SC32440,can anybody tell me whether  the latest ANDROID supports armv4? 2009-08-11

[android-porting] Re: Link error when link with 3rd party static library

2009-08-13 Thread RaviY
LOCAL_PATH := $(my-dir) include $(CLEAR_VARS) MY_LOCAL_PATH := LOCAL_PATH LOCAL_PREBUILT_LIBS := libvendor1.a libvendor2.a include $(BUILD_MULTI_PREBUILT) LOCAL_PATH := MY_LOCAL_PATH include $(CLEAR_VARS) LOCAL_MODULE := libvendorshared LOCAL_WHOLE_STATIC_LIBRARIES := libvendor1 libvendor2

[android-porting] Re: ping DNS issue! ping returns unknown host www.yahoo.com but ping to IP works fine

2009-08-13 Thread jolly1312
Thanks everyone. Hailong, your command worked like a charm. DNS stuff is working now on Android. Why statically linked busybox doesn't work is separate issue which I'll tackle some other day. Thanks again. On Aug 12, 10:14 pm, Nikhil Gautam jolly1...@gmail.com wrote: Thanks, I was doing

[android-porting] Running Linux Commands

2009-08-13 Thread Lew Dawson
Is there a native terminal/console application in Android that can be used to run Linux commands? For example, if I wanted to run an 'ls' in a directory or a 'modprobe' to see what is loaded. If there is no such thing, how could I go about executing Linux commands? Thanks! Have a great day! --

[android-porting] Enabling bluetooth on Android

2009-08-13 Thread Prasanna
Can any help me to enable bluetooth on android platofrm (steps to configuration, patched,test program ..etc)? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Very basic questions about porting and my linux based phone.

2009-08-13 Thread sigmax
Hello! I've been looking around for some info about android for any phone, other the T-mobile and HTC developer platform. I have a linux based phone, the yuhua Inid, sold in spain as Funker f901 and in Thailand (where I got it) as i-mobile 904. IT has an Intel PXA270 processor at 400mhz, 64mb

[android-porting] Re: ping DNS issue! ping returns unknown host www.yahoo.com but ping to IP works fine

2009-08-13 Thread jolly1312
Thanks everyone. Hailong, your command worked like a charm. DNS stuff is working now on Android. Why statically linked busybox doesn't work is separate issue which I'll tackle some other day. Thanks again. On Aug 12, 10:14 pm, Nikhil Gautam jolly1...@gmail.com wrote: Thanks, I was doing

[android-porting] Re: Running Linux Commands

2009-08-13 Thread Yi Sun
try to add busybox On Thu, Aug 13, 2009 at 8:22 AM, Lew Dawson lew.daw...@gmail.com wrote: Is there a native terminal/console application in Android that can be used to run Linux commands? For example, if I wanted to run an 'ls' in a directory or a 'modprobe' to see what is loaded. If

[android-porting] Re: Running Linux Commands

2009-08-13 Thread தங்கமணி அருண்
why the default Terminal app is not present on the Launcher screen ?? is we need to do some configs for that ?? On Thu, Aug 13, 2009 at 10:23 PM, Yi Sun beyo...@gmail.com wrote: try to add busybox On Thu, Aug 13, 2009 at 8:22 AM, Lew Dawson lew.daw...@gmail.com wrote: Is there a native

[android-porting] Re: Very basic questions about porting and my linux based phone.

2009-08-13 Thread Abhinayak Mishra
WOW ! That's really one of the very few emails I have seen where someone did all the background work ! :) I have been working with phones for sometime now and that is actually a lot of useful information !! first you should figure out if someone has already ported android to PXA270, since its an

[android-porting] Re: Running Linux Commands

2009-08-13 Thread Abhinayak Mishra
because phone makers don't want terminals available on their handsets! :) jokes apart...you can telnet into the device over serial port and you pretty much have a remote shell...if that does not work for you ...you can look at the adb tool as well. -Abhinayak 2009/8/13 தங்கமணி அருண்

[android-porting] Can't get adb shell to connect to real M912

2009-08-13 Thread Chris Doherty
Okay, I have Android built from the android-x86 source tree (http:// code.google.com/p/android-x86/) using the instructions on the wiki there. The only change I've made from the default is the addition of the M912 touchscreen patch from the M912 Android patches project

[android-porting] Re: Very basic questions about porting and my linux based phone.

2009-08-13 Thread sigmax
Hi Abhinayak! Thanks for your quick answer. Yep, I did lots of search. There is nothing more about this phone. It has been sold in Europe, mainly in spain, at 139 euros by a company called funker: http://www.funkertech.com/funker901.htm It had also been introduced in Thailand by i-mobile,

[android-porting] Re: mobile ARM11-based platform, Linux 2.6.30 drivers - seeking suggestions for a quick port

2009-08-13 Thread tommy tommy
hi,you can use Kandroid source code ,easy to port! Do you have gtalk ?or MSN? 2009/8/13 sfLeon sfl...@gmail.com Hi Tony, it is Samsung SC6410 On Aug 12, 6:28 pm, tommy tommy hongjiuj...@gmail.com wrote: hi,sfleon,What's your ARM11 SOC ? PXA or Samsung ? 2009/8/13 sfLeon

[android-porting] Re: Link error when link with 3rd party static library

2009-08-13 Thread tony
I have one question for the change: How android know the location of the static library as we don't give the absolute path of the files?I add the path in LOCAL_PREBUILT_LIBS but also get same error. And I got below erorr with your suggested change: make: *** No rule to make target

[android-porting] Re: android restart during a2dp connection

2009-08-13 Thread pavan savoy
The following from frameworks/base projects. [the problem is different projects in different commits - strange looking manifests]. commit 5c1207be90fdf296c1b83034b7c68915e1749284 Author: Jean-Baptiste Queru j...@google.com Date: Fri Jul 31 17:38:20 2009 -0700 donut snapshot In any case I

[android-porting] Re: Link error when link with 3rd party static library

2009-08-13 Thread RaviY
Your static libraries should be in the same location as your makefile. -Ravi On Aug 13, 10:29 pm, tony e13...@gmail.com wrote: I have one question for the change: How android know the location of the static library as we don't give the absolute path of the files?I add the path in

[android-porting] Re: Very basic questions about porting and my linux based phone.

2009-08-13 Thread Jerome Duval
You're in luck (sort of)! The PXA270 is an ARM processor and it's the same as the axim x51v (and possibly other Axims, I'm not sure). The sort of comes from the fact that I have no idea what the patches to apply to the cupcake tree are to get the Android image for the x51v, as they haven't

[android-porting] Re: ping DNS issue! ping returns unknown host www.yahoo.com but ping to IP works fine

2009-08-13 Thread David Turner
The Android C library contains a DNS resolver that doesn't use /etc/resolv.conf or /etc/nsswitch.conf Instead, to it uses a list of system properties instead: net.dns1 - IP address of first DNS server net.dns2 - IP address of second DNS server ... Additionally, the Donut platform (not Cupcake)

[android-porting] Re: Running Linux Commands

2009-08-13 Thread Lew Dawson
Thank you all for the replies. I ended up using busybox successfully as suggested above. I am running Android on the Beagle Board. I did the following (for anyone else who has the same question in the future): 1. Downloaded the busybox binary 2. Copied the binary to /data/busybox on the data

[android-porting] Camera postBuffer error message help

2009-08-13 Thread John Cola
Dear All Dose anyone have any idea about following message? The function of camera can still work properly but the error message is annoying!! == E/SurfaceFlinger( 252): LayerBuffer::BufferSource::postBuffer()