Skip to content Skip to sidebar Skip to footer

Is It Possible To Transplant The Class Textureview To Android Honeycomb

I plan to implement a feature playing several videos in one screen simultaneously and video views can be scrolled while they are playing videos. I am going to add video views to a

Solution 1:

I can't give you a definitive answer, but I doubt it's something you can just drop into your app. It might be possible with reflective access to private APIs.

I can't see how this would be worthwhile. If you look at the version dashboard you'll see that Gingerbread and earlier accounts for about 5.9% of active devices (as of July 7 2015), so even if you made it work with API 10 you would only be increasing your market share by a few percent. The hardware-accelerated View features were introduced in API 11, so I expect making TextureView work in API 10 would be even more of a challenge. API 11 isn't even called out in the dashboard -- AFAIK the few devices that got Honeycomb were all eligible for upgrades to ICS.

(Which specific devices are you hoping to support with API 11 vs. API 14? There's just not that many un-upgraded Motorola Xooms out there. Do you have an API 11 device to test with?)

Making things even more complicated is the lack of API 11 source code. Honeycomb's sources were never released. So you'll be doing a lot of fumbling in the dark trying to get it to work.

I think your best option is to push back on whoever is making the request.

Solution 2:

You should try surfaceView it could be solved your issue.

If you can't handle that edit your question with your source code.

Post a Comment for "Is It Possible To Transplant The Class Textureview To Android Honeycomb"