Re: Getting the state of the Soft Input Method

2009-07-29 Thread Dianne Hackborn
) Is the right implementation to go through IInputMethodSession? 3) Is there a standard way to pass back results such as my string value, given the asynch HandlerCallback interface? thanks very much for your help. Steve Zeigler Wind River - Intel -- Dianne Hackborn Android framework engineer hack

Re: How to make my device sleep

2009-07-27 Thread Dianne Hackborn
: PowerManager.gotosleep() method seems to not work . There is no permission problem because my program has the root permission. So any other suggestion?- Hide quoted text - - Show quoted text - -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't

Re: How to make my device sleep

2009-07-27 Thread Dianne Hackborn
to the android source code directory and then make the android to get my jar file. Then I push my jar file to emulator's system directory, and launch it . This can make my code do something special, but not include force emulator to sleep. On Jul 28, 10:44 am, Dianne Hackborn hack...@android.com

Re: Task manager

2009-07-26 Thread Dianne Hackborn
-- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them

Re: Binder documentation - RFC/peer review

2009-07-19 Thread Dianne Hackborn
and framework groups. I'm always confused about these two forums ;-) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions

Re: Executing code after installation

2009-07-16 Thread Dianne Hackborn
application uses other APKs as plugins. At every startup it has to check for new plugins what is a cumbersome task . I would like to make them smarter by implement a self registration mechanism during installation. Thanks, André Oriani SW Engineer -- Dianne Hackborn Android framework

Re: Executing code after installation

2009-07-16 Thread Dianne Hackborn
? Or the first to call the ContentProvider pays the penalty for the creation of tables? On 16 jul, 16:37, Dianne Hackborn hack...@android.com wrote: Hi there is somewhat deliberately no such mechanism. The way all of the rest of the platform deals with plugins is by doing queries on the package

Re: detecting that an animation is underway

2009-07-14 Thread Dianne Hackborn
on the computer running the phone/emulator. -Sam -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted

Re: [android-developers] Calender app on [emulator/custom devices]

2009-07-13 Thread Dianne Hackborn
the client.jar available on http://android.git.kernel.org/?p=platform/frameworks/opt/com.google.android.googlelogin.git;a=summary and get calender app running ? -- with regards vishal -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions

Re: How to implement multi-windows in android?

2009-07-13 Thread Dianne Hackborn
has its value. I think WindowManagerService and ActivityManager is key point. Is it possible to modify these to implement multi-window? Or in Android, multi-window is not in their roadmap, so it is hard to implement? Thank you! -- Dianne Hackborn Android framework engineer hack

Re: Device file permissions

2009-07-13 Thread Dianne Hackborn
of creation ? Thanks, Puneet Jindal -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums

Re: screen Y position not changing after soft keyboard pushes window up.

2009-07-13 Thread Dianne Hackborn
have not changed. Since the window has definitely moved, I suspect this is a bug. Is there an alternative way using ViewDebug to getting the screen position of the EditText box under these circumstances? I'm stumped. -Sam -- Dianne Hackborn Android framework engineer hack

Re: screen Y position not changing after soft keyboard pushes window up.

2009-07-13 Thread Dianne Hackborn
-framework@googlegroups.com [mailto: android-framew...@googlegroups.com] *On Behalf Of *Dianne Hackborn *Sent:* Monday, July 13, 2009 3:37 PM *To:* android-framework@googlegroups.com *Subject:* Re: screen Y position not changing after soft keyboard pushes window up. Hi, if you are using a window

Re: WYSIWYG Designer

2009-07-10 Thread Dianne Hackborn
. Is there someone interested in this tool for Android? Best regards Yves YANG Soyatec - http://www.soyatec.com Declarative UI for Java -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private

Re: Is there way to invoke an IActivityManager.updateConfiguration() using public API of SDK?

2009-07-06 Thread Dianne Hackborn
user installation of applications that request those permissions. Thanks, Chris On Jul 2, 1:59 pm, Dianne Hackborn hack...@android.com wrote: On Thu, Jul 2, 2009 at 6:31 AM, Zhao, Bingqi bingqi.z...@intel.com wrote: Is there intended to be a public API that allows application developers

Re: Is there way to invoke an IActivityManager.updateConfiguration() using public API of SDK?

2009-07-02 Thread Dianne Hackborn
(user.permission.write_setting) that says that it allows setting locale. No plans at this point. There are numerous permissions for things that applications can't do, so the APIs for them don't appear in the SDK. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions

Re: SystemServer permissions ..

2009-06-23 Thread Dianne Hackborn
to describe the required permissions in the manifest. However, if we want to do the same in the platform, how can one add permissions ? and what sort of permissions does SystemServer have (eg. ACCESS_FINE_LOCATION )? -- Dianne Hackborn Android framework engineer hack...@android.com Note

Re: FW: BroadcastReceiver and Google Services Inquiry

2009-06-22 Thread Dianne Hackborn
? Example mail fields to/from, subject, date, attachments included or not, etc... Regards, kk -- *From:* android-framework@googlegroups.com [mailto: android-framew...@googlegroups.com] *On Behalf Of *Dianne Hackborn *Sent:* Tuesday, June 23, 2009 7:32 AM

Re: Soft keyboard pushes stuff up - how to find new Y position (ViewDebug)?

2009-06-19 Thread Dianne Hackborn
(Btw, please direct further questions to the android-developers list. This is just standard SDK development stuff. It certainly has nothing to do with modifying the framework.) On Fri, Jun 19, 2009 at 9:37 AM, Dianne Hackborn hack...@android.comwrote: And now that we know what your problem

Re: Soft keyboard pushes stuff up - how to find new Y position (ViewDebug)?

2009-06-19 Thread Dianne Hackborn
and others can see and answer them -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums

Re: how can i get all View info of the forground activity

2009-06-16 Thread Dianne Hackborn
FindWindow in windows OS On 6月16日, 上午1时59分, Dianne Hackborn hack...@android.com wrote: You should start this question with what you are actually trying to accomplish, not the contortions you want to put the system through to achieve whatever that is. :} On Mon, Jun 15, 2009 at 1:59 AM

Re: What happened when I press CTRL+F11?

2009-06-16 Thread Dianne Hackborn
means the activity was rebuilt. You know, I do not want this to happen. I want to change the orientation ,and keep the settings screen on foreground. How should I implement this? Thanks so much. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't

Re: how can i get all View info of the forground activity

2009-06-15 Thread Dianne Hackborn
of the top avtivity. And i want know which process handle the DUMP command ,in what source code i can get it -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply

Re: Can my app prevent the phone from rebooting?

2009-06-14 Thread Dianne Hackborn
installing it, the phone will no longer boot up. It gets stuck in on the Android screen. Even booting using safe mode fails. How can an app prevent the phone from at least booting. Shouldn't the phone boot and then start running apps? Thanks, John -- Dianne Hackborn Android

Re: Why there is no BATTERY SERVICE?

2009-05-26 Thread Dianne Hackborn
configurations of the emulator? Sorry can't help with that. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should

Re: Why there is no BATTERY SERVICE?

2009-05-26 Thread Dianne Hackborn
, then relaunch it at 00:00:30, then maybe none of the status changed, does that mean I can not get any status information? Thanks. On May 26, 3:16 pm, Dianne Hackborn hack...@android.com wrote: On Mon, May 25, 2009 at 8:12 PM, zhangxiyuan zhangzho...@gmail.com wrote: And I have three other

Re: Android 1.5 and cupcake 1.5

2009-05-21 Thread Dianne Hackborn
don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them- Hide quoted text - - Show quoted text - -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private

Re: about sp and wp

2009-05-19 Thread Dianne Hackborn
kinds of pointer works together, when will the object be freed? thanks a lot -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All

Re: race condition? Window already focused, ignoring focus gain of...

2009-05-18 Thread Dianne Hackborn
it, start adding log output along the code path, to track down where it is failing. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All

Re: Customization of android on a non phone device

2009-05-15 Thread Dianne Hackborn
to make it as light as possible . Thanks in advance . -- with regards vishal -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All

Re: Extending LatinIME

2009-05-13 Thread Dianne Hackborn
The hardware keyboard has nothing to do with the IME. It is built into the framework. On Wed, May 13, 2009 at 4:36 PM, e21u...@gmail.com e21u...@gmail.comwrote: On May 13, 1:29 am, Dianne Hackborn hack...@android.com wrote: The letters shown is just programmed by the IME, in its resources

Re: Extending LatinIME

2009-05-13 Thread Dianne Hackborn
It's somewhere in android.text, I don't know off-hand exactly where. Because an IME gets first crash at key events, yes it can intercept them and do what it wants. On Wed, May 13, 2009 at 4:41 PM, e21u...@gmail.com e21u...@gmail.comwrote: On May 13, 7:38 pm, Dianne Hackborn hack

Re: Will LatinIME spport other language (ex. French, Spanish..)?

2009-05-13 Thread Dianne Hackborn
to preview?) How to input accent character from the soft keyboard? (multi-tap, popup mini-keyboard, or ...) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply

Re: om.android.internal.R ?

2009-05-12 Thread Dianne Hackborn
? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see

Re: Extending LatinIME

2009-05-12 Thread Dianne Hackborn
brancses and tags but no luck ... git clone git:// android.git.kernel.org/platform/packages/inputmethods/LatinIME.git cd LatinIME git checkout master git checkout android-sdk-1.5_r1 git checkout android-sdk-1.5-pre ... help?! -- Dianne Hackborn Android framework engineer hack

Re: detecting hardware caps-lock / state of keyboard in view

2009-05-12 Thread Dianne Hackborn
of shift in IME and hardware keyboard are not connected and hardware keyboard does not notify IME about its state changes? that is a bit confusing ... is that correct? i -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me

Re: Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

2009-05-06 Thread Dianne Hackborn
$(BUILD_PACKAGE) - - On May 5, 9:39 pm, Dianne Hackborn hack...@android.com wrote: Did you read the documentation there about how to register the library with the system? And did you actually

Re: Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

2009-05-05 Thread Dianne Hackborn
[INSTALL_FAILED_MISSING_SHARED_LIBRARY] so what i will for that can any body tell me . by using using this i try to add some api in android source code but my first step is not working properly. thanks in advance ... -- Dianne Hackborn Android framework engineer hack

Re: How can we build a debug image of the Android?

2009-04-30 Thread Dianne Hackborn
? Thanks and Regards, -Devaraj -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I

Re: Which process is responsible for injecting KeyEvents to the system ?

2009-04-29 Thread Dianne Hackborn
in advance ! Ashrotronics -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I

Re: How to add an API to handle multi int parameters as output in BnInterface and BpInterface

2009-04-28 Thread Dianne Hackborn
to a spIBinder? Is it a way to simply wrapper a int *,or some basic type pointer? Best Regards Guoyin Chen -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e

Re: PesterActivity gone?

2009-04-27 Thread Dianne Hackborn
? * What support will there be for folks building update solutions? Cheers, John -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All

Re: How can I know whether SIP(Soft Input Panel - Keyboard view) is showing or not

2009-04-26 Thread Dianne Hackborn
Method Manager. There is some APIs to handle the SIP. But I can't find API to know status of SIP(it is on showing or hiding). When SIP is showing to user. It disturbs the UI of the Activity. So Activity should know about the information related with upper case. How can I know that? -- Dianne

Re: Modify dialer apllication (dialtacts activity)

