my phone was hacked now i need help. can I also program something similar?
Can i program a gallery?
Have you tried the Image Explorer code on my repo?
@noel === yes, but i don’t need an explorer, i have to be able to press on the pictures
@noel? Can you Help me pleased
I have this
import android.net.Uri;
import android.database.Cursor;
import android.content.Intent;
import android.provider.MediaStore;
import android.app.Activity;
import android.content.Context;
Activity act;
Context mC;
PImage img;
boolean img_loaded;
void settings() {
fullScreen();
}
void setup() {
background(#F9C454);
fill(#4A3A16);
act = this.getActivity();
mC= act.getApplicationContext();
}
void draw() {
searchImage();
}
public void searchImage() {
Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
intent.setType("image/*");
act.startActivityForResult(intent, 1);
}