Skip to main content

All Questions

0 votes
1 answer
1k views

Why do I get a BufferOverflowException when running a TensorFlowLite Model?

I want to run a custom tflite model on Android using TensorFlowLite (and using Kotlin). Despite using the TFLite support library to create a supposedly correctly shaped input and output buffer I get ...
rikner's user avatar
  • 95
3 votes
1 answer
4k views

Buffer Overflow - No available Space crash in Android

So, I'm constantly getting this buffer overflow crash (393238). One example, I've just fixed is, when I run Log.d("test", null) I get the crash. If I remove this line of code, there's no crash. As ...
Greg Peckory's user avatar
  • 8,088
1 vote
0 answers
281 views

Android audiorecord buffer overflow

I am making an android app to record the raw sound data. But after 5 min it stops. For initializing the buffer to record audio bufferSize = AudioRecord.getMinBufferSize(rate, channelConfig, ...
joseph's user avatar
  • 53
14 votes
2 answers
20k views

Android App Crash. Error reading input stream

Android application crashing often, Following are the logs from logcat. com.google.android.apps.gsa.shared.speech.a.g: Error reading from input stream at com....
Shashank Baghel's user avatar
0 votes
0 answers
243 views

onClick() crashes program "bignerdranch" "criminalintent" project

i am new to android programming but i have some prior java experience. i am working on a project from the big nerd ranch guide to android programming. because i lack experience with android i am ...
Mox_z's user avatar
  • 520
1 vote
2 answers
137 views

Vertex Buffer Is not updated well

Hi guys i have a cube drawed using opengles. Every time that i call redraw function i update the coordinates_buffer using this code floatBuffer.position(0); floatBuffer.put(coordinates); floatBuffer....
P.Carlino's user avatar
  • 681
1 vote
2 answers
2k views

Is it possible to generate a Local Buffer Overflow in Android via a compiled binary to gain root access?

I want to know if it is possible rooting any Android OS via Local Buffer Overflow , which I would generate using a compiled program that will contain the most simplest Local Buffer Overflow: char buf[...
0x01Brain's user avatar
  • 818
0 votes
1 answer
47 views

Messy log from Keytool when getting Hash with -exportcert (Android)

I'm trying to get a Hash from my keystore file but instead I'm getting this messy log. Didn't find any info on this behaviour, looks like a Buffer Overflow Vulnerability. Tried regenerating keystores ...
GameDevABC's user avatar
1 vote
0 answers
121 views

Shall Android AudioRecorder read all the sample or just a fraction?

This question is somehow related to https://stackoverflow.com/questions/26700070/android-audiorecorder-how-to-reduce-min-read-buffer-size/38004634#38004634. When I used AudioRecorder to implemente a ...
QZHua's user avatar
  • 374
0 votes
1 answer
120 views

How to disable and enable the the overflow Button on different fragments

I have and application in which I am using the Single activity and different fragments let say on activity start I call fragment A , and then after taking inputs I switch to fragment B and then ...
Coas Mckey's user avatar
9 votes
2 answers
8k views

Android MediaRecorder Sampling Rate and Noise

I have an issue using Android's MediaRecorder to record sound from microphone to .m4a files (AAC-LC, MPEG-4 container). Starting from API level 18, the default sampling rate drops from 44.1 or 48 kHz ...
user avatar
0 votes
1 answer
347 views

BufferOverFlowException when changing ShortBuffer to IntBuffer

I am trying to patch up an OBJ loading class, as it only supported Short numbers, and I have a large OBJ that goes above the Short number limit. I had to change the code to use Integer Vectors (...
Mr Pablo's user avatar
  • 4,186
1 vote
1 answer
452 views

Java Null Pointer Exception in Android while Instantiating an IntentService from an Activity

I am creating an application which has an activity and an intent service which will be called from this activity. The purpose of the Intent service is to send a file from the android device to a ...
avnkailash's user avatar
1 vote
1 answer
450 views

AudioRecord failing after 48 hours

I am starting a simple audiorecord instance and reading from the buffer (10 times minbufsize) at 44.1kHz, averaging to 441 Hz and this is fine for 48 hours of recording. Some random time after 48 ...
user2633388's user avatar
8 votes
2 answers
8k views

AudioRecord: buffer overflow?

I'm getting buffer overflow while RECORDING with my app. The recording is performed in a Service. I could not figure out why I'm getting this message from AudioFlinger. Below I instantiate the ...
Alexandru Circus's user avatar

15 30 50 per page