[android-porting] Re: Detecting whether an APK is installed on the system folder

2010-11-25 Thread gopu
Hi , May be this link helps u... http://groups.google.com/group/android-developers/browse_thread/thread/acba8828f95fbf09/e056c92d2a834890?lnk=gstq=getApplicationContext%2Bgopu#e056c92d2a834890 On Nov 23, 11:05 pm, Chris Stratton cs07...@gmail.com wrote: On Nov 23, 10:32 am, Shachar Shemesh

[android-porting] Re: STLport problem

2010-11-25 Thread petter
solved, I should use std namespace On Nov 25, 9:28 am, petter havlenap...@gmail.com wrote: Hi I am building(against android source code, not in NDK) stratagus for android(like maemo version), I have built version 2.2.4 and it working great, but there is some bug when you start game, so I tryed

Re: [android-porting] Re: Detecting whether an APK is installed on the system folder

2010-11-25 Thread Dianne Hackborn
That thread doesn't actually give any good advice for this. Certainly don't look at paths and try to infer anything from that. The API to find out if an application is built into the system image is ApplicationInfo.FLAG_SYSTEM. Just use Context.getApplicationInfo() to get your ApplicationInfo.

Re: [android-porting] How to create a temporary file

2010-11-25 Thread Dianne Hackborn
You need to use the Java Context API to get the path to the part of your app data you care about, and can hand that to native code which can use it as the path in which it creates files. On Wed, Nov 24, 2010 at 11:34 PM, Chih-Wei cwhu...@linux.org.tw wrote: Hi, I want to create a temporary

Re: [android-porting] Data Connection via IP Interface

2010-11-25 Thread Henrik Uhrenfeldt
Hi Shahbaz, Normally the telephony setup in Android works like this: Android telephony fwk - Android RILD + vendor RIL library (ie. libreference-ril.so) - AT commands over some link - Modem stack When you wish to setup a mobile data connection, it is handled through the vendor RIL library,

[android-porting] Re: streaming performance issue in froyo

2010-11-25 Thread Bala Abiraman
thank you for the reply. I have taken from google CAF code only. opencore version is 2.02 any new opencore has come up with android? On Nov 23, 4:24 pm, James lichtenstiger jamezel...@gmail.com wrote: what device are you porting for? It sounds like the middleware isnt using the

[android-porting] htc desire with (hardware) display bug / copy of /data directory

2010-11-25 Thread hého
(forum: gmane.comp.handhelds.android.platform, gmane.comp.handhelds.android.porting fu2:gmane.comp.handhelds.android.porting) Hi, I don't know if those are the appropriate forums to post to, so feel free to redirect me. I also wanted to point out that I am an advanced linux user but totally new

[android-porting] Re: htc desire with (hardware) display bug / copy of /data directory

2010-11-25 Thread hého
hého a écrit, le 25.11.2010 13:08 : (forum: gmane.comp.handhelds.android.platform, gmane.comp.handhelds.android.porting fu2:gmane.comp.handhelds.android.porting) I have a htc desire [...] which has a display bug making it unable to use. [...] I would like to copy the /data directory which I

[android-porting] wifi scanning problem

2010-11-25 Thread amar nath
Hi, I have omap3530 evm board and i am using wl1271 daughter card for wifi.I ported froyo on top of omap3530 evm. I loaded all the required modules(sdio.ko, bmtrace.ko, tiwlan_drv.ko) in android. By using wlan_loader and ifconfig wlan0 up it is loading firmware.bin and wifi is enabled . When i

[android-porting] Android clock is running too fast