2009-04-24 Thread Dianne Hackborn
to it? Where can I find code related to this screen? (in android's source code) thanks kartic- Hide quoted text - - Show quoted text - -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide

Re: How to rotate only inputmethod window?

2009-04-24 Thread Dianne Hackborn
. My basic problem is... SIP can't receive the rotation event unless activity allow rotation. So could it ever possible divide the rotation mechanism in 'Activity' and 'InputMethodService'? Thanks again your kind reply, On 4월24일, 오후12시28분, Dianne Hackborn hack...@android.com wrote

Re: What is the role of WindowManager in android framework?

2009-04-24 Thread Dianne Hackborn
-up at this pt... Regs, Chaitanya On Apr 23, 9:35 pm, Dianne Hackborn hack...@android.com wrote: Good point, you can use that as an example of writing instrumentation against an .apk and how you can do timing with the operations. On Thu, Apr 23, 2009 at 9:31 PM, dan raaka danra

Re: How to rotate only inputmethod window?

2009-04-23 Thread Dianne Hackborn
changed event to InputMethodService, but failed because Service can't be registered to OrientationEventListner. Any hints will be helpful to me. Thanks Again, - Za. On 4월23일, 오후6시13분, Dianne Hackborn hack...@android.com wrote: You can't do this. You can set an option in the window to allow

Re: What is the role of WindowManager in android framework?

2009-04-23 Thread Dianne Hackborn
, Dianne Hackborn hack...@android.comwrote: There is a log printed with the time to launch an activity -- look at adb logcat. I also think there is a more structured event log you can see with adb logcat -b events. On Thu, Apr 23, 2009 at 6:56 PM, Chai jandhyalachaita...@gmail.comwrote: Hi

Re: Does the AndroidManifest.xml file is mandatory to make changes to apk with aapt tool ???

2009-04-22 Thread Dianne Hackborn
-- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them

Re: How to call other class in OnClickListener()

2009-04-22 Thread Dianne Hackborn
); startActivityIfNeeded(i,0); } }); -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails

Re: Communication between 2 services

2009-04-22 Thread Dianne Hackborn
to service this instead bind to another service. Activity - Service - coreService - ServiceStub(generated by AIDL) Any help is appreciated, -- Cheers (: Naveen Krishna Ch :) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me

Re: need for ACTION_LOCALE_CHANGED intent?

2009-04-22 Thread Dianne Hackborn
as orientation changes, keyboard state is way too often (and typically of no interest to a service). A separate intent would make things efficient. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide

Re: [android-developers] Issues while loading native .so files from JNI

2009-04-22 Thread Dianne Hackborn
? Thanks APT -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see

Re: Can we hide Activity

