I am a fourth year student at computer science and I started a project for my senior thesis. The project consists of an Android application which takes a pictures using phone's camera and stores it in phone memory, after that the app should send the picture using ADB (or something else) to a PC. The next picture should be also sent and so on... I need to do this from Android Studio using code (the picture should be sent automatically after it is taken).
My problem is that I can't find any way to do this using specific code instructions.
Is this even possible such an app? How can I send a .jpg file from phone's memory for example?