[android-developers] Re: Native code is being called successfully but not executed properly

2009-09-10 Thread Dianne Hackborn
message. Any help would be appreciated highly. Regards, -Siva. -- 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

[android-developers] Re: Deep sleep behaviour

2009-09-10 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

[android-developers] Re: Content Provider VS SQLiteDatabase

2009-09-10 Thread Dianne Hackborn
into a database. And if i create a Provider for the same purpose, ...in what way will a Provider prove to be more beneficial over the DatabaseStore class other than the fact that provider will allow me to share data ovet different applications On Sep 10, 11:01 am, Dianne Hackborn hack

[android-developers] Re: sqlite can't show chinese words

2009-09-10 Thread Dianne Hackborn
-developers] sqlite can't show chinese words hi all, I found that sqlite can't store chinese words and will shows random code in the application when retrieve data. can somebody give some help? thanks!- 隱藏被引用文字 - - 顯示被引用文字 - -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: Any way to see what Notifications are on status bar?

2009-09-10 Thread Dianne Hackborn
Sorry, no. On Thu, Sep 10, 2009 at 9:20 AM, justinh henderson.jus...@gmail.com wrote: Is there any way for an application to see what Notifications are currently on the status bar? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private

[android-developers] Re: Adding Resource in framework

2009-09-10 Thread Dianne Hackborn
resource and private resource. Please reply ASAP Thanks and Regards Mohammed Sameer -- 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: Translucent and FullScreen?

2009-09-10 Thread Dianne Hackborn
for it? 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 forums, where I and others

[android-developers] Re: DatePicker throw java.lang.StackOverflowError when embbeded with TableRow

2009-09-10 Thread Dianne Hackborn
of controls you can put on the screen, you just need to flatten your view hierarchy by using different layout managers (such as RelativeLayout) or writing your own. -- 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: Any way to see what Notifications are on status bar?

2009-09-10 Thread Dianne Hackborn
of independently discovering new messages coming from several different closed applications. Is there a conscious effort to prevent this? On Sep 10, 12:29 pm, Dianne Hackborn hack...@android.com wrote: Sorry, no. On Thu, Sep 10, 2009 at 9:20 AM, justinh henderson.jus...@gmail.com wrote

[android-developers] Re: compiling the android SDK with sources.

2009-09-10 Thread Dianne Hackborn
all i need is if certain group of files were compiled than to copy the .java files to where the class files are and than if the jar excludes java files make sure it doesn't. 10x. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions

[android-developers] Re: How to Enable Hardware Audio Codecs in android OMAP zoom2

2009-09-10 Thread Dianne Hackborn
, Suneetha -- 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: 回复: [android-developers] Re: In Java ap plication, how to load native library which depends on the third s hared library

2009-09-10 Thread Dianne Hackborn
application, then I copy libjni-test.so to My-Project/lib/, after building and installing application, the libjni-test.so is installed under /data/data/my-package-name/lib, but what place to copy the third library libxxx.so to? Thanks. --- 09年8月26日,周三, Dianne Hackborn hack...@android.com 写道

[android-developers] Re: Changing IME Done button

2009-09-10 Thread Dianne Hackborn
seem like they apply to what I'm trying to do http://developer.android.com/reference/android/widget/TextView.html#attr_android:imeOptions Do you have any sample code changing the IME action button? Thank you again, Brady -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: getPressure vs. getSize for MotionEvent

2009-09-10 Thread Dianne Hackborn
it returns a value ranging from 0 to 1; For MotionEvent.getPressure(), it seems to me this actually reflects the real finger touch size, as opposed to pressure; for me, I get values range from 0 - 0.63. Am I missing anything or is it a known bug of the SDK? Thanks. -- Dianne Hackborn

[android-developers] Re: detecting shake movement without draining the battery

2009-09-10 Thread Dianne Hackborn
fast. Is there no way to wake up the phone whenever a shake movement occurs? Maybe with the native sdk? I would imagine the accelerometer causing some kind of interrupt. Any ideas? -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private

[android-developers] Re: Printing from Android - the Brother MW-120 mobile printer

2009-09-10 Thread Dianne Hackborn
for an Android device, so we can print receipts, barcodes, labels, etc. However, I can't find any information on doing that, and I couldn't find any Linux drivers for this printer. Any ideas on how we could get that going? Anyone tried something like this? Thanks -- Dianne Hackborn Android

[android-developers] Re: About Content Provider and SQLite Table design pattern

2009-09-10 Thread Dianne Hackborn
an application needs to use two or more SQLite tables, will we need to separate difference ContentProvider (by table) to handle them, or just one ContentProvider to do it? Ryan -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me

[android-developers] Re: getPressure vs. getSize for MotionEvent

2009-09-10 Thread Dianne Hackborn
returns larger values for larger touch area/size, regardless how lightly/hard I press. Regards, On Sep 10, 3:56 pm, Dianne Hackborn hack...@android.com wrote: Capacitive touch screens detect size much more than pressure, so in general you will find the pressure varies closely with size

[android-developers] Re: sqlite can't show chinese words issue

2009-09-10 Thread Dianne Hackborn
in my app, the first spinner shows RANDOM CODE, and second spinner shows correct word hello. so, can somebody tell me how can I solve for that I really appreciate. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me

[android-developers] Re: About the package com.google.*

2009-09-10 Thread Dianne Hackborn
that some package just like com.google.android.mms can not be found anymore but which could be found in version m5-rc15. Did it be removed or something else? Thanks -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I

[android-developers] Re: Does low memory cause Activity.getIntent() to return null?

2009-09-10 Thread Dianne Hackborn
It will only return null if you get setIntent() to set it null. On Thu, Sep 10, 2009 at 7:29 PM, adamphillips12 adamphillip...@gmail.comwrote: As the title says? Or what situations can cause this method to return null? I would of thought it retained this object always. -- Dianne

[android-developers] Re: Free space required for a package install

2009-09-10 Thread Dianne Hackborn
On Tue, Sep 8, 2009 at 6:07 PM, Dianne Hackborn hack...@android.comwrote: To be honest, I am surprised it requires that much. For something that isn't forward locked, we should need at most double the space (for the original copy of the apk, and the copy placed into /data/apps by the system

[android-developers] Re: Singleton Objects and Android

2009-09-10 Thread Dianne Hackborn
= new TJCConfig(); return config; } ... } -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ -- 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: How to set border to linear layout

2009-09-11 Thread Dianne Hackborn
) to the linear layout is it possible then how can i set it Thank you Dilli -- 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

[android-developers] Re: On Android target, can a folder be created under / (root)

2009-09-11 Thread Dianne Hackborn
to create a folder (like XYZ) under / (root). I tried to create a link too but that too failed. Is this possible using any adb shell command/system utility or this is a limitation? Regards, Royston -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send

[android-developers] Re: AndroidManifest compile time checks

2009-09-11 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

[android-developers] Re: Soft keyboard in Fullscreen/extract mode

2009-09-11 Thread Dianne Hackborn
, if the status bar is hidden, the IME also does not resize my app. This clearly seems like a bug to me. Any suggestions? Thanks, Howard -- 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: Battery Status and Signal Strength Acheivement

2009-09-11 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

[android-developers] Re: Recommended uses of a class extending android.app.Application

2009-09-11 Thread Dianne Hackborn
of stuffing everything in to Application, which is why I recommend statics.) -- 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

[android-developers] Re: AVD for Motorola Cliq?

2009-09-11 Thread Dianne Hackborn
and landscape? -- Android 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, and so won't reply to such e-mails. All such questions should

[android-developers] Re: Why we need to do static compilation?

2009-09-11 Thread Dianne Hackborn
be appreciated. -- Best Regards, Rajesh N -- 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: Is it safe to queue KeyEvents and MotionEvents for deferred processing?

2009-09-11 Thread Dianne Hackborn
. Is this the case or is it safe to queue them for deferred processing like I'm doing? -- 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

[android-developers] Re: Our app force closes on 1.6, Is SDK or image available yet?

2009-09-11 Thread Dianne Hackborn
have issues in our application. It apparently is force closing on them. I am not sure of why it is, and the 1.6 SDK is not out yet. Has 1.6 been released into the wild? If so, do you know where I can download the image for my G1 dev phone to test w/? Thanks, Chris -- Dianne Hackborn

[android-developers] Re: About Services

2009-09-11 Thread Dianne Hackborn
Sorry, no. On Fri, Sep 11, 2009 at 12:55 AM, Shrenik Vikam yoursonyt...@gmail.comwrote: can i send end call event or kill event to call/dial activity On Sep 2, 9:40 pm, Dianne Hackborn hack...@android.com wrote: Correct, end call can't be seen by applications at all, so you need

[android-developers] Re: Broadcast Receivers help

2009-09-11 Thread Dianne Hackborn
this? Thanks in advance. -- jason.vp.engineering.particle -- 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

[android-developers] Re: Why does app not get onDestroy when exited but then receives an onCreate when relaunched?

2009-09-11 Thread Dianne Hackborn
was not onDestroyed? Is this a memory leak? What have I missed? Or should I assume that onCreate can be recalled for an already created app. (probably just confused…) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I

[android-developers] Re: Broadcast Receivers help

2009-09-11 Thread Dianne Hackborn
thanks... On Sep 11, 3:41 pm, Dianne Hackborn hack...@android.com wrote: I am officially frowning. ;) Just be prepared for this to not work in the future, for who knows what reason. On Fri, Sep 11, 2009 at 2:49 PM, Jason Proctor jason.android.li...@gmail.com wrote

[android-developers] Re: locked up my Android device...

2009-09-11 Thread Dianne Hackborn
Group, and I may be able to help: http://groups.google.com/group/cw-android -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- Dianne Hackborn Android framework engineer hack...@android.com Note

[android-developers] Re: latitude buddies content provider

2009-09-12 Thread Dianne Hackborn
appreciate it 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 such questions should be posted on public forums, where I

[android-developers] Re: Development on the MyTouch 3G

2009-09-12 Thread Dianne Hackborn
3G to test apps that I develop using Eclipse? - Can I use the myTouch 3G device itself as an app development platform? 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

[android-developers] Re: How to open or close the soft keyboard by code

2009-09-12 Thread Dianne Hackborn
to solve my problem? Thanks for your response. You have to update your SDK to 1.5. There was nosoftkeyboardbefore that :P Zsolt -- 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: Soft keyboard in Fullscreen/extract mode

2009-09-12 Thread Dianne Hackborn
...@gmail.com wrote: On Sep 11, 9:52 am, Dianne Hackborn hack...@android.com wrote: When in landscape, you aren't seeing -any- of your application, the IME is running in fullscreen mode and completely covering it (so there is no reason to do more work and resize the app to... nothing

[android-developers] Re: Get the file path from a URI instance

2009-09-12 Thread Dianne Hackborn
work. On Sep 2, 11:38 am, Dianne Hackborn hack...@android.com wrote: I'm sorry, but did you even try looking at the documentation? It's not given a tricky name: getPath(). (If you are meaning you have put a relative path in, and want to get an absolute one back, well you can't, URI knows

[android-developers] Re: MediaRecorder does'n work with incoming calls stream

2009-09-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 and answer them

[android-developers] Re: switch to another applications programmatically

2009-09-13 Thread Dianne Hackborn
can I do this? Thanks so much. -- 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: cutsom Drawable register for xml use

2009-09-13 Thread Dianne Hackborn
register that? CAN I register that? Can anyone please help me? Bye, Johannes -- 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

[android-developers] Re: launch calendar app with generic intent

2009-09-13 Thread Dianne Hackborn
this to the source? It seems like there is a missing chunk of standards around calendar events and/or iCal / vCal support. Does anyone know why? -- 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: Saving Intents to use later (WAY LATER!)

2009-09-14 Thread Dianne Hackborn
. But, there is no way to save the right data type (Intent) into preferences or a database, or anyway that I can see to convert from a string or such back into the (Intent)!! Someone please point me in the right direction?!? -- Dianne Hackborn Android framework engineer hack...@android.com Note

[android-developers] Re: locked up my Android device...

2009-09-14 Thread Dianne Hackborn
unresponsive, I even tried to call it from my home phone with no response at all, and I'm positive I had the correct phone number. On Sep 11, 8:59 pm, Dianne Hackborn hack...@android.com wrote: 10 threads is still a lot. All of the devices you will run on the foreseeable future are only going to have

[android-developers] Re: intent filter issue

2009-09-14 Thread Dianne Hackborn
a click on the home page? i suppose i could trap keydown, check for Home, then finish(), but seems like there should be a more elegant way. thanks much -- jason.vp.engineering.particle -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private

[android-developers] Re: How secure is SharedPreferences?

2009-09-15 Thread Dianne Hackborn
, 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 -- 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: How to create a View from an external XML source?

2009-09-15 Thread Dianne Hackborn
setContentView(R.layouts.my_layout). What if I have this XML layout online (on a website) and I want to create the layout on runtime? Is there any way to do this? Or I have to parse the XML and create the layout (hard-coded)? -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-15 Thread Dianne Hackborn
on the library. Thanks. Best regards, Stefano. -- Stefano Sanna gerda...@gmail.com (Skype: gerdavax) Personal blog:http://www.gerdavax.it Linkedin profile:http://www.linkedin.com/in/gerdavax QuadraSpace Project:http://www.quadraspace.org -- Dianne Hackborn Android framework

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-15 Thread Dianne Hackborn
there are no Bluetooth APIs in the NDK either. :} -- 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: [Fwd: [android-developers] how to capture browser activity or callback]

