Created
August 7, 2014 07:33
-
-
Save engincancan/99e2d88da0075bfaefdd to your computer and use it in GitHub Desktop.
BrowsableActivity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ciceksepeti.ciceksepeti; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.util.Log; | |
public class BrowsableActivity extends Activity { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
Log.d("deep", "test"); | |
super.onCreate(savedInstanceState); | |
Intent intent = getIntent(); | |
if (intent == null || intent.getData() == null) { | |
finish(); | |
} | |
Intent intent2 = new Intent(this, CicekSepeti.class); | |
startActivity(intent2); | |
// Finish this activity | |
finish(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment