TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > Developers Corner
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 12-07-2014, 11:53 AM   #1
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 259
Note Java HME SDK fixes

I finally posted on hmedev . wikidot . com the latest complete set of "V49 Classes" that fix known problems with the SDK and make it easier to work with it.

They make it easy to set up an app in V49 TiVo environment using either the 1.4 or 1.4.1e SDK and Bananas classes.

All you have to do is use those three "V49"-prefixed classes in place of the three original classes: BApplication, BApplicationFactory, and IHmeProtocol.

They set up V49, fix known bugs, present missing constants (including keyboard constants), and make some things easier such as:
  • presenting safe regions as Rectangle objects
  • presenting regions that match the heading/logo/content areas of the standard loopset: backgrounds
  • support a text-creation shortcut like the animation, color, image creation shortcuts in setResource (setResource("[0x000000]default-10.font:my text") )
  • stores the DeviceInfo map and other useful data for later use.
  • multipliers for the current resolution vs. SD.

http://hmedev.wikidot.com/v49-classes

If anybody out there wants to create Java Apps anymore... use this. Your life will be easier.

I'll keep adding to it as I learn other fixes.
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is offline   Reply With Quote
Old 12-07-2014, 06:32 PM   #2
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Thanks for posting these! Problem is I don't think I can really use them with streambaby since it is using HME bananas and bananas-plus libraries which extend the non-prefixed versions of the above. I guess to be able to use them I'd have to recompile all the base HME libraries and substitute the original non-prefixed class names with your version above. There probably is an easier way...
__________________
Roamio Pro, Elite, Premiere
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 12-07-2014, 07:42 PM   #3
davidblackledge
Registered lÜser
 
davidblackledge's Avatar
 
Join Date: Sep 2008
Location: NM
Posts: 259
Quote:
Originally Posted by moyekj View Post
Thanks for posting these! Problem is I don't think I can really use them with streambaby since it is using HME bananas and bananas-plus libraries which extend the non-prefixed versions of the above. I guess to be able to use them I'd have to recompile all the base HME libraries and substitute the original non-prefixed class names with your version above. There probably is an easier way...
Well, you could just merge the contents of these all into your streambaby Application and Factory classes... literally copy and paste the contents of the class, tweaking a few references, and merging some methods that you've already implemented.
V49IHmeProtocol is just an interface, so you can "implements" it to get easy access to the constants, still.

Not sure if there will be any problems with Bananas Plus, though.

It was really meant as a "whatever I can fix without touching the HME libraries" idea. If anything needs to change, maybe it would be getting this stuff merged into Bananas Plus.
__________________
EnterWebz.tv
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
+ air qual / lightning maps, minesweeper, 1p/2p card games...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
David.Blackledge.com Solitaire/FreeCell, Calendar, Map...
hmedev.wikidot.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davidblackledge is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVo® is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 02:56 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |