[android-porting] android makefiles

2010-11-23 Thread Nandy
Hi, I am trying to build a system wherein I have a directory. This instead contains many subdirectories and is nested. Depending on whenever the build system encounters Android.mk it builds that directory. Now I want to build the whole directory based on a product decision. So how do I design the A

[android-porting] Re: Interfacing native code to hardware functions

2010-11-23 Thread Mikkel Christensen
Hello, I would use the SimpleJNI sample application [1] as a base reference. This does the right coupling from Android application to your lower level hardware interface. If the LED is already exposed in sysfs you are lucky and it should be quite easy. Otherwise create a Kernel device driver that

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

2010-11-23 Thread James lichtenstiger
what device are you porting for? It sounds like the middleware isnt using the correct/current updated opencore/stagefright libs(if your device has them or supports them) On Nov 19, 3:20 am, Bala Abiraman wrote: > I ported middleware part from android Donut to Froyo. > After that we are facing pro

[android-porting] Re: [0xlab-devel] Introduce 0xRobocat project

2010-11-23 Thread Jim Huang
2010/8/19 Matt Hsu : > Hi list, > We, 0xlab, would like to introduce a robot project based on Android > platform. > Its hardware is built on Beagleboard. > It's called 0xRobocat, a robot control framework for GNU Linux/Android. > The following slide is provided an overview for this system. Hello l

[android-porting] Re: After Kernel patching

2010-11-23 Thread Stefan
How can I get the android filesystem or do I have to build it on my own? On 22 Nov., 14:07, Stefan wrote: > Hi, I just patched a 2.6.33 Kernel for android and my hardware (based > on i.MX25) > > My question is now how I can get the needed android image > (can I use anyone available??) and what is

[android-porting] Building/test a new hal implementation

2010-11-23 Thread Dudero
Hello, how it is possible to build only one libary and not the whole system? --> like: "make libgps.so" Is it also possible to develope a hal implementation without the complete android build system -> NDK? And my last question is which possibilities are there to test a new hal implementation?

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

2010-11-23 Thread Shachar Shemesh
Hi all, I'm not sure this is the right forum to ask, but here goes. I want to write an APK that can be installed as a standard application, but can also be placed in the /system/app folder. More importantly, I want the program to behave slightly differently in both cases. Ideally, in the late

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

2010-11-23 Thread Chris Stratton
On Nov 23, 10:32 am, Shachar Shemesh wrote: > I'm not sure this is the right forum to ask, but here goes. I want to > write an APK that can be installed as a standard application, but can > also be placed in the /system/app folder. More importantly, I want the > program to behave slightly differe

[android-porting] Re: Interfacing native code to hardware functions

2010-11-23 Thread Chris Stratton
On Nov 23, 5:33 am, Mikkel Christensen wrote: > If the LED is already exposed in sysfs you are lucky and it should be > quite easy. Otherwise create a Kernel device driver that does the > exposure of the LED to sysfs. If it's already exposed in sysfs, you don't need to use native code. You shoul

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

2010-11-23 Thread Elvis Dowson
Hi, I'm having an issue with android-2.2.1 where wifi cannot get AP SSID after turning off and turn on the wifi from the settings control panel. I'm using wpa_supplicant_6 from the android-2.2.1_r1 release. I've been struggling with this issue for the past 4 weeks and tried various combinati

[android-porting] Problems porting Android OS onto a new platform

2010-11-23 Thread Chilston777
Hi everyone, We are desperatley trying to port the Android OS onto our own Smartphone and could really do with some help from someone who has experience of doing this at the low level, ie writing the device drivers etc. For the sake of trying not to re-invent the wheel - does anyone have experien

Re: [android-porting] android makefiles

2010-11-23 Thread Deva R
You can refer this tree structure ./hardware/ti/omap3/ http://git.omapzoom.org/?p=platform/hardware/ti/omap3.git;a=tree;h=refs/heads/froyo;hb=refs/heads/froyo if global BoardConfig.mk specifies target is omap, then whole sub-directory will be built. $cat $MYDROID/hardware/ti/omap3/Android.mk # ma

Re: [android-porting] Building/test a new hal implementation

2010-11-23 Thread Deva R
>how it is possible to build only one libary and not the whole system? > --> like: "make libgps.so" only one library is not possible => all statically linked libraries also will be built. try "make libgps" (like "make ") a sample incremental build with stagefright is shown below., >Is it also

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

2010-11-23 Thread Irfan Sheriff
> > However, if you just turn off and turn back the wifi on, it doesn't > automatically associate with the AP. > > You need to have more debugging enabled in the framework (WifiService & WifiStateTracker) to understand what is happening in the framework. Log the sequence of driver commands issued t

[android-porting] Re: some quesitions for new decoder integration process of opencore framework

2010-11-23 Thread Alonso Hu
Hi, I found that there's no FLV support added at all. In fact, I'm not sure. Althought " #define PVMF_MIME_FLV1 "video/x-flv" " is added in the pvmf_format.types.h, there's no where except here that use PVMF_MIME_FLV1. (I do "grep -r PVMF_MIME_FLV1 opencore/") Alonso On 11月18日, 下午3時06分, Deva R

[android-porting] Re: android makefiles

2010-11-23 Thread Alonso Hu
You can try this: Append "include $(call all-makefiles-under,$(LOCAL_PATH))" to the parent Android.mk However, if there're "Android.mk"s in the subdir of the subdir of LOCAL_PATH, in my opinion, you should add the same command on the Android.mk of corresponded parent directory. Alonso On 11月23日

[android-porting] Re: Preventing wifi interface from shutting down

2010-11-23 Thread G2
I'm still getting the error. I managed to hack by doing this patch: --- a/external/wpa_supplicant/src/drivers/driver_wext.c 2010-11-05 13:40:07.089582001 -0700 +++ b/external/wpa_supplicant/src/drivers/driver_wext.c 2010-11-05 13:39:11.901582003 -0700 @@ -539,8 +539,9 @@

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

2010-11-23 Thread G2
I'm experiencing the same problem. Note that I have tried both wpa_supplicant 5 and 6 with AWEXT or WEXT driver. So it's definitely a problem in the upper stack of Android. When the disconnection occurs, the wifi stops too. It means that the framework is sending to the driver through wpa_supplican