[android-developers] Re: getting android_id from GoogleLoginServiceBlockingHelper?

2009-03-20 Thread Dianne Hackborn
for your continued efforts, -dan -- 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

[android-developers] Re: Checking how a program was installed?

2009-03-20 Thread Dianne Hackborn
and 50% active, yet my server which is used by the application shows approximately 200ish unique users within the past few days. -- 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

[android-developers] Re: Bouncing ListView?

2009-03-20 Thread Dianne Hackborn
classes also? 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 and answer them

[android-developers] Re: getting android_id from GoogleLoginServiceBlockingHelper?

2009-03-20 Thread Dianne Hackborn
aware, that my app will not be on equal footing with Gmail, but I am still wondering if there is any way around getting to know the user's credentials today? Or in Cupcake? 2009/3/20 Dianne Hackborn hack...@android.com This will be fixed in cupcake, where we have a secure settings area

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Dianne Hackborn
/20 Dianne Hackborn hack...@android.com As with other resources, the official list of public resources is here: http://developer.android.com/reference/android/R.drawable.html Note that a lot of these are actually things like state list drawable XML files, which map to some set of multiple

Re: 回复: [android-developers] How to create a file on Android System?

2009-03-20 Thread Dianne Hackborn
2009/3/20 Jiang webs...@yahoo.cn under /data/data/app package name/ DON'T DO THIS. Use the Context APIs to get the appropriate paths for your data. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time

Re: 回复: [android-developers] How to create a file on Android System?

2009-03-20 Thread Dianne Hackborn
priority. Is there a directory or method to keep the file even if the user uninstall my app ,so that I can find previous infomation about my app when user install my app again. No, sorry. Uninstalling is supposed to clean up everything of the app. -- Dianne Hackborn Android framework engineer

[android-developers] Re: When to setResult for onActivityResult

2009-03-21 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

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-03-21 Thread Dianne Hackborn
a view hierarchy from a binary layout file is probable still 10x slower than if you were to hand-code Java to instantiate the view objects and configure them yourself. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't

[android-developers] Re: Getting a complete list of android native drawables

2009-03-21 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

[android-developers] Re: How to check if there are registered broadcast listeners?

2009-03-22 Thread Dianne Hackborn
last, and then have that receiver pop up a toast. The other receiver should call abortBroadcast() in that case to prevent the final receiver from receiving the broadcast. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me

[android-developers] Re: Read package name from AndroidManifest.xml at runtime?

2009-03-22 Thread Dianne Hackborn
Academy: http://www.androidacademy.com -- 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

[android-developers] Re: How is android's AlertDialog layout define?

2009-03-22 Thread Dianne Hackborn
don't figure out how that is being layout (e.g. the location of the button, the location of text) Where are they defined? And how can I change that? Thank you. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't

[android-developers] Re: Why my application get Not granting permission warning when i install it by adb and AppsInstaller

2009-03-22 Thread Dianne Hackborn
and other issues around it, so though a carrier could open it up I don't know if that will happen. At least we were able to negotiate open access to placing phone calls for everything except emergency numbers. At some point you count your blessings. :} -- Dianne Hackborn Android framework engineer

[android-developers] Re: Implications of Using Non Standard Packages

2009-03-23 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

[android-developers] Re: How to control the SurfaceView's z-order

2009-03-23 Thread Dianne Hackborn
to front. -- 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

[android-developers] Re: Why my application get Not granting permission warning when i install it by adb and AppsInstaller

2009-03-23 Thread Dianne Hackborn
are referring to -- an app can implement the DIAL and CALL intents to be launched when things like the call button is pressed. I'm not aware of other ways to get into the Dialtacts app, but I don't work on that code so wouldn't really know. -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: Accessing System Brightness

2009-03-23 Thread Dianne Hackborn
-generated catch block e.printStackTrace(); } This is a private API and will break in Cupcake. -- 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

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Dianne Hackborn
have the best chance of breaking. -- 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

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Dianne Hackborn
for the UI editor. There may be duplicate classes in there that you are linking into your app instead of using in the system, and all kinds of problems. i fthey won't change that it also won't change rt... Sorry, I can't parse that sentence. -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Dianne Hackborn
On Mon, Mar 23, 2009 at 12:16 PM, Rajendrakumar Chinnaiyan rajendran.b...@gmail.com wrote: If they won't change the internal API's.. Our application also won't get any problem.. The very reason APIs are internal is because they can change. -- Dianne Hackborn Android framework engineer

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Dianne Hackborn
On Mon, Mar 23, 2009 at 12:39 PM, Rajendrakumar Chinnaiyan rajendran.b...@gmail.com wrote: I need a help from you... can I send a mail to you mail ID... I need to keep discussions on the list; I don't have time to provide private support. -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: Way to tell when task goes to back of stack?

