Android Question 7 Megs - Really?

MrKim

Well-Known Member
Licensed User
Longtime User
NEed the use of FusedLocationProvider because I need battery efficient speed, (care less about location). My little app went form 450k to 7.6 MEGS! Is that really necessary? Am I missing something? Is Android turning in to the new Windows pig?
 

warwound

Expert
Licensed User
Longtime User
That's Google Play Services for you - lots of features and lots of code.
The Google Play Services library is known to be big and it's getter bigger with each update.
It contains so many classes and methods that some developers hit the DEX method limit:
http://android-developers.blogspot.co.uk/2014/12/google-play-services-and-dex-method.html

Android Studio users can choose which parts of Google Play Services are compiled into their apps:
https://developers.google.com/android/guides/setup
(Scroll down to Selectively compiling APIs into your executable).

Currently i don't think we can do that in b4a.
Perhaps we should make it a feature request?
 
Upvote 0

MrKim

Well-Known Member
Licensed User
Longtime User
That's Google Play Services for you - lots of features and lots of code.
The Google Play Services library is known to be big and it's getter bigger with each update.
It contains so many classes and methods that some developers hit the DEX method limit:
http://android-developers.blogspot.co.uk/2014/12/google-play-services-and-dex-method.html

Android Studio users can choose which parts of Google Play Services are compiled into their apps:
https://developers.google.com/android/guides/setup
(Scroll down to Selectively compiling APIs into your executable).

Currently i don't think we can do that in b4a.
Perhaps we should make it a feature request?

i think your right! I put it on the wish list.
 
Last edited:
Upvote 0
Top