Get lat and lng based on my position from android phone
There are several GPS apps which, amongst others, display the exact coordinates on your screen. Some even offer to export them. Moreover, there are apps for GPS tracking, recording your positions and usually allow you to export your recordings in GPS eXchange Format or Keyhole Markup Language. In both cases, exported files have the locations in plain ASCII.

For your case, a well suited app should support manual recording of Waypoints. This way you'd end up with exatly the locations recorded you want (and no extra ones).

A good choice would probably be GPS Status &amp; Toolbox, which in its pro version (~USD 3) allows you to a.o. "show/store/edit/export multiple waypoints".

  
GPS Status &amp; Toolbox (source: Google Play; click images for larger variants)

Note that the (implicated) other part of your question (how to process them for/in your app) is off-topic here, as this site is dedicated to end-users (not developers).