2009-03-23 Thread Dianne Hackborn
can poll the ActivityManager for running activities with my task id, but hard to find a good time to call this. Thanks -- Ward -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-23 Thread Dianne Hackborn
(screenmode://android.ds/ActivityType=MY_ACTIVITY)); Can I just put anything, or is there a specific format I need to follow i.e. screenmode: something else, something else etc... Cheers guys. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Dianne Hackborn
to? On Mar 24, 4:35 pm, Dianne Hackborn hack...@android.com wrote: Please don't make up URI schemes. If you are passing app-private data, you should probably just put it in as extra fields of whatever type you want. On Mon, Mar 23, 2009 at 10:20 PM, me tun a...@tpg.com.au wrote: Hello

[android-developers] Re: Bundles and serializable objects - what is actually stored?

2009-03-24 Thread Dianne Hackborn
applied to a copy of that view and would be meaningless. -- 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

[android-developers] Re: How to fix landscape mode when boot on device?

2009-03-24 Thread Dianne Hackborn
landscape mode when boot on device and show main screen. what methods does I try 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

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Dianne Hackborn
but it doesn't seem to work. On Mar 24, 5:23 pm, Dianne Hackborn hack...@android.com wrote: http://developer.android.com/reference/android/content/Intent.html#pu.. .) And all of the other overloaded methods for various types. On Mon, Mar 23, 2009 at 10:40 PM, me tun a...@tpg.com.au wrote

[android-developers] Re: Alternate resources

2009-03-24 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

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Dianne Hackborn
the current tree and run cupcake today, and have been able to for a month or two. Just because it is running on some hardware doesn't mean it is finished. I checked in a couple cupcake bug fixes today, so I can assure you that it is not yet done. -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Dianne Hackborn
. There is nowhere in this flow where you can or it really makes sense for you to insert some custom data in an intent. You already get an intent whose action and category tells you that the user launched it from its icon. Use the to decide to do whatever you want. -- Dianne Hackborn Android framework

[android-developers] Re: Screen Orientation.

2009-03-24 Thread Dianne Hackborn
...@gmail.com wrote: Hi all... Thanks for replies. Can any one tell me by which method i can check the screen orientation? I mean i want to check whether it is land-scap mode or portrait mode. Thanks in advance. Suman. -- Dianne Hackborn Android framework

[android-developers] Re: how can i check landscap orientation ?

2009-03-25 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

[android-developers] Re: Drop entire database?

2009-03-25 Thread Dianne Hackborn
if it already exists. The problem is that I cannot find a function that deletes/drops a database. That seems like an odd omission. Help? -- 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

[android-developers] Re: Screen Orientation.

2009-03-25 Thread Dianne Hackborn
Sorry I made a mistake, use getResources().getConfiguration(). On Tue, Mar 24, 2009 at 10:43 PM, for android forandr...@gmail.com wrote: Does that mean from the DisplayMetrics we need to check from the height and width? On Wed, Mar 25, 2009 at 10:55 AM, Dianne Hackborn hack

[android-developers] Re: Task activity stack always reset when launched from Home

2009-03-25 Thread Dianne Hackborn
=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity activity android:name=.About android:launchMode=standard /activity /application Anyone have any ideas why this is always resetting the Activity Stack? -- Dianne Hackborn

[android-developers] Re: How to change orientation of AlertDialog?

2009-03-25 Thread Dianne Hackborn
it in Java code? Help is appreciated Sersoun -- 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

[android-developers] Re: Singleton in different service which share same process

2009-03-25 Thread Dianne Hackborn
://commonsware.com Android App Developer Training: http://commonsware.com/training.html -- 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

[android-developers] Re: Task activity stack always reset when launched from Home

2009-03-25 Thread Dianne Hackborn
( 209): [352256,241664] I/force_gc( 94): bg - John On Mar 25, 10:16 am, Dianne Hackborn hack...@android.com wrote: You can do adb logcat -b events to see the event log which will include a line the activity manager prints when finishing an activity, with the reason why it is doing

[android-developers] Re: .apk install fails: package conflict

2009-03-25 Thread Dianne Hackborn
with not a peep * when I download the .apk to my phone the app installs fine Any ideas what's up? It would be really nice to make it as easy as possible to distribute to people who might be willing to do me the favor of testing. Thanks for any help, Bee -- Dianne Hackborn Android framework

[android-developers] Re: how can i check landscap orientation ?

2009-03-25 Thread Dianne Hackborn
reason to do so. (Such as playing a video.) -- 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

[android-developers] Re: Process is not ending ?

2009-03-25 Thread Dianne Hackborn
that list means. whether that list is For the forgrund running apps or active apps or that is a History. Please any one answer my simple questions. Best, AndRaj -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have

[android-developers] Re: Creating a Custom Shapped Button using Canvas? Is it possible?

2009-03-25 Thread Dianne Hackborn
You can just make a Drawable that draws (and changes based on its state) however it wants. On Wed, Mar 25, 2009 at 2:16 PM, Moto medicalsou...@gmail.com wrote: I guess the title says it all Could I technically make a custom button using this Class? Thanks! Moto! -- Dianne

[android-developers] Re: Overlapping non-rectangular buttons

2009-03-25 Thread Dianne Hackborn
to pass events and focus changes down the view tree that you sometimes find in other systems. The logic for dispatching events is in ViewGroup. It is basically a tree traversal, each ViewGroup deciding how to dispatch events to its immediate children. -- Dianne Hackborn Android framework

[android-developers] Re: Creating a Custom Shapped Button using Canvas? Is it possible?

2009-03-25 Thread Dianne Hackborn
Drawable doesn't define the touch area, so you would need to customize the view for that. On Wed, Mar 25, 2009 at 3:51 PM, Moto medicalsou...@gmail.com wrote: But would the touch area be only around my weird shaped area? or just the typical rectangular area? -- Dianne Hackborn Android

[android-developers] Re: TERRIBLE BUG: aapt crashes on Windows

2009-03-25 Thread Dianne Hackborn
benefit. -- 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

[android-developers] Re: TERRIBLE BUG: aapt crashes on Windows

2009-03-25 Thread Dianne Hackborn
? Anyway, I have other work I need to do today, so I'll be looking forward to the bug being updated with a repro case. (Or would love to have a patch for aapt submitted that fixes it!) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me

[android-developers] Re: Any more info about android.os.RemoteException ??

2009-03-25 Thread Dianne Hackborn
happen, Any comments will be much appriciated ! Thanks and Regards! 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. All such questions should be posted

[android-developers] Re: Is it possible to start an application programmatically?

2009-03-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. All such questions should be posted on public forums, where I and others can see and answer them

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Dianne Hackborn
. This is very much not the way to do 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

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Dianne Hackborn
the scheduling of processes that are not running the foreground UI. -- 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

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Dianne Hackborn
similar. -- 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

[android-developers] Re: Running Scripts from an Application

2009-03-26 Thread Dianne Hackborn
=android.permission.SEND_SMS / uses-permission android:name=android.permission.WRITE_SMS / The Emulators don't have this command to run - and they are running on Windows anyway. I can't think of anything else to add to this. Cheers -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: Running Scripts from an Application

2009-03-26 Thread Dianne Hackborn
to connect to a debugger via a USB for that? Cheers, On Mar 27, 4:15 pm, Dianne Hackborn hack...@android.com wrote: You need to look at the logcat output. How do you not have USB?!? On Thu, Mar 26, 2009 at 8:02 PM, simonc collings.si...@gmail.com wrote: Hi, I'm wanting to run

[android-developers] Re: Some problems in cupcake imf

2009-03-27 Thread Dianne Hackborn
APIs, I have no idea of what build you are working against, and depending on which that is various things may or may not be broken, or have changed, or whatever else. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have

[android-developers] Re: SurfaceView setBackground

2009-03-27 Thread Dianne Hackborn
of the SurfaceView just like a 2D view ? -Dan -- 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

[android-developers] Re: Some problems in cupcake imf

2009-03-27 Thread Dianne Hackborn
It may be broken. I don't know the state of the code you are working with. On Fri, Mar 27, 2009 at 12:23 AM, Paranoia zheny...@gmail.com wrote: Thank you for such a quick reply! please see my comments in line. On Mar 27, 3:14 pm, Dianne Hackborn hack...@android.com wrote: On Fri, Mar 27

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-27 Thread Dianne Hackborn
support. All such questions should be posted on public forums, where I 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. All such questions

[android-developers] Re: Notificationbar on top of a fullscreen application.

2009-03-27 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

[android-developers] Re: Clear All Notifications called implicitly?

2009-03-27 Thread Dianne Hackborn
is clicked), but I've never clicked it myself. Does the OS send that out automatically? -- 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

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-27 Thread Dianne Hackborn
this in this weekend. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://commonsware.com/training.html -- 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

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-27 Thread Dianne Hackborn
) { } } bService.this.stopSelf(); } }; On Mar 27, 1:34 pm, Dianne Hackborn hack...@android.com wrote: And are you using a partial wake lock? Note that if you absolutely need to run even when the device is asleep, this can be a little tricky -- you need

[android-developers] Re: (To Google devs)Using the IM plugin class

2009-03-27 Thread Dianne Hackborn
really like to implement this. Is it better to just to submit an official revision? -- 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

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-27 Thread Dianne Hackborn
this needs to be improved. A lot of the standard platform applications have had bugs in this area in one form or another, too. -- 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

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-28 Thread Dianne Hackborn
| http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! -- 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

[android-developers] Re: Spying camera application

2009-03-29 Thread Dianne Hackborn
application automatically.I am messed with code signature and manufacturer agreement with Nokia.So I have decided to change the platform to Android mobiles.Could you please let me can I able to implement the above application in android mobiles android platform. Thank you, Sri -- Dianne

[android-developers] Re: Spying camera application

2009-03-29 Thread Dianne Hackborn
Btw doing this every 2 minutes is probably going to be really hard on the battery. On Sun, Mar 29, 2009 at 9:08 AM, Dianne Hackborn hack...@android.comwrote: Provided you ask for the take pictures' permission, you can take a picture whenever you want. I am assume the bit the certification

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Dianne Hackborn
developers will lose out. And the whole platform loses because there will be no quality games. Why shouldn't our games look like this after all : http://www.youtube.com/watch?v=Y4795KVt_kw -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-30 Thread Dianne Hackborn
down or will the system eventually do this automatically ? You should do this. Use Process.setThreadPriority(); there is a standard constant for background threads. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't

[android-developers] Re: Performance: pre-instantiate activities on app launch? Good practice or not?

2009-03-30 Thread Dianne Hackborn
and solutions here? Thanks for your input, Matthias -- 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

[android-developers] Re: Some question about OrientationListener and the way of sensor( sensorlistener, sensormanager..... ) init

2009-03-30 Thread Dianne Hackborn
I init sensor (or sensormanager) to make a sensorlist? 5.Is there any sample code for init sensor (or sensormanager)? 6.Does andorid have support sensor type:SENSOR_LIGHT? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions

[android-developers] Re: grab [Motion|Key]Events

2009-03-30 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

[android-developers] Re: setRequestedOrientation call flow

2009-03-30 Thread Dianne Hackborn
, what's the actual call (function) flow from setRequestedOrientation (java) down to SurfaceFlinger(cpp)? Specially, can someone explain where the parameter 0 of setRequestedOrientation get translated into ROTATION_90? Max -- Dianne Hackborn Android framework engineer hack...@android.com

[android-developers] Re: Android Telephony

2009-03-31 Thread Dianne Hackborn
:49 am, Shrikant Agrawal shrikant...@gmail.com wrote: Hi I want to find the network signal strength for my app. But I cant find the api for it. Do anybody know how to find the signal strength of the phone? Thanks -- Dianne Hackborn Android framework engineer hack...@android.com

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-31 Thread Dianne Hackborn
but WindowManager.LayoutParams.MEMORY_TYPE_HARDWARE seem to prevent the app from drawing anything, is there a detailed description of what said flags actually do? - Ed -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't

[android-developers] Re: Improve scrolling speed

2009-03-31 Thread Dianne Hackborn
. All such questions should be posted on public forums, where I 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. All such questions should

[android-developers] Re: input method app

2009-03-31 Thread Dianne Hackborn
also fit VGA / WQVGA / QVGA)? 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

[android-developers] Re: ProgressDialog and sub activities

2009-03-31 Thread Dianne Hackborn
wrong. Any help is welcome. 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 and answer

[android-developers] Re: GL View layered on top of a SurfaceView?

2009-03-31 Thread Dianne Hackborn
is visible -- the GL View is not visible. If anyone could provide me a bit of guidance on how to do this or something equivalent I would be very appreciative. Thanks -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I

[android-developers] Re: setRequestedOrientation call flow

2009-03-31 Thread Dianne Hackborn
This request ends up coming to SurfaceFlinger as eOrientation90 = 1. Do you know where (where in src?) it checks SCREEN_ORIENTATION_LANDSCAPE is valid and translate it to eOrientation90? Thx! Max On Mar 30, 7:15 pm, Dianne Hackborn hack...@android.com wrote: It's complicated

