How to load multiple photos programmatically from an Android phone? RRS feed

  • Question

  • User254840 posted

    I know how to load/pick one photo from an Android phone with Xamarin.Android via code like the following:

    Intent intent = new Intent(); intent.SetType("image/*"); intent.SetAction(Intent.ActionGetContent);

    MainActivity.Instance.StartActivityForResult( Intent.CreateChooser(intent, "Select Photo"), MainActivity.PickImageId);

    I want to programmatically load multiple photos (say the latest 20 by date), without a user's interaction (i.e. not manually pick photos from a displayed collection).

    Is that possible? Sample code?

    Monday, November 4, 2019 4:44 AM

All replies

  • User254840 posted

    This question got answered below.


    Tuesday, November 5, 2019 3:17 AM