Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Why can't Sense framework be packed into an APK?

OP Elite83

12th March 2014, 06:30 AM   |  #1  
OP Member
Thanks Meter: 11
 
53 posts
Join Date:Joined: May 2013
I'm not a developer so please bare with me.

Why can't HTC Sense framework be packed into a ZIP or even APK? I realize the source code is likely under lock and key by HTC, but is that what is needed to make this work? Is it not possible to extract it from developer releases of their ROMs?

Computers can operate by being able to install different packages and frameworks to make certain software work, so why not for Android? The Xposed framework can be installed via APK (similarly to how one would install C++ updates for their PC).

It would be absolutely phenomenal, if taht is even a grand enough word to use if this would be possible. That way, HTC apps like Camera, ZOE, TV etc. would be compatible even on Google Play Edition or other AOSP ROMs.

I say this because after doing research I see that a lot of HTC Sense apps were ported to previous versions of Android GE (ICS for example) that still contained Sense framework files needed to make these apps work.

Could someone intelligible please enlighten me to this? I'd love to at least understand why this is, or is not feasible.
12th March 2014, 12:53 PM   |  #2  
zelendel's Avatar
Moderator Committee - The Dark Knight
Flag Watching from the Shadows
Thanks Meter: 11,848
 
15,375 posts
Join Date:Joined: Aug 2008
Donate to Me
More
Quote:
Originally Posted by Elite83

I'm not a developer so please bare with me.

Why can't HTC Sense framework be packed into a ZIP or even APK? I realize the source code is likely under lock and key by HTC, but is that what is needed to make this work? Is it not possible to extract it from developer releases of their ROMs?

Computers can operate by being able to install different packages and frameworks to make certain software work, so why not for Android? The Xposed framework can be installed via APK (similarly to how one would install C++ updates for their PC).

It would be absolutely phenomenal, if taht is even a grand enough word to use if this would be possible. That way, HTC apps like Camera, ZOE, TV etc. would be compatible even on Google Play Edition or other AOSP ROMs.

I say this because after doing research I see that a lot of HTC Sense apps were ported to previous versions of Android GE (ICS for example) that still contained Sense framework files needed to make these apps work.

Could someone intelligible please enlighten me to this? I'd love to at least understand why this is, or is not feasible.

Ok what you seem not to know is that the framework is the base file for the whole system. This is the file that the drivers and other low level code is set to use. HTC frameworks and AOSP or GE frameworks are very different. To make it work you would need to have HTC release all the driver code and then find a way to mix and match the frameworks to make it work. This would make it almost twice the size.

They will never make it into AOSP. As it goes against just what AOSP stands for.
12th March 2014, 09:06 PM   |  #3  
OP Member
Thanks Meter: 11
 
53 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by zelendel

Ok what you seem not to know is that the framework is the base file for the whole system. This is the file that the drivers and other low level code is set to use. HTC frameworks and AOSP or GE frameworks are very different. To make it work you would need to have HTC release all the driver code and then find a way to mix and match the frameworks to make it work. This would make it almost twice the size.

They will never make it into AOSP. As it goes against just what AOSP stands for.

Ah, I see. Thanks for explaining that.

Another quick question though, if that is the case, why were users(devs?) able to port some HTC Sense apps to GPE roms on previous releases of Android like JB? Or has the entire GPE rom shrunken in size since then because of the obliteration of the lingering Sense files?
Post Reply Subscribe to Thread

Tags
apk, framework, htc, rom, sense
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes