React Native Bridging Modules for Android from Scratch on Windows

When using React Native to write mobile apps, JavaScript is the primary programming language. However, sometimes, you may want to call a platform API that not supported by existing React Native component or use a third-party Android library that built as an AAR file. For these cases, you need to write native code for bridging using Android Studio and Xcode. In this article, I will demonstrate how to create a simplest React Native Bridge module step by step.

Read more

Cordova Plugin with Android AAR File for Barcode

Cordova is a mobile application development framework that enables developers to build Android, iOS and Windows Phone apps using HTML5, JavaScript, and CSS3. It uses web views to render UI elements instead of the platform’s native UI framework. Cordova can be extended to add more functionalities with plugins. There are many learning resources of Cordova plugin on GitHub. In this article, I want to share how to make a Cordova barcode plugin with a third-party Android library, an AAR file, step by step.

Read more

Flutter Programming with Android AAR File

Flutter, a framework developed by Google, aims to help developers build iOS and Android apps from a single codebase in Dart programming language. It is still an early-stage open-source project. The development environment only works on macOS and Linux (64-bit). I was curious about how Flutter performs comparing to Xamarin and Cordova, and thus, I got started with Flutter a week ago. When developing an Android app, you may need to use some third-party SDKs, which wrapped as *.jar, *.so or *.aar files. In this post, I will share how to link an Android aar file in Flutter project.

Read more

Android Barcode Scanner with Dynamsoft Mobile Barcode SDK

Dynamsoft aims to make barcode SDK available for all mainstream platforms, including Windows, Linux, macOS, iOS, and Android. There are many developers devoted to developing mobile barcode scanner app for iOS and Android platforms. To expedite the developing work, some of them may rely on a powerful detection and recognition libraries, like Dynamsoft mobile barcode SDK. In this post, let’s take a glimpse of how to use barcode SDK for Android to build Android barcode scanner with a few lines of code.

Read more

How to Record Screen Video for Android and iOS Apps

No matter whether you are a mobile developer of Android or iOS, your ultimate goal is definitely to publish your apps on Google Play or App Store. Before submitting apps for review, you need to attach some screenshots used for promotion. Furthermore, you can record screen video in order to make a deep impression. In this article, I will illustrate how to use free and commercial tools to record and edit videos for mobile apps on macOS and Windows.

Read more

How to Make Android Barcode Reader with Barcode SDK

When building mobile barcode scanning apps for Android or iOS, developers could either choose open source SDKs – ZXing and ZBar, or some commercial mobile barcode SDKs. If you are an Android developer and have installed Android Play Services SDK level 26 or greater, it is convenient to create Android barcode reader apps with Android Vision API as well. Since Google has released a demo on GitHub, we can learn how to construct a simple Android barcode reader from the source code. Let’s anatomize the code and try to build our own version.

Read more

Time to Migrate Android Projects to Android Studio

Last week, Android Developers Blog posted an article – An update on Eclipse Android Developer Tools. It announced that Google will end development and official support for the Android Developer Tools (ADT) in Eclipse at the end of the year. Many developers have been using Eclipse to develop Android applications with ADT for many years. Someone may be reluctant to get started with a new IDE from scratch, though, it is worth spending time on the new tool if it is more powerful and efficient than Eclipse. As Google said, they will deliver a great experience on a unified development environment and make developers productive. Since I’ve been playing Android Studio for a few days, I’d like to share my experiences.

Read more