Free Online Whiteboard Base64 Converter JSON Utility SmartTool PDF

Category: Javaskool Category

What are Extension interfaces? 0

What are Extension interfaces?

When the built-in functionalities provided by hibernate is not sufficient enough, it provides a way so that user can include other interfaces and implement those interfaces for user desire functionality. These interfaces are called...

What are Callback interfaces? 0

What are Callback interfaces?

These interfaces are used in the application to receive a notification when some object events occur. Like when an object is loaded, saved or deleted. There is no need to implement callbacks in hibernate...

Java 10 Features 0

Java 10 Features

Java SE 10 Download JDK 10 Java 10 will use the new versioning convention set out by Oracle this will see the version numbers following a YY.M format. So far the versions announced using...

Java 9 Features 0

Java 9 Features

Java SE 9 Download JDK 9 The first stable release of Java 9 was on September 21, 2017 Java 9 include below features Better support for multi-gigabyte heaps better native code integration Different default...

Android Hello World 0

Android Hello World

Android Hello World Example Top Android Hello World Example Android Hello World Android Programs… main.xml <?xml version=”1.0″ encoding=”utf-8″?> < LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”wrap_content” android:layout_height=”fill_parent” android:orientation=”vertical” > <TextView android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:text=”@string/hello” /> <Button android:id=”@+id/button1″ android:layout_width=”318dp” android:layout_height=”wrap_content”...

How to start an Activity on MenuItem click? 0

How to start an Activity on MenuItem click?

You need to have to override onOptionsItemSelected method in your Activity, which is called when user clicks on the item in Options menu. @Override public boolean onOptionsItemSelected(MenuItem menuitem) { switch(menuitem.getItemId()) { case R.id.menu_item1: Intent...

How to start an Activity on button click? 0

How to start an Activity on button click?

Please try as below Intent myIntent1 = new Intent(CurrentActivity.this, NextActivity.class); myIntent1.putExtra(“key”, value); //Optional parameters CurrentActivity.this.startActivity(myIntent1); Extras are retrieved on the other side via: @Override protected void onCreate(Bundle savedInstanceState1) { Intent intent = getIntent(); String...