Regarding android-86 Live CD

by uday bhaskar » Thu, 07 Jan 2010 13:16:28 GMT


Sponsored Links
 Hi,

 I got a small problem, when i started android-x86 Live CD in "start with
out installation".

 Display Resolution is not supporting. I didn't know how to solve it. Can
any one tell me.

 System Details:
 M/B:                         Intel 945GCPE
 Processor:                Dual Core
 Monitor:                    Samsung LCD 920NW

Regards,
Uday



Regarding android-86 Live CD

by Yi Sun » Thu, 07 Jan 2010 18:05:20 GMT


 Send message to android-x86 group may give you a quicker answer.
Anyway, will VESA work? The system may not be able to recognize your
hardware and install the right driver.
Yi






-- 
Android-x86
 http://www.android-x86.org 


Sponsored Links


Other Threads

1. Is 9-patch (NinePatch) standard png format?

There is a problem in our current project.
We used some tool other than Android SDK Draw 9-patch to draw the
9.png images.
But found the result images will cause build errors saying that the
frame pixels are not transparent which is indeed transparent in the
tool we used.

Then we re-edited these error images using Draw 9-patch and these
errors gone.
So, I'm very confused about if the 9-patch (NinePatch) is standard png
format.

Any one know about this?

-- 

2. "Stable"socket connection (Correct work with Socket/Thread).

Need to have "stable" connection to server.
1. The client tries to connect to server every 5 (10, N)-seconds.
2. After sucess connection client receives data from server.
3. After interrupt connection (server turn off) - go to step  # 1.

How test:
1) Start server
2) Start client (to be sure that client get data from server)
3) Stop server
4) Wait some (about 200) attempts when client tries to connect to
server.
5) Start server.

Server sends data, but client doesn't get it.
socket.connect(...) is sucessfull, but
socket.getInputStream().read(byte[]) is wrong.
Thread blocks on input.read(..).
If uncomment line
//socket.setSoTimeout(500); //to set low-level timeout for reading
then input.read(..) throws timeout Exception.

Where is my wrong?
Thanks.

Part of client code:

    private void initSocket() {
        try {
            if (socket == null || socket.isClosed() == true
                    || socket.isConnected() == false) {
                socket = new Socket();
                // socket.setSoTimeout(500); // set low-level timeout
for read
                InetSocketAddress socketAddress = new
InetSocketAddress(
                        "192.168.1.3", 12344);
                notifyDataListener(4);
                socket.connect(socketAddress, 500);
                notifyDataListener(5);
            }
        } catch (Throwable t) {
            System.err.println(t);
        }
    }

    private void closeSocket() {
        try {
            if (socket != null && socket.isClosed() == false) {
                socket.close();
            }
        } catch (Throwable t) {
            System.err.println(t);
        }
    }

    private byte[] buffer = new byte[1024];

    public void run() {
        while (isActive) {
            try {
                notifyDataListener(1);
                initSocket();
                InputStream input = socket.getInputStream();
                int length = input.read(buffer);
                if (length < 0) {
                    throw new EOFException("Was got -1");
                }
                notifyDataListener(2);
            } catch (Throwable t) {
                closeSocket();
                notifyDataListener(3);
                try {
                    Thread.sleep(100);
                } catch (InterruptedException ie) {
                }
            }
        }
    }


Part of server code:

        while (true) {
            try {
                Socket s = ss.accept();
                InputStream input = s.getInputStream();
                final OutputStream output = s.getOutputStream();
                new Thread() {
                    public void run() {
                        while (true) {
                            try {
                                ik++;
                                String msg = "Hello # " + ik;
                                System.err.print("Send..." + msg);
                                output.write(msg.getBytes());
                                output.flush();
                                System.err.println(" OK!");
                            } catch (Throwable ioe) {
                                System.err.println(" WRONG!");
                                break;
                            }
                            try {
                                Thread.sleep(50);
                            } catch (Exception ioe) {
                            }
                        }
                    }
                }.start();

-- 

3. Use OpenGL error

4. Convert tickcounts to seconds

5. Problem with landscape mode in froyo.

6. Android VPN

7. MemoryImageSource class in Android