2009-04-22 Thread Dianne Hackborn
is to run service in back ground with out any UI. ie when android booting up 1). It should run my service. 2). Show home screen directly. Thank you very much for your reply. I am hanging here for last 2 days. :( On Apr 22, 1:41 pm, Dianne Hackborn hack...@android.com wrote: No. Fwiw

Re: how to edit the resource.arsc file in the android APK package

2009-04-20 Thread Dianne Hackborn
, 2009 at 12:22 AM, Google_Android_discussion vikram.da...@gmail.com wrote: Hi, I would like to edit the resource.arsc file with the android APK package. Addition/modification of the string values. Br, Vikram -- Dianne Hackborn Android framework engineer hack...@android.com Note

Re: making a service persistent

2009-04-20 Thread Dianne Hackborn
memory killer. Does the framework provide any mechanism to mark a Service as persistent, so that LMK does not affect it? Thanks, V -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private

Re: need for ACTION_LOCALE_CHANGED intent?

2009-04-20 Thread Dianne Hackborn
, the service gets notified only of locale changes, and it does not have to repeatedly process configuration changes and ignore a majority of them as they are not related to locale. Thoughts? Thanks, V -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't

Re: Is there a way not to strip verbose messages during compilation?

2009-04-17 Thread Dianne Hackborn
cautious to analyze and choose the right source files to be compiled with verbose messages. Thanks for the info about the StringBuilder activity. I haven't thought of that. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I

Re: MIPS of drawing Scroll Bar

2009-04-17 Thread Dianne Hackborn
that of drawing the pictures. Any idea that it can be done differently to achieve better performance? - Wen -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't

Re: Phone.java phone location management

2009-04-16 Thread Dianne Hackborn
information I am looking to have access and control over. Alex Donnini On Apr 15, 6:42 pm, Dianne Hackborn hack...@android.com wrote: Er, what is RadioInfo.java. As far as I know there is no such thing in the framework. On Wed, Apr 15, 2009 at 5:56 AM, alexdonnini alessdonn...@gmail.com

Re: how to adjust the window position on the framework layer

2009-04-16 Thread Dianne Hackborn
. In some cases, it is working and I can see two windows, but in some cases, for example, if we use Browser and AlarmClock as test case, it is not working. Can someone explain to me how Android control which window to draw on the screen? Thanks, Zhinan -- Dianne Hackborn Android

Re: how to adjust the window position on the framework layer

2009-04-16 Thread Dianne Hackborn
case, it is not working. Can someone explain to me how Android control which window to draw on the screen? Thanks, Zhinan -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private

Re: Phone.java phone location management

2009-04-15 Thread Dianne Hackborn
it in a future release. Mike On Wed, Apr 15, 2009 at 12:37 AM, Dianne Hackborn hack...@android.com wrote: A lot of the telephony classes you'll see in the framework will only work in the phone process, because they do not have any IPC abstraction behind them. There is also

Re: Phone.java phone location management

2009-04-14 Thread Dianne Hackborn
interface). Why is that? It cannot be a matter of security as testing of a function and development of an application does not automatically translate into publishing and approval of that application. I would appreciate anyone's feedback and help on this. Thanks. Alex Donnini -- Dianne

Re: Dynamic IntentFilters

2009-04-13 Thread Dianne Hackborn
dynamically registering Receivers, so would it be possible to allow dynamically registering Activities for specific IntentFilters in the framework? Is this too much of a security issue to allow? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private

Re: camcorder in cupcake emulator

2009-04-08 Thread Dianne Hackborn
approach for developing a Video recorder application ? With the current 1.1 SDK, it is not possible to make use of mediarecorder APIs. Thanks, Tejas On Apr 8, 9:47 pm, Dianne Hackborn hack...@android.com wrote: 1.1 is the current SDK, which is older than the platform where the camcorder

Re: About screen rotation

2009-04-06 Thread Dianne Hackborn
display driver for orientation? Many Many Thanks!!! -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted

Re: Question about Android GUI system

2009-04-04 Thread Dianne Hackborn
with it? Romain I used to follow your blogs (and Chet Hase's) about java graphics acceleration and opengl. You guys rock! I have your book too. Thanks for answering my question. -Videoguy -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions

Re: Question about Instrumentation

2009-04-03 Thread Dianne Hackborn
work? BRs Angela -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I

Re: WifiService and other WIFI related classes

2009-04-01 Thread Dianne Hackborn
-- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them

Re: SensorManager file descriptor shared?

2009-04-01 Thread Dianne Hackborn
of the Parcel stuff?) Thanks, Hod -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them

Re: WifiService and other WIFI related classes

2009-04-01 Thread Dianne Hackborn
unless I describe in some detail what I would like to do (am doing). Is this correct? If this is the way it is, I will conform although I don't quite understand why. Again, thanks for your response On Apr 1, 7:06 pm, Dianne Hackborn hack...@android.com wrote: I am not trying hide things

Re: Accessing native service from an application

2009-03-31 Thread Dianne Hackborn
=Binder.Test.IBindertest }: not found Yi On Mon, Mar 30, 2009 at 10:01 PM, Dianne Hackborn hack...@android.comwrote: If you are writing a low-level system service, the high-level Service API (onBind() etc) is irrelevant. The aidl stuff is part of the primitive Binder IPC stuff; Service

