Requirement: You want to make an "app", which displays a login screen, and users can log in. If the login is correct, open a new window, where users can do other staff. Then how can you do this? Ans: Step 1. Create a layout xml for the new window. In my case I have created one named newwindow.xml . The entry are as follows -- <?xml version="1.0" encoding="utf-8"?> <Gallery xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#9999FF" > </Gallery> Step 2. Create a class with extending Activity . Step 3. On that new class add -- public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.newwindow); } Here newwindow is the lay...
Network programming and scalable micro-services in Azure