OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Activity
(Results
726 - 750
of
2284
) sorted by null
<<
21
22
23
24
25
26
27
28
29
30
>>
/development/samples/ApiDemos/src/com/example/android/apis/app/
ActivityRecreate.java
21
import android.app.
Activity
;
27
public class ActivityRecreate extends
Activity
{
CustomTitle.java
19
import android.app.
Activity
;
52
public class CustomTitle extends
Activity
{
55
* Initialization of the
Activity
after it is first created. Must at least
56
* call {@link android.app.
Activity
#setContentView(int)} to
DialogActivity.java
23
import android.app.
Activity
;
33
* <h3>Dialog
Activity
</h3>
35
* <p>This demonstrates the how to write an
activity
that looks like
38
public class DialogActivity extends
Activity
{
40
* Initialization of the
Activity
after it is first created. Must at least
41
* call {@link android.app.
Activity
#setContentView setContentView()} to
FinishAffinity.java
21
import android.app.
Activity
;
30
public class FinishAffinity extends
Activity
{
FragmentListArray.java
21
import android.app.
Activity
;
33
public class FragmentListArray extends
Activity
{
Intents.java
21
import android.app.
Activity
;
28
public class Intents extends
Activity
{
LauncherShortcuts.java
19
import android.app.
Activity
;
28
* This
Activity
actually handles two stages of a launcher shortcut's life cycle.
31
* the user installs a shortcut, an
activity
within your application
36
* Typically this would then be handled as necessary by an
activity
within
42
* You can also implement this in an interactive way, by having your
activity
actually present
52
public class LauncherShortcuts extends
Activity
{
116
* triggers the desired action within your
Activity
.
120
// will bring us directly back to this
activity
. A more typical implementation would use a
NotificationDisplay.java
23
import android.app.
Activity
;
33
*
Activity
used by StatusBarNotification to show the notification to the user.
35
public class NotificationDisplay extends
Activity
implements View.OnClickListener {
37
* Initialization of the
Activity
after it is first created. Must at least
38
* call {@link android.app.
Activity
#setContentView setContentView()} to
73
// since the notification display
activity
is run as a separate task.
NotifyWithText.java
21
import android.app.
Activity
;
28
* When you push the button on this
Activity
, it creates a {@link Toast} object and
36
public class NotifyWithText extends
Activity
{
PersistentState.java
24
import android.app.
Activity
;
34
* wish the state to persist even after an
activity
is finished.</p>
37
* the persistent state potentially across multiple instances of the
activity
.
38
* In particular, if you allow a new instance of the
activity
to be launched
47
* by editing the two text fields, then going back from the
activity
and
51
* App/
Activity
/Save & Restore State
66
public class PersistentState extends
Activity
69
* Initialization of the
Activity
after it is first created. Here we use
70
* {@link android.app.
Activity
#setContentView setContentView()} to set up
71
* the
Activity
's content, and retrieve the EditText widget whose state w
[
all
...]
PrintBitmap.java
18
import android.app.
Activity
;
34
* This
activity
shows an image and offers a print option in the overflow
42
public class PrintBitmap extends
Activity
{
PrintHtmlFromScreen.java
19
import android.app.
Activity
;
34
* This
activity
shows a simple HTML content in a {@link WebView}
42
public class PrintHtmlFromScreen extends
Activity
{
ReceiveResult.java
23
import android.app.
Activity
;
33
* Shows how an
activity
can send data to its launching
activity
when done.y.
35
pick an e-mail address or image -- the picking
activity
sends the selected
36
data back to the originating
activity
when done.</p>
39
the picking
activity
and receives its results; SendResult allows the user
42
{@link android.app.
Activity
#setResult setResult()} method for sending a
44
{@link android.app.
Activity
#onActivityResult onActivityResult()} to
48
App/
Activity
/Receive Result
54
<td class="DescrColumn">Launches pick
activity
and receives its result</td
[
all
...]
RedirectGetter.java
21
import android.app.
Activity
;
30
* Sub-
activity
that is executed by the redirection example when input is needed
33
public class RedirectGetter extends
Activity
SendResult.java
23
import android.app.
Activity
;
32
* Example of receiving a result from another
activity
.
34
public class SendResult extends
Activity
37
* Initialization of the
Activity
after it is first created. Must at least
38
* call {@link android.app.
Activity
#setContentView setContentView()} to
64
//
activity
is finished.
75
//
activity
is finished.
SoftInputModes.java
5
import android.app.
Activity
;
21
public class SoftInputModes extends
Activity
{
34
* Initialization of the
Activity
after it is first created. Here we use
35
* {@link android.app.
Activity
#setContentView setContentView()} to set up
36
* the
Activity
's content, and retrieve the EditText widget whose state we
TextToSpeechActivity.java
19
import android.app.
Activity
;
37
* The
activity
implements TextToSpeech.OnInitListener for this purpose.</li>
47
public class TextToSpeechActivity extends
Activity
implements TextToSpeech.OnInitListener {
/development/samples/ApiDemos/src/com/example/android/apis/content/
ResourcesSample.java
23
import android.app.
Activity
;
35
* the Context class (an
Activity
is a Context) has a getString convenience
41
public class ResourcesSample extends
Activity
{
70
// You might need to do this if your code is not in an
activity
.
72
// In this case it's just 'this' since
Activity
is a context.
/development/samples/ApiDemos/src/com/example/android/apis/media/
MediaPlayerDemo_Audio.java
19
import android.app.
Activity
;
28
public class MediaPlayerDemo_Audio extends
Activity
{
64
"Please edit MediaPlayer_Audio
Activity
, "
/development/samples/ApiDemos/src/com/example/android/apis/text/
Link.java
21
import android.app.
Activity
;
32
public class Link extends
Activity
{
/development/samples/ApiDemos/src/com/example/android/apis/view/
DateWidgets2.java
21
import android.app.
Activity
;
26
public class DateWidgets2 extends
Activity
{
DragAndDropDemo.java
21
import android.app.
Activity
;
27
public class DragAndDropDemo extends
Activity
{
Gallery2.java
19
import android.app.
Activity
;
31
public class Gallery2 extends
Activity
{
InternalSelectionFocus.java
19
import android.app.
Activity
;
32
* This
Activity
excercises that behavior using three adjacent {@link InternalSelectionView}
40
public class InternalSelectionFocus extends
Activity
{
ProgressBar3.java
21
import android.app.
Activity
;
29
* Demonstrates the use of progress dialogs. Uses {@link
Activity
#onCreateDialog}
30
* and {@link
Activity
#showDialog} to ensure the dialogs will be properly saved
33
public class ProgressBar3 extends
Activity
{
Completed in 242 milliseconds
<<
21
22
23
24
25
26
27
28
29
30
>>