2009-09-15 Thread Dianne Hackborn
-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: Android WVGA support

2009-09-15 Thread Dianne Hackborn
Books: http://commonsware.com/books.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, and so won't reply to such e-mails. All such questions should be posted on public

[android-developers] Re: How secure is SharedPreferences?

2009-09-15 Thread Dianne Hackborn
a rooted phone 2. Developers can decompile your code You have just re-discovered why security in a network environment starts with the premise that a server cannot trust a client computer, -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send

[android-developers] Re: How secure is SharedPreferences?

2009-09-15 Thread Dianne Hackborn
app. And it's the same issue as such an app running on an iPhone, or a native application on a desktop, etc. -- 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: about Intent.createChooser

2009-09-15 Thread Dianne Hackborn
selection??? if i would like to add another selection what should i do? please kindly give me some advice. Many thanks for your 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: Multiple Framebuffer devices(dynamically change) support for Surfaceflinger.

2009-09-15 Thread Dianne Hackborn
to change for this. can simeone please give us some pointer. 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

[android-developers] Re: Donut WVGA supporting apps

2009-09-15 Thread Dianne Hackborn
does few others .. -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, and so won't reply to such e-mails. All such questions should be posted on public forums, where I

[android-developers] Re: How can I extends InputMethodService and using its feature without setting system keyboard??

2009-09-15 Thread Dianne Hackborn
InputMethodService class) is not started. I have tried to call startService or bindService but it seem to be impossible to do this. How can I start my input service in this situation?? Thanks for your reply. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't

[android-developers] Re: Probing for an already set Alarm?

2009-09-15 Thread Dianne Hackborn
an existing alarm with a new one), we might be able to suggest alternative patterns. -- Mark Murphy (a Commons Guy)http://commonsware.com| http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: Remote Process Question

2009-09-15 Thread Dianne Hackborn
when the user is no more in that page. Everything works fine.Except that when I call the sa,e remote method for 17th time,it just does not call the service at all.It neither throws the DeadObjecti Exception.I have run out of ideas.Is there anything that I may be missing. -- Dianne

[android-developers] Re: Global search always shows More results... XXX (n) for 3rd party application?

2009-09-15 Thread Dianne Hackborn
http://zhanghuangzhu.blogspot.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, and so won't reply to such e-mails. All such questions should be posted on public forums

[android-developers] Re: Probing for an already set Alarm?

2009-09-16 Thread Dianne Hackborn
Hey I've been working on the next thing for months now. As good as shipped! ;) On Tue, Sep 15, 2009 at 10:31 PM, Walles johan.wal...@gmail.com wrote: The race is on then, we'll see who's the first to market! Cheers :-) / J On 16 Sep, 06:44, Dianne Hackborn hack...@android.com wrote: Um

[android-developers] Re: About Services

2009-09-16 Thread Dianne Hackborn
Again, sorry, no. On Wed, Sep 16, 2009 at 4:47 AM, Shrenik Vikam shre...@ruby-solutions.comwrote: is any other way like 1) to kill the phone service 2) to simulate the press/KeyEvent.ACTION_DOWN on KEYCODE_ENDCALL or any other way by using ndk api On Sep 11, 10:35 pm, Dianne Hackborn

[android-developers] Re: Probing for an already set Alarm?

2009-09-16 Thread Dianne Hackborn
...@gmail.com wrote: The race is on then, we'll see who's the first to market! Cheers :-) / J On 16 Sep, 06:44, Dianne Hackborn hack...@android.com wrote: Um, 1.6 will do this, and is probably what I would say is the right way in that the implementation is very closely

[android-developers] Re: Do we get any event in the Activity when the activity gets re-sized?

