Skip to main content

Posts

Showing posts with the label android development

Unstoppable - an open source trivia game

I wrote a simple Android trivia game which is getting questions from https://opentdb.com/. You can check out the project at  gitlab . A sample game play can be seen in the below video. Feel free to give comments, git stars, or feedback. Download the game from play store:  https://play.google.com/store/apps/details?id=com.ninjahoahong.unstoppable Enjoy - ninjahoahong

Using RoboPOJOGenerator

Recently, I have used more AutoValue in my Android projects and needed to copy and paste quite many set up codes. Then I decided to try RoboPOJOGenerator out, it is working great with AutoValue and this AutoValue Gson library . Reference: https://github.com/robohorse/RoboPOJOGenerator https://github.com/rharter/auto-value-gson - ninjahoahong

Working with Android legacy code

In this blog, I would like to share my experience of working with Android legacy code which work well for me so far. First of all, when I get into an Android project which contains legacy code . I will ask about the current situation of the application: Current features Current know issues Current patterns are being used in the projects Current overall structures Current way of working of the team Current parts in which contain  legacy code Current UI tests Current Unit tests Then I spent some times to get familiar with the current features by getting a phone and try out the current features and the known issues and take notes of those things. In my experience, the applications can be complicated that even the ones who develop it don't know all the features and known issues of it. Therefore, taking note and comparing with the transferred knowledge is a good way to start understanding the application. Now, hopefully, I have a good idea of what I am...

Wine Drop - breaking the ice

In this writing, I would like to share my experience of publishing my first game, and I hope it can motivate you to develop and publish games. Brief introduction (feel free to skip it) I have been passionate about video games and animation since I was five years old and I dreamt that one day I would publish a game so that people could play if they wanted to. However, it is not until I am almost done with my bachelor degree, I wrote my  first game - a crappy one  - but I am glad that I did the game. Then, I have joined game programming courses, hackathons, and game jams to learn to develop video games. However, all of the games were for "learning purposes", I have never thought of publishing any of the games because of being afraid of uncertainties (maybe it takes a lot of time to publish a game, is not a good enough game idea, does not have a good architecture, no scale, no way to earn money, just a learning project...) . Then I realized that the excuses ...

Wine Drop v1.3.0

Wine drop The casual and exciting game has been updated by re-scaling the game graphics. Choosing a theme that suite your taste and enjoy the game of avoid spiders and catch as many drops as possible. - ninjahoahong

Setup libGDX Android Game Project

These are the steps: Download the project setup tool from  here Open the jar file   Tick Android box, choose an empty folder as destination, and choose AndroidSDK path. You can also tick any extensions you want. Open Android Studio. Choose  Import Project  –> Choose  build.gradle  file in the project root. Start writing your game.  Good luck and have fun.

Getting started with OpenCV4Android using Android Studio 2.0 preview

These are the steps to get started: Download open CV from this  link Extract the file and get OpenCV-android-sdk folder New --> Import Module --> choose OpenCV-android-sdk/sdk/java , and modify the folder of the module folder to what you like, such as:  opencv Open  opencv/build.gradle  change the version of  compileSdkVersion  and  buildToolsVersion  to suit with your project. Press  sync  gradle. Right click  app  module.  Choose Open module settings --> Choose Dependencies tab --> + --> module dependency --> opencv Copy  OpenCV-android-sdk/sdk/native/libs , paste to  app/src/main , and rename folder to  jniLibs Now, you can import and use OpenCV.