[android-developers] date pickers

2013-02-21 Thread Arun Kumar K
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

2012-09-08 Thread mohammed Nuhail
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

2012-09-07 Thread Sadhna Upadhyay
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

2012-09-07 Thread TreKing
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

2012-08-07 Thread Ibrahim Sada
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

2012-08-07 Thread Justin Anderson
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

2012-07-10 Thread nageswara rao rajana
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

2012-07-10 Thread arun kumar
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

2012-03-30 Thread 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

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

2012-03-30 Thread jagruti sangani
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

2012-03-30 Thread Ralph Bergmann | the4thFloor.eu
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

2011-12-12 Thread ToolAndroid
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

2011-11-01 Thread leigh8347
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

2011-10-20 Thread sourabh sahu
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

2011-10-20 Thread Justin Anderson
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

2011-09-04 Thread Atif Musaddaq
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

2011-08-18 Thread bob
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

2011-08-18 Thread Daniel Drozdzewski
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

2011-07-28 Thread Sivasankar K
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

2011-07-28 Thread TreKing
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

2011-07-25 Thread kirti waykole
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

2011-07-25 Thread TreKing
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

2011-04-29 Thread Brad Stintson
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

2011-04-29 Thread Mohammed Hossain Doula
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

2011-03-08 Thread TreKing
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

2011-03-07 Thread Doug
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

2010-10-07 Thread Filip Havlicek
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

2010-10-06 Thread Zsolt Vasvari
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

2010-05-21 Thread Lamia Hannoun
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

2010-04-29 Thread Chirayu Dalwadi
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

2009-08-29 Thread Sasi Kumar

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

2009-08-29 Thread Sasi Kumar

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

2009-08-29 Thread Sasi Kumar

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

2009-07-31 Thread Brad Gies
 

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

2008-07-08 Thread Billsen

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?

2008-04-08 Thread NTR

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
-~--~~~~--~~--~--~---