Close

What are you looking for?

cancel
Showing results for 
Search instead for 
Did you mean: 

Original topic:

SAMSUNG NOTE 4 - android.media.midi inputPort.flush(); not working

(Topic created on: 04-09-2018 06:11 PM)
thomas34
First Poster
Options

Hello,

I've got problems with android.media.midi. I am developing an app and the command
inputPort.flush(); is not working on Samsung Note 4 (N910F).
I know that the code is alright because same code runs fine on 
MOTO G running 7.0 API24.

Is this a known issue with Note 4? I have the latest firmware installed. Is there somthing I can try to make it work?
Android 6.0.1

 

Help is much apreciated.

N910FXXU1DQL2/
N910FVFG1DQL1/
N910FXXU1DQI1

0 Likes
3 REPLIES 3
AndrewL
Moderator
Moderator
Options
Hi @thomas34

As the Note 4 is on Android 6.0.1 it may simply be a compatibility issue with the older Android version, seeing as the Moto G is running version 7.0. Is the app specifically for the Note range of devices? Are you in a position to test it on a Samsung device with 7.0 or higher?
0 Likes
thomas34
First Poster
Options

Hello,

 

Unfortunatly I cannot test on a Samsung with 7 or higher, but I will know by tomorrow. The app should not be specific to Note devices, but I use it for testing because it's the only device I got.

Everything else in android.media.midi works fine, including timestamps, but without inputPort.flush(); - timestamps are useless.

Since inputPort.flush(); was added in API level 23, I thought it should work.

 

Thanks for the quick reply.

0 Likes
thomas34
First Poster
Options

Hello,

 

inputPort.flush(); does work with Samsung Devices running Android 7 or higher.

 

It just doesn't work with my Samsung Note  N910F running MM. I tried to run some Custom Roms but they all don't support Midi.

 

Is there some possibilty that there will be an update fixing this issue for MM 6.0.1.

 

It should run, because flush(); was added in API23, but it doesn't.

0 Likes