Blockchain

/

What is a BlockChain?   “BlockChain is Technology behind BitCoin System” The blockchain is a chain of blocks where each block contains data of value. It is cryptographically secure and immutable. Every block has there owned address or Hash key which is unique (SHA256). SHA256- SHA256 is Digital Hash key which contains 64 characters. “Blockchain …

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) …