Go Back   xda-developers > Windows Mobile Development and Hacking > Windows Mobile Apps and Games


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th August 2009, 09:53 PM
JMHL JMHL is offline
Senior Member
 
Join Date: Apr 2006
Location: Bordeaux
Posts: 296
Default [WM6.5] [Titanium program] JMLPanex v2.40 (05-Feb-2010)

Developed on HTC Diamond (VGA 480 × 640) with standard Titanium (no WM7.. Project, etc....)


Post#2 : Configuration/Parameter Informations



JMLPanex program (JML Panel Execute) allows multiple hotspots on a plugin (-> Association picture/program).







Changelog Version 2.40 :

BUG !!! (sorry.)


Changelog Version 2.30 :
- dim=RxC (ROWSxCOLS), ex : dim=4x1, dim=2x4 ..... with a single restriction : MAX of 26 positions.

- required for next JMLTodayv5.6


Changelog Version 2.10:
- Bug : Cache works on Portrait AND Landscape mode
- Compatible BronzeListView CPR (to tested. thanks)
- JMLClearCache.mscr script to clear one or all caches
- JMLOffset.mscr script to fix Offset (Rom > 23xxx or BronzeListView CPR)[/color]


Changelog Version 2.00 :
- caching the cpr-part of each Panel for faster reaction (another MichelDiamond's idea)
- reverse search for <Images> (because a big Image must be in First position in CPR, but must be scanned in Last position by JMLPanex)
- #GOTO command to interact with others Pages of a Plugin or another Plugin without manual sliding
- add %JMLTODAY% and %JMLPANEX% for path-file


Installation instructions :
- First
If not yet, install MortScript v4.2 -> *Mortscript site*
- Second
Install CAB file
- Third
Launch JMLPanexForPlugin.mscr to associate JMLPanex to a plugin.


Have Fun!

... and don't forget
For work performed (JMLToday, JMLPanex, JMLStocks, JMLLauncher), time spent, coffee, encouragements … *Donate*
Attached Files
File Type: cab JMLPanexV2.00.cab (27.1 KB, 760 views)
File Type: cab JMLPanexV2.10.cab (29.2 KB, 5055 views)
File Type: cab JMLPanexV2.30.cab (34.0 KB, 4219 views)

Last edited by JMHL; Yesterday at 08:44 AM..
Reply With Quote
Sponsored Links

  #2  
Old 25th August 2009, 09:53 PM
JMHL JMHL is offline
Senior Member
 
Join Date: Apr 2006
Location: Bordeaux
Posts: 296
Default

Configuration/Parameter Informations



Parameter file .pnx
----------------------- for SEARCH in PNX :
- One File in plugin folder (file-name=skin-name.pnx)
or/and
- One File in plugin folder (file-name=plugin-name.pnx)
or/and
- One File in JMLPanex folder (file-name=plugin-name.pnx)
-----------------------
- One section per page of plugin or per area description
- One line per association picture=program


Example JMLToday.pnx for JMLToday plugin :
Code:
[Page1]
default=%PROGRAMFILES%\JMLToday\JMLAction.exe
AlarmPNG=%WINDOWS%\ctlpnl.exe;cplmain.cpl,16,1
BG=%WINDOWS%\ctlpnl.exe|cplmain.cpl,16,0
EmailPNG=%WINDOWS%\tmail.exe;-service "ActiveSync"
SmsPNG=%WINDOWS%\tmail.exe;-service "SMS"
TelPNG=%PROGRAMFILES%\JMLToday\CallHistory.exe
BattPNG=%WINDOWS%\ctlpnl.exe;cplmain.cpl,3

[Page2]
default=%PROGRAMFILES%\JMLToday\JMLMeteo.mscr
NB. : default is the default program when you click out of a picture.

----------------------------------------------------------------------------------------
Constantes File-Path
You can use these constantes in your file-path name :

%PROGRAMFILES%
%WINDOWS%
%MYVIDEO%
%MYPICTURES%
%MYMUSIC%
%JMLTODAY%
%JMLPANEX%


----------------------------------------------------------------------------------------
Program/parameters separator
You can use | or ; in your file-path name to separate parameter to program-name :

Example :
...=%WINDOWS%\ctlpnl.exe|cplmain.cpl,3
or
...=%WINDOWS%\ctlpnl.exe;cplmain.cpl,3

----------------------------------------------------------------------------------------
ACTIONURL - ACTIONURLPNX
When you associate JMLPanex to a plugin, JMLPanexForPlugin.mscr store the old ACTIONURL value in ACTIONURLPNX

----------------------------------------------------------------------------------------
Algorithm
1 - During a click, the plugin launches JMLPanex.exe in passing in parameter the name of the plugin (eg. JMLToday) and the concerned page (eg. Page1)
2 - JMLPanex gets back the coordinates of the click
3 - JMLPanex looks for in the file active .cpr, and in Layer of the plugin (eg. JMLTodayExpanded), the element the positions / dimensions of which correspond in coordinates of the click
4 - JMLPanex gets back ID of the concerned element and search in a file parameters, the associated program and executes it.




----------------------------------------------------------------------------------------
Area Button (MichelDiamond's idea)

- The image is cut in zones representing a matrix
- Every zone can be associated with a program
- Max squared matrice dim = 5 (5x5 zones)
- New dim=RxC (ROWSxCOLS) -> ex : dim=4x1, dim=2x4 ..... 26 zones





Example :




----------------------------------------------------------------------------------------
#GOTO
Syntax : #GOTO page/direction plugin-destination

- page = Page1, Page2... PageN
- direction = Left...LeftN (Left occurs N), Right... RightN, None
- plugin-destination = name of plugin to go (if different)



----------------------------------------------------------------------------------------
Offset]
If you have a vertical offset due to :
- ROM build > 23xxx
- BronzeListView in place of TitaniumListView

-> Run JMLOffset.mscr to fix it

The JMLOffset.ini file contains a list of predefined value depends of resolution and mode (Portrait/Landscape)
Of course, you can change this value when you launch JMLOffset.mscr.

-> Run JMLOffset.mscr twice (Portrait & Landscape)

Rules 1 (to confirm....) :
- ROM WM6.5 build < 23xxx and TitaniumListView -> No offset or Offset = 0 (available for all plugins)
- ROM WM6.5.1 build >23xxx and TitaniumListView -> Run offset, choose 'all' plugins and set a value (-... for up, +... for down)
- BronzeListView : Run offset, and configure for each plugin

Rules 2 :
- TitaniumListView -> offset available for all plugins (only choose 'all' plugins available)
- BronzeListView -> you can configure for each plugin


----------------------------------------------------------------------------------------
Cache
- One .dat file cache per Plugin and per Resolution
- The cache is rebuild when the .CPR file is modified or .dat inexistent
- The cache only work with .CPR file, NOT with .pnx (icon coordinates recorded only, NOT associate action).

-> Run JMLClearCache.mscr to force the recompilation of cache for one or all plugins

For the developpers :
- Delete the appropriates .dat files in your script to clear cache.

Last edited by JMHL; 5th December 2009 at 03:44 PM..
Reply With Quote

  #3  
Old 25th August 2009, 10:50 PM
Jumba Jumba is offline
Senior Member
 
Join Date: Nov 2008
Posts: 146
Default

Excellent! Updated skins on the way.
Reply With Quote

  #4  
Old 25th August 2009, 11:42 PM
jug6ernaut's Avatar
jug6ernaut jug6ernaut is offline
Senior Member
 
Join Date: Jun 2006
Location: College Station, Tx
Posts: 1,240
Default

wow nice/exciting!
__________________

LG Monaco/LG Expo
Rom: Customized Stock 21749
Snapdragon ftw
-------------------------------
HTC Raphael/AT&T Fuze
Rom: Mystic 1.9[Da_G Base]
Radio: 1.12.25.19
--------------------------------
HTC Kaiser/AT&T Tilt
--------------------------------
HTC Wizard/Cingular 8125

if you wanna help the broke college student LOL

Me "If your not smart enough to make your own rom, you are smart enough to fuck up someone else's"
Reply With Quote

  #5  
Old 26th August 2009, 01:14 AM
MichelDiamond's Avatar
MichelDiamond MichelDiamond is online now
Senior Member
 
Join Date: Jul 2009
Posts: 728
Default

Short Info: will work on each Resolution in TitaniumListView-Skins

You can have Buttons without any new running background-process.

Try it with JMLToday - and you will get working SMS, Phone,.... - Buttons It's great!
Reply With Quote

  #6  
Old 26th August 2009, 08:00 AM
Jumba Jumba is offline
Senior Member
 
Join Date: Nov 2008
Posts: 146
Default

Heya, can we now use buttons that are out of the focus bar area? This wasn't the case in the beta.
Reply With Quote

  #7  
Old 26th August 2009, 09:15 AM
mysterd's Avatar
mysterd mysterd is offline
Senior Member
 
Join Date: Feb 2008
Posts: 139
Default

Sorry to be a little off topic or if I didn't search enough... But I haven't changed my ROM to a 6.5 one yet, so I don't really understand the titanium behaviour. Can you give me pointers to some information about that ?

From what I read here, in the normal titanium plugins, you can't have multiple clicking areas ? Is that true ? From the screenshots of software like JMLToday, I had understood that it was possible to have real buttons on a titanium panel (for example to enable / disable bluetooth and so on...). Am I wrong ?

Mods, if I'm way too off topic, please delete this post...

Thanks in advance for your help.

Cheers
__________________
MysterD


HTC Touch Diamond (P3700)
ROM : DiamondStone 5.0 for Orange FR by TekTonik
Radio : 1.15.25.14
Windows Mobile 6.1 (Buid 21042.1.6.1)


Orange SPV M600 (HTC Prophet) G4
ROM : My Diamond Edition 2 by Varanusvincent
Radio : 2.19.21
Windows Mobile 6.1 (build 20273.1.3.3)
Reply With Quote

  #8  
Old 26th August 2009, 09:56 AM
JMHL JMHL is offline
Senior Member
 
Join Date: Apr 2006
Location: Bordeaux
Posts: 296
Default

@MysterD : French sîte -> http://htc-touch-diamond.forumactif....out-t14134.htm

A++
Reply With Quote

  #9  
Old 26th August 2009, 10:03 AM
mysterd's Avatar
mysterd mysterd is offline
Senior Member
 
Join Date: Feb 2008
Posts: 139
Default

Thanks for your answer... I'm already a member of this forum, too

I'll try and read everything over there too...
__________________
MysterD


HTC Touch Diamond (P3700)
ROM : DiamondStone 5.0 for Orange FR by TekTonik
Radio : 1.15.25.14
Windows Mobile 6.1 (Buid 21042.1.6.1)


Orange SPV M600 (HTC Prophet) G4
ROM : My Diamond Edition 2 by Varanusvincent
Radio : 2.19.21
Windows Mobile 6.1 (build 20273.1.3.3)
Reply With Quote

  #10  
Old 26th August 2009, 12:45 PM
MichelDiamond's Avatar
MichelDiamond MichelDiamond is online now
Senior Member
 
Join Date: Jul 2009
Posts: 728
Default

Yes - Titanium itself has no workable buttons by default - but if you once use it - I already was a Fan of TF3D2 - I changed to Titanium. It's integrated in system - no third party - and uses much less RAM and Battery than TF3D2.
And it's easy to configure - not like the Manila-Files (please read the other Threads about "Titanium" as Search Tag - then you will see, how nice it is)

But - with JMLPanex - everybody can easily switch his Plugin to a Plugin with working Buttons (and WITHOUT 24/7-Script to do this!!!) - everybody can do this now - I don't know, if the users (and especially the Plugin-Developers) already mentioned it, what a Killer app is JMLPanex.

I will make an example as How-To tomorrow (with JMLToday - but you can use this in the same way for EACH TITANIUM-PLUGIN, that it gets workable Buttons in an easy an light way)

Reply With Quote

Reply

Tags
jmlpanex, titanium, titaniumrss, wm6.5

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Forum Jump


All times are GMT +1. The time now is 10:50 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.