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

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)


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
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,
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
Subscribe to:
Posts (Atom)