Root Rom requests
- By amarc78
- Smartphones
- 6 Replies
Not sure if PA pie is stable enough to bother with but I did start trees for it so we'll see, maybeParanoid Android.. WooHoo!! Lol
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Not sure if PA pie is stable enough to bother with but I did start trees for it so we'll see, maybeParanoid Android.. WooHoo!! Lol
i get EDGE notifications on all the apps i have set up for it.no worries. let us know if it works or not.
couple of things first of @CrazySte last activity was 7 years ago...and has not visited this forum since.Hi, CrazySte
I want to know. How to use the Samsung GT-I9003 Galaxy SL or not.
Samsung GT-I9003 Galaxy SL Specs. >> https://www.mobilesdetail.com/en/phone/samsung-i9003-galaxy-sl-tnf
Thank you.
Hi, YTAMZ19
I am creating two threads in audio primary Hal with SCHED_FIFO policy but is failing to create the thread, it seems it require SYS_NICE capability. So how to provide CAP_SYS_NICE capability for audio primary Hal. Thanks in advance for the response
Good suggestion, but I don't have time to learn Linux right now. Thanks for replying!
You're welcome.Thanks,

No worries! Just leave it as is, or you can 'edit' the OP and replace its text with something like, 'reposted on app development board.' But it's fine to just leave it as is.I re-posted in that forum with more details and the code of my files, but I don't see how I can delete this thread.... I see the option to EDIT , but not delete... How can I do that? or do I just leave it up in this section too?
for (int i = 0; i < gridView.getChildCount(); i++) {
View child = gridView.getChildAt(i);
CheckBox checkBox = (CheckBox) child.findViewById(R.id.checkBox);
if(checkBox.isChecked())
// do something
}
void imageProcessing()
{
// Creation of a "bitmap" object containing the pixels from "image.png"
BitmapFactory bf = new BitmapFactory();
BitmapFactory.Options bfo = new BitmapFactory.Options();
bfo.inMutable = true;
bfo.inPreferredConfig = ARGB_8888;
Bitmap bm = bf.decodeFile("/storage/emulated/0/DCIM/image.png", bfo);
// The 32 bits int which will contain values of red, green, blue, alpha
int pixel_color;
// The alpha, red, green, blue values
int alpha, red, green, blue;
// Color selected : full blue, with an alpha of 127 (the pixel will be half-transparent)
red = 0; green = 0; blue = 255; alpha = 127;
// Putting the A, R, G, B values into the int variable "pixel_color"
pixel_color = (alpha<<24) | (red<<16) | (green<<8) | blue;
// Modifying the (x=3,y=0) pixel with this color
bm.setPixel(3, 0, pixel_color);
// Recording the modified image as "new_image.png"
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
bm.compress(Bitmap.CompressFormat.PNG, 100, outStream);
File f = new File("/storage/emulated/0/DCIM/new_image.png");
try {
f.createNewFile();
FileOutputStream fo = new FileOutputStream(f);
fo.write(outStream.toByteArray());
fo.flush();
fo.close();
} catch (FileNotFoundException e) {
Log.w("TAG", "Error saving image file: " + e.getMessage());
} catch (IOException e) {
Log.w("TAG", "Error saving image file: " + e.getMessage());
}
}
void imageProcessing()
{
// Creation of a "bitmap" object containing the pixels from "parrot.jpeg"
BitmapFactory bf1 = new BitmapFactory();
BitmapFactory.Options bfo1 = new BitmapFactory.Options();
bfo1.inMutable = true;
bfo1.inPreferredConfig = ARGB_8888;
bfo1.outConfig = ARGB_8888;
Bitmap bm1 = bf1.decodeFile("/storage/emulated/0/DCIM/parrot.jpeg", bfo1);
// Recording the image with the png format, as "parrot.png"
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
bm1.compress(Bitmap.CompressFormat.PNG, 100, outStream);
File f = new File("/storage/emulated/0/DCIM/parrot.png");
try {
f.createNewFile();
FileOutputStream fo = new FileOutputStream(f);
fo.write(outStream.toByteArray());
fo.flush();
fo.close();
} catch (FileNotFoundException e) {
Log.w("TAG", "Error saving image file: " + e.getMessage());
} catch (IOException e) {
Log.w("TAG", "Error saving image file: " + e.getMessage());
}
// Creation of a "bitmap" object containing the pixels from "parrot.png"
BitmapFactory bf2 = new BitmapFactory();
BitmapFactory.Options bfo2 = new BitmapFactory.Options();
bfo2.inMutable = true;
bfo2.inPreferredConfig = ARGB_8888;
bfo2.outConfig = ARGB_8888;
Bitmap bm2 = bf2.decodeFile("/storage/emulated/0/DCIM/parrot.png", bfo2);
// The 32 bits int which will contain values of red, green, blue, alpha
int pixel_color;
// The alpha, red, green, blue values
int alpha, red, green, blue;
// Color selected : full blue, with an alpha of 127 (the pixel will be half-transparent)
red = 0; green = 0; blue = 255; alpha = 127;
// Putting the A, R, G, B values into the int variable "pixel_color"
pixel_color = (alpha<<24) | (red<<16) | (green<<8) | blue;
// Modifying the (x=3,y=0) pixel with this color
bm2.setPixel(3, 0, pixel_color);
// Recording the modified image as "new_parrot.png"
ByteArrayOutputStream outStream2 = new ByteArrayOutputStream();
bm2.compress(Bitmap.CompressFormat.PNG, 100, outStream2);
File f2 = new File("/storage/emulated/0/DCIM/new_parrot.png");
try {
f2.createNewFile();
FileOutputStream fo = new FileOutputStream(f2);
fo.write(outStream2.toByteArray());
fo.flush();
fo.close();
} catch (FileNotFoundException e) {
Log.w("TAG", "Error saving image file: " + e.getMessage());
} catch (IOException e) {
Log.w("TAG", "Error saving image file: " + e.getMessage());
}
}