Xamarin Android Tutorial - Take picture with Camera

Xamarin Android Tutorial - Take picture with Camera

EDMT Dev

8 лет назад

36,788 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@shubhamsahuSD
@shubhamsahuSD - 24.08.2016 19:42

Hey,i want help for UWP app , i have a button on my app from which i want when i click on button it automatically open a xyz.xlsx from my app assets folder

Ответить
@babisotonggg
@babisotonggg - 29.08.2016 10:27

How to save the picture that we take into phone gallery or any folder inside? i use your code sadly the image is not saved into memory..(i know because you didn't put save function inside the code but can you show me how to save the picture we took into gallery?"sorry for poor english, not my first language")

Ответить
@muhammadawais2294
@muhammadawais2294 - 14.04.2017 21:56

good work EDMT Dev ,i am following your channel for some time can you make a tutorial continuing this one.....i just need to upload that photo when we access camera like whatsapp i need just one button to upload that image...

Ответить
@balumbung7454
@balumbung7454 - 19.04.2017 12:17

how if every take picture will add imageview??.. so more than one imageview.. sorry my bad english.. please help me.. thx :)

Ответить
@xxxcartoonloverxxx
@xxxcartoonloverxxx - 28.05.2017 11:28

I am new to xamarin.
Can you explain why do have a reference of android.support.v7.app and how can we use it? i am unable to do so :(
Thank you for the tutorial.

Ответить
@NoPr0gress
@NoPr0gress - 02.06.2017 20:51

спс

Ответить
@ASVPFlacko
@ASVPFlacko - 19.08.2017 17:16

When I capture the image and press ok the image does not display and the app breaks? The line that is causing the app to break is imvCamera.SetImageBitmap(bitmap);
The error I am getting is System.NullReferenceException

Ответить
@archanasoyjaudah6184
@archanasoyjaudah6184 - 14.09.2017 15:00

Hi! Can you please help me? When I click on the 'OK' button to display the image in the image view, the app breaks. And this error appears:

System.NullReferenceException: <Timeout exceeded getting exception details>
Also, I'm trying to install the Xamarin.Android.Support.v7.AppCompat but I'm getting this error:
Could not install package 'Xamarin.Android.Support.v7.AppCompat 25.4.0.2'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v5.1', but the package does not contain any assembly references or content files that are compatible with that framework.
I've tried to change the Target Framework & Target Android version. But the same error keeps occuring.

Ответить
@archanasoyjaudah6184
@archanasoyjaudah6184 - 18.09.2017 21:29

Hi, if possible, can you please make a tutorial about how to convert an image taken from the camera to byte array so that it can be stored?

Ответить
@naserharbi
@naserharbi - 19.09.2017 17:44

Hi again. I want to save the photos I take from the camera to the external folder and in high quality. I managed to save the thumbnail only. is there a way to save the original photo to file? Thanks.

Ответить
@tioshijie8619
@tioshijie8619 - 31.12.2017 05:38

Hi, I follow this tutorial, but at the end the picture capture is very not clear, how to adjust the image turn into more clear?

and how if i want save it in a folder in pc?

Please and hope you guys can share me ideas, I 'm new to this but require to come out this function in this short time...

Ответить
@mohammadakidhourieh6654
@mohammadakidhourieh6654 - 10.01.2018 14:56

the pic at the end not clear and how can I save the photo , thank you for the good tutorials

Ответить
@jhomalex07
@jhomalex07 - 18.01.2018 03:10

Hi, thanks for the tutoria. Do you know how I can make the app take the picture automatically when I press the button?

Ответить
@ozw167
@ozw167 - 24.01.2018 13:06

Hi, any idea why is the photo is in low quality ?

Ответить
@juanpablotorres2143
@juanpablotorres2143 - 25.02.2018 03:13

I can't found Intent class where I can find it?

Ответить
@wendellramos7637
@wendellramos7637 - 28.02.2018 06:08

Hello, i follow your every tutorials, it's great and easy to understand. thank you :)
But is it possible to save this photo on SQLite database? or do you have any tutorial of "saving image on SQLite database in Xamarin android?" it's hard to understand everything about image saving on the internet android all of it are android studio/java. But if it's you, i think you can deliver it nicely. Thanks in Advance :)

Ответить
@williamtabaro
@williamtabaro - 22.03.2018 15:19

result is null on Get("data") when using blackberry priv API 23. This works perfectly on my samsung api 22. What may be the issue? API or just blackberry being weird

Ответить
@martinrupertbulquerin228
@martinrupertbulquerin228 - 08.05.2018 08:25

Hi Sir, After taking picture the image is displayed successfully but when i checked the image size it is only 5-10kb and the resolution is small. how to change that sir? Thank you so much!

Ответить
@mariocasanova1328
@mariocasanova1328 - 19.11.2018 20:51

a have a problem with the resolution in my photo, is very low and dont look like a good photo. Any suggestion ?

Ответить
@nafisaarshid2810
@nafisaarshid2810 - 11.01.2019 00:01

will this app work on both Apple and Android ?

Ответить
@piyushgoswami524
@piyushgoswami524 - 25.03.2019 08:55

This code does not give clear image in nougat and oreo please provide me other code, thank you.

Ответить
@mohanasundharam6890
@mohanasundharam6890 - 23.04.2019 16:11

data is null exception, how to resolve this??????

Ответить
@Niakita
@Niakita - 11.10.2019 21:06

не работает

Ответить