私は私がカップルでファイルを持っているので、今、私は、ミリ秒にこの時間を変換する場合、時間(2012年3月12日、17:31)を取得するためにアンドロイド:ミリ秒に日付を変換し
SimpleDateFormat formatter = new SimpleDateFormat("dd.MM.yyyy, HH:mm");
String time = formatter.format(new Date());
を使用しました日付やテキスト、と私はミリ秒単位で時間を置く必要がありますので、私は時間を変換する必要があり、私は
ContentValues values = new ContentValues();
values.put("address", "123");
values.put("body", "tekst");
values.put("read", 1);
values.put("date", HERE I MUST PUT A DATE IN MILLISECONDS);
context.getContentResolver().insert(Uri.parse("content://sms/inbox"), values);
を使用して受信ボックスにテキストを追加傾けるように、ミリ秒単位で日付を変換したい、誰もがどのように知っているのですか?
シンプルなGoogle検索では、単に言って、仕事をしたでしょう。 –