Re: Accessing native service from an application

2009-03-31 Thread Dianne Hackborn
to access them). On Tue, Mar 31, 2009 at 1:47 PM, Yi Sun beyo...@gmail.com wrote: But, the ServiceManager is not an exported java API at all. Thanks Yi On Tue, Mar 31, 2009 at 12:48 AM, Dianne Hackborn hack...@android.comwrote: You are mixing two different things. You are creating a low

Re: Accessing native service from an application

2009-03-31 Thread Dianne Hackborn
On Tue, Mar 31, 2009 at 2:31 PM, Dianne Hackborn hack...@android.comwrote: It is not in the SDK, and as a rule applications should not be directly accessing system services. You'll note that there are tons of system services in the standard android platform, and they all have appropriate SDK

Re: Accessing native service from an application

2009-03-31 Thread Dianne Hackborn
use an unified interface like Binder. Yi On Tue, Mar 31, 2009 at 4:14 PM, Dianne Hackborn hack...@android.comwrote: Could you please explain more what you are trying to do? If you are trying to add a service with a public API for applications to use, one approach you can take is to make

Re: Accessing native service from an application

2009-03-31 Thread Dianne Hackborn
reuse the code. What do you think? Yi On Tue, Mar 31, 2009 at 4:41 PM, Yi Sun beyo...@gmail.com wrote: Dianne, Thank you for the hint. I will try this out to see if I can make it work or not. Yi On Tue, Mar 31, 2009 at 4:24 PM, Dianne Hackborn hack...@android.comwrote: Okay so just do

Re: Question about android graphics.

2009-03-31 Thread Dianne Hackborn
jump to another exist windows, how to updat the z-order of the former window, jump-to window? Don't use surface flinger directly, use the window manager; it takes care of Z-ordering. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me

Re: Question about android graphics.

2009-03-31 Thread Dianne Hackborn
only knows the windows size w,h, and format. How it knows it is relative position in display? Well there are APIs to change the layer's values. Just look at the Surface APIs to see them at the Java level. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't

Re: What screen resolutions?

2009-03-30 Thread Dianne Hackborn
because they aren't using that space); those that do break horribly should just be fixed by their author. ;) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should

Re: Accessing native service from an application

2009-03-30 Thread Dianne Hackborn
can add myservice without any problem. Also, when I run /system/bin/service list, it shows the service added by me. The question is -- What is the correct way to access this service from my application that is written by java? Thanks Yi -- Dianne Hackborn Android framework

Re: Why RIL uses Local socket instead of binder ipc?

2009-03-27 Thread Dianne Hackborn
, Ashutosh On Mar 17, 7:29 am, Dianne Hackborn hack...@android.com wrote: Basically because that is how it was implemented. *shrug* And it was written long before there was any Binder IPC facility. On Mon, Mar 16, 2009 at 1:47 PM, Videoguy puri_mall...@yahoo.com wrote: Hi

Re: Reading style tag from Resources object

2009-03-24 Thread Dianne Hackborn
replaced the assets at the cookie position? I fear there may be some sort of caching or other sophistication which makes direct manipulation of ResTable's internals impossible. On Mar 22, 4:54 pm, Dianne Hackborn hack...@android.com wrote: Ah, thanks. Unfortunately this is not currently supported

Re: how to use TYPE_INPUT_METHOD_DIALOG in cupcake IMF?

2009-03-19 Thread Dianne Hackborn
one can give me an example? thanks! -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see

Re: how to use TYPE_INPUT_METHOD_DIALOG in cupcake IMF?

