Re: [android-developers] Re: [Possibly SELinux] Marshmallow: new File(...) gives permission denied

2016-01-04 Thread Massimo Messore
Have you tried with openFileInput/openFileOutput to read/write files instead of using the File class? Regards. Massimo Il 04/gen/2016 09:34, "Larry Larry" ha scritto: > Ok, this is ridiculous: > > SELinux basically gives NO READ ACCESS AT ALL to the app's

Re: [android-developers] Unique Device Identification using android.os.Build.Serial

2015-12-27 Thread Massimo Messore
Before Android M I always used the WiFi Mac Address. This also covers devices with no gsm radio that don't have IMEI. Unfortunately this is no more available from Android M and afterwards. In general it's not recommanded to use a device id that doesn't change after factory resets. The official

Re: [android-developers] Re: Audio recording problem - fake sample rate

2015-12-23 Thread Massimo Messore
>From my experience you should first try with 44100 and use 48000 or 22050 just as fallback. Regards. Il 23/dic/2015 18:53, "Robert Scott" ha scritto: > I first call *AudioRecord.getMinBufferSize(22050...* If this returns an > error (<1) then I call

Re: [android-developers] Audio recording problem - fake sample rate

2015-12-23 Thread Massimo Messore
I've been working with android audio recording for a while. As far as I know the only guaranteed supported recording sample rate is 44100Hz which means up to 22KHz of bandwidth. This should be a "real" sampling rate, no upsampling on most devices. Did you try to set AudioRecord with 44.100Hz as

Re: [android-developers] DefaultHttpClient / AndroidHttpClient - Multiple Cookie Headers

2014-08-10 Thread Massimo Messore
I had a different issue with the HttpClient lib included into the Android sdk. I solved using an external and newer HttpClient library in my project. Maybe it worth a try: http://code.google.com/p/httpclientandroidlib/ Regards Massimo Il 10/ago/2014 07:23 Gaurav Vaish gaurav.va...@gmail.com ha

Re: [android-developers] Re: Does Android OS have APIs to support VoLTE (VoIP) call application?

2014-04-06 Thread Massimo Messore
I don't think Android comes with a specific API for this purpose. You can try using an open source third party library like this: http://code.google.com/p/doubango/ Best Regards. Massimo Il 07/apr/2014 07:04 Guru Prasad r.gurupra...@globaledgesoft.com ha scritto: Bo zhaobopku at gmail.com

Re: [android-developers] How do I show a call screen when my VoIP application is on background?

2013-11-25 Thread Massimo Messore
There are many open source VoIP client out there that you can look at. You can google for imsdroid or csipsimple, for example. The main idea is to implement a service that runs even when your app is in background and listens to VoIP events (like incoming calls). Then the service launches an

RE: [android-developers] Re: Can't get android sources

2011-02-04 Thread Massimo Messore
Hi, same issue here. It seems like froyo branch is not yet present in the manifests. Is there any chance to get it back? Thanks in advance. Pizza67 -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Anees Sent: