How to custom my own home screen?

by water » Fri, 13 Feb 2009 02:06:24 GMT

Sponsored Links
 Android phone has a default home screen,a clock in the middle,and four
icons in the bottom,
i want to change this layout,
May i develop a application,after i installed it,it replace the
default home screen?


How to custom my own home screen?

by Scynasty » Fri, 13 Feb 2009 04:23:25 GMT

 add    <category android:name="android.intent.category.HOME" />  in
the intent-filter of the activity you want as the home screen. when
the home button is clicked it will ask which home screen you want to


Sponsored Links

Other Threads

1. modifier su.c et ex茅cuter en tan que non root sous /data/data/....


je suis sous linux android et je veux configurer mon interface rseau
sans passer en tan que root ??

mais le sortie du commande
ifconfig eth0 up
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFNTMASK: Permission denied

et comme vous sais que sous android pas de sudo et su non trouvable
dans sumsang spica

j'ai trouver un fichier su.c et j'ai modifier le

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>

int main(int argc, char **argv)
int ii=0, i=0;
char **exec_args;
exec_args = (char **)malloc((argc + 1)*sizeof(char *));

for (ii=0;ii<argc;ii++)
{printf(" argv[ %d ]= %s \n",ii,argv[ii]);}

exec_args[argc] = NULL;
exec_args[0] = "sh";

if(argc < 2) {
printf("argc < 2 \n");

if(setgid(0) ||setuid(0)){// root.root
fprintf(stderr,"su: permission denied ; setgid(0): %d setuid(0): %d
dont gid: %d et uid: %d \n",setgid(0),setuid(0),0,0);
return 1;
printf("commancer l'execv \n");
for (i = 1; i < argc; i++)
exec_args[i] = argv[i];

execv("/system/bin/sh", exec_args);

printf("commancer l'execlp \n");

execlp("/system/bin/sh", "sh", NULL);

fprintf(stderr, "su: exec failed\n");
return 1;

puis j'ai compiler ce fichier et j'ai copier sous /data/data/..
puis j'ai changer les privilge de ce fichier en chmod 755 /data/

puis l'orsque j'excute
/data/data/../su -c /system/bin/ifconfig eth0 up
mon excutable su s'arrte dans execv("/system/bin/sh", exec_args);

qu'elle est le problme ?? j'ai rien compris !!!

merci d'avance


2. Security testing


Are they apps/tools that are helpful for SECURITY TESTING of ANDROID
applications. Please guide if anyone has information on this.



3. Problem building Android 2.3.3

4. NDK CRC errors

5. Setting Widget Background via RemoteView

6. Missing USB driver for WiFi Galaxy Tab?

7. GMaps launching problem