Android :: TimePicker Selecting The Button And Input Field

Apr 5, 2010

I'm trying to modified the way TimePicker works as asked in my question here http://stackoverflow.com/questions/2580216/android-timepicker-minutes-to-15

To be able to do that I need to know if the + and - button was clicked and to disable the input field.

So can I target the elements in a TimePicker? (i.e the + and - button and the input field)?

Also is there anyway to determine if the + or the - button was clicked?

Android :: TimePicker selecting the button and input field


Android :: Input Field With Custom Input Method

Jan 6, 2010

I would like to show a custom input field (specifically, one containing only 9-0 and two extra buttons containing decimal separator (, or .) and a delete button). I could create a custom IME, but (as far as I know) that would have to be set by the user as the system-wide input method. Is there a way to implement an input method and bind it to a specific input field?

View 1 Replies View Related

Android :: Disable Keyboard Input On Droid TimePicker?

Mar 6, 2010

I'm developing and Android app using the 1.6 sdk. I'm using a TimePicker and I don't want the soft keyboard to come up when you click on the digits in the TimePicker. I only want the TimePicker to be changed using the plus and minus buttons. I've tried using android:focusable="false" and android:focusableInTouchMode="false" hoping those would do it, but they didn't seem to do anything. Is there a way to do this?

View 2 Replies View Related

Android :: Possible To Remove PM Button From Timepicker On Layout?

Nov 10, 2010

i have to use some timepickers on my layout, but i dont need the PM buton, i just want to have 24 hours sistem on the timepickers this is possible? it is bassically to call "setIs24HourView(true)" but not from the java code, from the layout

View 1 Replies View Related

Android :: Virtual Keyboard On Custom Input Field

Aug 18, 2009

Is is possible to get the virtual keyboard key events on a custom input field ? I tried using keyboardView, but somehow that doesn't work. Is it mandatory to use the android input method classes to get the events?

View 2 Replies View Related

Android :: Mobile Device That An HTML Input Field Numeric Only?

Aug 31, 2010

I've been doing some usability testing on a website I'm developing, using an Android phone and an iPod touch. In both cases, when entering a numeric field (time, distance in metres, etc) I have to take a manual step to change the keyboard layout to show digits. As the app will only accept numeric values in the text box, I'd like to save the user the inconvenience and tell the device "switch to the number pad for this input".

View 1 Replies View Related

Android :: Avoid User Input In A Field Of Form In A WebView?

Nov 1, 2010

When I load the touch Facebook login page in the webview, I want that the email field to be set to a value and it can't be modified and to accomplish that I have inserted a JavaScript code in the webview disabling that element. All works fine until I want to click the login button because the page refreshes instead of submit the login info. I've noticed that if I don't disable the item, the login button works fine but I don't know why occurs that.

What can be the problem? I've thought another way to make it works: Whenever the user try to modify the email field ignore whatever he do, but I think this is a less professional way to fix that.

View 2 Replies View Related

Android :: Default Keyboard Type For Html Text Input Field

Feb 22, 2010

Is there a way to set the default keyboard type for a html text input field for a webkit view on Android? Can this be done via CSS?

View 2 Replies View Related

Sony Ericsson Xperia X10 :: Voice Input In Any Text Field

May 26, 2010

I have been looking for something similar to the feature which is available on the Nexus one, which is the ability to enter text via speach on any text input.

I know its available for the google search on the X10, but does anybody know if its available for every text box?

View 3 Replies View Related

Android :: Create A Custom Button Field?

Dec 31, 2009

I want to create a custom field on which I can place more than one line of text as well as images.
And the field can be used like a button(onclick event etc.)

View 2 Replies View Related

Android : How To Get An EditText Field Prefilled After Hitting Back Button

Jul 4, 2010

I have a setup view where the user can enter their name and email and click done when they are finished which navigates them to another activity1. When they are in activity1, and they hit the soft back button on the phone, it takes them screen where they entered their name and email. However, the name and email EditText fields are blank. In the view where the name and email are entered I looked to see if onStart, onCreate, OnPause, onResume,... where being called after the back button was hit, but they are not. Do you know how I can make it so that the EditText fields have the information that was previously entered.

View 1 Replies View Related

Android :: Input Text And Button Event

Jul 23, 2009

I have to input text from user (lat and lng) and use them to geocode. Please help me how to drive user to a textbox and get input then click a button where I can perform the event. I have found out a way how to add-listeners using a button, but have no idea how to take input from textbox and use it in my event.

View 4 Replies View Related

Android :: Emote Button In Soft Keyboard Input

Oct 21, 2009

Does anyone know how to enable the emote button in soft keyboard input?

View 2 Replies View Related

Android :: Handle Lock Screen Button Input For Droid Activity?

Nov 12, 2010

Suppose I have something like an alarm activity which launches the alarm through the lock screen, accomplished via

getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);

Now, from here I could press the back button to kill the activity, but I also want a press of the lock button to silence the alarm. How would I go about creating a handler for presses of the lock screen button?

View 2 Replies View Related

KitKat 4.4 :: No Voice Input Button On Keyboard

Nov 10, 2013

