|
static final String | TAG = "ShortcutsActivity" |
|
Definition at line 34 of file ShortcutsActivity.java.
◆ onCreate()
void com.freerdp.freerdpcore.presentation.ShortcutsActivity.onCreate |
( |
Bundle |
savedInstanceState | ) |
|
|
inline |
Definition at line 39 of file ShortcutsActivity.java.
40 {
41
42 super.onCreate(savedInstanceState);
43
44 Intent intent = getIntent();
45 if (Intent.ACTION_CREATE_SHORTCUT.equals(intent.getAction()))
46 {
47
48 getListView().setOnItemClickListener(new AdapterView.OnItemClickListener() {
49 public void onItemClick(AdapterView<?> parent, View view, int position, long id)
50 {
51 String refStr = view.getTag().toString();
52 String defLabel =
53 ((TextView)(view.findViewById(R.id.bookmark_text1))).getText().toString();
54 setupShortcut(refStr, defLabel);
55 }
56 });
57 }
58 else
59 {
60
61 finish();
62 }
63 }
◆ onPause()
void com.freerdp.freerdpcore.presentation.ShortcutsActivity.onPause |
( |
| ) |
|
|
inline |
◆ onResume()
void com.freerdp.freerdpcore.presentation.ShortcutsActivity.onResume |
( |
| ) |
|
|
inline |
Definition at line 65 of file ShortcutsActivity.java.
66 {
67 super.onResume();
68
69 ArrayList<BookmarkBase> bookmarks = GlobalApp.getManualBookmarkGateway().findAll();
70 BookmarkArrayAdapter bookmarkAdapter =
71 new BookmarkArrayAdapter(this, android.R.layout.simple_list_item_2, bookmarks);
72 getListView().setAdapter(bookmarkAdapter);
73 }
◆ TAG
final String com.freerdp.freerdpcore.presentation.ShortcutsActivity.TAG = "ShortcutsActivity" |
|
static |
The documentation for this class was generated from the following file: