[android-developers] date pickers
Hi guys, i want to disable the past dates in date picker can any one help me pls -- *Thanks Regards* *K.Arun Kumar* -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] date
for date you have to give Date as datatype On Fri, Sep 7, 2012 at 9:28 PM, TreKing treking...@gmail.com wrote: On Fri, Sep 7, 2012 at 3:31 AM, Sadhna Upadhyay sadhna.braah...@gmail.com wrote: how to store date in sqlite and do sql query on date A: This is not specific to Android. B: http://justfuckinggoogleit.com/ - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] date
Hi, how to store date in sqlite and do sql query on date -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] date
On Fri, Sep 7, 2012 at 3:31 AM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: how to store date in sqlite and do sql query on date A: This is not specific to Android. B: http://justfuckinggoogleit.com/ - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] date difference excluding weekends
Hi Friends.. Can any one help me out how to do calendar date differnece excluding weekend.? Thanking you in Advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] date difference excluding weekends
This has nothing whatsoever to do with Android. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Aug 7, 2012 at 1:19 AM, Ibrahim Sada ibrahim.in...@gmail.comwrote: Hi Friends.. Can any one help me out how to do calendar date differnece excluding weekend.? Thanking you in Advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date Picker
Hi, How to implement Cancel button in DatePickerDialog ? thanking you, nagu. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Date Picker
Hai Nagu, Refer this code snippet dialog.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { if (which == DialogInterface.BUTTON_NEGATIVE) { dialog.dismiss(); onBackPressed(); } } }); On Tue, Jul 10, 2012 at 1:22 PM, nageswara rao rajana nagu.raj...@gmail.com wrote: Hi, How to implement Cancel button in DatePickerDialog ? thanking you, nagu. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- WITH REGARDS ARUN KUMAR P D +91-9994794759 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] date format problem
i try to format a date from XML file the date is in the format Thu, 15 Mar 2012 00:00:00 +0200 i use that code but get an error SimpleDateFormat formatter = new SimpleDateFormat(E, dd MMM HH:mm:ss Z); Date date = formatter.parse(Thu, 15 Mar 2012 00:00:00 +0200); SimpleDateFormat simpleDateFormat =new SimpleDateFormat(dd/MM/); String dateAsString = simpleDateFormat.format(date); java.text.ParseException: Unparseable date: Thu, 15 Mar 2012 00:00:00 +0200 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] date format problem
you can use calender also for the getting the current date and time.also you can get separate form that.But in which format you want? On Fri, Mar 30, 2012 at 12:35 PM, Eyal Berman bermane...@gmail.com wrote: i try to format a date from XML file the date is in the format Thu, 15 Mar 2012 00:00:00 +0200 i use that code but get an error SimpleDateFormat formatter = new SimpleDateFormat(E, dd MMM HH:mm:ss Z); Date date = formatter.parse(Thu, 15 Mar 2012 00:00:00 +0200); SimpleDateFormat simpleDateFormat =new SimpleDateFormat(dd/MM/); String dateAsString = simpleDateFormat.format(date); java.text.ParseException: Unparseable date: Thu, 15 Mar 2012 00:00:00 +0200 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards jagruti Sangani *iNextrix Technologies* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] date format problem
Am 30.03.12 09:05, schrieb Eyal Berman: i try to format a date from XML file the date is in the format Thu, 15 Mar 2012 00:00:00 +0200 try this: /** * Thu, 04 Aug 2011 09:00:00 +0200 */ protected static final SimpleDateFormat FORMATTER_StringToDate = new SimpleDateFormat(E, dd HH:mm:ss Z, Locale.ENGLISH); Ralph -- Ralph Bergmann iOS and Android app developer www http://www.the4thFloor.eu | http://www.dasralph.de mail ra...@the4thfloor.eu skypedasralph xing http://www.xing.com/profile/Ralph_Bergmann3 linkedin http://www.linkedin.com/in/ralphbergmann gulp http://www.gulp.de/Profil/RalphBergmann.html java user group http://www.jug-bb.de | http://www.xing.com/net/jugbb ios dev grouphttp://www.xing.com/net/iosberlin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date format issue with different locale
When I change the locale from English to Espanol, issue with uppercase/ lower case for month and am/pm. --- Dec 11, 2011, 11:54 PM to dic 11 2011, 11:54 p.m. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] date and time
hello im making an app that writes to a .txt file and at the end of each save i want to put the date and time. this is my code that turns the time/date into a string. which works fine. SimpleDateFormat dateFormat = new SimpleDateFormat(dd/MM/ hh:mm:ss); java.util.Date date = new java.util.Date(); final String datetime = dateFormat.format(date); The problem im having is every time i save the time does not update. each row has the same time and date? can anybody help? regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date issue
I have a editText view on a click of it there is a date picker.When I extract the date in a string format and then convert it into date datatype.I am getting it in milliseconds.I want the exact date. I have used SimpleDateFormat with -MM-DD and Locale.US and parse function.Please suggest some solution to it. Thanks, sourabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Date issue
What does your code look like? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Oct 20, 2011 at 2:01 AM, sourabh sahu souruit...@gmail.com wrote: I have a editText view on a click of it there is a date picker.When I extract the date in a string format and then convert it into date datatype.I am getting it in milliseconds.I want the exact date. I have used SimpleDateFormat with -MM-DD and Locale.US and parse function.Please suggest some solution to it. Thanks, sourabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date Problem with mySQL
Hi, All Facing small problem in my Android App. I am getting 4 values from the user including current date which user can change. Date format is -MM-DD Code // this is for Date to be displayed private void updateDate() { mDateDisplay.setText( new StringBuilder() // Month is 0 based so add 1 .append(mYear).append(-) .append(mMonth + 1).append(-) .append(mDay) ); date=mDateDisplay.getText().toString(); Log.i(Date,date); } It is displaying the right date and also updating it on Mobile device/emulator. Now i have list of 4 pairs which i am sending with URL to the PHP Server ListNameValuePair nameValuePairs = new ArrayListNameValuePair(4); . nameValuePairs.add(new BasicNameValuePair(Date, date)); .. *It is sending all other 3 values to my mySQL database but not the DATE. I also changed the Format of the Date but no success.* * * *Any help please* -- Musaddaq -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] date parsing
I'm using this code to try to parse a date: Date myDate = DateFormat.getDateInstance().parse(s); However, I get this: java.text.ParseException: Unparseable date: Sun, 19 Jun 2011 02:28:34 -0500 Any ideas how I can easily parse a date in that format? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] date parsing
On 18 August 2011 16:45, bob b...@coolgroups.com wrote: I'm using this code to try to parse a date: Date myDate = DateFormat.getDateInstance().parse(s); However, I get this: java.text.ParseException: Unparseable date: Sun, 19 Jun 2011 02:28:34 -0500 Any ideas how I can easily parse a date in that format? Your code expects the String s to be in the DEFAULT format for your platform (locale), which probably differs from the one you are passing in. To check, what is the default format, call the following: String dateInDefaultFormat = DateFormat.getDateInstance().format(new Date()); -- Daniel Drozdzewski -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date Picker using xml layout - problem in android app
i have some problems in using the date picker from xml layout. in my app when the user clicks a text view a custom dialog box opens. In the layout of the custom dialog box i am showing a date picker which i have place in my xml file. When it appears in the app i want a particular date to be viewed, for example as 01 Jan 1950. Every time it opens it is showing the present date only. In my dialog box i have a set and cancel buttons. The Cancel button cancels the dialog box where as when i click the Set button i want the current date to be stored to a String. In another activity of my app in a custom dialog box i want to show a date picker only with the year columns, i dont need the date and month columns. How to get it, please help me friends -- K Siva Sankar -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Date Picker using xml layout - problem in android app
On Thu, Jul 28, 2011 at 2:33 AM, Sivasankar K sivasanka...@greatinnovus.com wrote: When it appears in the app i want a particular date to be viewed, for example as 01 Jan 1950. Every time it opens it is showing the present date only. Are you setting the date to display ... ? In my dialog box i have a set and cancel buttons. The Cancel button cancels the dialog box where as when i click the Set button i want the current date to be stored to a String. OK. In another activity of my app in a custom dialog box i want to show a date picker only with the year columns, i dont need the date and month columns. How to get it, please help me friends Read the documentation for this widget. If there is no indication that you can remove those columns, use another widget that allows for single-value editing or make your own. It's not that hard. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date Query
hello , I am new in Android. I am trying to make reminder system. i made 1 database and storing all data in that database. now i want to get date from database in (dd/mm/) format. I want to compare that date with system . Plz guide me how can i do this. thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Date Query
On Mon, Jul 25, 2011 at 6:56 AM, kirti waykole kirti.carr...@gmail.comwrote: now i want to get date from database in (dd/mm/) format. I want to compare that date with system . Plz guide me how can i do this. Read the documentation for Date, or use Google - this has nothing to do specifically with Android. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date display in in SimpleCursorAdapter
I use following code to display title and date from database. The date is in long format. How can I display it in string form using a function. Cursor eventsCursor = db.retrieveProEvents(pro_id); startManagingCursor(eventsCursor); String[] from = new String[]{DBAdapter.KEY_TITLE,DBAdapter.KEY_DATE}; int[] to = new int[]{R.id.title,R.id.date}; ListAdapter event = new SimpleCursorAdapter(this, R.layout.row, eventsCursor, from, to); setListAdapter(event); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Date display in in SimpleCursorAdapter
just concatenate that long value with a non-space quoted value then you can convert easily... On Fri, Apr 29, 2011 at 12:47 PM, Brad Stintson geek.bin...@gmail.comwrote: I use following code to display title and date from database. The date is in long format. How can I display it in string form using a function. Cursor eventsCursor = db.retrieveProEvents(pro_id); startManagingCursor(eventsCursor); String[] from = new String[]{DBAdapter.KEY_TITLE,DBAdapter.KEY_DATE}; int[] to = new int[]{R.id.title,R.id.date}; ListAdapter event = new SimpleCursorAdapter(this, R.layout.row, eventsCursor, from, to); setListAdapter(event); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- *-- Mohammed Hossain Doula Software Engineer desme INC.* *www: http://www.hossaindoula.com @: ron...@desme.com hossaindo...@nibssolutionslimited.com* *facebook: http://www.facebook.com/ROnyWorld* *twitter: http://www.twitter.com/hossaindoula* *blogspot: hossaindoula.blogspot.com GSM: 00880-167-4347101* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] date picker and froyo
On Fri, Mar 4, 2011 at 7:05 PM, Doug douglascroc...@gmail.com wrote: it is causing the app to crash when I try to view the date picker with Froyo or the Emulator with version 2.2 A callstack might help. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] date picker and froyo
All, did something change with froyo around datepicker? I'm working on an app that uses a datepicker, works fine with Eclair but it is causing the app to crash when I try to view the date picker with Froyo or the Emulator with version 2.2 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Date/time format change broadcast
Hi, yes, you actually are - ACTION_TIME_CHANGED and ACTION_DATE_CHANGED. Best regards, Filip Havlicek 2010/10/7 Zsolt Vasvari zvasv...@gmail.com I am using android.intent.action.LOCALE_CHANGED to detect language changes and update my widgets. Is there something analogous for date and time format changes? I don't see anything, but I could be just blind -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date/time format change broadcast
I am using android.intent.action.LOCALE_CHANGED to detect language changes and update my widgets. Is there something analogous for date and time format changes? I don't see anything, but I could be just blind -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date type as a parameter on a SoapObject
Hi ! I want to send a parameter to my .net webservice, but it's type (Date) causes errors. Any ideas about how to make it work. Thx. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date Picker Limit
How to limit date picker for six months from today's date? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Date Limit
How can i display datepickerdialog for a limited dates. Ex:- I want from 25 aug 2009 to 24 Aug 2010 please reply Join http://groups.google.com/group/mobile-application-developers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Date Limit
Can any one suggess that i want a limited datepicker ex:- 25 aug 2009 to 24 aug 2010 please reply Join: http: //groups.google.com/group/mobile-application-developers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Date Picker
I want a date picker with maximum of 3 days. i want like yesterday today tomorrow this 3 days only i want. any one can sugess some idea. please reply. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Date AND Time Picker
I think I asked this a few months ago, but didn't receive an answer. Has anyone done a combination Date AND Time Picker that fits on one screen? What I'm looking for is something that looks like the built in Android Date picker with the Time Picker below it and the Set/Cancel buttons below that. Is there an open source widget like that? I really don't want to create my own if I don't have to. Thanks for any help. Sincerely, Brad Gies - Brad Gies 27415 Greenfield Rd, # 2, Southfield, MI, USA 48076 www.bgies.com www.truckerphone.com www.EDI-Easy.com www.EDI-Simple.com - Moderation in everything, including abstinence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] date data type issue in Andriod
Hi, How to save data with timestamp data type into SQLite database. The method put in class ContentValues does not accept date data type. Thanks, Senshan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Date and time pickers in an XML layout file - how to get to work?
I've tried including date and time pickers in the XML file, like the following: DatePicker xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=wrap_content android:layout_height=wrap_content / TimePicker android:id=@+id/wtb_event_time android:layout_width=wrap_content android:layout_height=wrap_content / But I get: ERROR/AndroidRuntime(2930): Caused by: java.lang.RuntimeException: Binary XML file line #40: You must supply a layout_width attribute. ERROR/AndroidRuntime(2930): at android.content.Resources $StyledAttributes.getLayoutDimension(Resources.java:1247) ERROR/AndroidRuntime(2930): at android.view.ViewGroup $LayoutParams.setBaseAttributes(ViewGroup.java:2641) ERROR/AndroidRuntime(2930): at android.view.ViewGroup $LayoutParams.init(ViewGroup.java:2605) ERROR/AndroidRuntime(2930): at android.view.ViewGroup.generateLayoutParams(ViewGroup.java:2101) ERROR/AndroidRuntime(2930): at android.view.ViewInflate.inflate(ViewInflate.java:358) ERROR/AndroidRuntime(2930): at android.view.ViewInflate.inflate(ViewInflate.java:292) ERROR/AndroidRuntime(2930): at android.view.ViewInflate.inflate(ViewInflate.java:241) There is a layout_width attribute, so what's wrong? I've tried putting only one of those views inside of a layout file, and even if the Eclipse Android project doesn't complain, the emulator does. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---