2009-09-16 Thread Dianne Hackborn
appears on the screen. Thanks, AJ -- 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

[android-developers] Re: Help: I can't click on an Animated View

2009-09-16 Thread Dianne Hackborn
the TextView has moved from there), the event is triggered. Could someone help me? Best regards -- 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

[android-developers] Re: How can I extends InputMethodService and using its feature without setting system keyboard??

2009-09-16 Thread Dianne Hackborn
:52 AM, HandsomeboyIT handsomebo...@gmail.comwrote: Thanks Dianne Hackborn. can you explain more about the way of using the raw keyboard view classes? I just want to send some key event to my app but don't want to implement another keyboard. I don't know how to do this. On Sep 16, 11:42 am

[android-developers] Re: singleTask really always at the root of activity stack?

2009-09-16 Thread Dianne Hackborn
(with numActivities=3). The activity at the root (frontOfTask=True) has a normal launchMode. Is the documentation incorrect or am I missing something? Thanks, Rickard -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I

[android-developers] Re: SKD 1.6 no available package for API 1

2009-09-16 Thread Dianne Hackborn
. -Richard -- 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

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-16 Thread Dianne Hackborn
this issue. Now, lets dig into 1.6... Best / Jonas -- 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

[android-developers] Re: How to create an app which will install other .apk

2009-09-16 Thread Dianne Hackborn
the .apk file in /sdcard and then install it with the following code: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(new File(/sdcard/ app1.apk)), application/vnd.android.package-archive); startActivity(intent); -- Dianne

[android-developers] Re: problems with the usage of sdcard iso in android sdk 1.6

2009-09-16 Thread Dianne Hackborn
/Users/Stefan/android-sdk-mac_x86-1.6_r1/tools/newone.iso -- 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

[android-developers] Re: will the device wake up if there is a widget instance on the homepage but the widget provider or receiver is disabled?

2009-09-16 Thread Dianne Hackborn
Satya -- 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

[android-developers] Re: Menu buttons in bottom part of layout

2009-09-16 Thread Dianne Hackborn
different possibilities, with relativelayout so that the menu bar could stay on bottom, but i could not put the scroll view on top so that the scroll appears only on small screen sizes. This is so sick, how do you build your layouts for different screen sizes ? Thanks. -- Dianne Hackborn

[android-developers] Re: Do we get any event in the Activity when the activity gets re-sized?

2009-09-16 Thread Dianne Hackborn
re-sized then onSizeChanged() [My class extends from View] function gets called. Is this is only function where I would be informed or Activities associated with Window also gets some event when the Window gets re- sized? Thanks, AJ On Sep 16, 9:34 pm, Dianne Hackborn hack...@android.com

[android-developers] Re: is any API for Accessing gmail for android development

2009-09-16 Thread Dianne Hackborn
...@gmail.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, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see

[android-developers] Re: Menu buttons in bottom part of layout

2009-09-17 Thread Dianne Hackborn
custom layouts for different screen sizes(qvga, hvga), just like layout and layout-land folders ? Thanks again. -- 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: will the device wake up if there is a widget instance on the homepage but the widget provider or receiver is disabled?

2009-09-17 Thread Dianne Hackborn
://commonsware.com | http://twitter.com/commonsguy Need help for your Android OSS project? http://wiki.andmob.org/hado -- 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: singleTask really always at the root of activity stack?

2009-09-17 Thread Dianne Hackborn
thumbnailNeeded=false idle=true waitingVisible=false nowVisible=false configDestroy=false configChangeFlags=0 connections=null Task{2 com.android.launcher} On 16 Sep, 18:41, Dianne Hackborn hack...@android.com wrote: Very much by definition, a single ask activity

[android-developers] Re: Menu buttons in bottom part of layout

2009-09-17 Thread Dianne Hackborn
, Sep 17, 2009 at 9:52 AM, Dianne Hackborn hack...@android.comwrote: It's not a hack, its telling the linear layout to do the kind of stuff that it does: reserve no space for that view (height=0), but give it all remaining space (weight=1 and all other views left with the default weight=0

[android-developers] Re: clear activity stack and replace with a new activity

2009-09-17 Thread Dianne Hackborn
(or not). i see -- FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK, but it's not obvious to me how to use those in conjunction to achieve what I want. it's like i want to completely restart the task with some activity that i specify as the new root. tia. -- Dianne Hackborn Android framework