2010-11-25 Thread vaclavpe
Hello all, we are trying to port Android eclair to one mobile phone. During boot of Android, correct time is read from RTC. But then, Android time is running approximately two times faster than universe time. If the time is not read correctly and counting is from 0:00, after 1 Android hour ( time

[android-porting] Re: Android UI performance

2010-11-25 Thread Colin
On 11月25日, 上午5時40分, Deva R r.deva...@gmail.com wrote: Neither sleep nor while loop is good solution. Is there any suggestion for this? how about waiting on a semaphore after issuing Copybit and signaling it once 2D-engine completes? Waiting for semaphore will result in CPU scheduling. I am

[android-porting] Re: Data Connection via IP Interface

2010-11-25 Thread mshahbazansari
Thanks for your reply Robert. Yes I can access the IP interface from Linux as it's IP address is 10.0.0.5 and so when I ping 10.0.0.4, I can see the packets are received inside telephony stack. Now, how should I hit a simple site (that is, IP other than 10.0.0.x)? How should I set the default

[android-porting] Re: undefined reference to `sigsetjmp' when building mksh for x86

2010-11-25 Thread mirabilos
Marcus Better wrote: Actually there is no implementation of sigsetjmp in bionic/libc/arch- x86 (but there is one in arch-arm). I fear you’ll need one. (Question to Chih-Wei, how did this ever build on Android-x86 when you added it in ¹ only?) ①

[android-porting] Re: Some questinos about new shell, mksh, on ARM.

2010-11-25 Thread mirabilos
Chih-Wei wrote: I don't see this problem. Me neither. 'ls' is aligned correct The output of “ls” is not influenced by the shell *at all*. tab completion works well. If tab completion doesn’t work, try “set -o emacs”. I’d wager a bet you’re not running mksh. Try “print $KSH_VERSION”.

[android-porting] Porting Android on FPGA using ARM softcore

2010-11-25 Thread Muhammad Ali
Hi, Everyone, I want to port android on ARM softcore, What could be the minimum requirements of a machine for android kernel, (e.g processor along RAM and ROM) If someone has done this before then is it possible to get a whole machine softcore (which might be enough to drive android

[android-porting] Re: undefined reference to `sigsetjmp' when building mksh for x86

2010-11-25 Thread Chih-Wei
Hmm, we (Android-x86.org) added sigsetjmp to bionic long time ago. If I remember it correctly, it's needed by the bluetooth modules. I didn't notice mksh also uses it. I tried to push it into AOSP, but Google rejected it due to its unclear license. On 11月26日, 上午1時44分, mirabilos

[android-porting] Re: porting CUPS to android

2010-11-25 Thread Chih-Wei
Not related to your question but you may be interesting. You can take a look at OESF's EM2. They have added Printer Manager to Android. http://developer.oesf.biz/em/developer/ -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Android on imx51 freescale board

2010-11-25 Thread Tejas
Hello All, I have ported android 2.2 on imx51 nitrogen board having IPU, VPU and GPU enabled. When i try to run sample test of bootanimation in which open GL ES APis are implemented. But when i try to run that test, it is giving following error. Color formats don't match. Falling

Re: [android-porting] Re: android-2.2.1 cannot get AP SSID after wifi restart

2010-11-25 Thread Irfan Sheriff
I continue to see scan failures in the wpa_supplicant log, investigate that. Look at how the interaction with the supplicant directly from the wpa_cli works. What happens when you load the driver, start the supplicant and initiate connection with a configured network from adb shell interface: #

Re: [android-porting] Re: android-2.2.1 cannot get AP SSID after wifi restart

2010-11-25 Thread Elvis Dowson
Hi Irfan, On Fri, Nov 26, 2010 at 9:07 AM, Irfan Sheriff isher...@gmail.com wrote: I continue to see scan failures in the wpa_supplicant log, investigate that. Look at how the interaction with the supplicant directly from the wpa_cli works. What happens when you load the driver, start the

Re: [android-porting] Some questinos about new shell, mksh, on ARM.

2010-11-25 Thread Srinidhi K V
try installing busybox over android. to get regular bash shell and tools. I have Installed Busy box on my Hawkboard but the tab completion is not working. Do I have to make any setting to enable the tab completion? Thanks Srinidhi KV -- unsubscribe:

Re: [android-porting] Re: android-2.2.1 cannot get AP SSID after wifi restart

2010-11-25 Thread Elvis Dowson
Hi Irfan, On Fri, Nov 26, 2010 at 9:07 AM, Irfan Sheriff isher...@gmail.com wrote: Find out the exact sequence of supplicant commands from the framework with the first attempt as compared to the second attempt. Try that on the wpa_cli to see if its a framework issue or one with

[android-porting] Hai Guys

2010-11-25 Thread myth
http://123maza.com/25/hand128/ -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] Re: Data Connection via IP Interface

2010-11-25 Thread Henrik Uhrenfeldt
Hi mshahbazansari, From this log it is very clear to me that your RIL is not up-to-date. It will *not* work unless you patch the RIL or use another one. It does not send back the right interface name. /dev/omap_csmi_tty1 should be something like ppp0 or rmnet0 or whatever your network device