Re: Path for .so to get linked against executable for target

2009-03-18 Thread nagamatu
When R_ARM_NONE symbol is included in a binary file, I got the following error message from dynamic linker. # /system/bin/test bionic/linker/linker.c:1181| ERROR: 8435 unknown reloc type 0 @ 0xa3b8 (19) bionic/linker/linker.c:1579| ERROR: failed to link /system/bin/test

Re: Reading style tag from Resources object

2009-03-18 Thread Dianne Hackborn
This isn't really how they are intended to be used. What are you trying to accomplish? Style arrays are designed and optimized to work in a very explicit way, how they are used in the framework. For other kinds of data structures and access you should generally just make your own XML resources

Re: Path for .so to get linked against executable for target

2009-03-18 Thread nagamatu
Dear Iliyan, it's great. But I couldn't find R_ARM_NONE fix in the latest bionic for cupcake branch on 2009/03/04. http://android.git.kernel.org/?p=platform/bionic.git;a=blob_plain;f=linker/linker.c;hb=1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 Regards, nagamatu On 3月18日, 午後3:37, Iliyan Malchev

Re: Path for .so to get linked against executable for target

2009-03-18 Thread Iliyan Malchev
Hm, you are right! Will fix :) I was thinking about the prelinker, which does handle R_ARM_NONE. 2009/3/18 nagamatu nagam...@gmail.com: Dear Iliyan, it's great. But I couldn't find R_ARM_NONE fix in the latest bionic for cupcake branch on 2009/03/04.

Re: Path for .so to get linked against executable for target