[android-developers] Re: Starting an Activity (with the dialog theme) from the onCreate() of another Activity results in a black screen.

2009-09-17 Thread Dianne Hackborn
it shown before yours to avoid flicker. -- 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: Starting an Activity (with the dialog theme) from the onCreate() of another Activity results in a black screen.

2009-09-17 Thread Dianne Hackborn
this by making a custom dialog theme that doesn't have any animations.) On Thu, Sep 17, 2009 at 3:05 PM, Dianne Hackborn hack...@android.comwrote: On Thu, Sep 17, 2009 at 1:08 PM, niko20 nikolatesl...@yahoo.com wrote: You should never start another activity directly from your OnCreate. That's

[android-developers] Re: Default behaviour of the Back button

2009-09-17 Thread Dianne Hackborn
. On Thu, Sep 17, 2009 at 1:04 PM, niko20 nikolatesl...@yahoo.com wrote: Hi, The back button is really not meant to be cancel usually, but only to exit the current screen you are working on. -niko -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't

[android-developers] Re: clear activity stack and replace with a new activity

2009-09-17 Thread Dianne Hackborn
a derived activity class calls finishAll() it iterates through the activites it knows about and calls finish() on them (except if it equals this). Then the client calls startActivity() and then calls finish() On Sep 17, 12:25 pm, Dianne Hackborn hack...@android.com wrote: You can't directly

[android-developers] Re: clear activity stack and replace with a new activity

2009-09-17 Thread Dianne Hackborn
from whatever I have set in my android manifest file? does it remember what the top most activity was when the process was killed? tia. On Sep 17, 6:07 pm, Dianne Hackborn hack...@android.com wrote: This will probably break if your process gets killed while in the background

[android-developers] Re: very urgent - how to remove temp files?

2009-09-18 Thread Dianne Hackborn
with so and so character or ends with so and so character... something like that. And also I want to know the location of the temp files. please help me any one. Thanks, Manoj. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions

[android-developers] Re: Is Service capable of showing Error Messages in the form of transient notices?

2009-09-18 Thread Dianne Hackborn
with the Activity? Please respond requires this information urgently. Best Regards, Bindu -- 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

[android-developers] Re: Framework Debug

2009-09-18 Thread Dianne Hackborn
You can always run your code in a debugger like Eclipse. On Fri, Sep 18, 2009 at 12:08 AM, GPU gopuraj...@gmail.com wrote: HI , Is their any other way to debug the framework sources? .Instead of adding logs in the framework source and building again. -- Dianne Hackborn Android

[android-developers] Re: access /dev/graphics/fb0 from JNI FAILED

2009-09-18 Thread Dianne Hackborn
engineer romain...@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 -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: Inspecting the contents of an Intent

2009-09-18 Thread Dianne Hackborn
? A more relevant question, is how can I inspect the Intent so that I know what extras and what data it contains? There seems to be a differing combination depending on what the original Intent was. Many thanks for any suggestions. -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: clear activity stack and replace with a new activity

2009-09-18 Thread Dianne Hackborn
the activity from the list. So unless the system kills activites (and not tasks) without my knowledge then I'm not sure I see the hole... Dianne Hackborn wrote: It is not contrived at all, that is the typical behavior when your app is in the background and more memory is needed elsewhere

[android-developers] Re: SensorEvent value array ownership

2009-09-18 Thread Dianne Hackborn
object to provide new data in the old array after some time (mPrevious and event.values is the same object). Now here is The question: Who has object ownership -the gsensor framework and i have to make a copy Me - and this is a bug BR, Michał Dąbrowski -- Dianne Hackborn

[android-developers] Re: Triggering an application on a special gesture / event

2009-09-18 Thread Dianne Hackborn
on this particular part to work. I am not here to take a no for an answer. If you are going to tell me that its not possible, atleast include an explanation as to why its not possible. Thanks. Dinesh -- Dianne Hackborn Android framework engineer hack...@android.com Note

[android-developers] Re: How to force soft keyboard to be visible?

2009-09-18 Thread Dianne Hackborn
the OK button and I'd like to take down the soft keyboard that I put up before returning to where ever. Given the APIs this doesn't seem possible. Am I missing something here? tia, mike -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private

[android-developers] Re: SensorEvent value array ownership

2009-09-18 Thread Dianne Hackborn
, Michał Dąbrowski -- 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

<    5   6   7   8   9   10   11   12   13   14   >