Latest Posts

Set TextView style bold or italic and preserve previous TypeFace

To keep the previous typeface

References https://stackoverflow.com/questions/6200533/set-textview-style-bold-or-italic

Continue reading »

Keep the screen awake on Android

or

References https://developer.android.com/training/scheduling/wakelock

Continue reading »

Updating the UI from a Timer using Handler on Android

If you want it to stop, you can just call handler.removeCallback(runnable) and it won’t start again, until you tell it to References http://www.mopri.de/2010/timertask-bad-do-it-the-android-way-use-a-handler/

Continue reading »

Scheduling Tasks to Execute After a Given Delay or Periodically in Java

References http://www.codejava.net/java-core/concurrency/java-concurrency-scheduling-tasks-to-execute-after-a-given-delay-or-periodically

Continue reading »

Install Apache Tomcat 8 on Ubuntu 16.04

Install Java Create Tomcat User

Install Tomcat

Update Permissions

Create a systemd Service File

Configure […]

Continue reading »
1 2 3 4 5 6 70