android: How can I implement first time tutorial like Go Launcher in my app?
I was trying to do something similar using a transparent activity with a viewpager inside it. I wanted static 'tutorial' images that users could swipe through.
One of the answers to my question mentioned an interesting library (called ShowcaseView). It seems like it may be a good fit for your requirements as well.
https://github.com/Espiandev/ShowcaseView
How to implement first launch tutorial like Android Lollipop apps: Like Sheets, Slides app?
There is a pretty good library for emulating these first run tutorials:
https://github.com/PaoloRotolo/AppIntro
Click for larger image
Determine if Android app is being used for the first time
Another idea is to use a setting in the Shared Preferences. Same general idea as checking for an empty file, but then you don't have an empty file floating around, not being used to store anything
How to Skip the first activity under a condition
You can do that by launching an empty activity
(with no UI) and in its OnCreate
method depending on some variable information (You can use SharedPreferences
perhaps for that purpose) you can decide which Activity
to start (Login or Home Screen app).
PS:
Btw if the login always leads to the same activity (Home Screen and is not used to login somewhere else) you don't even need the empty activity, you can check this in the Oncreate
method of the login activity
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
if (logged_in_check_is_true)
{
Intent intent = new Intent(this, HomeScreenActivity.class);
this.startActivity (intent);
this.finishActivity (0);
}
...
how to implement a deep integrated APP in android, just like facebook launcher
For the app which you will be able to download from April 12th onwards, Facebook has simply made another Launcher. You can see the SDK sample that comes with the Android SDK to see how that works.
On devices that Facebook has developed in partnership with the manufacturers (only HTC First as of now), the launcher is integrated more deeply into the System than the downloadable app, as it has ROM modifications there as well. Facebook Home on the HTC First will be more feature rich than the downloadable Facebook Home.
Android: How to create a launcher
If I understand what you need correctly, you could just create a simple app with just 1 activity and stick this in the onCreate:
Intent viewIntent = new Intent("android.intent.action.VIEW", Uri.parse("http://www.yourwebsite.com"));
startActivity(viewIntent);
And here are some resources on creating a simple app:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/HelloWorld.html
And here is some info on how you can set your app icon:
http://www.connorgarvey.com/blog/?p=97
Related Topics
Google Maps API V2 Class Not Found
How to Know the Calling Activity in Android
Android: Listview.Getscrolly() - Does It Work
What Does Fragmentmanager and Fragmenttransaction Exactly Do
App Crashes on Startup Due to Java.Lang.Illegalargumentexception: Column '_Id' Does Not Exist
Sqlitedatabase Close() Function Causing Nullpointerexception When Multiple Threads
Android.App.Application Cannot Be Instantiated Due to Nullpointerexception
How to Perform Minification and Obfuscation with the Jack Compiler
Android Stock Browser Not Respecting CSS Overflow
Change Order of Views in Linear Layout Android
How to Add a Bullet Symbol in Textview
Find the Physical Address of Exception Vector Table from Kernel Module
Android Browser Ignores Responsive Web Design
Broadcast Receiver for Missed Call in Android
CSS Reference to Phone's Emoji Font
Using Android Studio with Vuforia
What Are The Default Color Values for The Holo Theme on Android 4.0