CopyPastor

Detecting plagiarism made easy.

Score: 0.8172701001167297; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2019-02-05
by Test Project

Original Post

Original - Posted on 2010-12-02
by oriharel



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Calendar cal = Calendar.getInstance(); Intent intent = new Intent(Intent.ACTION_EDIT); intent.setType("vnd.android.cursor.item/event"); intent.putExtra("beginTime", cal.getTimeInMillis()); intent.putExtra("allDay", true); intent.putExtra("rrule", "FREQ=YEARLY"); intent.putExtra("endTime", cal.getTimeInMillis()+60*60*1000); intent.putExtra("title", "A Test Event from android app"); startActivity(intent);
Try this in your code:
Calendar cal = Calendar.getInstance(); Intent intent = new Intent(Intent.ACTION_EDIT); intent.setType("vnd.android.cursor.item/event"); intent.putExtra("beginTime", cal.getTimeInMillis()); intent.putExtra("allDay", true); intent.putExtra("rrule", "FREQ=YEARLY"); intent.putExtra("endTime", cal.getTimeInMillis()+60*60*1000); intent.putExtra("title", "A Test Event from android app"); startActivity(intent);

        
Present in both answers; Present only in the new answer; Present only in the old answer;