[android-developers] Re: Android Studio unit testing useless

2015-11-05 Thread Paulo Morandi
n of tests should be very fast. -- Paulo Morandi On Wednesday, November 4, 2015 at 12:53:07 PM UTC-2, Streets Of Boston wrote: > > I never found TDD easy, or even feasible, using Android Studio or even > Eclipse. > > Most projects' builds take too long to to TDD effectively. I

[android-developers] ART doesn't entirely replace Dalvik?

2014-10-07 Thread Paulo Morandi
Hello there, As far as I know, the Art takes the dex files and transform them into native code (in installation time I guess). So, the thing is that there is no Dalvik Virtual Machine anymore just the dex files. -- You received this message because you are subscribed to the Google Groups "And

[android-developers] Android app installation

2014-09-16 Thread Paulo Morandi
Hello, unfortunately you can't. At my company we developed a custom android launcher that permits only server side configured apps. The launcher blocks everything that it's not allowed. The only way to accomplish this, I think. -- Paulo Morandi -- You received this message becau

[android-developers] Re: How to inject mock objects in Android?

2014-03-24 Thread Paulo Morandi
Hello, Technically the Android Service should support injection by giving you some "Dependency Resolver/Container" so you can pass the resolver/container from the framework you are working with. But this is not the case, in fact, the Android Developer Training don't recommend the use of Depend

[android-developers] Re: Any way Application Publisher get to know details on users who bought the application from Market?

2011-06-17 Thread Paulo Morandi
Humm.. I don't think you can do such thing.. but do you think that your solution will successfully detects if the user is "cheating"? I think if they can break the google's verification, they will break yours also.. I don't think you will "filter" some "bad guys" that already do this (I really don'

[android-developers] Re: how mdm is possible in android

2010-11-09 Thread Paulo Morandi
They don't do much things.. only password/device lock policies and remote wipe.. and all this is available in android 2.2 api... they can send this throuth active sync or calling the API directly... the real time information is possible to capture ("Asset Information").. here we develop somethings

[android-developers] Re: Problem with turning off GPS updates when application goes into the background.

2010-11-04 Thread Paulo Morandi
Hello Chirag, As far as I know you can't turn on/off the GPS, the only thing you can do is stop requesting the location (as you already did). To turn on/ off the GPS your application must be an "System Application". So this behavior is expected. When the GPS icon stop flashing, it means that no ot

[android-developers] AIDL generation error: duplicate local variable

2010-10-06 Thread Paulo Morandi
Hello everyone, I'm trying to declare the following aidl: package com.mypackage.service; interface ServiceToCall { void serviceCall(int test, in Map maps, inout Map mapsOut); } But when I look the auto-generated code it has an error "Duplicate local variable". The problem is that its