Android is the mobile operating system developed by Google. Essentially,
Google produces the software that runs almost every other mobile phone
besides Apple’s iPhone. There are also some popular Android tablets as
well. Android is a Linux-based
software system, and similar to Linux, is free and open source
software. This means that other companies can use the Android operating
system developed by Google and use it in their mobile devices (more on
that later). The distinguishing factor of this brand is a kernel.
Android hosts a central core, which essentially is a strip code that
helps the software operate.
Android development is the great mobile developing language this time for those person who will be interested for software development.
1) Android Splash Screen Code
1)first you Start a new project
-------------------------------------------------MainActivity.java------------------------------------------------
-------------------------------------------------main_activity.xml--------------------------------------------------
Android development is the great mobile developing language this time for those person who will be interested for software development.
1) Android Splash Screen Code
1)first you Start a new project
-------------------------------------------------MainActivity.java------------------------------------------------
package com.dollop.bankapp.activity; import android.os.Bundle; import android.os.Handler; import com.dollop.bankapp.R; import com.dollop.bankapp.shirsh.S; /** * Created by shirsh on 5/17/2017. */ public class SplashActivity extends BaseActivity { @Override protected int getContentResId() { return R.layout.main_activity; } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); new Handler().postDelayed(new Runnable() { @Override public void run() { S.I(SplashActivity.this, StartUpPageActivity.class, null); finish(); } }, 2000); } }
-------------------------------------------------main_activity.xml--------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"> <LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"> <TextView
android:layout_width="match_parent"
android:layout_height="wrap_parent"
android:gravity="center" android:text="Hello"/> </LinearLayout> </RelativeLayout>