STATIC.x

Kunal Dawn


Leave a comment

Security-Enhanced Linux in Android

SELinux operates on the ethos of default denial. Anything that is not explicitly allowed is denied. SELinux can operate in one of two global modes: permissive mode, in which permission denials are logged but not enforced, and enforcing mode, in which denials are both logged and enforced. SELinux also supports a per-domain permissive mode in which specific domains (processes) can be made permissive while placing the rest of the system in global enforcing mode. A domain is simply a label identifying a process or set of processes in the security policy, where all processes labeled with the same domain are treated identically by the security policy. Per-domain permissive mode enables incremental application of SELinux to an ever-increasing portion of the system. Per-domain permissive mode also enables policy development for new services while keeping the rest of the system enforcing. Continue reading

Advertisements


Leave a comment

Building and deploying JavaFX Applications on Android

Prerequisites

What do you need in order to build and deploy JavaFX Applications on Android?

  1. You need the Android SDK. You can download this here. The SDK is sufficient if you only want to develop applications (in the .apk format). If you want to install the applications on devices, or run emulators, you need to download the ADT bundle. Make sure to remember where you download it into.
  2. You need a JavaFX-Dalvik Runtime. You can either download it here (easy) or build this yourself (less trivial). Always download the latest version of the runtime. The latest version is currently dalvik-sdk-b4.
  3. You need a regular JavaFX Application, compiled with Java 7.
  4. You need the gradle buildsystem (on Linux, Gradle 1.4 is reported to be successful, on Windows, Gradle 1.9 has been used with success) Continue reading


Leave a comment

Layout in Android (and JavaFX)

One of my clients allowed me to write an Android application. I have done Java and mobile development before, so it basically comes down to learning the new framework. And that’s something Java developers do on a fairly regular basis. There were some special things, like connecting to a bluetooth barcode scanner, but nothing that some coding-by-googling wouldn’t fix. The application initially was aimed at Android 2.2+ and phones, but in the meantime it’s been upgraded to Android 4.0+ and 10″ tablets, because it needed a stronger visual screen (with loads of images) and the screens of the phones were simply too small.I’d like to share some of the experiences I had with this project. Continue reading