• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Sound detection library for android without using mic

I am creating an android application that plays a beep sound whenever it detects a pre-defined sound. In another way, I have three drum/piano/vocal sequence mp3 file with me which is stored along with the apk assets. After installation, the three files moved to the internal memory. Whenever I play any audio/video in any of the video/audio player(eg:youtube/vlc) on my mobile, if the music sequence of the playing audio matches any of the already stored three mp3 files, Then a beep sound should produce. This is my aim. But I am hard to find such a library to compare music that is playing inside the mobile with another app. Google assistant and Shazam app just listen to audio from the mic and compare the audio. But in my case, I need to compare audio which is the playing device itself.

Note: The app will be running 24X7 by listening to the sounds played on the device. This application is not intended to build an unethical product. This is used for industrial purposes.

If somebody needs more clarification, I will update the question

Parental controls?

Apple phones are so expensive. I'm totally an Android person. I like how I can get a $1500 android phone or a $30 android phone. I get the expensive ones and my kids get cheap ones. Android OS on the phone is the same between the $1500 and the $30 phone. It's consistent.

The reason why I suggest the kids have iPhones with parental controls and admin. Is because I know the Chinese communist govt totally controls and dictates what Apple allows on iPhones in China, like no VPN apps, and all games must be approved. And the only ways around it, is either to jailbreak the iPhone, or have a foreign iTunes account. Which is something they just can't do with Android phones in this country. And kids will probably defeat any parental controls on Android phones. And we have had posts about this before on AF.

Help Charger That Quits When Battery Is Charged

OK, so I have an S7, but it's only about 2 years old.

The battery is discharging faster and faster, so I'm pretty sure it's time for a replacement.

I use a wireless USB charging cradle. Sometimes I've left the phone on there after the charge had reached 100%. I'm sure that's had something to do with the battery failing.

Is there a "smart" USB wireless cradle charger, or is that a feature only available in newer phones?

It's the S7 itself that determines when charging is 100%. Basically when the front LED goes green, and the display shows 100%, charging is complete and the phone itself stops charging the battery, and won't overcharge even with the charging still connected.

Qi compatible wireless charging pads and cradles, determine if a device has been placed on them and the correct amount of power to supply to the device. But there's no way for them to determine the amount of charge in a device's battery AFAIK.

2 years for a phone battery? It all depends on how much the phone has been used of course, and YMMV. I've got a S7 here that was used daily for a year, and now very occasionally, and the battery is still good in it. Also I have a Huawei Mate10, that was used heavily for over 3 years. and the it's showing a permanent "Battery health is deteriorating" notification warning now, however I never noticed any increased discharge with it. I probably will get the Huawei battery changed, because I still use that phone as a remote control zapper for TV, Android Box and the air-con. And it no longer has a SIM in it.

How to recover the Moto C plus in this case?

So you've flashed a mismatched ROM, preventing it from being able to boot up into Android itself; the TWRP Recovery/Fast Boot is apparently corrupted and also needs to be re-flashed; and apparently the USB port is problematic so you cannot even access your phone using ADB on a PC.
At this point your phone is pretty much soft-bricked. iven the street value of a Moto C Plus the phone itself pretty minimal considering its condition, and since you've already done a Factory Reset it's not a matter of needing to recover previously saved data off of it, it might be time to just consider this a learning experience (always be sure to flash only the correct, matching, corresponding ROM) and just move on. This wasn't your daily usage phone I hope, was it just a spare, secondary phone you were experimenting with?

Reset tablet

Factory Reset Protection is a security measure to prevent people from accessing an Android device when they don't know the necessary Google account password, so it's not going to be trivial matter to bypass it. Go here and follow the instructions, just keep in mind it will result in a Factory Reset so the user data account will be wiped in the process.
https://cellularnews.com/guides/how-to-frp-bypass-lock-on-any-android-phone-easy-guide/

Help Can't unlock screen during calls

  1. Remove any accessories.
    Third-party protective films, cases, stickers, or glass screen protectors may block the sensor and should be removed. It is recommended to use Samsung-approved accessories only.
  2. Restart the phone.
    Once you’re off the call, restart the phone by swiping down from the top of the phone with two fingers to open Quick settings. Tap the Power icon. Tap Restart, and then tap Restart again.
  3. Clean the sensor with a soft cloth. the proximity sensor is located at the top of the phone, although the exact position will vary by model
I hope this will help

Morse program on Nokia 2.4.

Hello, Thank you for your reply. The program runs ok on my laptop which has Windows 10. I do not know very much about computers and expected it to run ok on the phone but I have no idea what you mean in relation to EXE OR APK.

FYI programs are always made to run on a specific operating system, like a program that was made for Windows will NOT run on Android, and vice-versa. EXE or APK refers to the program's file suffix, e.g. morse-program.EXE, which would run on Windows. Files suffixed with APK will only install and run on Android. Same for file suffixes like DMG, which is for programs intended for MacOS.

Help Unexplainable Storage

I would ditch the social media apps, and just use my browser for them.
Set a bookmark for each one.
As long as you don't clear cookies, you will stay logged in.

This should save you a great deal of space, as you can now uninstall these apps.

