Android interview question

/

Android Characteristics? Android Platform Architecture(or Layer, Android software stack.) ? Android Versions (Name and API Version)? Android Latest Version ? and what’s New Android Application Components? What is Context? How is it used? structure of an Android Application? What is AndroidManifest.xml? What is Application class? What is res Folder? What is AppCompat? What is Activity? …

RxJava (ReactiveX Java)

/

RxJava (ReactiveX Java) In our previous article, we told you about Reactive programming, that explained Reactive Programming and Reactive Extensions (ReactiveX or Rx).This article will throw some light RxJava & its components What is RxJava? RxJava is a Java VM implementation of Reactive Extensions:“a library for composing asynchronous(like memory leaks and concurrency limitations) and event-based …

What is Firebase?

/

Firebase introduction Firebase is a platform from Google, it’s offering a number of different features like analytics, databases, messaging and crash reporting so you can move quickly and focus on your users, even earning money through AdMob ,Firebase scales automatically,it’s new NoSQL Database .Firebase gives you the tools to develop high-quality apps,Firebase not only for Developer , Firebase Offers …

Keystore Lost in Android

/

Today we discuss above android Keystore or JKS (Java KeyStore)file. This is a general question, Every  Android Developer should know about. What is a Keystore file, and what is it used for?Use the Android Keystore provider to let an individual app store its own credentials that only the app itself can access. This provides a way for …

Android working with Realm Database

/

A realm is an open source database that can be used to store data locally in android.Realm Mobile Database is an alternative to SQLite and Core Data in your Android projects. The realm runs directly inside phones, tablets. It’s lightweight database in Mobile Development, realm takes very less memory space compared to SQLite. Realm also allows us to write data in UI thread. …

Custom Time Picker in Android

/

  MainActivity.Java package com.abhay.myapplication; import android.app.Dialog; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.NumberPicker; import java.util.Calendar; public class MainActivity extends AppCompatActivity {          Button b;     static Dialog d ;     final Calendar c = Calendar.getInstance();     final int hour = c.get(Calendar.HOUR_OF_DAY);     final …

Custom Year Picker in Android

/

  MainActivity.java import java.util.Calendar; import android.app.Activity; import android.app.Dialog; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.NumberPicker; public class MainActivity extends Activity { Button b; static Dialog d ; int year = Calendar.getInstance().get(Calendar.YEAR); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); b = (Button) findViewById(R.id.year); b.setText(“”+year); b.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) …

Build Tool or System

/

Build tools are programs or Process that automate the creation of executable applications from source code(example:apk for an android app). The building incorporates compiling, linking and packaging the code into a usable or executable form. Build automation is the act(Process  or program) of scripting or automating a wide variety of tasks that software developers do in …