diff --git a/app/src/main/java/app/d3rt0xx/flyffdroid/MainActivity.java b/app/src/main/java/app/d3rt0xx/flyffdroid/MainActivity.java index 5659f9b..3988913 100644 --- a/app/src/main/java/app/d3rt0xx/flyffdroid/MainActivity.java +++ b/app/src/main/java/app/d3rt0xx/flyffdroid/MainActivity.java @@ -37,6 +37,11 @@ public class MainActivity extends AppCompatActivity { Menu optionMenu; String url = "https://universe.flyff.com/play"; + String news = "https://universe.flyff.com/news"; + String flyffipedia = "https://flyffipedia.com"; + String flyffulator = "https://flyffulator.com"; + String skillulator = "https://skillulator.com"; + String flyffdroid = "https://github.com/d3rt0xx/FlyffDroid"; @Override protected void onCreate(Bundle savedInstanceState) { @@ -218,6 +223,36 @@ public boolean onOptionsItemSelected(MenuItem item) { lockUnlockRotation(); + break; + + case R.id.news: + + mClientWebView.loadUrl(news); + + break; + + case R.id.flyffipedia: + + mClientWebView.loadUrl(flyffipedia); + + break; + + case R.id.flyffulator: + + mClientWebView.loadUrl(flyffulator); + + break; + + case R.id.skillulator: + + mClientWebView.loadUrl(skillulator); + + break; + + case R.id.flyffdroid: + + mClientWebView.loadUrl(flyffdroid); + break; } return super.onOptionsItemSelected(item); @@ -393,4 +428,4 @@ public void onConfigurationChanged(@NonNull Configuration newConfig) { } } -} \ No newline at end of file +}