Skip to main content

Posts

Database Reverse Engineering using JOOQ in Spring Boot

I’ve worked on a sample code that does reverse engineering from a database to its proper JOOQ models and records. The sample code is up on  Github  and instructions are inside the code and README.
Recent posts

Multiple Styles in a TextView on Android

This is a short snippet on how to have multiple syles in a TextView in Android: tvIntroTwo.setText(R.string. text_introtwo , TextView.BufferType. SPANNABLE ); Spannable spannable = (Spannable) tvIntroTwo.getText(); spannable.setSpan( new TextAppearanceSpan(getApplicationContext(), R.style. TextAppearance_IntroTwo ), 0 , 4 , Spanned. SPAN_EXCLUSIVE_EXCLUSIVE ); In styles.xml: < style name= "TextAppearance_IntroTwo" parent= "TextAppearance.AppCompat.Large" > < item name= "android:textColor" >#f3e740</ item > </ style > As for the text, you can try out a long text, then you'll see the style differences.

Build Automation on Android using Jenkins

So basically I’ve been spending time setting up Jenkins for a few reasons. to eliminate the hassle of internal employees bugging me for Android APK files when I’m focusing on doing my work. to ensure that the Android app can be compiled and built in the remote repository. So here are the steps to do automation on an Android project using Jenkins. This is based on the article from Digital Ocean on how to set up Jenkins on their Ubuntu instance.   Read more here ( https://medium.com/@S1lv3rd3m0n/build-automation-on-android-using-jenkins-85649e9f9364 )

Generate Javadoc for Volley Android Networking Library using Android Studio

A simple way to generate Javadoc for the Volley Android networking library using Android Studio is as follows: 1. Tools > Generate JavaDoc 2. You'll see this screen which points to the volley project directory that you've done a git submodule to clone to your Android project. Press OK and you'll find a docs folder in your volley project folder.