[android-developers] Re: Crashed service restarted by system doesn't call onStart

2009-03-31 Thread Dianne Hackborn
logic in the onStart method but it looks like it will all have to be in the onCreate method. Many thanks, Charles -- 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

[android-developers] Re: Getting Resources outside of an Activity

2009-03-31 Thread Dianne Hackborn
the resource object from the activity calling the class? Thanks in advance! Kirk -- 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

[android-developers] Re: [android-discuss] Unused java hardware acceleration on the G1 (was Re: Android game developers desperately need optimised game engine example code ...)

2009-03-31 Thread Dianne Hackborn
, and you, Android engineers, are the only people who actually listen to us)? Congratulations, at this point I have stopped listening to you too. -- 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

[android-developers] Re: Troubles with SurfaceView's surfaceCreated/Destroyed

2009-03-31 Thread Dianne Hackborn
to follow common paradigm though. Any other solutions, comments? All help is appreciated. -- 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

[android-developers] Re: How to draw directly on screen without calling invalidate?

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

[android-developers] Re: Scroll and drag a TileView widget around by finger / touch

2009-04-01 Thread Dianne Hackborn
- - 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 private support. All such questions should be posted on public forums, where I and others can see and answer them

[android-developers] Re: Text in of a custom drawable

2009-04-01 Thread Dianne Hackborn
be a drawable as I use it where a drawable is required. Thanks! // Erik -- 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

[android-developers] Re: Starting an ACTIVITY from a SERVICE.

2009-04-02 Thread Dianne Hackborn
with this. Thanks. Regards, Zhubham. -- 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

[android-developers] Re: create an image on the fly and assign it to a button

2009-04-02 Thread Dianne Hackborn
?? a short demo would be great 1. create simple image (3 rows with different color) 2. assign this image to a button 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

[android-developers] Re: Adding IM providers to native IM app

2009-04-02 Thread Dianne Hackborn
? I know other people have written seperate IM clients but it'd be great to add to list in the native IM app. The 3 I'd like to work on is Facebook, MySpaceIM, Skype. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me

[android-developers] Re: Adding IM providers to native IM app

2009-04-02 Thread Dianne Hackborn
, and most likely need a lot of work (besides just actually not requiring things run in the same process) to be something that is actually maintainable. On Thu, Apr 2, 2009 at 12:40 PM, Dianne Hackborn hack...@android.comwrote: Actually, I don't think it is extensible. I mean, in theory it is, it has

[android-developers] Re: create an image on the fly and assign it to a button

2009-04-02 Thread Dianne Hackborn
a small demo (that would fit best with my needs) to create a bitmapdrawable with 3 rows, different colors and assign in onto a button? Thanks Chris -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time

[android-developers] Re: detect trackball events in dialog

2009-04-02 Thread Dianne Hackborn
does one access trackball events? 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 on public

[android-developers] Re: Handler and MessageQueue question

2009-04-03 Thread Dianne Hackborn
removeMessage(what, obj). Taísa -- 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

[android-developers] Re: Switching from Landscape to Portrait orientation

2009-04-03 Thread Dianne Hackborn
://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year -- 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

[android-developers] Re: Why there are 2 instance of same Activityes?

2009-04-03 Thread Dianne Hackborn
be garbage collected after finish(). Can someone help out why this happens and how to fix? Thanks, David -- 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

[android-developers] Re: Determining the firmware version

2009-04-03 Thread Dianne Hackborn
of Funky Android Limited, it's associates, or it's subsidiaries. -- 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

[android-developers] Re: Passing keyevents to the next activity in the stack

2009-04-04 Thread Dianne Hackborn
tried setFocusable(false), setting the flag FLAG_NOT_FOCUSABLE, and adding a dummy onKeyListener but nothing doesn't seem to do the trick. -- 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

[android-developers] Re: How the use same instances when launching application twice ?

2009-04-04 Thread Dianne Hackborn
-enter on the same activity they were in before (D). How do you do that? On Mar 20, 12:05 pm, Dianne Hackborn hack...@android.com wrote: Um, what you are requesting is the normal behavior. When you tap on an app's icon in home, it brings the current task of that app to the foreground

[android-developers] Re: ContentProvider instance

2009-04-04 Thread Dianne Hackborn
), this will cause problem when deployed 2 or more of my application in the same device? How do I make the contentProvider only accessible by its application and prefer a solution without code changes. Thanks, David -- Dianne Hackborn Android framework engineer hack...@android.com Note

<    1   2   3   4   5   6   7   8   9   10   >