TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jagatpal Singh
NA
378
112.6k
How to send image bytes to web api
Nov 14 2019 10:04 AM
Hello Team,
How i can send/post captured image from android device to web api? Below is the code where i am getting image file with path:-
var file = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
{
SaveToAlbum = true,
CompressionQuality = 75,
CustomPhotoSize = 50,
PhotoSize = PhotoSize.MaxWidthHeight,
MaxWidthHeight = 2000,
DefaultCamera = CameraDevice.Front
});
string imagePath=file.Path;
Please suggest?
Reply
Answers (
1
)
Scan & Print Xamarin.Forms
Display data getting from webapi in list view of xamarin