-2

I want to capture image from front camera of android device and send via messaging automatically.How can I implement with android code ?

Getaw Dejen
  • 341
  • 1
  • 4
  • 13

1 Answers1

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!

Community
  • 1
  • 1
Chris
  • 6,105
  • 6
  • 38
  • 55