Trending November 2023 # How To Add Sensor Support To Your Apps (And How Your Phone’S Sensors Work) # Suggested December 2023 # Top 19 Popular

You are reading the article How To Add Sensor Support To Your Apps (And How Your Phone’S Sensors Work) updated in November 2023 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested December 2023 How To Add Sensor Support To Your Apps (And How Your Phone’S Sensors Work)

Sensors allow our devices to understand context. They help them know where they are in space and it gives them some clue as to how we’re using them.

As a developer, you should be asking how you’re going to make use of these sensors in your app. This will show you how to get started. It’s up to you to put them to awesome use.

Using the sensor manager

In order to access the sensors on our devices, we need to use something called SensorManager. Setting this up will be the first and most complex part of the job but it’s really not that bad.

Start a new Android Studio project and select Empty Activity as your starting point. Head over to the activity_main.xml file and add an ID to the TextView here like so:


android:id= "@+id/sensorData"

This will let us refer to that TextView in our code and that in turn means we can update it with information from our sensors.

Now, in chúng tôi you’re going to change the line:


public class MainActivity extends AppCompatActivity implements SensorEventListener

This means borrowing some of the methods from SensorEventListener, so we can listen for these inputs.

While implementing SensorEventListener, we’ll need to override a few methods from that class. These are:


@Override public void onAccuracyChanged(Sensor sensor, int accuracy) { }



@Override public void onSensorChanged(SensorEvent event) { if(event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) { } }

We’ll also need a few new variables, so define these:


private SensorManager manager; private Sensor accelerometer; private TextView textView;


textView = (TextView)findViewById(;

Now we need to create our SensorManager and define our Sensor:


manager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); accelerometer = manager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);

To use the sensor manager though, we first need to ‘register’ it. Once we’re done with it, it will need to be unregistered it in order to free up resources. We’ll do this in the onStart and onPause methods of our activity:


@Override protected void onStart() { super.onStart(); manager.registerListener(this, accelerometer, SensorManager.SENSOR_DELAY_UI); } @Override protected void onPause() { super.onPause(); manager.unregisterListener(this);


if(event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) { xAcceleration = event.values[0]; yAcceleration = event.values[1]; zAcceleration = event.values[2]; textView.setText("x:"+xAcceleration+"nY:"+yAcceleration+"nZ:"+zAcceleration); Using different sensors public void onSensorChanged(SensorEvent event) { if(event.sensor.getType() == Sensor.TYPE_STEP_COUNTER) { steps++; textView.setText("Steps:"+steps); } else if(event.sensor.getType() == Sensor.TYPE_STEP_COUNTER) { xAcceleration = event.values[0]; yAcceleration = event.values[1]; zAcceleration = event.values[2]; textView.setText("x:"+xAcceleration+"nY:"+yAcceleration+"nZ:"+zAcceleration); } Doing something useful with sensors super(context); }

If you struggle with any of these concepts, check out our other development posts on object oriented programming.

Now we need some variables, so add these to your GameView class:


private float x; private float y; private Bitmap ball;

Add a ball bitmap of any kind to your resources folder and call it chúng tôi Load that image in your constructor like so:


ball = BitmapFactory.decodeResource(getResources(), R.drawable.ball);

Finally, override the onDraw method that we get when we extend view. In here, draw the bitmap onto the canvas:


@Override protected void onDraw(Canvas canvas) { canvas.drawBitmap(ball, x, y, null); invalidate();


public void move() { x++; }

We could then access that method from our chúng tôi and make the ball sprite move left as we shake the device back and forth:


@Override public void onSensorChanged(SensorEvent event) {     if(event.sensor.getType() == Sensor.TYPE_ACCELEROMETER)  {             gameView.move();         }     } Tilt controls SensorManager.getRotationMatrixFromVector( rotationMatrix, event.values); float[] remappedRotationMatrix = new float[16]; SensorManager.remapCoordinateSystem(rotationMatrix, SensorManager.AXIS_X, SensorManager.AXIS_Z, remappedRotationMatrix); float[] orientations = new float[3]; SensorManager.getOrientation(remappedRotationMatrix, orientations); for(int i = 0; i < 3; i++) { orientations[i] = (float)(Math.toDegrees(orientations[i])); } gameView.moveRight(); } else if(orientations[2] < -45) { gameView.moveLeft(); } else if(Math.abs(orientations[2]) < 10) { }

This code will cause the ball to move left and right when you tilt the screen 45 degrees in either direction. Remember to change the update delay, as mentioned earlier. You may also want to fix the orientation of your app so that it doesn’t keep switching between horizontal and portrait. Hopefully you’ve already guessed what moveRight and moveLeft do so you can populate those yourself.

You're reading How To Add Sensor Support To Your Apps (And How Your Phone’S Sensors Work)

How To Add Music To Your Facebook Post

To add music to your Facebook post, you need to create a post and select a photo or video.

After you’ve selected a photo or video, tap on “Edit”, tap on “Music”, and select a song.

Lastly, tap on “Post” to post the photo or video!

Make sure to preview the music before you post it.

By default, the song’s lyrics will appear on the post as a sticker.

If you don’t want the lyrics to appear, you can tap on it and change it to the song’s title instead.

Here’s how to add music to your Facebook post.

1. Create a post

The first step is to create a post on Facebook.

That way, you’ll be able to add music to it.

Firstly, open the Facebook app and log in to your account if you haven’t already.

You can also use the desktop version of Facebook for this.

For the purpose of this guide, we’ll use the Facebook app.

Once you’re on the Facebook app, tap on “What’s on your mind”.

This will allow you to create a Facebook post.

2. Select a photo or video

After you’ve tapped on “What’s on your mind”, you’ll land on the “Create post” page.

On the page, you’ll see multiple options.

This includes “Photo/video”, “Tag people”, “Feeling/Activity”, and more.

Before you can add music, you need to select a photo or a video.

To do so, tap on “Photo/video”.

3. Tap on “Edit”

After you’ve tapped on “Photo/video”, your camera roll will open.

If it does not open, it means that you haven’t allowed Facebook to access your photos.

Now, you need to select a photo or video that you want to add music to.

Let’s say that you’ve selected a photo of a bird.

Once you’ve selected it, you’ll see an “Edit” button.

Tap on “Edit” to start editing the photo.

4. Tap on the “Music” icon

After you’ve tapped on “Edit”, the photo editing page will open.

Now, you’ll be able to edit the photo.

You can add music, crop the photo, add stickers, and more.

To start adding music to your Facebook post, tap on the “Music” icon at the top of the page.

5. Select a song

After you’ve tapped on the “Music” icon at the top of the page, the “Music” menu will open.

Now, you’ll be able to see a list of music.

The list of music is recommended by Facebook to you.

Now, you need to search for the music that you want to add to your Facebook post and select it.

You can also search for the artist of the song or select one of the listed categories (e.g., Weekend, Birthday).

Alternatively, you add one of the recommended music by Facebook.

To expand the list of the recommended music, tap on “See All”.

Let’s say that you want to add “GOOD TIME” by Niko Moon.

If so, tap on “GOOD TIME” to add the song to your post.

6. Post the photo or video

After you’ve tapped on the music, it will be added to your Facebook post.

By default, the lyrics of the song will appear on the photo or video as a sticker.

You can start editing the sticker by tapping on it.

When you tap on the sticker, you’ll be able to change the type of it.

The first few sticker types allow you to change the font of the sticker.

If you don’t want to display the lyrics of the song, you can change the sticker type to the song’s name.

To do so, scroll to the extreme right of the sticker types.

Once you’re happy with how the music sticker looks, tap on “Done” to save your changes.

Now, you’ll be able to preview your Facebook post.

When you add music to a photo, it will be set to 13 seconds long.

Lastly, tap on “Post” to post the photo or video with music!


Facebook allows you to add music to your photo or video.

If you don’t have the option to add music, it means that it’s not available in your region.

If that’s the case, you need to wait until the music sticker is rolled out to you.

Alternatively, you can edit the photo or video before posting it on Facebook.

By doing so, you’ll be able to add music to your photo or video without needing the music sticker.

You can use free editing tools online for this.

Further reading

How to Recover Deleted Messages on Messenger

How to Know Who Viewed Your Facebook Profile

160+ Best, Nice, and Good Facebook Comments

Best Apps To Save Battery On Your Android Phone

Since the very early days of Android the most unpopular misgiving of the OS has been the battery life. Tons of Google services, 3rd party apps running in background, improper wakelocks, heavy skins, et cetera takes a good hard toll on the battery life of your Android smartphone. Manufacturers have a habit of slamming a bigger and juicier battery under the hood. The hardware approach though effective is still bogged down due to improper software implementation.

But, as always, third party apps are here for the rescue. You may have seen a lot of  apps on the Play Store and you would be confused which one would be more effective. Most of them just have a placebo effect, so, here is our break down of 4 most effective Battery Saving apps which we think would generally improve the battery life of your smartphone by a lot.


 Best Battery Saving Apps!


Specialty: The app takes no non-sense approach and very less RAM consumption itself. Our favorite. This app takes a simplistic yet different approach from the mainstream battery apps out there.

The purpose of this app is to give control of other apps in the hands of the user. The idea behind the app is to limit the apps privilege to run in the background. This is the reason why it ranks first on our list.

The idea may seem simple but actually is very effective as  in real life performance. In our tests, it gave pretty impressive results and we could definitely notice how ‘hibernating’ heavy apps like Facebook and others had an impact on the longevity of our battery.

What it’s good at:

‘Hibernate’ select applications.

Notifies of apps that may slow down your device.

Tells which app is running in background and how much RAM is it consuming.

Has a very small memory footprint itself.

Hibernate System apps.

(Paid version)

Detect which app or process woke up the hibernated app.

(Paid version)

Allow GCM push for hibernated apps.

(Paid version)

► Download Greenify

Juice Defender

Specialty: Lets users to customize from everything to anything. Extreme profile is extremely effective. Moderate RAM consumption.

This extremely popular app developed by Latedroid has been around since early Cupcake days and still does what it says: Defends your juice. The app is so vast you can practically spend a good two hours tweaking it to your liking.

You can set 1 out of 5 extremely comprehensive profiles and customize them based on how and when and where you want which service or connectivity or process to terminate and/or start. And it doesn’t end there. Yes! It’s that customizable.

What it’s good at:

Manage mobile data and WiFi.

Configure which apps to run or stop in the background.

Intuitive feature like Night mode to disable connectivity at night and Schedule to turn on connectivity at pre-defined time periods to receive notifications.

Interactive widgets.

Extreme profile.

(Ultimate version)

Location based control.

(Ultimate version)

CPU Frequency control.

(Ultimate version)

Smart brightness and Night tint.

(Ultimate version)

..and much more.

► Download Juice Defender

Easy Battery Saver (Free)

Specialty: The minimal and automated approach requires minimum user interaction with the app itself. The RAM consumption is very low. It’s the only app which we could find which doesn’t require a paid version to get extra functionality.

It’s free throughout and that’s why it’s our second favorite. You may get overwhelmed by the sheer number of functions and features of an app like Juice Defender or Deep Sleep Battery saver, but one thing Easy Battery Saver is best at; It’s easy.

Co-relative with easiness of this app, the RAM consumption is very minimal while not sacrificing on most  of the features.

What it’s good at:

Easy tutorial to get you through the tasks.

Show’s a comprehensive details of how much the user can call, browse on web, play music and audio and is surprisingly very accurate.

General hierarchy of modes does what they say perfectly.

The Consumption Tracker, again is quite accurate.

Minimal approach and is mostly automated.

► Download Easy Battery Saver

Deep Sleep Battery Saver. (Free and Paid version)

Specialty: As the name suggests, it makes effective use of inbuilt Deep Sleep feature of Android and has a respectfully low RAM consumption.

From the popular developer, Root Uninstaller, Deep Sleep Battery Saver is a software based solution to all the optimizations that OEMs fail to implement. DS Battery saver can trigger deep sleep whenever required and can wake up your device periodically to check for notifications.

What it’s good at:

Custom deep sleep

Advanced mobile data management

Comprehensive logs to keep track on what, where and when battery is being consumed.

Intuitive night and day settings.

(Paid version)

Advanced sync management.

(Paid version)

► Download Deep Sleep Battery Saver




The optimizations Micro Trend has put in does a fine job to increase the longevity of the battery (pun intended!). However, what we don’t like  about the app is its inconstant memory footprint. Sometimes, RAM consumption is as low as 3% but sometimes it goes up to 20% which then takes a placebo effect meaning the app is itself consuming more battery than it is saving.

In our opinion, try the free version and notice it’s RAM consumption. If it’s consistent, then you should probably settle with this app and its ease of use.

► Download Longevity

DU Battery Saver And Widgets (Free and Paid version)

Of all the apps we’ve tested (not just battery saving ones), this app is definitely one of the best looking ones. The DU App Studio claims that their app can increase your battery life by upto 50%, which could rarely be the case, and anyway, how much battery a user can save is highly subjective in regards to the user’s usage of the phone.

► Download DU Battery Saver And Widgets


How To Add Widgets To Your Iphone Lock Screen.

If you have an iPhone and have already updated to iOS 16, you’re probably starting to explore all the new features that were recently added. After more than a decade of waiting Apple has finally added customisable widgets to iOS! Which means you can now add and customise Widgets on your iPhone lock screen.

Related: How to prevent AirPods (headphones) from reading notifications on iPhone.

iOS 16 has finally been released to the public after quite some time in the beta channel and brings with it a ton of cool, new, interesting changes. Most of which will finally make iOS devices feel a little more customisable. While there are a lot of features to go through the biggest and most important feature to be added in iOS 16 are lock screen widgets.

Lock screen widgets are some of the best ways you can add basic information to your iPhone or iOS device lock screen. Things like Battery info, Calendar, Clocks, Fitness, Reminders, and a range of others. While there are still some limitations at this stage the Widgets on iPhone will surely be expanded upon in the near future.

At the moment it is only possible to add up to 4 different Widgets to your iPhone lock screen (depending on size). You are also limited to widgets from the default apps at this stage, though its a nice start for the time being and is a good introduction to how widgets will work moving forward. The best part is that they are super easy to use, add and remove from the lock screen so let’s get started.

To begin, make sure that you have updated to iOS 16 then follow the steps shown below.

Now that you have the latest version of iOS tap and hold the lock screen on your phone.

This will change the screen and show an option at the bottom called Customise. Tap this and you’ll be taken to a new page.

You now have a couple of different options. At the top, you can tap on the date and select several different widget types that will utilise that space. At the moment you can only choose from default app widgets though so keep that in mind. All the widgets that use that space will be confined to the small thin rectangle as well.

Once you have set a Widget for that space, go back and tap Add Widgets below the clock.

Here you will have a wider selection of widgets where you have space to add up to four, however, this is determined by the size of the widget you wish to add. For example, you can add 4 square widgets or 2 rectangle widgets or a combination of all both.

You can tap and hold on widgets you have added to drag and drop them into a different position on the screen. And you can remove them by tapping the minus sign in the top right-hand corner of the screen.

Below the core list of Widgets, you can also expand the list of apps to see the different kinds of Widgets that are located within each.

Once you have everything sorted tap Done in the top right-hand corner and you are ready to go! You now have widgets on your iPhone lock screen without having to jailbreak your phone.

How do you remove Widgets from your iPhone lock screen?

As we mentioned above, just go back into the exact same location where you added widgets, then tap and hold a widget icon until it starts to wobble, then you can tap the minus icon in the top right-hand corner and the widget will be removed.

How To Dark Mode Facebook Automatically On Your Pc And Phone

We’ve all been waiting for it, and it’s finally here – Facebook’s dark mode. Facebook has officially unveiled a native Dark Mode feature that can switch the app’s appearance from the tired whites to a classy black.

Gone are the days when you had to download external applications to change the theme, hoping the bright background whites won’t snap you out of your sleep. Here’s how you can turn it on automatically and make sure it reflects the appearance based on your device’s display settings. 

Facebook Dark Mode Explained

Being one of the most requested features, Facebook’s Dark Mode will now allow users to turn their app appearance completely dark, much like how your phone’s dark mode turns the background whites into blacks.

But in addition to that, it also allows users to automatically customize the app appearance (if they prefer) based on whether or not the Dark Mode/Theme is turned on. Let’s see the Dark Mode options in action to better understand them.

How to dark mode on Facebook on iPhone automatically

First up, open up the Facebook app and tap on the hamburger icon (three horizontal lines) at the bottom right of the screen.

On the following page, scroll down to the bottom and tap on Settings & Privacy to expand it.

If your app is updated, you should see a Dark mode option here. Tap on it.

On the following screen, you will see three options – On, Off, and System. When the dark mode is set to Off (default), the app will have the traditional white background. 

When it is set to On, the app will take on a dark appearance. If you choose this, it wouldn’t matter which system display mode you’re using. Facebook will always have a dark appearance.

Lastly, we have the System option. When this is selected, Facebook’s appearance will match your display settings automatically.

That means if you’re using the Light mode for the whole system, it will apply to the app as well. Conversely, if it is set to the Dark Mode, Facebook will have its Dark Mode on as well.

Here’s how you can switch between the Light and Dark mode on your iPhone:

Go to the Settings app and tap on Display & Brightness.

Here, under “Appearance”, choose Dark.

Alternatively, you can turn on Automatic so the Facebook dark theme will be applied automatically whenever your system is scheduled to go into Dark mode (in our example, it is at 10:00 PM).

How to dark mode on Facebook on Android automatically

The way to switch to dark mode on Facebook on Android automatically is similar to how it is on iPhone. Here’s how you can access Facebook’s Dark Mode settings page.

Open the Facebook app and tap on the hamburger icon (three horizontal lines at the top right corner).

Then scroll down and tap on Settings & Privacy.

Tap on Dark Mode.

This will bring up the three options that we saw before – On, Off (default), and Use system settings. When it’s Off, Facebook will never go dark. 

When it’s On, the app will stay dark regardless of any other settings.

And when you choose Use system settings, the app will behave according to your system appearance. So, if you have the dark mode on, it will be dark; with the light mode, it will turn to the traditional white, automatically.

If you’re not sure how to turn on/off the dark mode, or schedule it to turn on automatically on your Android, here are the steps for it:

Go to the Settings app, and tap on Display.

Here, under “Appearance”, toggle on/off Dark theme.

Alternatively, you can schedule your system’s Dark theme to turn on automatically at a specified time. This will mean that the Facebook app will also go into Dark Mode whenever your phone is scheduled to. To enable the schedule, tap on Dark theme.

And set the Start time and End time for your Dark theme.

In our example above, we’ve scheduled the Dark theme to turn on at 22:00. Therefore, with the “Use System Settings” option in Facebook’s dark mode, the app will switch to the dark mode at this time as well. 

How to dark mode on Facebook on PC

That’s about it. The Facebook page will turn dark, reducing glare and giving some respite to your eyes.

The Dark Mode on Facebook has been one of the long-awaited features that users will definitely be delighted to have. Not only does it give a break from the age-old whites that Facebook stuck with for so long, but is also easy on the eyes at night (and save your phone’s battery). 

How To Sort And Remove Junk Files From Your Android Phone

Android phones of this age have a generous amount of inbuilt storage but if you’ve come to own your device for an extended period of time, you might have ended up accumulating a pile of junk on it. These files aren’t dumped inside a particular folder so that you can easily delete them but are the result of installing and uninstalling a ton of apps, browsing through the web, and downloading files.

In order to speed up your sluggish phone and free up its storage, you’ll need to find a service that actually does the job, unlike the thousands of cleaner apps that are present on Google Play. Enter – SD Maid. The app, unlike its popular counterparts, can find and delete leftover files from uninstalled apps, duplicate files, superfluous files from the system, and optimize databases.

How to sort and remove junk files from your Android phone

In this guide, we’ll help you search and find junk files on your Android device and remove them so that you may retain some additional storage and also speed up your phone at the same time.

Step 1: Download and install the SD Maid and SD Maid Pro – Unlocker apps from Google Play. The latter of the two is a paid app but for the price you pay, you get all additional features present on SD Maid.

Step 2: Open the SD Maid Pro – Unlocker app and tap on Launch SD Maid at the bottom.

This will activate all the Pro features of SD Maid and also open the SD Maid app on your screen.

Step 3: Tap on the Scan button at the bottom to start checking for redundant files.

SD Maid will now check for files from uninstalled apps, duplicate files, databases and expendable files.

Step 4: After the scan is complete, tap on the Run now button. This button will also display the size of the junk files that will be cleared up during the process.

Step 5: Confirm the deletion process by tapping Run.

SD Maid will now start deleting the detected junk files from your internal storage.

Finding and deleting duplicate files

On many occasions, the space on your phone gets crowded simply because of your media files and how often you share them. Sometimes, your phone and the apps you use create a duplicate of files that you’re sharing to others and sometimes, you yourself might have created one for a particular use.

Related: How to remove duplicate contacts easily

In addition to removing junk files, you can also sort through other folders in your storage and find duplicates through SD Maid. SD Maid will only display the fiches that are exactly the same by comparing sizes and checksums without keeping in mind the date of creation and names of files. In order to find and delete duplicate files on SD Maid follow these steps:

Step 1: Tap on the hamburger menu at the top left and select Duplicates.

Step 2: Inside this page, tap on the circle arrow icon at the bottom right to start searching for duplicate files on your storage.

You will be shown a list of duplicate files that are present and can be cleared up. A bunch of duplicate files will be clubbed inside a single box displaying their file sizes, the location they’re saved to and their date of creation. This will help you sort which files you need to delete and which one you might need to keep.

Step 3: To manually delete a duplicate file, tap on any of the two or more files and hit Delete.

Step 4: If you wish to mass-delete your duplicate files, tap on the wand bubble at the bottom right, and let SD Maid select your duplicate based on location data. After that, tap on the trash icon at the bottom right and confirm by tapping Delete.

Scheduling automatic removal of junk files

When it comes to cleaning up your device, you might find yourself forgetting about it and often, delaying it for a later time, only to realize that the storage on your phone is full and needs to be cleared ASAP. SD Maid doesn’t only clear your storage when you’re using the app but you can also schedule it to do the clean up for you after regular intervals.

In order to set up automatic cleaning through SD Maid, follow the instructions:

Step 1: Tap the hamburger icon at the top left corner of the SD Maid home screen and select Scheduler.

Step 2: On the next page, tap on the toggle adjacent to the type of cleaner you want to enable for scheduling. You can choose from CorpseFinder, SystemCleaner, AppCleaner, Duplicates, and Databases. When you enable a particular section, a sub-section labeled Delete will pop up, tapping which will allow SD Maid to not only look out for unnecessary files but also give them the permission to delete them on its own.

For best results, you can enable all of SD Maid’s cleaners with the Delete option except for Duplicates since the latter might sometimes include important files that you wouldn’t want to remove.

Step 3: In this step, you will be setting a schedule that the SD maid app should follow to automatically search for junk files and remove them. You can do so by tapping the clock icon at the top right, setting the time for the cleaning process and then sliding through the bar below the clock for adjusting the schedule interval. You can wish to schedule SD Maid’s auto-cleaning between once in a day to once every 31 days.

Step 4: Tap Set to confirm scheduling the automatic removal of junk files.

Clearing system files

Step 1: Tap the hamburger icon at the top left corner of the SD Maid home screen and select SystemCleaner.

Step 2: Tap on the circle arrow icon at the bottom right to start searching for unnecessary files from your system.

Step 3: SD Maid will show you a list of cleanups that needs to be done. In order to clear up your storage by deleting unnecessary files from your system, tap on the trash icon at the bottom right and then tap Delete.

Step 4 (optional): You can filter the kind of system files you want to remove by tapping on the cogwheel icon at the top right and selecting the toggles adjacent to the options you want to enable for SystemCleaner.

Removing unnecessary application files

SD Maid removes files that are no more essential to running an application on your phone or can be easily retained. For instance, a music app will save album covers on your device as thumbnails and sometimes these images could occupy hundreds of megabytes on your storage. The same goes for other applications present in your phone.

SD Maid will help users regain back some memory by finding these unnecessary application files and removing them from their respective folders. You can do so by following the steps given below:

Step 1: Tap the hamburger menu at the top left and select AppCleaner.

Step 2: Inside this page, tap on the circle arrow icon at the bottom right to start searching for unnecessary files from your apps. Once the search is complete, you will be shown a list of apps that no longer require some files. The number of unnecessary files and the expected storage to be cleared will be displayed for each app in their respective boxes.

Step 3: Clear the unnecessary application files by tapping on the red trash icon at the bottom right and confirm by tapping Delete.

Analyzing folders by size

While SD Maid is primarily used for cleaning purposes, the app can also help you search and find which folder takes up most of your space. The inbuilt Storage analyzer tool can be used to show files and folders sorted by size and will continue to show up inside every folder you open through it.

Step 1: Tap the hamburger menu at the top left and select ‘Storage analyzer’.

Step 2: Tap on the circle arrow icon at the bottom right to start scanning your storage.

Step 3: Once the app has analyzed the space, tap on the main directory and subdirectories to check which of your files and folders are taking up the most space. For example, tapping on the WhatsApp folder showed us different folders with a graphical representation of how much space a particular folder takes up.

Step 4: If there’s a file or folder you want to delete, long-press on it, tap on the trash icon at the top right and confirm by tapping ‘Delete’.


Update the detailed information about How To Add Sensor Support To Your Apps (And How Your Phone’S Sensors Work) on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!