Click here to Skip to main content
15,505,828 members
Home / Discussions / Mobile
   

Mobile

 
SuggestionThe suggestions for how to extend the Xamarin native apps to support Carplay and Android Auto Pin
Kevin Hu6-Jul-19 22:52
Kevin Hu6-Jul-19 22:52 
QuestionWhat are best app development tool to develop an uber-like app? Pin
Digital Harry4-Jun-19 5:25
professionalDigital Harry4-Jun-19 5:25 
AnswerRe: What are best app development tool to develop an uber-like app? Pin
Dave Kreskowiak5-Jun-19 6:22
mveDave Kreskowiak5-Jun-19 6:22 
GeneralRe: What are best app development tool to develop an uber-like app? Pin
Richard Deeming5-Jun-19 13:28
mveRichard Deeming5-Jun-19 13:28 
GeneralRe: What are best app development tool to develop an uber-like app? Pin
Mycroft Holmes5-Jun-19 13:58
professionalMycroft Holmes5-Jun-19 13:58 
AnswerRe: What are best app development tool to develop an uber-like app? Pin
emilysmithe12-Jun-19 0:00
professionalemilysmithe12-Jun-19 0:00 
AnswerRe: What are best app development tool to develop an uber-like app? Pin
HasanRaza9011-Sep-19 3:32
HasanRaza9011-Sep-19 3:32 
QuestionAfter photo gallery browsing it goes back to the first page Pin
Vimalsoft(Pty) Ltd30-May-19 12:10
professionalVimalsoft(Pty) Ltd30-May-19 12:10 
Good Day

in my Xamarin page i have a button that browse the gallery to allow a user to bind it to an image editor , after selecting the image , the page refreshes to the first page that led to this current page. i would like to make it keep it in the current page after image selection . below is the code on my button
async private void Btnupload_Clicked(object sender, EventArgs e)
        {
            GenericMethods.IS_IMAGE_SELECTON = true;
                if (!CrossMedia.Current.IsPickPhotoSupported)
                {
                    await DisplayAlert("Photos Not Supported", ":( Permission not granted to photos.", "OK");
                    return;
                }
                var file = await CrossMedia.Current.PickPhotoAsync(new Plugin.Media.Abstractions.PickMediaOptions
                {
                    PhotoSize = Plugin.Media.Abstractions.PhotoSize.Medium
                });

                if (file == null)
                    return;

                filePath = file.Path;
                paths.Enqueue(filePath);

                //Linux path 
                readytosave = GenericMethods.StreamToByteArray(file.GetStream());

                Uri uri = new Uri(file.Path);
                filename = string.Empty;
                if (uri.IsFile)
                {
                    filename = System.IO.Path.GetFileName(uri.LocalPath);
                }
                var extension = filename.Split('.')[1].ToLower();

                file_extension = extension;

                 imageEditor.Source = ImageSource.FromStream(() =>
                {
                    var stream = file.GetStream();
                    return stream;
                });
            imagepopup.IsOpen = true;
        }

Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com

Questionmessage receiver Pin
Member 1415304828-Apr-19 0:29
Member 1415304828-Apr-19 0:29 
AnswerRe: message receiver Pin
Richard Deeming1-May-19 9:38
mveRichard Deeming1-May-19 9:38 
QuestionHow to add emoji png's to an Entry control or Custom Entry Control Pin
Vimalsoft(Pty) Ltd23-Apr-19 2:56
professionalVimalsoft(Pty) Ltd23-Apr-19 2:56 
AnswerRe: How to add emoji png's to an Entry control or Custom Entry Control Pin
David Crow23-Apr-19 6:21
David Crow23-Apr-19 6:21 
GeneralRe: How to add emoji png's to an Entry control or Custom Entry Control Pin
Vimalsoft(Pty) Ltd23-Apr-19 23:47
professionalVimalsoft(Pty) Ltd23-Apr-19 23:47 
QuestionAVD showing only “Android” in emulator Pin
Member 1357490017-Mar-19 0:52
Member 1357490017-Mar-19 0:52 
QuestionRe: AVD showing only “Android” in emulator Pin
David Crow27-Mar-19 11:58
David Crow27-Mar-19 11:58 
QuestionUSB Cable Between PC And Android Pin
C-P-User-38-Mar-19 6:30
C-P-User-38-Mar-19 6:30 
SuggestionRe: USB Cable Between PC And Android Pin
David Crow8-Mar-19 10:40
David Crow8-Mar-19 10:40 
GeneralRe: USB Cable Between PC And Android Pin
C-P-User-310-Mar-19 5:20
C-P-User-310-Mar-19 5:20 
AnswerRe: USB Cable Between PC And Android Pin
Richard Deeming8-Mar-19 10:43
mveRichard Deeming8-Mar-19 10:43 
QuestionXamarin forms and SQLIte database Pin
Mycroft Holmes25-Feb-19 20:37
professionalMycroft Holmes25-Feb-19 20:37 
SuggestionRe: Xamarin forms and SQLIte database Pin
David Crow26-Feb-19 5:15
David Crow26-Feb-19 5:15 
GeneralRe: Xamarin forms and SQLIte database Pin
Mycroft Holmes26-Feb-19 13:24
professionalMycroft Holmes26-Feb-19 13:24 
QuestionCross Platform Xamarin MVVM ListView binding to ViewModel List not working Pin
Stephen Holdorf19-Feb-19 3:46
Stephen Holdorf19-Feb-19 3:46 
AnswerRe: Cross Platform Xamarin MVVM ListView binding to ViewModel List not working Pin
Mycroft Holmes19-Feb-19 12:11
professionalMycroft Holmes19-Feb-19 12:11 
GeneralRe: Cross Platform Xamarin MVVM ListView binding to ViewModel List not working Pin
Stephen Holdorf20-Feb-19 5:48
Stephen Holdorf20-Feb-19 5:48 

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.