Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COThanks for your quick answer :) If you look at Android source Calendar.java, in contrast of JDK source of Calendar (http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/tip/src/share/classes/java/util/Calendar.java), you can not find createCalendar() on it. this is source of the related part on it: public static synchronized Calendar getInstance() { return new GregorianCalendar(); }
      singulars
    2. CO@EbrahimByagowi: "overriding this method (by some hackerish way) will affect all use of calendars in Android UI" -- oh `$DEITY` no. You have no right, from an SDK application, to affect other applications in this fashion, for obvious security reasons. You are welcome to fork Android, change the operating system, convert it into a modded ROM, and install that on the device of your choice, if you wish to affect all applications.
      singulars
    3. CO@EbrahimByagowi CommonsWare is 100% correct (as always). If what you want is to inject some of your code in such a way that whenever any app on the device creates a calendar, they run your code to create the calendar instead of the default, then what you are describing is pretty much how viruses work. Yours is obviously not malicious, but not what the framework is there to provide. You only get to write code that works in your area, or you write the framework (create your own version of Android). Maybe if you elaborated on why you want all calendars to be your calendar, we could help more?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload