A.I, Data and Software Engineering

Search results forandroid

Advanced android room persistent storage

room architecture

Room provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite. Because Room takes care of several concerns for you, e.g. caching, networking, Android highly recommend using Room instead of SQLite. If you are coming from iOS, the good news is that Room is very similar to the core data in iOS development. The task Field...

Tutorial: Multi-touch gesture for android

multi-touch

Multi-touch gestures are very useful in many common scenarios, such as zooming, panning. For game development, handling multi-touch is essential. This post will give a quick guide for handling multi-touch points. Project structure We create a new project name MultiTouch with Java and add a new class named GameScene as a subclass of android.view.View. The basic GameScene class is as follows. 12345...

Build an android calculator in 5 minutes

calculator kotlin

Mobile Calculator This tutorial, we demonstrate how to use Android Kotlin to build a mobile calculator in just 5 minutes. It is really simple and fun. You can watch a video tutorial at the end of this post. Create an android project with Kotlin From Android Studio welcome page, select “Create a new project” and follow the instruction on screen. Enter the app name, package name and use...

Material Design — Custom Alert Dialog

Google did an amazing job to promote material design. However there is not many articles about how to quickly style the custom dialog. So, we will cover some missing stuff here. Prerequisites Add material design dependency in Gradle file: 1 implementation "com.google.android.material:material:<latest-version>" Make sure your AppTheme inherited from a material theme like:...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Newsletters

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

Petaminds will use the information you provide on this form to be in touch with you and to provide updates.