How to perform optimized bulk insert in Android database without writing SQLite code using the ActiveAndroid library? How to display all the values from this database using select operation from one or more tables with this library? How to design a dynamic UI that builds Views programmatically to let the user perform a bulk insert? How to save orientation of a dynamically generated View? How to use TAGS to load data from programmatically created views in Android and how to use IDs to save data on orientation change?
How to create multiple tables in Android without writing SQLite code using ActiveAndroid library with foreign key relationships between them? How to save database in multiple tables without writing SQLite code? How to display the values from one or more tables of our database without writing SQLite code?
How to write database code in Android without SQLite using ActiveAndroid library? How to download and install this library? What configuration changes need to be done inside the AndroidManifest.xml to use this library? How to use simple POJO classes in Java to make database columns and tables with the @Table and @Column annotations. How to save data to database using ActiveAndroid library? How to display all the data from one or more tables?
What is a resource in Android? A resource in Android is a file (like a sound file or a file that describes the layout for a window) or a value (like the title of a dialog box) that is bound to an executable application. These files and values are bound to the executable in such a way that you can change them or …
How to make custom buttons in Android using XML? What is a ShapeDrawable in Android? How to add gradient, background color, text-color padding, stroke, corner radius to a Button in Android? How to create Buttons with rounded corners in Android? How to use the XML tags
When you start your app, onCreate(), onStart(), onResume() gets called where onCreate() can be used like a constructor. When you move to some other app and your screen is partially blocked, onPause() is called, if your screen is fully obscured, onStop() is called. When you come back to your app from another app, onRestart(), onStart(), onResume() is called. When you press back button inside your app, onDestroy() gets called and your Activity is destroyed. Use the Activity lifecycle wisely and you’ll making amazing apps.
How to customize the soft-keyboard in Android? How to allow the user to enter different types of values? How to use android:imeOptions and inputType? What are the different inputTypes supported by Android? How to perform input validation of data entered by the user? How to get events from Buttons inside the keyboard? How to programmatically close the keyboard?
Let’s get to see how Java works
public class HelloWorld
public static void main(String args)
System.out.println("Hello From Slidenerd and Vivz. Welcome to the best place for learning Java.");
- Page 2 of 2