Next, open your file manager, and select DCIM.
Show hidden files, and look for .thumbnails.

If you take or download a lot of pics and videos, this .thumbnails can become huge!

It is preventable, but you may have to change your gallery app.

First, see how big it is and let me know.
If it is being a pig, then I will tell you how to solve that.

Is It Possible to Retrieve Data After Factory Reset

Well this is unfortunately an after-the-fact suggestion but when you were having a problem getting that LG phone to mount on your PC that's often due to no LG driver. You can go here, scroll down and click on the 'See More' link in the 'LG Mobile Drivers' section to obtain the Windows or Mac installer.
As for a backup/restore utility, you might want to try using LG's Bridge utility:
https://www.androidcentral.com/how-use-lg-bridge-your-lg-phone

It's important to avoid this in the future and you've just given me the know how.

Thanks!

need advice please!!

Some devices have Android System Webview disabled.

Devices like this use Chrome instead, to do the same thing.

To enable Android System Webview, Chrome must be disabled, or sometimes the webview can be changed within the developer settings.

Some devices allow this, some do not.

Onwards to something else.

I can't say for sure, but it seems as though he may have another device, and the one you went through is a possible clone of yours.

The idea that the device says 'unknown' for the phone number is odd.
The only devices that I have seen that on are ones that I only use on Wi-Fi.
These are not on any cellular network, and so do not have any phone numbers.

When you have access to his device again, turn off the Wi-Fi on it, call it and see if it rings.
Notice what number comes up on the caller ID. Is it correct?
If he is pretty sly, he could have his mobile number forward calls to it.

Are you positive that his device is a totally different model of phone as yours, yet the model number is the same as yours?
This is incredibly odd, if it is so.

Another oddity is the fact that all of the apps are the same as well.
All of them?
Games and other crap like that?

As I am no expert in things like this, I am asking questions to verify what you have stated.
I try to keep things in life as simple as possible.

At this point, I might consider just getting another device, and setting a lock on it to keep him out.

If you want to continue playing the game, then I would do a few things to my own device.
This could be fun, just to see what happens.
(Yes, I am known to be entertained in unconventional ways, lol.)

First, I would install a firewall onto my device.
This will allow you to control what apps can link to the internet, and if they can use Wi-Fi, mobile data, or both.

There are many available, but there are a few that I have experience with and so will be recommending those.

There are three that I like, and they are at three levels of expertise, or difficulty, if you will.

All do the basic function of limiting internet access.

Easy:
NoRoot Firewall

https://noroot-firewall.en.uptodown.com/android

Medium:
NetGuard

https://f-droid.org/en/packages/eu.faircode.netguard/

Hard:
Tracker Control

https://f-droid.org/en/packages/net.kollnig.missioncontrol.fdroid/

Personally, I use NoRoot Firewall most often.
It is so simple, and uses very little battery.
It is a great way to enter the firewall world, so I would advise to try it first.

Many apps on an Android device are interconnected- meaning that they need one another to work.
This means that you can make part or all of your device (temporarily) non-functional by blocking cellular or Wi-Fi access to certain apps, because they can be part of a slew of other apps.
To compound this issue, it is difficult to figure out what apps are connected to others.

NoRoot Firewall does this for you, by grouping interconnected apps together.

NetGuard does this is in a different way, generally by unrestricting apps that are required for other apps to work, but not letting you know directly.

Tracker Control does not let you know at all.

Start with NoRoot, and block apps that do not need internet or mobile access.

Also, go to

Settings
Apps
(show all)
(show system)

and scroll all the way to the bottom of the list.

Check for any app that has no name or no icon, but is still there taking up space.

All legitimate apps have some sort of icon.
If you find one that does not, you can bet that it is malware of some sort.

The lack of a name or icon will make the app not appear in your app drawer, or other apps that can give you a list of apps on your phone.

If there is such a thing there, then select it, and then tap
Storage
Clear cache
Clear data
(back out to the app's page)
Uninstall

Help Partition Problem

Hey all im new to the site.

I can partition a HDD, SSD or SD Card 12 ways to Monday on a windows platform with my eyes closed while asleep.
But dont have access to a windows computer or a windows device. I have an SM-T860 running Android 11-R armarch-64bit Qualcom octi core, 6GB and 128 GB Internal Storage. The device is not rooted, if it were I could take care of this myself. I cant root without the backup and i cant backup without root (anyone seeing circles)

Anyway

I have a Micro SDXC 1TB card installed in the Tablet and the idea is to keep 512gb for backup, 128 for linux mint to emulate windows, 128 for linux (or other similer distro) to emulate a VLE of some sort and 256gb for storage.
Im hoping by running this of the sd card it will keep the android system isolated and protected if i muck things up to much.

I have an adaptor for the Micro sd card and a PS3, I am planning on putting home brew on the ps3 using the adaptor.
I know a PS3 can format an SD card but I dont know if it can partition an SD card.

I have no other game consoles or devices that might do the trick.

If anyone knows a way to partition the SD card that is similer to Storage Manager in windows 10 or maybe a live web vershion of a similer utility please post.
Thankyou.

Just to add the Micro SDXC 1TB card is a 128 bit/s A1 Sandisk card if that helps

Filter

Back
Top Bottom