Activity kodi quyidagicha o‘zgartiriladi:
public class MainActivity extends Activity {
static int TAKE_PICTURE = 1; Uri outputFileUri;
@Override
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main);
MainActivity.java