[android-porting] Is it possible to use 2.6.31 linux kernel with android 2.1

2010-03-15 Thread Максим Андрущенко
Hello! Is it possible to use linux kernel 2.6.31 with android 2.1? I have red at http://pdk.android.com/online-pdk/guide/bring_up.html that linux kernel for android need support only: # # Android # # CONFIG_ANDROID_GADGET is not set # CONFIG_ANDROID_RAM_CONSOLE is not set CONFIG_ANDROID_POWER=y

[android-porting] Re: Interconnecting emulators by network

2010-03-15 Thread Dan
Hi Dries, Great work on adding the second interface, I too wish I could get this working. Unfortunately, I seem to be having the same problem with all pings trying to use that interface returning destination host unreachable and other connections returning no route to host (despite my best

[android-porting] Re: android: memory for kernel and apps

2010-03-15 Thread Uat H1
It's usual on Linux (where Android comes from), while the system has free memory it caches every access to storage devices to improve later access to same data. When the system needs memory for a process the cached memory is immediately available if needed, the system will discard or save on disk

[android-porting] how to compile android for MID project?

2010-03-15 Thread johnson
i try to compile the android for mid project. so i change platform/build/target/product/core.mk as the following: //PRODUCT_POLICY := android.policy_phone PRODUCT_POLICY := android.policy_mid then i compile the android , it is ok. but when i run as following ,  . build/envsetup.sh   lunch 1   

[android-porting] Link error (CANNOT LINK EXECUTABLE)

2010-03-15 Thread 원용준
Hello When I built a C language Application with bionic and prebuilt using tollchaing, some problems happened. I am not using Antroid.mk style. I am just using exist Makefile Environment values and Autoconf for the application. Let us suppose the application which I am trying to build is

[android-porting] Receive large sms

2010-03-15 Thread kisimita
Hi all, I'm working with a module that receive sms and have a problem with large sms(more than 160 chars). The sms messages are received by a class extends BroadcastReceiver.Below is the onReceive function public void onReceive(Context context, Intent intent) {

[android-porting] Porting to LG GW 620 Etna

2010-03-15 Thread ricca509
Hi guys, I'm planning to buy the new LG GW 620 with Android 1.5. Since it is not sure if LG will release upgrade for Android 2.1 and over, I was wondering if a custom build for this phone is possible. It has a Qualcomm MSM7200A @ 528Mhz. I'm a programmer, maybe I only need a starting point, I

Re: [android-porting] Link error (CANNOT LINK EXECUTABLE)

2010-03-15 Thread Deva R
- are you sure both executables and libraries are generated?? make sure first of all libhello.so is generated, and is present in /system/lib folder.. Not sure if u use single make file, but both shared library and executable should have their Android.mk files and it should be easy to write one

Re: [android-porting] how to compile android for MID project?

2010-03-15 Thread Dianne Hackborn
Please don't use policy_mid. That is super old and crufty and I am sure totally broken. It should be removed. On Mon, Mar 15, 2010 at 1:06 AM, johnson johnson.ker...@gmail.com wrote: i try to compile the android for mid project. so i change platform/build/target/product/core.mk as the

Re: [android-porting] Re: android: memory for kernel and apps

2010-03-15 Thread Dianne Hackborn
On top of that, Android also keeps live processes around as a cache, even if they are not currently doing anything. These will be killed by the Android Patented Viking Killer as part of the cache eviction when more memory is needed. On Mon, Mar 15, 2010 at 12:18 AM, Uat H1 uate...@gmail.com

[android-porting] Re: cant compile android tree git://android.git.kernel.org

2010-03-15 Thread Tony Donadio
Does anyone have any feedback on this? I'm seeing the same problem (building on Ubuntu under Virtualbox). On Mar 5, 2:20 pm, genxsol genx...@gmail.com wrote: Hi Dear, i am not able tocompilethe Android tree from git://android.git.kernel.org collected 3102 test methods in 225 junit test

[android-porting] alsa: In valid type of nonblock

2010-03-15 Thread abukustfan
Hi all, I tried to port eclair + alsa to my target board. Target board boot up success but I cannot play sound on it. # alsa_amixer -c 0 # alsa_aplay -l shows my devices info correctly. but # alsa_aplay sample.wav shows below error, -- ALSA lib

[android-porting] Re: Is it possible to use 2.6.31 linux kernel with android 2.1

2010-03-15 Thread abukustfan
Yes, my target board work on linux kernel 2.6.31 with android-2.1_r1 tag. You can simply get ashmem.c and its header/Makefile ... etc from old version kernel, then add/modify those file to you new kernel. On Mar 15, 5:52 am, Максим Андрущенко andruschenk...@mail.ru wrote: Hello! Is it

[android-porting] Re: Android hangs on execution init from initramfs with Kernel panic - not syncing: Attempted to kill init!

2010-03-15 Thread abukustfan
Did you add ash memory to your kernel? On Mar 13, 3:37 am, Максим Андрущенко andruschenk...@mail.ru wrote: Hello! I am porting Android on s3c6410 compatible platform. So, using Android sources, i created platform's profile, and compiled ramdisk.img, system.img, userdata.img. I use

[android-porting] Question on building modified framework code + windows emulator

2010-03-15 Thread MBethDev
Hello, I'm not sure if this is the right forum to ask, but I'll ask anyway in case someone knowledgeable might know this: I recently added some functionality in the android framework code (more specifically I *added* a new class that encapsulates this functionality that I'm trying to write, and

Re: [android-porting] Question on building modified framework code + windows emulator

2010-03-15 Thread Dianne Hackborn
I would strongly recommend that you provide your public API as a separate shared library (like the PlatformLibrary sample) that applications link against, rather than building your own framework JAR. That is the supported way of adding new APIs, as it allows developers to build against the

[android-porting] Re: Question on building modified framework code + windows emulator

2010-03-15 Thread MBethDev
Thanks for the reply Dianne, okay, will try to look at that approach. However, say it is not compiled as a separate shared library, why is it it not working on Windows emulator when it works fine on Ubuntu? Why doesn't simply copying over the jar files work? I understand this is probably not the