Telegram Web
How To Create Online Shayari App Part-1 Without Using Firebase
#ssonlineshayaripart1
Download Online shayari Part-2 Project

#OnlineShayariProject02
Password is in Youtube Member Community
Android Bulb pinned «https://youtu.be/1zrMQPZqEKw»
How To Add Ripple Effect In Navigation Drawer

#ssdrawerrippleeffect
android.graphics.drawable.RippleDrawable androidbulb = new android.graphics.drawable.RippleDrawable(new android.content.res.ColorStateList(new int[][]{new int[]{}}, new int[]{ Color.parseColor("#EEEEEE")}), new android.graphics.drawable.ColorDrawable(Color.WHITE), null);

_view.setBackground(androidbulb);
How To Change Navigation Drawer Icon Color After Clicking Drawer Icon

#sschangedrawericoncolor

Use Code Below
_img.setImageTintList(new android.content.res.ColorStateList(new int[][] {{-android.R.attr.state_pressed},{android.R.attr.state_pressed}},new int[]{Color.parseColor(_c1), Color.parseColor(_c2)}));
Show Battery Status In SketchWare Studio

#ssbatterystatus
BatteryManager blevelq = (BatteryManager)getSystemService(BATTERY_SERVICE);
int blevelw = blevelq.getIntProperty(BatteryManager.BATTERY_PROPERTY_CAPACITY);//xenondry
String blevele = Integer.toString(blevelw);
_blevel.setText(blevele.concat("%"));
BroadcastReceiver btempz = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
float btempy = (float)(intent.getIntExtra(BatteryManager.EXTRA_TEMPERATURE,0))/10;
_btemp.setText(btempy +" "+ (char) 0x00B0 +"C");
}
};
IntentFilter btempx = new IntentFilter(Intent.ACTION_BATTERY_CHANGED);
getApplicationContext().registerReceiver(btempz,btempx);


BroadcastReceiver healthbb = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
int healthbc = intent.getIntExtra(BatteryManager.EXTRA_HEALTH,0);
if (healthbc == BatteryManager.BATTERY_HEALTH_DEAD) {
_bhealth.setText("Battery is dead");
}
if (healthbc == BatteryManager.BATTERY_HEALTH_GOOD) {
_bhealth.setText("Battery is good");
}
if (healthbc == BatteryManager.BATTERY_HEALTH_OVERHEAT) {
_bhealth.setText("Battery is overheat");
}//xenondry
if (healthbc == BatteryManager.BATTERY_HEALTH_OVER_VOLTAGE) {
_bhealth.setText("Battery is over voltage");
}
if (healthbc == BatteryManager.BATTERY_HEALTH_UNKNOWN) {
_bhealth.setText("Unknown battery health");
}
if (healthbc == BatteryManager.BATTERY_HEALTH_UNSPECIFIED_FAILURE) {
_bhealth.setText("Unspecified failure battery");
}
}
};
IntentFilter healthba = new IntentFilter(Intent.ACTION_BATTERY_CHANGED);
getApplicationContext().registerReceiver(healthbb,healthba);
IntentFilter btstatus = new IntentFilter(Intent.ACTION_BATTERY_CHANGED);

Intent batteryStatus = registerReceiver(null, btstatus);

int chargePlug = batteryStatus.getIntExtra(BatteryManager.EXTRA_PLUGGED,-1);

boolean usbCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_USB;

boolean acCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_AC;

if(usbCharge){

_statusx.setText("Device charging through USB");

} else if(acCharge) {

_statusx.setText("Device charging through AC" );
_statusx.setTextColor(0xFF4CAF50);

} else {

_statusx.setText("Device not charging");
_statusx.setTextColor(0xFFF44336);

}
Android Bulb pinned «https://youtu.be/wVKNlfwcjkk»
How To Download SketchWare Latest Apk
Features
1. SDk 30 Support
2. custom Keystore
3. SDK 30 library update
Etc

#sketchwareproremodapk
How to Share Text By Choosing Multiple Options or Direct Share with social media In SketchWare Pro

#swprotextshareblock
2025/07/06 12:42:55
Back to Top
HTML Embed Code: