The latest version of Android based Azan application has been released.
It now has more than 30000(and still counting) total downloads and an average rating of more than 4 stars (out of 5). And It is being used by people from all over the world.
In my humble opinion ....
The latest version of Android based Azan application has been released.
It now has more than 30000(and still counting) total downloads and an average rating of more than 4 stars (out of 5). And It is being used by people from all over the world.
sscanf(str, "%[^*]%*s", res_str);
private boolean isDeviceSilentOrOnVibrate(){
AudioManager am = (AudioManager)getSystemService(Context.AUDIO_SERVICE);
switch(am.getRingerMode()){
case AudioManager.RINGER_MODE_SILENT:
case AudioManager.RINGER_MODE_VIBRATE:
return true;
default:
return false;
}
}
std::string line = " hello world ";
boost::algorithm::trim(line);
bool is_little_endian()
{
unsigned short int word = 1;
unsigned short int mask = 0x00;
// get the most significant bytes of the word
unsigned short int msb = word>>4;
// the platform is little endian if the most significant bytes
// contains zero
if ( (msb | mask) == 0 )
{
return true;
}
return false;
}