title: Is possible to set System DateTime from my Android App?
body: <p>I want to set system clock by <code>SystemClock.setCurrentTimeMillis</code>, but met following error: </p>
  
  <pre><code>"Unable to open alarm driver: Permission denied"
  </code></pre>
  
  <p>Below is the Description of <code>setCurrentMillis</code> API from Android Developers Site:</p>
  
  <pre><code>public static boolean setCurrentTimeMillis (long millis) 
  </code></pre>
  
  <p>Since: API Level 1 Sets the current wall time, in milliseconds. Requires the calling process to have appropriate permissions.</p>
  
  <p>Returns 
  if the clock was successfully set to the specified time. </p>
  
  <p>So, Application Needs to obtain the Permission to set the time. 
  In <strong>AndroidManisfest.xml</strong> I inserted <code>android.permission.SET_TIME</code> but I have the same message error.</p>
  
  <p>I have tried various solutions found in the internet and it seems that it's not possible to set system time without root even on FroYo (Android 2.2) where <code>android.permission.SET_TIME</code> was introduced, normal application can't get this permission because <strong>/dev/alarm</strong> file has <code>664 permission</code>. So the solution is to change permission in <code>666</code> but require rooted device and is too invasive to be a solution.</p>
  
  <p>I want to create an App for my Company to synchronize data between different systems and is essential to have synchronized clocks.</p>
  
  <p>Thank you in advance for your willingness</p>
  
  <p>Eclipses </p>