Showing posts with label check. Show all posts
Showing posts with label check. Show all posts

Friday, December 23, 2016

Como Descobrir se o IMEI do Celular está bloqueado Consultar IMEI check blacklist imei

Como Descobrir se o IMEI do Celular está bloqueado Consultar IMEI check blacklist imei


Você que comprou um celular usado recentemente, já consultou o IMEI do mesmo para saber se está ou não bloqueado?  Vamos mostrar a seguir como consultar para descobrir se o IMEI do seu aparelho está incluso na blacklist.

Como Descobrir se o IMEI do Celular está bloqueado?

  • Digite em seu celular *#06#
  • O IMEI aparecerá assim que digitar o ultimo #, caso não apareça, basta aperta a tecla ligar (verde)
  • Anote o número em algum lugar
  • Consulte e descubra se o seu IMEI esta na Blacklist (Final da post)

Para consultar se seu IMEI possui alguma restrição na Blacklist verifique no link: imei check blacklist no final do post, é só inserir o IMEI e clicar em Analyse.


Você verá uma barra com três cores, e se estiver no Verde ou Amarelo e considerável que não esteja, mas se ficar no Vermelho, provavelmente esta ou ira entrar na lista de bloqueio (Blacklist)



CONSULTE SEU IMEI A SEGUIR:

AQUI

Available link for download

Read more »

Tuesday, October 11, 2016

Code Snippet SD Cards Network check

Code Snippet SD Cards Network check


In many occassions, we may find a need to check for online condition and download files to our sd card.

PFB the code to check for network availability,

public boolean isNetworkAvailable() {
    ConnectivityManager cm =
        (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
    NetworkInfo netInfo = cm.getActiveNetworkInfo();
    if (netInfo != null && netInfo.isConnectedOrConnecting()) {
        return true;
    }
    return false;

}

PFB the code for SD Card mount check,

private boolean isSDCardMounted() {
String sdCardStatus = android.os.Environment.getExternalStorageState();
return sdCardStatus.equals(android.os.Environment.MEDIA_MOUNTED);
}

PFB the code that returns available space in SD Card,

public int getFreeExtMemory()
{
    StatFs statFs = new StatFs(Environment.getExternalStorageDirectory().getAbsolutePath());
    int free  =  ((statFs.getAvailableBlocks() * statFs.getBlockSize()) / 1024);
    Log.i("AppInstallChecker", "Available Space : " + free + " KB, Required Space : "+APPSIZE_KB+" KB");
    return free;
}

Note : The methods getAvailableBlocks() & getBlockSize() from the above method/snippet is deprecated after api 18, so put a check if needed.

References :
http://stackoverflow.com/questions/5474089/how-to-check-currently-internet-connection-is-available-or-not-in-android
http://stackoverflow.com/questions/1560788/how-to-check-internet-access-on-android-inetaddress-never-timeouts
http://stackoverflow.com/questions/7429228/check-whether-the-sd-card-is-available-or-not-programatically
http://stackoverflow.com/questions/3394765/how-to-check-available-space-on-android-device-on-mini-sd-card


Available link for download

Read more »