by admin

LibGDX game development with android studio – Creating Super Mario Bros

November 3, 2016 in Game Engines, Java, libGDX, Source Code, Tips & Tricks, Tutorial by admin

libgdx-logoA nice Youtube series of 32 videos by Brent Aureli about developing a Super Mario Bros game step by step using LibGDX and Android Studio. The videos include information about setting up libGDX with Android Studio, screens, viewports, aspect ratios, how to create a HUD, creating and rendering tilemaps, Box2D, spritesheeets and texture packer, animations, collisions, sound and music, moving & spawning items, and various other topics.

Read the rest of this entry →

Supercharging Android Apps With TensorFlow

May 28, 2016 in Android, Java by Adrian Marius

android-logoIn November 2015, Google announced and open sourced TensorFlow, its latest and greatest machine learning library. This is a big deal for three reasons:

  1. Machine Learning expertise: Google is a dominant force in machine learning. Its prominence in search owes a lot to the strides it achieved in machine learning.
  2. Scalability: the announcement noted that TensorFlow was initially designed for internal use and that it’s already in production for some live product features.
  3. Ability to run on Mobile.

This last reason is the operating reason for this post since we’ll be focusing on Android. If you examine the tensorflow repo on GitHub, you’ll find a little tensorflow/examples/android directory. I’ll try to shed some light on the Android TensorFlow example and some of the things going on under the hood.

android_tensorflow_classifier_results.jpg

Reactive Database Access – Part 2 – Actors

December 16, 2015 in Java, Programming Languages, Scala by Adrian Marius

We’re very happy to continue our a guest post series on the jOOQ blog byManuel Bernhardt. In this blog series, Manuel will explain the motivation behind so-called reactive technologies and after introducing the concepts of Futures and Actors use them in order to access a relational database in combination with jOOQ.

manuel-bernhardtManuel Bernhardt is an independent software consultant with a passion for building web-based systems, both back-end and front-end. He is the author of “Reactive Web Applications” (Manning) and he started working with Scala, Akka and the Play Framework in 2010 after spending a long time with Java. He lives in Vienna, where he is co-organiser of the localScala User Group. He is enthusiastic about the Scala-based technologies and the vibrant community and is looking for ways to spread its usage in the industry. He’s also scuba-diving since age 6, and can’t quite get used to the lack of sea in Austria.

This series is split in three parts, which we’ll publish over the next month:

by admin

Increasing size of combo box popup in Java

November 7, 2015 in Java, Programming, Programming Languages, Source Code, Tips & Tricks by admin

java-small-logoRecently I had a strange issue: how to increase the size of JComboBox popup without increasing the size of JComboBox itself, specifically displaying during selection options which are longer than the combo box itself. After various unsuccessful approaches, I’ve found a neat solution posted by Rob Camick in 2010 on Java Tips Webbog, in form of a class which acts as a PopupMenuListerner. This class itself allows even more functionalities than I hoped for, and also works neatly in java 8’s Swing. This is how a JComboBox with resized popup would look like:

For a longer description and the class’s usage and source code, follow the original article here.

Skip to toolbar