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

Getting white noise when splitting PCM byte array

This is the part of the code which getting only few last seconds of PCM byte array which is recorded by AudioRecorder class:

ArrayList<Byte> local = new ArrayList<>();
if (readedBytes.size() > RECORDER_SAMPLERATE * 10) {
for (int i = readedBytes.size() - 1 - RECORDER_SAMPLERATE * 10; i < readedBytes.size() - 1; i++) {
local.add(readedBytes.get(i));
}
} else {
local.addAll(readedBytes);
}

byte[] array;
array = new byte[local.size()];

for (int i = 0; i < array.length; i++) {
array = local.get(i);
}

The problem is that, when I have to cut the first part of the array, I'm receiving only the whitenoize.Important: After this proccess I add the .wav header and this works if the array was not cut.

Wifi and Bluetooth can't be activated

Hi, I have a Sony Xperia X compact with android 8. A few days ago wifi got incredibly slow no matter which network I connected to. Then wifi was suddenly greyed out and it can't be switched on anymore. I tried to clear the network settings, rebootr factory reset and finally Sony software repair (from PC the companion softwares basically another factory reset version). Nothing. Meanwhile I realized Bluetooth has the same issue and won't activate.
Anything I can do besides judging it a hardware issue?

Please Help, Stuck on Android Welcome wizard, Android 8 !!!!!

I know maybe you can't help me, but I'm depressed about what happened to me, create many posts in every forum, I need help, please
Hi and thanks for helping me, I want to skip android setup wizard in Android 8, my phone stuck in page after select languages and this is the message:
Please wait, this may take a few minutes
I researched about skip Welcome Screen Wizard In Android I found tap 4 Corner will skip Android wizard, but it only works in Android 2 until Android 7
My Android 8 (Oreo)
how can skip welcome screen?
If I just skip android welcome screen my problem will solve
right now my phone is useless and I can't do anything with my phone, it's locked the bootloader, so I can't modify anything
just help me how can fix this issue and skip welcome wizard?
This is the video I found about skip android welcome wizard, but it's only working for Android 2 until Android 7
I need help for android 8
My Phone stuck at the activation screen:
http://ahmn.co/Upload/IMG_0161.MOV

Help Stop Android 9 from using USB stick for storage

Hello,

Just got an Android 9 TV box (rooted) and attached a USB stick with video files I wanted to watch. Later was installing some apps and come to find out, it is using the stick for app storage, even though the box has 64GB internal storage & 56GB available.

I don't want it writing to my USB stick. What setting do I need to switch to tell it to use internal storage only, and USB is for read only?

TIA!

Bluetooth Low Energy (BLE)

By default, is Bluetooth Low Energy (BLE) advertisement broadcasts turned on in Android Phones? Is there a way to turn this on in Settings?

If not, are there reliable Applications that turn Android phones into BLE enabled devices?

Finally, does Android follow the same standard BLE packet structure for advertisement broadcasts, or are there any idiosyncrasies that I need to be aware of (is there a packet structure document for Android?).

Thanks,

Mohan

Help Problem with a Tablet...

Ok, so before someone accuses me of being a thief, I should probably provide some context: My mother runs a towing business alongside my great-uncle (it's called Fred's Towing and Recovery in AK; you can fact-check it.), and I sometimes go to the yard to help out. Anytime we get a PPI (Private Property Impound), we have to send a 30-Day letter out to the owner. If they don't respond within that time, then we have to empty out the car and send it to auction. Two days ago, my mom found the device shown below (a Samsung Galaxy Tab A 10.1) in one of the cars that was to be sent to auction. She put it on the charger (the battery was dead) so she could take a closer look at the software on it later. Yesterday, I saw the tablet and asked her about it. After explaining how she got it, I got interested, so I convinced her to take it home with us so we could look at it together. While she was dropping off the last tow of the day at the yard, I grabbed the tablet and got in the tow truck (we drive it home after closing up). I turned it on, only to discover that the tablet looked as though it was brand new, so I pressed "start". That's when I discovered that not only was it not brand new, but it had most likely been stolen and wiped, as on the following screen, it said this: "An unauthorized attempted has been made to reset your device to factory default settings. Connect to a Wi-Fi or mobile network to verify your identity.". Neither me nor my mother is the original owner, and we don't know the password. Is there any way to bypass this?

Help SWF file automatically and non-stop downloading?

I'm not sure what actually happened as I don't have any viruses according to multiple antivirus apps, but this one SWF file of 117kb supposedly coming from YouTube won't stop repeatedly downloading multiples of itself, and even when I delete it; it will just automatically download itself again and again. I disabled the YouTube stock app that came on this phone to no avail.
I've been repeatedly deleting this file for about 2 weeks now.
I took a screenshot of it in my downloads folder for those curious as it has an odd file name.
No, I didn't download any APK files or any apps outside of the Play Store and even then I was only downloading well known and commonly used apps, and nothing like random flashlight apps.
No matter what, I was generally exercising caution.

Can anyone help me with this problem?
I'd honestly appreciate it as this is getting very annoying now.

To be more specific on the build of the phone, it's the Samsung Galaxy A750 2018 version.

Attachments

  • Screenshot_20190821-224406_My Files.jpg
    Screenshot_20190821-224406_My Files.jpg
    28.6 KB · Views: 245

Creating custom ROM

Hello all,

I wasn't sure where to place this since this is a more general question. I figured this section was the most general spot.

I recently got an old Ascend Mate 7 from a friend that I can do what ever with. I figured, I would try to build Android from source and then flash it to the device.

I have already downloaded the source code. I am about to build the source for the Ascend Mate 7. Then, I am found out that I might need to know the Device tree?

There seems to be some conflicting information. Using google's guide, all I need to know is the code name for the device and there we go. We can compile the source!

On the other hand, other guides state that I need to download the device identity such as the tree, vendor, and kernel and include this in the source.

So which is it? Should I just follow Google's guide or do I really need to know the device identity? If the latter, How do I search for the device tree, vendor, and kernel? More importantly, what are these and how do they work in relation to the Android source?

Also, I believe I will need manufacturer drivers for my phone to operate the peripherals. How do I download this? This might be a stretch but can't I get those files from the Mate 7?

Help Please help me login again into my Account

I signed up for piano tiles 2 with my Facebook account long time ago and i played it alot and i have high scores and stuff but i had to delete the app ' Piano tiles 2' because i was running out of space so after i got enough space i downloaded it and whenever i try to login it shows up the following : login faild:you can't use Facebook to log in into this app or website because there's an issue with it's implementation of Facebook login.

This really makes me sad. :(

From the article linked below:

Wildlife officials are investigating why panthers and bobcats in three Florida counties are walking abnormally and having extreme difficulty controlling their back legs.
***
The Florida Fish and Wildlife Conservation Commission (FWC) said Monday that the agency has confirmed neurological damage in one panther and one bobcat, while video footage captured in Collier, Lee and Sarasota counties show eight panthers and one bobcat demonstrating varying degrees of the leg condition.

Full article on NBCNews.com:
Florida panthers and bobcats are walking weird. Wildlife officials can't figure out why.

Accessories Charging this beast (Note 10+)

https://www.samsung.com/us/mobile/m...t-charging-wall-charger-white-ep-ta845xwegus/. You’ll need Sammys own charger (for now—3rd party chargers will crop up also) and a compatible cable that has an e-marker chip on both ends and compatible with the Power Delivery Rev. 3.0 PPS (NOT PDO).

Some light reading on the subject:

https://lifehacker.com/wait-to-buy-a-galaxy-note-10-adapter-for-super-fast-45-1837237358

Ive got a couple of these cables that I feel are ready for the fast charge speed. Its just a matter of the charger. Ive got the charger on order from Sammy which will take a couple weeks...

Be advised the standard Note 10 will only recognize charging up to 25Watts.

How to undo the Verizon Installation.

So I bought a used Samsung Galaxy S9+ (Model: SM-G965U) that was factory unlocked for both GSM and CDMA use. It came with Android 8. I wanted to try out Tracfone as the carrier, so I got a SIM card from Tracfone that used Verizon's CDMA network. After configuring the SIM card and rebooting my phone, the phone started installing Verizon software, and apps, and now behaves like a Verizon phone. I now switched over to Mint Mobile, which I believe uses the T-Mobile network, but it still shows Verizon when the phone boots, and I can't get rid of that or the Verizon apps. The "Service provider SW ver." also still shows "VZW/XAA/SPR", so I'm wondering how to get rid of the "Verizonness" of the phone and get it back to normal. What I really want to do is allow the phone to be updated to Android 9.0. Is there any way to do this?

Rubbish Keyboard on Z3

My new Z3 has the smallest keyboard ever. No idea what model. It has a large column on the right with lots of arrows that are surplus to requirements. The letters are so close together by it's almost unuseable. To crown it all, when I have got a page correct and I click save or send, the text changes by itself and I send a rubbish message. I have turned off autofill but makes no difference. Sam in any app Any solutions?

Filter

Back
Top Bottom