[android-developers] How to force an activity to display the soft keyboard?

2009-06-16 Thread Bullo#88
My activity contains an editable text view and I would like to automatically show the soft keyboard when the activity start. Anyone knows how to do it? I tried this: private void showSoftKeyboard() { textView.requestFocus(); inputManager = (InputMethodManager) context.getSystemSe

[android-developers] Re: How to go back to my apllication's home screen

2009-06-10 Thread Bullo#88
Exactly, the flag tells the system to finish all the activity that are above your "home screen activity" in the stack On 9 Jun., 22:04, MrSnowflake wrote: > Does your sollution pop all other activities from the activityQueue? > > On Jun 9, 3:29 pm, "Bullo#88" wrot

[android-developers] Re: How to go back to my apllication's home screen

2009-06-09 Thread Bullo#88
tent); On 9 Jun., 14:44, "Bullo#88" wrote: > Any suggestions please? > > On 9 Jun., 09:24, "Bullo#88" wrote: > > > My application is composed by several activities, I would like to give > > the user the option to go back to the home screen of my appl

[android-developers] Re: How to go back to my apllication's home screen

2009-06-09 Thread Bullo#88
Any suggestions please? On 9 Jun., 09:24, "Bullo#88" wrote: > My application is composed by several activities, I would like to give > the user the option to go back to the home screen of my application by > pressing a button on the screen. > At the same time I can't

[android-developers] How to go back to my apllication's home screen

2009-06-09 Thread Bullo#88
My application is composed by several activities, I would like to give the user the option to go back to the home screen of my application by pressing a button on the screen. At the same time I can't call the finish() function on activities beetween the home screen and the currently visible activi

[android-developers] Re: onKeyDown doesn't capture event

2009-05-27 Thread Bullo#88
> That should happen automatically, without implementing onKeyDown(). Without implementing onKeyDown the back button will close my application. > > Thus, I implemented the onKeyDown method. > > Where? On the activity? On a subclass of one of the widgets? On the activity: from this activity I wa

[android-developers] onKeyDown doesn't capture event

2009-05-26 Thread Bullo#88
Hi, I have a proble with onKeyDown: my activity consists in a simple textView (as header) and a ListView below it, I need to go back to the previous screen when the user presses the back button. Thus, I implemented the onKeyDown method. Everything works fine if the list contains some elements, bu

[android-developers] Re: How to use ActivityGroup?

2009-05-12 Thread Bullo#88
> but how do I go back from B > to C Sorry, what I meant was: how do I go back from B to A? On May 12, 5:46 pm, "Bullo#88" wrote: > Thanks for the quick reply! > > One last question: > Suppose I have 3 classes: A (extends ActivityGroup) B and C (both > extending

[android-developers] Re: How to use ActivityGroup?

2009-05-12 Thread Bullo#88
t aactivity, but created in the child activity). > > Good luck! > > On Tue, May 12, 2009 at 8:20 AM, Bullo#88 wrote: > > > Hi, > > anyone can point me to a tutorial about ActivityGroup or give me some > > hints on ho

[android-developers] How to use ActivityGroup?

2009-05-12 Thread Bullo#88
Hi, anyone can point me to a tutorial about ActivityGroup or give me some hints on how to use it? I looked at the documentation but I wasn't able to understand how it works... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[android-developers] Changing the content of a Tab at runtime

2009-05-07 Thread Bullo#88
My company asked me to develop an Android application that mantains as much as possible the look&feel of our existing iPhone application. At the bottom of the screen I have 4 tabs reflecting different tasks. For example one of those shows the list of the most popular products (which I implemented

[android-developers] Re: How to create Multiple tabs, one after another?

2009-05-07 Thread Bullo#88
This could help you http://androidguys.com/?p=650 On May 7, 5:37 am, Prajkti wrote: > Hi all, > In my application, i want to create multiple tabs. > For example, i have a button on clicking which should create one more > tab,(just like Mozilla browser). > I searched on Internet as well as Andr