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 …