Change phone setting programatically

by Dmytro Paslavskyy » Thu, 12 May 2011 09:00:06 GMT

Sponsored Links
 Is that possible to change phone setting such as Email profile, Wi-FI
Access Point profiles, Intenet settings from Android SDK, maybe from


Other Threads

1. Textview with graphic (dynamically changing) inside.

Hello, I've a TextView that in the onCreate is build with an image to
the left from the static drawables, and with a text in the right.

I want to dynamically change the text and the image, (and maintain the
same image size), I have the image stored in a Bitmap named bm, (yes I
know I could change to a ImageButton and a textview but it has better
layout and I want to know if it's possible what I try to do, the way I

I've tried different thing like:
Option 1:
TextView tv=(TextView)this.findViewById(;
BitmapDrawable bmd=new BitmapDrawable(bm);
tv.setCompoundDrawables(bmd.getCurrent(), null, null, null);
With this option the text remains inteact but NO image is draw...

Option 2:
the same but the end line is
The Textview resizes to the image size and the image is draw and the
text is hidden by the image, not the desired behaviour... :-P

Option 3:
trying with canvas like:
Canvas can = new Canvas(bm);
Drawable d=tv.getBackground();
I got an exception so this is far from the solution...

Please any ideas of how can I achieve this?


2. Add languages to arm-eabi-gcc

Dear Community,

By running
gcc --help
I get (among other things) "Permissible languages include: c c++
assembler none".

Is it possible to include other languages like Fortran? I can't find
the source files to the toolchain such that I can modify the GCC-
configuration to include something like --enable-languages=c,c+
+,fortran .

Cheers, Mikkel.


3. drawing word-wrapped text at arbitrary position on a canvas

4. how to stop accelerometer sensor running in background?

5. How to show a loading image or an animation?

6. Cant find the solution for this GLSurfaceView error

7. N1 update announced