Issue tracker and errors in pages

by Andrea D'Amore » Fri, 20 May 2011 03:44:21 GMT

Sponsored Links
the Android project's issue tracker on Google Code [1] says it's only
for user bugs, is this group the right place to request corrections
for errors on AOSP's website pages?





Other Threads

1. named pipe in native code?

HI Dear,

i am trying to create a named pipe in my native code which i will
access in my java code
here is my sample code to create piple which doesn't work

#include <string.h>
#include <jni.h>
#include <unistd.h>
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>

/* This is a trivial JNI example where we use a native method
 * to return a new VM String. See the corresponding Java source
 * file located at:
 *   apps/samples/hello-jni/project/src/com/example/HelloJni/
Java_com_example_hellojni_HelloJni_stringFromJNI( JNIEnv* env,
                                                  jobject thiz )

          // mkfifo(const char* path, mode_t mode);
           mkfifo("test_fifo", S_IRUSR );
    return (*env)->NewStringUTF(env, "Hello JNI !");


i have configured cygwin make with my eclipse and when it compiles
this program it gives me error at mkfifo as it doesn't know s_IRUSR

could anybody help me to figure out what  is the problem and how can i
solve it


2. Rotation with ListActivity

I have a problem with rotation, during my ListActivity is loading data
from the network.
To do it I use a background thread which recovers data and put them
inside an ArrayList. While this thread works, there is Progress dialog
activated in foreground.

For the rotation I use the method with
onRetainNonConfigurationInstance() to save my ArrayList's state. After
android calls this method, I call dismiss() on the progress dialog on
onStop(). Then the activity is created as new with onCreate(), but it
use the getLastNonConfigurationInstance() to recover the ArrayList's

Now, my problem...

If I rotate from portrait to lanscape when the download is terminated
and I see the data in portrait yet, everything is ok.
If I rotate during progress dialog is showing I have two cases:

1-  onRetainNonConfigurationInstance() saves the arraylist fully
recovered, the thread terminates and everything is ok.
2-  onRetainNonConfigurationInstance() saves the arraylist empty, i
think the download isn't finished yet.
The onCreate is called and my list is empty, the thread terminates,
but i don't see anything in my list.

... if I am in this case and I still rotate from landscape to portrait
now I can see my list full with all the data.

Why?? Where am I wrong?

p.s. sorry for my english, I hope everything is clear.


3. Fwd: Android porting on AM3517

4. use of h/w accelerators

5. onActivityResult is not working when used in ActivityGroup

6. Kagudroid 1.2.3 jit alpha

7. ISATDROID help us to help you ;)