
Search In
Dagger 2 is framework that provides dependency injection. It is based on the JSR which is JAVA SPECIFICATION REQUEST. It is based on annotations and uses code generation to performs its task.
Following are the annotations used by dagger
@
private void doAssign() {
String nameStr = fname.getText().toString();
String phoneStr = phone.getText().toString();
String bikeStr = bike.getText().toString();
String details = nameStr + "," + phoneStr + "," + bikeStr;
To record the audio, Android provide a class "MediaRecorder" , you just need to create its instance.
Step 1:-
In your xml, take two buttons to start and stop recording.
Step 2:-
Declare the needed variables
private MediaRecorder audio
Step1: Adding MpAndroidChart android library into project
dependencies {
compile 'com.github.PhilJay:MPAndroidChart:v2.1.6'
}
repositories {
maven { url "https://jitpack.io" }
}
Step2: Pie Chart layout in your xml file
<co
Customer support is a key selling point for many businesses around the globe. It is one of the best ways to ensure that the customer is going to come back to your bu
In the below example code I have changed particular font size by using ttf file. Here I have added ttf file in assets folder using TypeFace class, I have also included zont zip file. You can see the below example it will clearly describe you How to c
Native apps are smartphone apps written specially for a specific device. Looking around in the market, today the largest competitors are Android and iOS. Now Android apps are written in Java, whereas iPhone apps are written in Swift or Objective-C. T
Need a help in appactivity crash issue My code is:
package wallet.ask.com.abcd;
import android.app.ProgressDialog;
import android.graphics.Color;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle
There are currently well over 2 million apps on the Apple App Store and almost 3 million on the Google Play Store. Also, 90% of the time spent on mobile devices is done on a native app.
With the massive demand for native mobile app dev
Sliders in mobile apps are a convenient and an intuitive navigation tool that helps users make quick selections or change the mobile interface by a quick gesture in a dynamically pleasant way. Manipulating the mobile phone environment by sliding is n