I would like to publish a beta version of my application, but I would like to set and end the date encoded in the code.
How can i make it easy? Is there an entry point that starts before any action?
The "starting point" of an Android application before all actions will be Application.onCreate () . I would go for commenting on Sebi - check the date in Launcher Activity onCreate ().
You can check the system date, as Seby said, and see if the user allows the date and time of the network to be updated. So the date is correct and you can find out if the period has expired:
http://developer.android.com/reference/android/provider/Settings.System.html#AUTO_TIME
Source: https://habr.com/ru/post/1314706/More articles:Is WML and WMLScript dead? - wmlHow to hide div by onclick using javascript? - javascriptleft div + right div + center div = 100% width. How to implement? - htmlAre Django applications equivalent for Drupal CCK and Views? - pythonThe conditional and assignment operators in C - cMember function hidden in a derived class - c ++Creating R packages for installation with install.packages () - rPaste not compiled - sqlGoogle, like paging in Wicket - javaCreate pom.xml file - maven-2All Articles