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
May 2, 2013
why it changes to 30 minutes several times a day. This only started lately. Is there a way to analyze the settings (a system log of some sort) to see if one of my apps is causing this? Needless to say, it drains my battery unnecessarily.
View 1 Replies
View Related
May 21, 2009
I am new to Android I've a List View. I want to auto scroll all the items of list view on button click event with some specified time interval, and also wants to update the Text View according to selected items. I tried something like this on button click.
View 6 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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?
View 1 Replies
View Related
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
Sep 15, 2010
For example, I want to parse the string below:
Tue Sep 28 18:02:24 GMT+08:00 2010
And I use the pattern for the SimpleDateFormat:
new SimpleDateFormat("EEE MMM dd HH:mm:ss zzzzzzzzz yyyy");
But I keep getting the ParseException.
View 3 Replies
View Related
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
Sep 5, 2010
So I have a physical chart of time intervals (minute:second) which map to point values (for example: 9:59-10:10 = 59.7) and I need to write a program that tries to find out the point value for a given time (such as 10:02 would return 59.7). I would also like to have the interval chart stored in a .properties file, so my other "calculators" are all consistent. What would be the best way to program this?
View 1 Replies
View Related
Apr 27, 2010
I'm looking for a way to adjust sync interval, my needs are far from the current near real time. I would be fine to see emails sync every hour.
View 1 Replies
View Related
Oct 5, 2010
I have a Service that uses the LocationListener, and it will be running from boot, indefinitely. My question is, how often is too often to listen for location updates? Is 5 minutes a battery killer? What about 1?
View 1 Replies
View Related
Oct 24, 2010
Interval Training Timer is an invaluable tool for all interested in workout, run, cycling, sprint, tabata, weightlifting, hiit and many more. It allows you to set own training schedule with various number of rounds, ready time, round and rest times and relax time after workout. It is also possible to create dynamic training plans in which every round and rest time can be longer or shorter. Import and Export your training plans or share them with the world!
View 1 Replies
View Related
Jan 20, 2009
I want to start the application after particular interval time. How this could be possible. Can some one give me some clue ? Which permission i will have to use ? I hope some one will give me reply as early as possible ?
View 4 Replies
View Related
May 26, 2010
I'm wondering how fast I can take pictures one after another withoud surprises from the phone (like fx: 'force close;) Does any of you know that time? I know that 500 milisec is safe time. When i experiment with 100, 200, 300 milisec there is error but who knows, maybe i do sth wrong.
View 3 Replies
View Related
Aug 27, 2010
I have an Android app which needs to play a sound resource on a timed interval, say every 120 seconds. I know how to access the sound resources and play them, however it's time timer part I'm not sure of. What's the best approach?
View 1 Replies
View Related
Apr 19, 2010
With the HTC power widget if I leave autosync "on" how can I change the update interval to like every 1 hour or every 3 hours? Or even to every 1 hour between 08:00 and 17:00 and then every 3 hours for other times? I thought I saw this setting somewhere but i can't seem to find it anymore.
View 3 Replies
View Related
Jun 22, 2010
Does anyone know if there's a way to set the sync interval on accounts via sync adapter in pre-froyo? They've added the API to do so in 2.2 but I'm curious to know if there is a workaround in 2.0-2.1. (My backup plan is the alarm manager) What's odd is there doesn't even seem to be any preset interval either .so accounts are never synced!
View 5 Replies
View Related
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
Jun 25, 2009
I have an activity image Capture.java which extends activity and takes pictures.I want to execute this activity repeatedly after a definite interval of time. I can't figure out how to do this. Do I need to make Image Capture a service? This is what I want to do As soon as the user press start I want to keep taking pictures in the background..When the user presses stop,it should stop image capture.Java.
View 2 Replies
View Related
Sep 29, 2010
I want to call web service in some frequent interval, when button is clicked..! How can i achieve this..!
View 3 Replies
View Related
May 5, 2010
Is there any way to shorten the tap interval for the keyboard? For example, if I want to put a question mark at the end of a sentence, I can tap and hold "k" until the question mark appears, or, I can pres "12#" and tap "?"
Is there a way so that I can make the "tap and hold" shorter, so that the question mark will appear more quickly?
View 3 Replies
View Related