Skip to content

ThirteeNov

Source Codes & Coding Tutorials

  • My YouTube Channel
  • My GitHub Page
  • About me

Category: Android

Showing an image in Android using ImageView

October 11, 2017August 4, 2020 Habibie

Android’s ImageView helps us a lot in working with images. In this example we can show an image from drawable folder after we click a button.

Android notification example and source code

October 11, 2017August 4, 2020 Habibie

In this example we have a button and if we click it it will call createNotification function inside MainActivity.java to show a notification. Then, if we click the notification, it brings second activity up.

How to draw a rectangle on a canvas in Android

October 10, 2017August 4, 2020 Habibie

Instead of showing default activity layout, we can create our custom class. Here in this example I’m going to share a script to draw a rectangle on a canvas in Android.

How to show Yes No dialog on Android

October 10, 2017August 4, 2020 Habibie

To show a Yes No dialog in Android, first create a new project, drag and drop a button to your layout file. Then, use this source code for your Main Activity file:

How to load html file in Android WebView from SD Card

October 6, 2017August 4, 2020 Habibie

This script demonstrates how to load an html file located in SD Card in “SomeFolder” directory (you can change the folder’s name) into Android WebView.

How to switch between pages (activities) in Android

October 6, 2017August 4, 2020 Habibie

What if you have multiple activities in your Android app and how do you switch/navigate between those activities?

How to read and write a file in Android?

October 5, 2017August 4, 2020 Habibie

This source code shows you how to write a text into a file and also how to read it.

How to take screenshot programmatically in Android

October 5, 2017August 4, 2020 Habibie

Here I share Android source code to take a screenshot of whole screen and save it in device gallery. There is two buttons, one for taking screenshot and the second for opening last screenshot.

How to use AdMob Rewarded Video Ad on Android

September 15, 2017August 4, 2020 Habibie

Here I share my experience to bring AdMob Rewarded Video Ad into my apps. This kind of app works well because users will watch the ads completely to get rewarded, for example to get virtual coins, gems, etc.

How to build/export .apk (Android App) from Unity

May 10, 2017August 4, 2020 Habibie

In this tutorial I will show you how to build an Android app game from Unity. Many people face an error when exporting Android .apk file from Unity and me too. In this video I will show you how did I solve it.

Posts navigation

Previous 1 2
ciihuy2020

Welcome!

  • My YouTube Channel
  • My GitHub Page
  • About me

Categories

  • 3DVista
  • Android
  • Apache
  • C#
  • Cordova
  • Electron & Node JS
  • HTML5, CSS & JavaScript
  • iOS
  • Let's Make Unity Games
  • Misc
  • Photoshop
  • PHP
  • Unity
  • WordPress

Recent Posts

  • Unity lens flare is not working, what should I do?
  • Be careful with malicious script attacking WordPress sites
  • Useful JavaScript snippet when you are watching YT Videos
  • Some C# methods to write and read files, creating a folder and listing files inside it
  • Introducing UniCipher : encrypt your playerprefs and any string to make them unreadable
  • Unity navigation tabs tutorial
  • 2D Object Movement Touchpad Script for Unity
  • PHP JSON to Unity C# and Vice Versa
  • How to check whether the device is connected to internet or not in Unity
  • Unity Useful Snippets
  • How to click and detect an object in Unity3D?
  • How to remove all thumbnails from wordpress posts
  • How to find duplicated words in Notepad++
  • How to play any YouTube video dynamically using YouTube iFrame API + autoplay on mobile devices
Copyright © ThirteeNov

Minimalist Theme by WPVKP.