[android-porting] About package android.util does not exist

2011-02-16 Thread 捷超 王
Hi, developers~ I have a ubuntu containing the complete source code of android OS. I would like to see whether the default Browser utilizes android-x86/ dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java so that I put Log.v( ) and import android.util.Log in the Inet6Address.java. But

[android-porting] Launching notifications from core

2011-02-16 Thread Tux
Hi all, I'd like to launch Notifications in a class working in /framework/base/ core/java/android/content/ I have access to the Context of the calling activity but thats all. How to access resources (R.drawable) from there? How to launch the needed intent from there? Cheers -- unsubscribe:

[android-porting] screen flash display pre view when screen on

2011-02-16 Thread kismeter
Hello, I ported android to my own board. Now, have a problem. I press power key, the screen off, then press power key again, the Lockscreen should display immediately, but the screen flash display the pre view and then display lockscreen. Anyone have ideas? Thanks in advance. -- unsubscribe:

Re: [android-porting] Re: bluez version on k.org vs. android

2011-02-16 Thread jaikumar Ganesh
Hey Pavan: You will have to rebase the extra patches on AOSP bluez to whatever k.org bluez version you want to use. Some patches will cleanly apply and some won't and you will have to fix the conflicts. In general, some patches have been up-streamed, some cannot be because they are Android

[android-porting] About Android Framebuffer Double-Buffering

2011-02-16 Thread kismeter
Hi, As I know the android each surface is double-bufferied, the front buffer is taken by surfaceflinger for composition, while the back buffer is used to perform drawing. But now I have a stupid question. if the front view (front buffer) is portrait, and the back view (back buffer) is landscape.

[android-porting] How to disable Audio Feature in Android / How to build one mininum Android

2011-02-16 Thread Matt Shao
Hi guys: I am a fresh man in the android and now I am working on a board that using freescale imx51. We are porting the BSP from IMX51 EVK. For this board, we change the audio codec from it's original audio codec SGTL5000 to WM8758, so of course, the EVK audio driver could not work on

[android-porting] Re: Launching notifications from core

2011-02-16 Thread AppCoder
The best answer I have found is that android.R.drawable is available to the frameworks classes. I think you can drop new .png drawables into frameworks/base/core/res/res/drawable-[lhm]dpi/ On Feb 16, 6:22 am, Tux guillaume.ben...@gmail.com wrote: Hi all, I'd like to launch Notifications

[android-porting] porting android to sony ericsson w960i

2011-02-16 Thread Pittu
1st can i port any version of android to my sony ericsson w960i 2nd if yes how should i proceed!! the specfications are as below OS: Symbian OS 9.1 UIQ 3.0 Chinese CPU: 32bit Philips Nexperia PNX4008, 208MHz Memory: 128MiB RAM, 256MiB + 7630MiB ROM Display: 2.6 240x320 pixel color transflective

[android-porting] Re: How to disable Audio Feature in Android / How to build one mininum Android

2011-02-16 Thread ani
Android audio use fake device to emulate driver so all the calls to the actual driver should be blocked.So return all the calls to from AudioHardwareInterface file. Emulator also works on the same concept. There should be a better way to stop audio by changing some make files. On Feb 16, 6:07 

[android-porting] Re: Low-memory killer and native services

2011-02-16 Thread AppCoder
On Feb 15, 7:44 pm, Dianne Hackborn hack...@android.com wrote: No, it is not, it is done by the OOM killer in the kernel.  It decides what to kill first based on the oom_adj, with higher numbers killed before lower ones.  The foreground process is oom_adj 0, the least needed process is 16,

[android-porting] Re: CUPS now runs on Android

2011-02-16 Thread Peacedog
Are there any plans for a free application or even incorporating this functionality in the OS itself? Thank you, On Jan 25, 11:46 pm, espanola sang...@gmail.com wrote: Hi, OESF Vietnam Lab has ported successfully CUPS to Android. Please check the demo

[android-porting] porting

2011-02-16 Thread jaydee davis
are there any builds that i can download to port to my device? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] Re: Low-memory killer and native services

2011-02-16 Thread Dianne Hackborn
The oom_adj set for the process is what determines when the oom killer will kill it. Values 0 are killed after *all* application processes. On Wed, Feb 16, 2011 at 7:42 AM, AppCoder dan.schm...@gmail.com wrote: On Feb 15, 7:44 pm, Dianne Hackborn hack...@android.com wrote: No, it is not,

Re: [android-porting] Re: Low-memory killer and native services

2011-02-16 Thread Dan Schmitt
Ohh, I was expecting oom_adj to have more restrictions, I didn't expect it to be writeable by the process. So it looks like the case is that pretty much any application can just do echo -17 /proc/(mypid)/oom_adj and be unkillable by the oom killer, right, and that's what the original poster

Re: [android-porting] Re: Low-memory killer and native services

2011-02-16 Thread Dianne Hackborn
They should check what their current value is. I am pretty sure init starts with a negative value, so they shouldn't be getting killed by the oom killer. If they are having to manually set this, they probably have something wrong elsewhere. On Wed, Feb 16, 2011 at 5:51 PM, Dan Schmitt

Re: [android-porting] Re: bluez version on k.org vs. android

2011-02-16 Thread Pavan Savoy
On Thu, Feb 17, 2011 at 12:00 AM, Arun K. Singh arun...@gmail.com wrote: I was kind of hoping there was this one big patch which can be applied on any version of blueZ[4] and everything works ... :( you may still try merging all AOSP bluez patches into one big blob for your appetite, only that

[android-porting] S3C64XX RT2070L Android2.1 issue

2011-02-16 Thread tommy.hong
Hi,Guys,I am debuging S3C64XX RT2070L Androdi2.1 issue,met some issue.any friend can give some good suggestion?thanks! D/SettingsWifiEnabler( 1964): Received wifi state changed from Disabled to Enabling D/WifiService( 1891): ACTION_BATTERY_CHANGED pluggedType: 1 E/WifiHW ( 1891): Unable to open

[android-porting] Re: S3C64XX RT2070L Android2.1 issue

2011-02-16 Thread tommy.hong
Dear All: from http://hi.baidu.com/aokikyon/blog/item/6ab95e60f9060a49ebf8f885.html, we can see : if use android socket, service wpa_supplicant /system/bin/wpa_supplicant -dd -Dwext -iwlan0 -c /system/etc/wifi/wpa_supplicant.conf socket wpa_wlan0 dgram 660 wifi wifi group system

[android-porting] Need to flash Froyo for HTC HERO G2.

2011-02-16 Thread Ritesh Jhaa
I am able to build FROYO and getting system.img. Is it the same system.img which I can flash in HTC HERO G2? If it is not then could you pls let me know the steps to build to Froyo system.img for HTC HERO G2? I have heard some cross compilation is needed for the (.img) files to flash on HTC HERO

[android-porting] How to flash Froyo on HTC HERO G2

2011-02-16 Thread Ritesh Jhaa
I have urgent issue. Made some changes in Froyo Source Code in Application/Framework area. Want to flash it to HTC HERO G2. Taken the backup of HTC HERO. Created one backup folder which is having 5 images. (1)boot.img (2) cache.img (3) data.img (4)recovery.img (5)system.img Note: I can take