API Limit problem solved in 4.2

554 views
Skip to first unread message

JF

unread,
Nov 13, 2012, 2:38:18 PM11/13/12
to android-...@googlegroups.com

Hi

I would like to know if the API framework limit has been solved in the 4.2 release of android.

And if not, is it in the plans to do it ?

Thanks

JF

unread,
Nov 14, 2012, 3:37:19 PM11/14/12
to android-...@googlegroups.com
Current number of methods: 61029; max is 65536. By package:

So probably not tackled

Raymond Hong

unread,
Nov 18, 2012, 9:04:42 PM11/18/12
to android-...@googlegroups.com
In Android 4.2 (JB MR 1) it looks like that framework.jar is re-factored to extract telephony and google mms packages.
It could reduce the number of methods drastically I thought. And by using PDK we may not modify the framework.jar anymore (?).

platform/frameworks/opt/telephony (telephony-common.jar)
platform/frameworks/opt/mms (mms-common.jar)
  1. c6e4917  Refactor Cell Location public API. by Wink Saville - 8 weeks ago
  2. 7b3b02c  Telephony: Move AdnRecord.aidl into opt/telephony by Alex Yakavenka - 4 months ago
  3. 93cb0dd  Move SmsUsageMonitorShortCodeTest to frameworks/opt/telephony by Naveen Kalla - 4 months ago
  4. 33034b1  Create telephony-common and mms-common - DO NOT MERGE by Wink Saville - 4 months ago
These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
  frameworks/base/core/java/com/google/android/mms
to:
   frameworks/opt/mms

telephony-common was created by moving some of
   frameworks/base/telephony
to:
   frameworks/opt/telephony

Raymond

2012년 11월 15일 목요일 오전 5시 37분 19초 UTC+9, JF 님의 말:

Jean-Francois Blanchard-Dionne

unread,
Nov 19, 2012, 8:13:04 AM11/19/12
to android-...@googlegroups.com

Yes Raymond

The number of API calls went down.

Why do you say we can't split framework.jar anymore ?

You probably still can.

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/D08_wenbc_8J.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

Raymond Hong

unread,
Nov 19, 2012, 9:13:29 AM11/19/12
to android-...@googlegroups.com
Yes, we can reduce with full source codes, but it seems to be difficult with PDK only. Please let me know if I am wrong?

Raymond

Jean-Francois Blanchard-Dionne

unread,
Nov 19, 2012, 9:28:37 AM11/19/12
to android-...@googlegroups.com
I do not have access to PDK, if you mean pre released access to the code.

I only work with released code from google.

You can look online at what cyanogen did for 4.1

It should pretty much be the same recipe.

JF


On Mon, Nov 19, 2012 at 9:13 AM, Raymond Hong <raymond...@gmail.com> wrote:
Yes, we can reduce with full source codes, but it seems to be difficult with PDK only. Please let me know if I am wrong?

Raymond
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/ayKEDK320oEJ.

To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.




--
JF

Raymond Hong

unread,
Nov 21, 2012, 1:17:20 AM11/21/12
to android-...@googlegroups.com
Yes, we are still able to reduce it with source codes.
We need to separate our own platform library from framework.jar or may divide framework.jar without re-factoring.
Please refer to https://groups.google.com/d/topic/android-platform/sR6I2ldCxwU/discussion

Thanks,
Raymond
2012년 11월 19일 월요일 오후 11시 29분 8초 UTC+9, JF 님의 말:
Reply all
Reply to author
Forward
0 new messages