Posts

Showing posts from 2017

Free Android Template

Image
When developing android apps UI is the main challenge for me to create best user interface.
Here is the list of the resources which will help you to get inspired or UI template to use in your app

1. Dribble
Dribble is the place where you can a lot of inspiring ideas for the interface. Some may provide a template for you to download.



2. invisionapp
After searching a lot for the free template I found  the template by invisionapp. The template provided by the them contain almost every thing needed by you to create your beautiful app.



Android : Currecny Converter

Image
Android Currency Converter :

A simple currency converter.
using : http://fixer.io/ API




Download : Play Store

Android prevent out of memory exception

Well memory out of exception is the common problem for android application. If your application is not memory efficient it will get crashed due to memory exception.

This post does not contain guideline on how to create memory efficient application. This post contain one method which helped my application form getting memory out of exception. i.e to increase the heap size.

Android Studio change package name

Image


Sometime it is needed to change the package of the project.
Below is the easy way which worked for me in android studio.

Android WebView

This post contain all about android webview.
If you are reading this I assume that you know what is webview and just want to use it in your app.

Android Activities

This post contain my all activity related snippet.

Android Hide soft-keyboard and EditText to non editable

Recently I need to hide the soft-keyboard from popping up when user click or when the app is open first time below is the method which work for me. And make the edit text disabled for editing.

Android Spinner

Image
Android provide variety of widgets on of them is spinner. Spinner is similar to that of the drop-down list in web it allows user to select a single item from list of items.

Android Transparent status bar

Image
Recently I wanted to get a transparent status bar so that my app background blends smoothly with the status bar . Below method worked



Android remove ActionBar / TitleBar

Image
I want to remove the action bar/ Title bar from my app to make it full screen. Below is the method which helped.



Android Support Tools

Here is the list tools and library which  which I  prefer to use in my application and found them usefull.

Android Live Wallpaper Tutorial

Image

Hi, at last I was able to create my own live wallpaper " MATRIX RAIN ". 

Download : click here

The matrix rain effect which I am using is the same which I created in canvas.
ref :- http://www.androidlearner.com/2016/09/create-custom-view-in-android-matrix.html
I this post I will describe how I put together the live wallpaper. 



Xamarin : Simple Calculator Tutorial Visual Studio C#

Image
Simple Calculator in Android (Xamarin) using VisualStudio C#In Brief: This article will help you on building a simple calculator in android Xamarin with simple steps using C# Language in Visual Studio. Detail:
Building this simple calculator will let you learn how to work with the Android Buttons, Text View and simple functions. The UI is not so beautiful but is a great way to learn the basic functionalities.

Android : Multiple Button One Listener

Hi you may have ran into problem where you have multiple button in the layout and want want a single listener, so the code become more manageable. Here is how you can manage it.
This below code work for me after several attempt.
So here is what you need. 1.Layout with multiple buttons. 2.create a View.OnClickListenerwhich you will need to attach with the button [Note : I don't know why if the View.OnClickListener is initalised after, assigning the button listener it does not work. View.OnClickListener must be initalised befor assigning it to the button.] 3.Simple switch case which will check which button is clicked.
Below is the code which work for me.

Android : Create a keystore

Image
Generating a certificate or keystore to sign your app using android studio is very easy rather than messing with keytool.

1.Open android studio.

2. Go to Build -> Generate signed apk

Android : Best Game Engine

Image
After using many game engines for creating android game. These are the two which I liked the most