How come there is no voice input / microphone button on my android keyboard? I've had a look in the options screen, there's an option where you can enable / disable the voice input button on keyboard, but it's already enabled. I can press and hold the space bar and select Google voice input in the popup menu, but it's too inconvenient. I tried installing another keyboard (Hacker's keyboard), there I have the mic button.

View 24 Replies View Related

HTC EVO 4G :: No Voice Input Button On Stock Keyboard After FroYo

Aug 5, 2010

I updated to the rooted FroYo, and I'm not seeing the voice input button on the stock keyboard anymore, it's been replaced by a button that toggles between english and spanish. Is there another way to access it so I can text or email by speaking to my phone? Did everyone else have this happen with the stock ROM, or is this a root issue?

View 10 Replies View Related

HTC Incredible :: Cancel Button In Voice Input Landscape Mode

May 2, 2010

Is anyone else's "Cancel" button missing the bottom piece when the phone is in landscape mode and you choose Voice Input?

View 4 Replies View Related

Android :: How To Get TimePicker After TimePickerDialog Pop Up

Jul 26, 2010

I'm working on the android automatic test, and try to test the alarmclock app in the android. I want to get the TimePicker after the TimePickerDialog pop up, then we can use it to invoke the methods 'setCurrentHour(...)' and 'setCurrentMinute()' to set the alarm time programmatically instead of sending the key event so many times.

View 1 Replies View Related

Android :: How Can I Capture - When Time Changes In A TimePicker

Aug 12, 2010

Continuing with the question referred in the following link: [How can I capture when time changes in a TimePicker if the keyboard is being used?][1]

[1]: http://stackoverflow.com/questions/3380761/how-can-i-capture-when-time-changes-in-a-timepicker-if-the-keyboard-is-being-used/"How can I capture when time changes in a TimePicker if the keyboard is being used?"

I could solve the problem but it only works when you use the actual keyboard. If you use the soft keyboard I can't get it to work.

I am programming in 1.6 version of the framework.

PS: The fact that I've search everywhere for the answer and have not been able to find it tells me that this must be so very simple or very much complicated.

View 3 Replies View Related

Android :: Datepicker - Timepicker Widgets

Aug 12, 2009

Are the widgets used in Datepicker standarized? Meaning, can I employ them in my layout, or do I have to build them on my own? Are there standard versions of them or even, can they be "created" through settings or would I have to build them from scratch using EditText and buttons?

View 6 Replies View Related

Android :: TimePicker View - 15 Minutes Interval

Apr 5, 2010

Can I control the Android TimePicker view to just show the minutes to 15 minutes interval? Meaning if it's 12:28 now, show 12:30 and clicking the + and - button will increment and decrement by 15?

View 4 Replies View Related

Android :: Make DatePicker And TimePicker Smaller

Nov 15, 2010

Is there any way to make smaller DatePicker and TimePicker (but to be visible all parts ) in Android ? I tried to set layout_width="130dp" but then DatePicker isn't visible, just left upper corner.

View 1 Replies View Related

Android :: How To Use Custom Datepicker And Timepicker Skins

Aug 6, 2010

I would like to use a custom skin for my Datepickers and Timepickers. Changing the background in XML doesn't do the trick (it changes the background to the set, not each of its buttons). The API is painfully short and has nothing about appearance ( http://developer.android.com/reference/android/widget/DatePicker.html ). Is it possible to use a custom skin for the buttons of Datepickers and Timepickers?

View 1 Replies View Related

Android :: Displaying And Retreiving Seconds With TimePicker

Jan 27, 2010

Currently the TimePicker view shows only hours and minutes by default and I am retrieving the values using getCurrentHour() and getCurrentMinute(). Is there a solution to add seconds to the TimePicker view?

View 1 Replies View Related

Android :: How To Capture When Time Changes In A TimePicker If Keyboard Is Being Used

Aug 1, 2010

I have a widget which is a TimePicker that retrieves the time saved in a field in a database.

Thing is that when the user changes the time value in the widget, this is not being saved in the database.

So I came across the setOnTimeChangedListener method that works like a charm, if you are only using the plus and minus signs in the widget. It does not capture the change if you are using the keyword.

Here is my code:

CODE:................

I've also tried unsuccessfully:

CODE:....................

View 2 Replies View Related

Android :: DatePicker And TimePicker Connot Be Skined/themed

Sep 8, 2009

Is it just me or Android theme-ing system does not allow to set a theme for DatePicker and TimePicker? Searching "themes.xml" and "styles.xml" in Android source code (v1.5), I couldn't find anything related to these two components!

View 6 Replies View Related

Android :: Code A WeekPicker Much Like Existing DatePicker And TimePicker?

Apr 22, 2010

On Thu, Apr 22, 2010 at 3:53 PM, powder <jonas.hey...@gmail.com> wrote: > Anyone have an idea how to code a WeekPicker much like existing DatePicker > and TimePicker?

View 2 Replies View Related

Android :: Changing System-level Dialogs - TimePicker - DatePicker

Feb 14, 2010

I have HTC Hero, and i see that TimePickerDialog and DatePickerDialog were changed by HTC (they look different than those in the emulator). My question is how can i change such system level dialogs?

View 1 Replies View Related

TimePicker And ScrollView Not Playing Nice?

Jan 20, 2013

Ok, so I have a XML layout with a TimePicker, few buttons and what not and a ScrollView because it's needed.

When I run the app the app doesn't scroll. On top of that the TimePicker doesn't scroll either. Well it does but correctly. It takes 6/7 swipes to move from 6 to 7. When I remove the ScrollView the TimePicker works fine and when I remove the TimePicker the layout can scroll.

Is there a way I can get them both to work in the XML?

My code is pretty basic so I don't think I need to post it but let me know if you want to see it.

I've tried fillViewPort and using nested layouts but nothing works. This effectively makes my app useless.

View 1 Replies View Related

Android :: Selecting Text In WebView?

Jul 10, 2009

The browser does this by calling public void emulateShiftHeld() method on the WebView which is hidden in the SDK.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved