Posts

Client Call Guidelines for Developers

Since  the first impression with the Clients plays a major role nowadays in this competitive world to get the project and also managing client until completion of the project is an efficient process

Thus, I shared  the Client Meeting Guidelines which explains the basic planning things to follow and I hope it may help the people to be prepared for the meeting without any chaos.
Basic Planning

Mail a day before the Meeting to everyone who involved in the project like developers, designers and testers Assemble 10 minutes before the Meeting Time committed with client Make sure the meeting place is calm, decent light and perfect to start the meeting Make sure the agenda, required project related docs and emails were accessible to use Have the Credentials for the communication media like Skype, Team Viewer etc Check the communication accessories are working properly Have pen and scribbling pad with you to note each and every points discussed Make sure the required people are assembled on or before th…

Android App Delivery Checklist 2017

Hi All,

I have shared the Android App Delivery Checklist for the Developers. The checklist items are gathered from the experience of my Android career.

Basic Checklist
Must satisfy the Client requirement and the changes committed Make sure all the web services are pointing to correct web server or Backend Check the Version code and Version name was updated properly Check the app is working fine in both Wi-Fi and Mobile data connections Make sure the app is working on most of the devices and versions (available with you) Run the Automation Test which was captured earlier and make sure overall functionalities are working fine Make sure that everyone who involved in the project is aware of the delivery
Technical Checklist Check the Manifest and Gradle file twice and remove unwanted data/dependencies Apply Inspect source from Android Studio find unnecessary things and remove from the source code like Logs, unused imports, resources etc Measure our app with Low configuration/situation like Low Intern…

Android Syllabus 2014

Android Syllabus
Introduction to Android?
Android History Overview
Android Version Evolution
Android Architecture brief
IDE and Setup Environment
Android App Development Design and views Enable action for views Android manifest
Project Structure Source Resource Manifest

App upload on Google Play 2014

Uploading APK sounds simple task but need more work and attention.

                                      Before Uploading Android app to Google Play

   Points to keep in mind before uploading the .apk file to Google Play are,

Core of App  Must be sure, the complete app/core of the app is developed and tested well. Check whether the app satisfies the requirements. Code Review Once the app is developed as per the requirement then it is the time for Code Review. Because code review will give the chance for reducing coding, performance optimization, and memory optimization etc. Tools are available for this PMD and Find Bug.
Note: If you are using Android Studio then inbuilt tool is available for code review.  Click on Analyze -> Inspect Code.
Android Manifest.xml This is the file can explain about the app to Google Play. Because Google Play determines and create filters for avoiding failed installation. Ex: Choosing Minimum SDK version and Maximum SDK version will restrict the app visible …

Log in Android

Trace Android Issues

Log:

The Android logging system provides a mechanism for collecting and viewing system debug output. Logcat dumps a log of system messages, which include things such as stack traces when the emulator throws an error and messages that you have written from your application by using the Log class. You can run LogCat through ADB or from DDMS, which allows you to read the messages in real time.


This is like System.out in java or printf in C language.

Where ever you want to trace the values you can use this.

Types of logs:

* Verbose - v(String , String)
* Debug    - d(String , String)
* Info        - i(String , String)
* Warning - w(String , String)
* Error      - e(String , String)

We can also able to filter them.

Example:


int A = 10;
Log.d(this.toString,"Current Value of A "+ A);

The above code will produce 10 as answer.


Fundamentals of Android

Fundamentals of Android

These are the basic building blocks for android  

 * Activity
* Service
* Broadcast Receiver
* Content Provider.


Activity An activity represents a single screen with a user interface. The user can interact with the activity i.e. click the button.
Service A service is a component that runs in the background to perform long-running operations or to perform work for remote processes. A service does not provide a user interface.
Example:        Listening Music is the service. Because no user interaction is neccessary to play music. Once you start it will playing all the songs. Content Provider A content provider manages a shared set of application data. You can store the data in the file system, an SQLite database, on the web, or any other persistent storage location your application can access. 
Example:        Consider that you are going to develop message sending application. For choosing the contacts you need to add contacts one by one in your application.     …

MD5 Encryption in Android

Image
Lets start the tutorial for md5 encryption in android.

MD5 is the best practice to handle the secured data like password etc.
In android we can able to achieve this using few simple code.

Create new android project and copy and paste the below java code.

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class DataEncryptionActivity extends Activity {
    String strNormalValue, strEncrytedValue;
    EditText edtValue;
    Button btnEncrypt;
    TextView tvEncrypt;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        edtValue = (EditText) this.findViewById(R.id.edt_to_encrypt)…

Android Login Email & Password Validation

Image
Here i going to validate the email and password.
The complete source code for the LoginValidationProject

follow my steps, Create the project with following attributes.
Project name         : LoginValidationExample
Build Target           : Android 2.1
Application name   : LoginValidationExample
Package name        : com.android.dhamu.validation
Create Activity      : LoginScreen
Step 1:
 Rename the main.xml file as login_screen.xml. Copy and paste the below xml coding in it.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <TextView
        android:id="@+id/textView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal&quo…