I want to capture image from front camera of android device and send via messaging automatically.How can I implement with android code ?
Asked
Active
Viewed 32 times
1 Answers
0
1.First you need to create your camera preview
with Intent
(it opens your default camera app) or Camera/Camera2 API
(for custom camera). Read the documentation from here and apply code examples(even if you dont understand all the things, you will get them over the time your are working at app).
2.Then you need to attach your file
to MMS
. You cand find a lot of examples but take a look here.
Hope it helps!