Click here to Skip to main content
15,905,232 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Am Anandraj, Am New to Android .. then i saw some example coding in net .. Then, In the given below code I indicated two line in BOLD which was strikend across in that coding
For What Reason they are striking the coding.. Please any one help to understand that coding..


1)date = cal.toLocaleString();

2)
C#
Code = (EditText)findViewById(R.id.editText1);
                    EnteredCode = Code.getText().toString();
                    CTable1 = CargoAttendendanceDb.query(MyDbHelper.TABLE_NAME1,new String [] {MyDbHelper.Code,MyDbHelper.Name},MyDbHelper.Code +"=?" ,new String[] {EnteredCode},null, null, null);
                    startManagingCursor(CTable1);
                    CTable1.moveToFirst();
Posted

1 solution

You're getting the line, because as per the documentation[^], this method is deprecated, and you should use DateFormat[^] instead.

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900