[android-developers] Re: webview to show large picture zoomed out

2009-05-19 Thread me tun
There is a new scale type in ImageView which will shrink (but not grow) an image to make it fit within the specified bounds. Not sure if there is the same for WebView. On May 19, 6:04 pm, rukiman ruksh...@optushome.com.au wrote: How can I get the WebView to make any content it loads for

[android-developers] A quick question about the Roadmap

2009-04-02 Thread me tun
I just noticed on the roadmap http://source.android.com/roadmap that there will be support for additional types of displays beyond 2009. Is this limited to support for WVGA and QVGA, or will you guys perhaps be rolling out dual display support? Is this going to occur in the foreseeable future?

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

2009-03-24 Thread me tun
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: How can I do

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

2009-03-24 Thread me tun
at 4:13 PM, me tun a...@tpg.com.au wrote: Thanks Dianne, I'm not sure if I have been completely clear.  When I start my application from the launcher, I want to pass it some of my own data (left or right for example) if I'm talking about handedness...  How do I go about doing this?  I've

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

2009-03-24 Thread me tun
LOL sorry, that was about as clear as before: I meant the user pressing the app icon :) On Mar 25, 10:52 am, me tun a...@tpg.com.au wrote: Yeah, I mean starting the application from the launcher! Does this mean I essentially cannot initialize my application with any data I want to pass

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

2009-03-24 Thread me tun
? On Mar 25, 11:05 am, Mark Murphy mmur...@commonsware.com wrote: me tun wrote: Does this mean I essentially cannot initialize my application with any data I want to pass to it this way?  It seems very strange? Each activity usually only has one icon in the launcher. There is nothing to pass

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

2009-03-24 Thread me tun
Thanks, you've been a great help. I understand that there is another list for framework discussion but I thought there would be a way to do it via the SDK so I asked here. Cheers everyone! On Mar 25, 11:20 am, Mark Murphy mmur...@commonsware.com wrote: me tun wrote: OK, time to come clean

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

2009-03-24 Thread me tun
trying to achieve. On Mar 25, 11:47 am, Dianne Hackborn hack...@android.com wrote: On Tue, Mar 24, 2009 at 4:52 PM, me tun a...@tpg.com.au wrote: Does this mean I essentially cannot initialize my application with any data I want to pass to it this way?  It seems very strange? The user installed

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

2009-03-24 Thread me tun
That's right, it's a nice group here :) On Mar 25, 11:57 am, Mark Murphy mmur...@commonsware.com wrote: me tun wrote: I had already tried Mark's way (great book btw) Thanks! which does work but isn't quite an elegant solution nor is it exactly what I'm trying to achieve. Oh, well

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

2009-03-24 Thread me tun
How about I add a half screen theme and interpret it from that (perhaps via the history record class)? i.e: android:theme=@android:style/Theme.HalfScreen How would one go about creating their own theme? On Mar 25, 11:59 am, me tun a...@tpg.com.au wrote: That's right, it's a nice group here

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

2009-03-23 Thread me tun
Hello, I've tried something similar to this, intent.setData(Uri.parse (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.

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

2009-03-23 Thread me tun
, 2009 at 10:20 PM, me tun a...@tpg.com.au wrote: Hello, I've tried something similar to this, intent.setData(Uri.parse (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

[android-developers] Re: A simple question regarding inter-process communication.

2009-03-22 Thread me tun
. Of course, they are transparently send across processes when necessary, or sent locally if the receiver is in the same process. This magic is the exact purpose of the Android Binder. Kenny On Mar 19, 1:05 pm, me tun a...@tpg.com.au wrote: Thanks Dianne, a colleague was telling me basically

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-22 Thread me tun
, and the only way I've been able to hide the soft keyboard is by hacking the onTouchEvent method the TextView class! And of course, I don't want to do this! On Mar 18, 1:47 pm, me tun a...@tpg.com.au wrote: One can set, android:windowSoftInputMode=stateVisible in the AndroidManifest... Cheers

[android-developers] A simple question regarding inter-process communication.

2009-03-18 Thread me tun
Just say I have two applications, each with one activity running on separate processes and I want to send a simple string between them. For the purposes of this example, let us say I have a button that sends whatever is typed into an EditText view to the other application where it is then

[android-developers] Re: A simple question regarding inter-process communication.

2009-03-18 Thread me tun
in the Message with message.setData(). On Wed, Mar 18, 2009 at 9:22 PM, me tun a...@tpg.com.au wrote: Just say I have two applications, each with one activity running on separate processes and I want to send a simple string between them. For the purposes of this example, let us say I have a button

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-17 Thread me tun
One can set, android:windowSoftInputMode=stateVisible in the AndroidManifest... Cheers. On Mar 17, 2:14 pm, me tun a...@tpg.com.au wrote: Thanks Dianne, I've had a quick look through the code and have seen how the onTouchEvent in the TextView Class has been modified to display the soft

[android-developers] Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-16 Thread me tun
I want to permanently display the virtual keyboard in my application, but it seems bound by focus to an edit text field. Is there a way around this? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-16 Thread me tun
().getSystemService (Context.INPUT_METHOD_SERVICE); imm.showSoftInput(mTextEntry); But it seems to only work with an Edit Text view, I understand it makes little sense to do so but is there a way I can have it permanently raised for say an image view? On Mar 16, 11:03 am, me tun a...@tpg.com.au

[android-developers] Re: Is it possible to set focus to a component programmatically?

2009-03-16 Thread me tun
Yes, you should be able to use button.requestFocus(); On Mar 17, 1:19 pm, Zia zia.cha...@gmail.com wrote: Wondering if we have few buttons on a LinearLayout, is it possible to set focus to a button programmatically? Please advice. Thanks,

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-16 Thread me tun
to figure out what you want to do.  In this case WindowManager.LayoutParams has new options for controlling the input method, View has new methods, and the InputMethodManager class has the start of some documentation for how these things go together. On Mon, Mar 16, 2009 at 3:08 PM, me tun