[android-developers] Re: App crashes when trying to get SensorManager

2015-08-30 Thread Anton Persson
A simple reboot of the Nexus 9 solved the issue... On Sat, Aug 29, 2015 at 9:54 PM Anton Persson wrote: > Hi, > > I'm working on an app that uses the accelerometer. The app works just fine > and dandy on a Nexus 5 and a Samsung Galaxy S6. However, when I run it on a > N

[android-developers] App crashes when trying to get SensorManager

2015-08-29 Thread Anton Persson
Hi, I'm working on an app that uses the accelerometer. The app works just fine and dandy on a Nexus 5 and a Samsung Galaxy S6. However, when I run it on a Nexus 9 it crashes on startup - every time. The offending call is this: senSensorManager = (SensorManager)ctx.getSystemService(Context.SENSOR

Re: [android-developers] OpenGL ES Native Resolution

2014-05-23 Thread Anton Persson
Hi Harri, thanks for the interest. It seems though that I was mistaken. There is something wrong with my project. I verified that the standard OpenGL ES 2 example included in the NDK works fine with the native resolution. I yet don't understand exactly where, but it's clear the fault is in my proj

[android-developers] OpenGL ES Native Resolution

2014-05-23 Thread Anton Persson
Hi, I am experimenting with the OpenGL ES on my Nexus 5 device. I have noticed however that when I create a GLSurfaceView the resolution is not the full native resolution. Is there a way to enable the use of full native resolution graphics with OpenGL ES on Android, instead of rendering at low re

Re: [android-developers] Re: Low Latency Audio is gettting worse not better

2012-01-19 Thread Anton Persson
ou running and how? Can I duplicate your > findings using standard dev tools? > > On Jan 18, 4:04 pm, Anton Persson wrote: > > Doug, the Case in point shows that hardware is not the issue... Using a > > STANDARD Linux audio engine (Pulse) showed 10 times improved latency >

Re: [android-developers] Re: Low Latency Audio is gettting worse not better

2012-01-18 Thread Anton Persson
Doug, the Case in point shows that hardware is not the issue... Using a STANDARD Linux audio engine (Pulse) showed 10 times improved latency figures on the Galaxy Nexus compared the default Android engine... This phone is not using cutting edge audio hardware! With those numbers doing what I want

Re: [android-developers] Re: Low Latency Audio is gettting worse not better

2012-01-16 Thread Anton Persson
I have been porting my music production app to Android, and some features CAN NOT BE IMPLEMENTED without lower latency, period. This includes any feature where a dynamic sound is to be generated by user interaction. Some people have said "well, there is this piano-application that has low latency",

[android-developers] Problem with Nexus S

2011-06-21 Thread Anton Persson
Hi, I'm writing this e-mail as a last resort; it's intended for Google employees only, so I'm sorry for the bandwidth if you're not working for That Company. For a summary of the issue at hand, please read this: http://www.google.com/support/forum/p/Google+Mobile/thread?tid=0dabb9cd979cbd27&hl=e

[android-developers] Free gesture library

2011-01-30 Thread Anton Persson
Hi, does anyone know if there are any free multi touch gesture libraries out there? The standard Android SDK only contains the one for pinch zoom, ScaleGestureDetector, which is kind of limited... I would like additional basic gestures like two/three finger flings. Perhaps there are other nice bas

Re: [android-developers] Market Quality Suggestion

2010-08-09 Thread Anton Persson
Well, you are still free to be in the unapproved category. Or perhaps call it "Google Approved" category, and if the charge - why not? They provide a service to increase the quality, that costs money. Best Regards Anton On Mon, Aug 9, 2010 at 1:24 PM, { Devdroid } wrote: > That would mo

[android-developers] Market Quality Suggestion

2010-08-09 Thread Anton Persson
Hi, I have a suggestion to make to Google. I think (and I know I am not alone thinking this..) that the Quality of the applications on the market needs to improve. Or rather, the low quality applications needs to be filtered out. The Big Fruit has solved this by an approval process. While this h

Re: [android-developers] Re: Android Market Licensing: Now Available!

2010-07-27 Thread Anton Persson
That, and the ability for folks to actually access the paid-for apps... Sweden, like probably many countries still, have no access to the paid apps... When will Google understand that this is critical for them to keep the momentum? If the status quo persists, people we give up, pack their bags and

Re: [android-developers] Re: android.graphics.Path editor or SVG converter?

2010-07-26 Thread Anton Persson
Hi, sorry for the delay... There is a complete example in the repository. It shows how to load, and the render the SVG file to a canvas: http://bazaar.launchpad.net/~pltxtra/libsvg-android/main/annotate/head:/src/com/toolkits/libsvgandroid/HelloSvgCanvas.java

Re: [android-developers] Re: Vector Graphics Rendering - Mechanisms

2010-07-24 Thread Anton Persson
There is this library: http://code.google.com/p/svg4mobile/ I haven't tried that but it seems to be directly written for Android, which is good.. Then there is my port of libsvg.. libsvg-android. https://launchpad.net/libsvg-android I only ported libsvg-android since I couldn't find anything whe

Re: [android-developers] Re: Avoiding GPL

2010-06-25 Thread Anton Persson
ysql say from PHP. > > > > This is correct, and I was referring to MySQL. The difference stays in > that "incorporating" - as you said, if the two apps were still > considered as two separate, collaborating apps it would be fine. > > On 6/25/10 09:39 , Anton Persson wrote: >

Re: [android-developers] Avoiding GPL

2010-06-25 Thread Anton Persson
Not entirely true. Yes; a LOT of non-FLOSS (closed source) apps use MySQL.. But they do that by buying the non-FLOSS-licenses that MySQL _sell_. MySQL allows you to use MySQL with the GPL license as long as YOUR application is also using GPL. That is their idea, and that's why many prefer PostgreS

Re: [android-developers] Avoiding GPL

2010-06-22 Thread Anton Persson
If you are creating a closed source application, maybe you should invest in acquiring/creating a library that supports that. Using code from a GPL3 code and actively trying to step around the license is really bad behaviour. On Tue, Jun 22, 2010 at 9:10 AM, Naveen wrote: > Hi! > I need to use so

Re: [android-developers] Why is Android so buggy?

2010-06-09 Thread Anton Persson
OK, the only example you bring up about ANDROID itself is the IOException-part... That is not even a _bug_, that is a usage error. Have you ever used BSD sockets in most other OS:es? It's up to you to handle connection timeouts. TCP/IP over the globe, and over slow/delayed networks will sometime ca

Re: [android-developers] Multitasking on Android - Why So Incredibly Bad?

2010-06-05 Thread Anton Persson
What phone are you using? I do that stuff on my HTC Magic everyday, no issues. (Android 1.5 FTW? ;-) On Sat, Jun 5, 2010 at 3:00 PM, bemymonkey wrote: > Hello everyone! > > First of all, I hope this is at least somewhat on-topic for this > discussion group, as it seems to be the only way to reac

[android-developers] Linear Layout

2010-05-31 Thread Anton Persson
Hello, I have a set of custom views that I would like to add to a LinearLayout object. However, the first object I add to the layout (I do this dynamically, during runtime) has a OnMeasure method that tries to get as much space as possible resulting in that it get's all the space LinearLayout obje