[WTA] Acer Iconia review

by Ali Ramdani - Thoa - » Sat, 14 May 2011 00:42:14 GMT


Sponsored Links
 Sesusai judul,
Klo ada yg udah pernah megang... atau udah pernah beli.. tolong reviewnya
dong..

thx

-- 
"



Re: [WTA] Acer Iconia review

by Reza Iransah S.AB., M.H. » Sat, 14 May 2011 00:45:35 GMT


 Baru beli, tp blm dicoba apa2, baru install2 aja, tp overall sih bagus dan
memuaskan.

------------------------------------------
The 4" Screen Eclair X10i
------------------------------------------
High-End Gadget Accessories :
 http://kask.us/7579266 
Japri and Gtalk :
reza.iransj...@gmail.com

www.facebook.com/logaypektay




Sesusai judul,
Klo ada yg udah pernah megang... atau udah pernah beli.. tolong reviewnya
dong..

thx

-- 
"

-- 
"


Sponsored Links


Re: [WTA] Acer Iconia review

by Agus » Sat, 14 May 2011 11:04:21 GMT


 yang jadi masalah biasanya powernya ga kuat :)

2011/5/14 Fauzan Wassil <fwas...@gmail.com>:

-- 
"



Re: [WTA] Acer Iconia review

by Alex Chandra » Sat, 14 May 2011 15:22:31 GMT


 yupp.. beda donk flashdisk sama hdd.. hdd butuh tenaga buat muter
piringannya.. bahkan bisa baca flashdisk blon tntu bisa baca microSD yg
ditempel di card reader walaupun kyknya gak ada masalah di powernya
(pengalaman pribadi).. dan lagipula mstinya theoretically, bkn
theoritically.. #eh

2011/5/14 Agus <nissan...@gmail.com>


-- 
"



Other Threads

1. AudioRecord callbacks

Hi,

I am trying to develop an app which will consume data from mic. I have
used AudioRecord for the same. To read the data from mic I am usingh a
separate thread.
I want to change this. Is there any way to register the callback to
AudioRecord object so as to get notification when data has started
coming. I went through setRecordPositionUpdateListener but the docs
are not at all helpful and just adds to your frustration.

please help.

-- 

2. Socket is leak when use server socket

Dear all,

I create a server to listen request from peer.
When client socket is connected, it will be leak after close socket.
The fd will increase and finally the process may be killed due to too
many fd.

Does anyone know how to safely close the socket?

The sample code is below.
=========================================================================
package com.android.test.serversocket;

import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;

import android.app.Activity;
import android.content.Context;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.util.Log;

public class Test extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        ServerSocketChannel mainSocket = null;
        InetAddress serverAddress = null;
        try {
                mainSocket = ServerSocketChannel.open();
                mainSocket.configureBlocking(false);
                mainSocket.socket().setReuseAddress(true);
                mainSocket.socket().setSoTimeout(1000);
                String wifiIp = getWifiIpAsString();
                serverAddress = InetAddress.getByName(wifiIp);
                mainSocket.socket().bind(new InetSocketAddress
(serverAddress, 5002));
        } catch (IOException e) {
                e.printStackTrace();
        }

        while(mainSocket != null) {
            SocketChannel clientSocket;
            try {
                while((clientSocket = mainSocket.accept()) != null) {
                        clientSocket.close();
                        clientSocket = null;
                        System.gc();
                }
            } catch(IOException e) {
                e.printStackTrace();
            }
            try {
                System.gc();
                Thread.sleep(1000);
            } catch(InterruptedException e) {
                e.printStackTrace();
            }
        }
    }

    public int getWifiIpAsInt() {
        Context myContext = getApplicationContext();
        if(myContext == null) {
            throw new NullPointerException("Global context is null");
        }
        WifiManager wifiMgr = (WifiManager)myContext
                                .getSystemService
(Context.WIFI_SERVICE);
        if(isWifiEnabled()) {
            return wifiMgr.getConnectionInfo().getIpAddress();
        } else {
            return 0;
        }
    }

    public boolean isWifiEnabled() {
        Context myContext = getApplicationContext();
        if(myContext == null) {
            throw new NullPointerException("Global context is null");
        }
        WifiManager wifiMgr = (WifiManager)myContext
                                .getSystemService
(Context.WIFI_SERVICE);
        if(wifiMgr.getWifiState() == WifiManager.WIFI_STATE_ENABLED) {
            return true;
        } else {
            return false;
        }
    }

    public String getWifiIpAsString() {
        int addr = getWifiIpAsInt();
        if(addr != 0) {
            StringBuffer buf = new StringBuffer();
            buf.append(addr & 0xff).append('.').
            append((addr >>>= 8) & 0xff).append('.').
            append((addr >>>= 8) & 0xff).append('.').
            append((addr >>>= 8) & 0xff);
            return buf.toString();
        } else {
            return null;
        }
    }
}

-- 

3. Avoiding String allocation in TextView.setText()

4. Is there an app for this?

5. System wide properties

6. router yang cocok dan kompatibel untuk android

7. Disappointed by poor maps quality of Google Maps