2009-03-18 Thread Girish
Hi lliyan Malchev and nagamatu, Can the latest cupcake code will give a fix for my problem or yet to be fixed ? lliyan i sent the file to your e-mail id. lliyan hope this fix will come soon. or u can send me the fix will test and let you know the result For a quick look pasting log here [

how to get gps status

2009-03-18 Thread jun
Hi, I am working on porting gps and use NXP gps module for gps position. It works fine, but i faced a problem that i can not report a correct gps status data to GpsLocationProvider.java via gps_sv_status_callback funtion. because in structure GpsSvStatus{ /** number of SVs currently

Re: InputMethodService (SoftKeyboard)

2009-03-18 Thread Daniel
Thanks very much for your help. My Cupcake version from 03/03/2009 lacks InputMethodService.isShowInputRequested(). On 17 Mrz., 20:05, Dianne Hackborn hack...@android.com wrote: On Tue, Mar 17, 2009 at 1:50 AM, Daniel daniel.himmel...@googlemail.comwrote: The problem is that

Re: Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?

2009-03-18 Thread Learning_Android
Thanks Peli, Regarding the usage point. Lets say I develop my own SensorGestureDetector and place it in hardware folder of frameworks/ base and then my applications want to use it. Then how should my application use it, do u suggest the way GestureDetector is been used I mean u create a listener

Re: Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?

2009-03-18 Thread Peli
For me, the service implementation sounds very attractive. In this way, a central SensorGestureDetector could be shared by various applications. If you only have one application, it is better to copy whatever you need into your project, until we have something more stable. In any case, it makes

Re: Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?

2009-03-18 Thread Peli
Hi, First of all, the SensorGestureDetector you refer to is in its alpha state, and so far an experimental feature of OpenIntents. In the long run of course it would be nice if it could make its way into the Android Framework. Indeed I have designed it to be as close to GestureDetector as

Re: Outstanding cupcake - master merge

2009-03-18 Thread rktb
Thanks for the heads-up JBQ. -Ravi On Mar 17, 8:35 pm, Jean-Baptiste Queru j...@android.com wrote: [bcc android-platform, android-framework, android-porting] I'm working on merging the latest cupcake code drop into master. The task is quite hairy, so the following two guidelines probably

Re: InputMethodService (SoftKeyboard)

2009-03-18 Thread Dianne Hackborn
On Wed, Mar 18, 2009 at 2:16 AM, Daniel daniel.himmel...@googlemail.comwrote: Thanks very much for your help. My Cupcake version from 03/03/2009 lacks InputMethodService.isShowInputRequested(). It's in the current source tree. -- Dianne Hackborn Android framework engineer

Re: Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?

2009-03-18 Thread Dianne Hackborn
On Wed, Mar 18, 2009 at 3:15 AM, Learning_Android nidhiagarwal.l...@gmail.com wrote: Regarding the usage point. Lets say I develop my own SensorGestureDetector and place it in hardware folder of frameworks/ base and then my applications want to use it. Please don't add code to the base

Re: Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?

2009-03-18 Thread Learning_Android
Thanks for the response Peli, Let me put my questions better.Lets say I have the same applications Gallery and Calendar and now I want to have only one SensorGestureDetector, then which of the 2 ways u suggest me to use: 1) we use it the way we use GestureDetector, extending its

Re: Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?

2009-03-18 Thread Dianne Hackborn
3) Put the code in a static library which each app just links into its .apk. I don't think the code is that big, it should be fine to do this. 4) If you don't want to do that, use the PlatformLibrary sample code to make your own shared library containing the code which each app dynamically links

Re: Outstanding cupcake - master merge

2009-03-18 Thread Jean-Baptiste Queru
I expect to start submitting the changes in about an hour, i.e. between 1:30pm and 2pm PDT. Starting right now, you may want to avoid initiating a new repo sync, unless you're OK ending up with a tree that might not even compile. JBQ On Tue, Mar 17, 2009 at 6:35 PM, Jean-Baptiste Queru

Re: Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?

2009-03-18 Thread Peli
Learning_Android, For now use (1) or (3). (2) introduces a lot of overhead which is not worth the effort as long as things are in change. Also, would you require your users to download a separate application SensorGestureListenerService just to use your application? (4) as far as I understand,

Re: Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?

2009-03-18 Thread Dianne Hackborn
On Wed, Mar 18, 2009 at 12:43 PM, Peli peli0...@googlemail.com wrote: (4) as far as I understand, this is an option only for hardware vendors, as only they can bundle shared libraries with the platform. So this is no option if you want to distribute your app through the Market. Please correct

Re: Build OpenCORE outside of Android

2009-03-18 Thread RCP2278
On Mar 11, 6:37 am, rktb yend...@pv.com wrote: Android and host linux are two different environments. You cannot build on one of these and expect it to run on the other. Since there is enough confusion, I am inclined towards removing support to build OpenCORE outside of Android. Please

ethernet, modem and VPN network support?

2009-03-18 Thread kchen
I looked into the ConnectivityService class of android and found it only supported WIFI and MOBILE network. Does Google have a roadmap to support more types of network, such as ethernet, modem and VPN? I think it is important for MID and NETBOOK devices.

Re: Outstanding cupcake - master merge

2009-03-18 Thread Jean-Baptiste Queru
I've submitted the merge (106 projects!), and I believe that the tree is in the state that it should be. Caveats: -THE BUILD IS BROKEN. You've been warned. There's been some drift around OpenCORE (probably situations where new code was written in cupcake that uses OpenCORE 1, or where APIs were

Re: Reg. ANR: Application Not Responding

2009-03-18 Thread Dianne Hackborn
The dialog is shown when an application isn't responding to the system, so the user can kill it without having to wait. It currently is shown in two main places: when the window manager waits to long on an event it has dispatched to an application, and when the activity manager waits too long on

Re: ADT Layout editor design question

2009-03-18 Thread Romain Guy
ADT simply implements the Canvas 2D API (and other APIs, like resources management) with Java SE. This means ADT actually executes the same code as the device. The only difference is the 2D rendering engine (Skia on the device, Java 2D in ADT.) On Wed, Mar 18, 2009 at 8:46 PM, Videoguy

Re: Path for .so to get linked against executable for target

2009-03-18 Thread Girish
Hi lliyan, Any updates on this you can give ? It will be helpful. Regards Girish --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to

How to enable Overlay features in Android

2009-03-18 Thread waterblood
Hi All, Below is my understanding about how to enable the Overlay in a new hardware platform. Correct me if I am wrong. 1. Implement the stub funtions in hardware\libhardware\modules\overlay \overlay.cpp, this will generate a share library liboverlay.trout.so. 2. In SurfaceFlinger, it will