Guest User

Untitled

a guest
Sep 10th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. package com.vesicant.ActivityTest;
  2.  
  3. import android.annotation.SuppressLint;
  4. import android.app.Activity;
  5. import android.content.Intent;
  6. import android.os.Build;
  7. import android.os.Bundle;
  8.  
  9.  
  10. /**
  11. * Created with IntelliJ IDEA.
  12. * User: vesicant
  13. * Date: 13/03/13
  14. * Time: 15:22
  15. * To change this template use File | Settings | File Templates.
  16. */
  17. public class DisplayMessageActivity extends Activity {
  18.  
  19. @SuppressLint("NewApi")
  20. @Override
  21. protected void onCreate(Bundle savedInstanceState) {
  22. super.onCreate(savedInstanceState);
  23.  
  24. if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
  25. getActionBar().setDisplayHomeAsUpEnabled(true);
  26. }
  27.  
  28. Intent intent = getIntent();
  29. //String userName = intent.getStringExtra(Main.USER_NAME);
  30. //String userPass = intent.getStringExtra(Main.USER_PASS);
  31.  
  32. String restResult = null;
  33. }
  34. }
Add Comment
Please, Sign In to add comment