public static String convertToEventFormat(String date) { String finaldate = null; try { SimpleDateFormat fmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date date1 = fmt.parse(date); SimpleDateFormat fmtOut = new SimpleDateFormat("dd-MM-yyyy hh:mm aa"); finaldate = fmtOut.format(date1); } catch (ParseException e) { e.printStackTrace(); } return finaldate; }
Time format
Subscribe to:
Posts (Atom)
Run/install/debug Android applications over Wi-Fi ?
Open Teminal/cmd --------------- Below steps is for Android 10 or lower Step 1 - Connect the device via USB and make sure debugging is work...
-
This is use for enerate static map images easily. Download here. https://github.com/sohel274/static-map
-
Open Teminal/cmd --------------- Below steps is for Android 10 or lower Step 1 - Connect the device via USB and make sure debugging is work...
-
Play GIF file in android very smoothly, Download Demo here : https://drive.google.com/open?id=0B7De_mE7QNdOd2FVRlpTM0tYcUU
No comments:
Post a Comment