Click here to Skip to main content
15,884,472 members
Home / Discussions / Android
   

Android

 
GeneralRe: How to resize layouts by swiping up and down Pin
jasonalien1-Jun-16 22:19
jasonalien1-Jun-16 22:19 
QuestionRe: How to resize layouts by swiping up and down Pin
David Crow2-Jun-16 4:28
David Crow2-Jun-16 4:28 
QuestionOnkeyDown Event in Xamarin Forms Pin
Srinivas Soodula31-May-16 2:06
Srinivas Soodula31-May-16 2:06 
QuestionGet error when passing data using Intent Pin
tan87325-May-16 21:15
tan87325-May-16 21:15 
SuggestionRe: Get error when passing data using Intent Pin
Richard Deeming26-May-16 2:08
mveRichard Deeming26-May-16 2:08 
QuestionRe: Get error when passing data using Intent Pin
David Crow26-May-16 4:29
David Crow26-May-16 4:29 
QuestionSharing...not sure what it is called Pin
Mike885522-Apr-16 5:11
Mike885522-Apr-16 5:11 
AnswerRe: Sharing...not sure what it is called Pin
David Crow22-Apr-16 18:20
David Crow22-Apr-16 18:20 
Mike8855 wrote:

The only piece I'm missing is how do you get your app on the share to list?
Modify your app's AndroidManifest.xml file. Check out the android:mimeType category. For example, I have an app that handles .txt files. For that activity in the AndroidManifest.xml file, I have this:
<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:mimeType="text/plain" />
</intent-filter>
Now anytime a text file is selected, either through some sort of file manager (e.g., Astro), or opened as an email attachment, my app shows up in the list of apps that can handle that file type.

Mike8855 wrote:
Can you pick and choose what apps can share to your app? Thanks!
No, you let the Android framework know what file types your app can handle (e.g., text files, jpeg images, URLs).

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles



modified 24-Apr-16 22:16pm.

GeneralRe: Sharing...not sure what it is called Pin
Mike885523-Apr-16 19:22
Mike885523-Apr-16 19:22 
GeneralRe: Sharing...not sure what it is called Pin
Mike885523-Apr-16 22:21
Mike885523-Apr-16 22:21 
SuggestionRe: Sharing...not sure what it is called Pin
David Crow24-Apr-16 16:19
David Crow24-Apr-16 16:19 
GeneralRe: Sharing...not sure what it is called Pin
Mike885524-Apr-16 17:51
Mike885524-Apr-16 17:51 
QuestionRegarding android app Pin
Member 1247467320-Apr-16 18:32
Member 1247467320-Apr-16 18:32 
AnswerRe: Regarding android app Pin
Richard MacCutchan20-Apr-16 21:18
mveRichard MacCutchan20-Apr-16 21:18 
AnswerRe: Regarding android app Pin
David Crow21-Apr-16 3:43
David Crow21-Apr-16 3:43 
AnswerRe: Regarding android app Pin
bee__bee22-Apr-16 0:29
bee__bee22-Apr-16 0:29 
QuestionWhy "shell uiautomator dump /sdcard/dump.xml" can't excute on my android app? Pin
Member 1247457620-Apr-16 17:57
Member 1247457620-Apr-16 17:57 
QuestionRe: Why "shell uiautomator dump /sdcard/dump.xml" can't excute on my android app? Pin
Richard MacCutchan20-Apr-16 21:16
mveRichard MacCutchan20-Apr-16 21:16 
AnswerRe: Why "shell uiautomator dump /sdcard/dump.xml" can't excute on my android app? Pin
Member 1247457620-Apr-16 22:22
Member 1247457620-Apr-16 22:22 
GeneralRe: Why "shell uiautomator dump /sdcard/dump.xml" can't excute on my android app? Pin
Richard MacCutchan20-Apr-16 22:33
mveRichard MacCutchan20-Apr-16 22:33 
GeneralRe: Why "shell uiautomator dump /sdcard/dump.xml" can't excute on my android app? Pin
luisvaldez27-Jan-17 2:19
luisvaldez27-Jan-17 2:19 
GeneralRe: Why "shell uiautomator dump /sdcard/dump.xml" can't excute on my android app? Pin
Richard MacCutchan27-Jan-17 3:42
mveRichard MacCutchan27-Jan-17 3:42 
GeneralRe: Why "shell uiautomator dump /sdcard/dump.xml" can't excute on my android app? Pin
luisvaldez27-Jan-17 4:58
luisvaldez27-Jan-17 4:58 
GeneralRe: Why "shell uiautomator dump /sdcard/dump.xml" can't excute on my android app? Pin
Richard MacCutchan27-Jan-17 5:04
mveRichard MacCutchan27-Jan-17 5:04 
GeneralRe: Why "shell uiautomator dump /sdcard/dump.xml" can't excute on my android app? Pin
luisvaldez27-Jan-17 5:17
luisvaldez27-Jan-17 5:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.