Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Removing Android support libraries(replacing LocalBroadcastManager can reduce APK size significantly)
icon3.gif  Removing Android support libraries [message #1746921] Mon, 07 November 2016 17:08
Mark Deneen is currently offline Mark DeneenFriend
Messages: 3
Registered: September 2016
Junior Member
If LocalBroadcastManager is replaced, the minimum size of an APK can be reduced from about 1.8MB to 300KB once the android support libraries have been removed.

When I did this, I simply copied the java code for LocalBroadcastManager from the Android Support Library, but this might not be legally possible with the licenses involved.

Regardless, it seems somewhat silly to force inclusion of the support libraries if just one simple class is used. Is reducing overall code size a goal of Paho?
Previous Topic:Automatic reconnect in the Java client
Next Topic:Callback on start of message received
Goto Forum:

Current Time: Wed Oct 28 15:30:51 GMT 2020

Powered by FUDForum. Page generated in 0.01250 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top