Xamarin Forms, C# , WebView , Image - c#

Hello and Good afternoon, I am stuck again. I want to access Images from the mobile device and populate it on the Xamarin form.However, It is quite easy and I have been able to do along side in asset and resource folder. Since, I am new to Mobile development, I don't know how to set the path and retrieve an image from the device memory(No clue to how it works).Could you please help me with it? The sole idea is to fetch the image from device memory(or SD card).

what you are looking for exists as a plugin which is called
Media Plugin
You can find more details about it and samples here

Related

Using phone camera to scan and extract text in web app

I am making a .net web app. My attempt of taking a picture and trying to extract text from that picture has a terrible success rate. I see apps that let you scan a page into pdf. I want to use that approach using the users phone camera. I need help identifying the best free APIs that will help accomplish this.
I don't have any code yet; I don't want you to do it for me rather just help me find the resource. I'm new to this and here to learn and get educated.
The most popular open source ocr solution is Tesseract.
Here are 2 github links to Android and IOS open source solutions using Tesseract:
Android Github project
iOS Github project

Unity iOS making saved image show in photos

I have an image saved from my game at Application.persistentDataPath + #"/p.png" I am trying to make this visible in iOS, I have managed it in android using the Android wrappers in Unity C# but I have no idea where to start with iOS.
Is it possible for me to pass the path to my Image to iOS so that it will show up in the Photos app? If I need to write my own plugin does anyone have any decent documentation on how it's done?
If I need to write my own plugin does anyone have any decent
documentation on how it's done?
That seems like the only way. Make a plugin that can read and write byte array to Picture folder on the iOS. You can also use already made one from here that cost $10. This plugins works with iOS, Android and Windows Phone 8 and I recommend you got with it.
The fact is that I can't write the whole process here. You first need to know how to write and read from the photo folder. Here is a link for that.
Now you need to know how to call a C# function fro Objective-C and vice versa. Many tutorials for this.
http://twnkls.com/2016/04/11/creating-native-plugins-for-unity3d/
http://alexanderwong.me/post/29861010648/call-objective-c-from-unity-call-unity-from
https://www.quora.com/How-do-you-call-native-iOS-functions-from-Unity
https://stackoverflow.com/a/30946257/3785314

Share images/videos from Photos Hub via my WP app

I am developing a Windows Phone 8 App. I want to add my app in the list of apps that appear when you use the ShareMediaTask. It should be possible since installing Facebook automatically adds the Facebook share to this list. So how do I register my app for this?
If this is not possible, is there a way to use FileOpenPicker() for videos??
Thanks
Sorry, there is no way to register your app to display in the Share Picker for video files.
We tried to do the same, with no success, and the same goes for photos other than JPEG files, like for example PNG.
To add a quote from the article posted by #ahandersson on "Extending the share picker for Windows Phone 8":
This topic describes how your app can appear in the share picker, a page that lets the user pick an app for sharing the photo they are viewing. Note that this extensibility is only available when the photo is a JPG file.
This http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967563(v=vs.105).aspx should help you register your application to display in the Share Picker.

Windows Phone 8: how to include image in sample photos?

I am testing a PhotoChooserTask based Windows Phone 8 application in an emulator. I want to test a specific image. Is it possible to somewhere add your own images to the sample photos that the emulator provides?
To be more specific, I want to test a library for decoding JPEG 2000 images, but it is not clear to me how to access arbitrary images on Windows Phone? FileOpenPicker compiles, but it throws a NotSupportedException when the constructor is invoked. The PhotoChooserTask is currently my best bet, but so far I have not been able to figure out to access images that are not part of the sample photos. And as far as I have been able to find out, MSDN documentation also does not provide a good enough answer.
Upload the photo somewhere online, go to that URL in WP8 IE10, tap and hold and click "Save Picture". The picture should now be in your "Saved Pictures" folder which is visible in the PhotoChooserTask.
FileOpenPicker isn't currently supported on WP8. It's only useful for choosing photos from C++ code since PhotoChooserTask is a managed API and is unavailable to C++ apps. Read more about that here # http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj215901(v=vs.105).aspx

Accessing user's own images with monotouch

I'm developing an iPhone-application using monotouch. In this app, the user is supposed to get an image already stored in the phone (from the gallery) and bring the selected image into the app. I understand I have to launch a gallery browser of some sort but I haven't found any examples where this is done. Any thoughts on how I should do this?
This is a nice example: Martin Bowler's Screen Cast using UIImagePickerController

Categories