2009-03-19 Thread Dianne Hackborn
a float keyboard with the type. but seems that the name is somewhat misleading On Mar 20, 10:22 am, Paranoia zheny...@gmail.com wrote: Thanks. can you tell me what its usage is? On Mar 20, 10:18 am, Dianne Hackborn hack...@android.com wrote: Don't. Use popup-windows in your IME

Re: Reading style tag from Resources object

2009-03-18 Thread Dianne Hackborn
exposing it? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them

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 hack

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

2009-03-18 Thread Dianne Hackborn
platform. You should add new classes and APIs as a separate shared library, as shown by the PlatformLibrary sample code. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All

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

2009-03-18 Thread Dianne Hackborn
with this Activity /Service on a sensor getsure that it has subscribed for? Thanks in advance! Learning_Android -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All

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

2009-03-18 Thread Dianne Hackborn
, it would be best to do that on android-developers which helps a lot in understanding the context things are being discussed in. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All

Re: Reg. ANR: Application Not Responding

2009-03-18 Thread Dianne Hackborn
. But this is kind off annoying or giving a impression that something failed? Can you please let me know: 1. How do we control this popup and where is the control? 2. What is the logic behind ANRs'? Thanks for your time and help. Dev -- Dianne Hackborn Android framework engineer hack

Re: problem occur while writing android.provider.Setting s.Secu­re.ENABLED_INPUT_METHODS

2009-03-17 Thread Dianne Hackborn
$NameValueTable.putString(Settings.java:409) 03-17 17:43:15.717: ERROR/AndroidRuntime(6950): at android.provider.Settings$Secure.putString(Settings.java:1520) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide

Re: InputMethodService (SoftKeyboard)

2009-03-17 Thread Dianne Hackborn
solution is that I have to change code that is not part of the public API. But it works for me now ;-) I am not going to spend much time helping people who are hacking around the SDK. Seriously. :/ -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send

Re: What is the role of WindowManager in android framework?

2009-03-17 Thread Dianne Hackborn
-- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them

Re: InputMethodService (SoftKeyboard)

2009-03-16 Thread Dianne Hackborn
if these key events should be processed by SoftKeyboard. Method isInputViewShown() of class InputMethodService didn't do the job. Or even better, SoftKeyboard's onKeyDown and onKeyUp methods are only called when the SoftKeyboard is visible. On 13 Mrz., 19:22, Dianne Hackborn hack

Re: Why RIL uses Local socket instead of binder ipc?

2009-03-16 Thread Dianne Hackborn
of Binder ipc. Why was it done like that? Are there any exceptions to when one can use Binder based ipc? Thanks Videoguy -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support

Re: About threads in a service process

2009-03-14 Thread Dianne Hackborn
On Feb 12, 3:13 pm, rktb yend...@pv.com wrote: Thanks Dianne. We will try to put together the pieces and get back with more concrete questions. -Ravi On Feb 11, 6:24 pm, Dianne Hackborn hack...@android.com wrote: On Wed, Feb 11, 2009 at 1:43 PM, rktb yend...@pv.com

Re: How to set the video display to the horizon or vertical of display panel in video playing

2009-03-13 Thread Dianne Hackborn
our video displaying direction when we use Gallery or video playing in Android. But cannot find any setting or code for this. If you know that , please point me how i can do it. Thanks advance. Guoyin- Hide quoted text - - Show quoted text - -- Dianne Hackborn Android

Re: InputMethodService (SoftKeyboard)

2009-03-13 Thread Dianne Hackborn
, but this is ugly). Do you plan to further extend the InputMethodService for such constrained environments? Would be very helpful ;-) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All

Re: Is there a flowchart? How Users are Notified..

2009-03-13 Thread Dianne Hackborn
to understand) explanation on HOW USERS ARE NOTIFIED OF A NEW MESSAGE AND HOW THIS IS TRIGGERED TO SHOW ON THE SCREEN (such as 3 New Messages Received) on the OS or Application service level of Andriod. Any references you can recommend? :) -- Dianne Hackborn Android framework engineer hack

  1   2   >