How can we improve our native Android controls?

ProGuard or Method Count Reduction

Hey,

We switched from the Iguana UI to Android CTP, which has been good on alot of levels. However, we're now adding a much larger amount of methods to our project then before. Android Dalvik has a 65k limit to referenced methods, and the full Infragistics Library is using 26k.

https://github.com/mihaip/dex-method-counts Contains a nice tool to determine the count.

Using just the grid, datacharts and core, its still at 21k.
infragistics: 21935
controls: 21838

Using proguard on my app reduced it significantly to this:
infragistics: 11552
controls: 11481
graphics: 71

Although, my proguard setup had quite a few warnings that i wasn't able to resolve properly.

So I would love to see a ProGuard project file that can be included (It does allow multiple files, so simply having one specific to Infragistics that can be included into the list of proguard rules would be greatly beneficial)

Another option would be more granularity in the jars. We only use the category series and pie charts, so I am including a lot more functionality then we ever plan on using.

Just as a note on the other libraries which make this difficult
Google Play Services is 10k
Android Support Library is up to 12k

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Sebastien BourgonSebastien Bourgon shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base