OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:shareactionprovider
(Results
1 - 25
of
79
) sorted by null
1
2
3
4
/development/samples/browseable/ShareActionProvider/
_index.jd
4
page.tags="
ShareActionProvider
"
9
context-sensitive {@link android.support.v7.widget.
ShareActionProvider
} that is
AndroidManifest.xml
19
package="com.example.android.actionbarcompat.
shareactionprovider
"
48
android:authorities="com.example.android.actionbarcompat.
shareactionprovider
"
/frameworks/support/v4/ics/android/support/v4/app/
ShareCompatICS.java
23
import android.widget.
ShareActionProvider
;
30
ShareActionProvider
provider = null;
31
if (!(itemProvider instanceof
ShareActionProvider
)) {
32
provider = new
ShareActionProvider
(callingActivity);
34
provider = (
ShareActionProvider
) itemProvider;
/development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarShareActionProviderActivity.java
26
import android.widget.
ShareActionProvider
;
38
* a menu item with
ShareActionProvider
as its action provider. The
39
*
ShareActionProvider
is responsible for managing the UI for sharing actions.
58
ShareActionProvider
actionProvider = (
ShareActionProvider
) actionItem.getActionProvider();
59
actionProvider.setShareHistoryFileName(
ShareActionProvider
.DEFAULT_SHARE_HISTORY_FILE_NAME);
66
ShareActionProvider
overflowProvider =
67
(
ShareActionProvider
) overflowItem.getActionProvider();
69
ShareActionProvider
.DEFAULT_SHARE_HISTORY_FILE_NAME);
/frameworks/base/docs/html/training/sharing/
shareaction.jd
35
android.widget.
ShareActionProvider
}, you provide a share intent and it does the rest.</p>
37
<p class="note"><strong>Note: </strong> {@link android.widget.
ShareActionProvider
} is available
44
<strong>Figure 1.</strong> The {@link android.widget.
ShareActionProvider
} in the Gallery app.
51
To get started with {@link android.widget.
ShareActionProvider
ShareActionProviders},
63
"android.widget.
ShareActionProvider
"</b> />
70
{@link android.widget.
ShareActionProvider
}. However, you will need to tell the provider what you
78
In order for {@link android.widget.
ShareActionProvider
} to function, you must provide it a share
87
{@link android.widget.
ShareActionProvider
}. Use
88
{@link android.widget.
ShareActionProvider
#setShareIntent(android.content.Intent)
94
private
ShareActionProvider
mShareActionProvider
[
all
...]
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/res/values/
base-strings.xml
21
<string name="app_name">ActionBarCompat-
ShareActionProvider
</string>
26
This sample shows you how a provide a context-sensitive
ShareActionProvider
with
/development/samples/browseable/ShareActionProvider/res/values/
base-strings.xml
21
<string name="app_name">
ShareActionProvider
</string>
26
This sample shows you how a provide a context-sensitive
ShareActionProvider
with
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/
template-params.xml
18
<name>ActionBarCompat-
ShareActionProvider
</name>
20
<package>com.example.android.actionbarcompat.
shareactionprovider
</package>
30
This sample shows you how a provide a context-sensitive
ShareActionProvider
with
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/java/com/example/android/actionbarcompat/shareactionprovider/
MainActivity.java
17
package com.example.android.actionbarcompat.
shareactionprovider
;
25
import android.support.v7.widget.
ShareActionProvider
;
34
import com.example.android.actionbarcompat.
shareactionprovider
.content.ContentItem;
39
* This sample shows you how a provide a {@link
ShareActionProvider
} with ActionBarCompat,
43
* text. When a new item is selected in the ViewPager, the
ShareActionProvider
is updated with
54
// Keep reference to the
ShareActionProvider
from the menu
55
private
ShareActionProvider
mShareActionProvider;
83
// Now get the
ShareActionProvider
from the item
84
mShareActionProvider = (
ShareActionProvider
) MenuItemCompat.getActionProvider(shareItem);
155
* A OnPageChangeListener used to update the
ShareActionProvider
's share intent when a new ite
[
all
...]
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/java/com/example/android/actionbarcompat/shareactionprovider/
MainActivity.java
17
package com.example.android.actionbarcompat.
shareactionprovider
;
25
import android.support.v7.widget.
ShareActionProvider
;
34
import com.example.android.actionbarcompat.
shareactionprovider
.content.ContentItem;
39
* This sample shows you how a provide a {@link
ShareActionProvider
} with ActionBarCompat,
43
* text. When a new item is selected in the ViewPager, the
ShareActionProvider
is updated with
54
// Keep reference to the
ShareActionProvider
from the menu
55
private
ShareActionProvider
mShareActionProvider;
83
// Now get the
ShareActionProvider
from the item
84
mShareActionProvider = (
ShareActionProvider
) MenuItemCompat.getActionProvider(shareItem);
155
* A OnPageChangeListener used to update the
ShareActionProvider
's share intent when a new ite
[
all
...]
/development/samples/browseable/ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/
MainActivity.java
17
package com.example.android.actionbarcompat.
shareactionprovider
;
25
import android.support.v7.widget.
ShareActionProvider
;
34
import com.example.android.actionbarcompat.
shareactionprovider
.content.ContentItem;
39
* This sample shows you how a provide a {@link
ShareActionProvider
} with ActionBarCompat,
43
* text. When a new item is selected in the ViewPager, the
ShareActionProvider
is updated with
54
// Keep reference to the
ShareActionProvider
from the menu
55
private
ShareActionProvider
mShareActionProvider;
83
// Now get the
ShareActionProvider
from the item
84
mShareActionProvider = (
ShareActionProvider
) MenuItemCompat.getActionProvider(shareItem);
155
* A OnPageChangeListener used to update the
ShareActionProvider
's share intent when a new ite
[
all
...]
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/res/menu/
main_menu.xml
29
To use
ShareActionProvider
provided by ActionBarCompat, we reference the class by set the
30
support:actionProviderClass attribute with the full class name of
ShareActionProvider
.
35
support:actionProviderClass="android.support.v7.widget.
ShareActionProvider
"
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/tests/
AndroidManifest.xml
19
package="com.example.android.actionbarcompat.
shareactionprovider
.tests"
39
android:targetPackage="com.example.android.actionbarcompat.
shareactionprovider
"
40
android:label="Tests for com.example.android.actionbarcompat.
shareactionprovider
" />
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/res/menu/
main_menu.xml
29
To use
ShareActionProvider
provided by ActionBarCompat, we reference the class by set the
30
support:actionProviderClass attribute with the full class name of
ShareActionProvider
.
35
support:actionProviderClass="android.support.v7.widget.
ShareActionProvider
"
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/tests/
AndroidManifest.xml
19
package="com.example.android.actionbarcompat.
shareactionprovider
.tests"
39
android:targetPackage="com.example.android.actionbarcompat.
shareactionprovider
"
40
android:label="Tests for com.example.android.actionbarcompat.
shareactionprovider
" />
/development/samples/browseable/ShareActionProvider/res/menu/
main_menu.xml
29
To use
ShareActionProvider
provided by ActionBarCompat, we reference the class by set the
30
support:actionProviderClass attribute with the full class name of
ShareActionProvider
.
35
support:actionProviderClass="android.support.v7.widget.
ShareActionProvider
"
/development/samples/ApiDemos/res/menu/
action_bar_share_action_provider.xml
21
android:actionProviderClass="android.widget.
ShareActionProvider
" />
26
android:actionProviderClass="android.widget.
ShareActionProvider
" />
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/tests/src/com/example/android/actionbarcompat/shareactionprovider/tests/
SampleTests.java
34
package com.example.android.actionbarcompat.
shareactionprovider
.tests;
36
import com.example.android.actionbarcompat.
shareactionprovider
.*;
41
* Tests for
ShareActionProvider
sample.
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/tests/src/com/example/android/actionbarcompat/shareactionprovider/tests/
SampleTests.java
34
package com.example.android.actionbarcompat.
shareactionprovider
.tests;
36
import com.example.android.actionbarcompat.
shareactionprovider
.*;
41
* Tests for
ShareActionProvider
sample.
/development/samples/ApiDemos/src/com/example/android/apis/view/
WindowFocusObserver.java
29
import android.widget.
ShareActionProvider
;
67
ShareActionProvider
actionProvider = (
ShareActionProvider
) actionItem.getActionProvider();
68
actionProvider.setShareHistoryFileName(
ShareActionProvider
.DEFAULT_SHARE_HISTORY_FILE_NAME);
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/
AndroidManifest.xml
19
package="com.example.android.actionbarcompat.
shareactionprovider
"
48
android:authorities="com.example.android.actionbarcompat.
shareactionprovider
"
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/
AndroidManifest.xml
19
package="com.example.android.actionbarcompat.
shareactionprovider
"
48
android:authorities="com.example.android.actionbarcompat.
shareactionprovider
"
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
AssetProvider.java
17
package com.example.android.actionbarcompat.
shareactionprovider
.content;
36
public static String CONTENT_URI = "com.example.android.actionbarcompat.
shareactionprovider
";
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
AssetProvider.java
17
package com.example.android.actionbarcompat.
shareactionprovider
.content;
36
public static String CONTENT_URI = "com.example.android.actionbarcompat.
shareactionprovider
";
/development/samples/browseable/ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
AssetProvider.java
17
package com.example.android.actionbarcompat.
shareactionprovider
.content;
36
public static String CONTENT_URI = "com.example.android.actionbarcompat.
shareactionprovider
";
Completed in 1325 milliseconds
1
2
3
4