[App] The Mortifier v0.96 - Your Mortscript coding pal - Windows Mobile Software Development

Hi,
Welcome new and longtime Mortscript coders. This app will bridge the gap between you and coding Mortscript on your phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here are a few limitations we experience as we Mort code more and more.
Getting at It:
So you've set up a a script, Do-Me-Now.mscr, and copied it into a sub folder on your phone. Maybe you even copied it into a sub sub folder because you have so many scripts, like me.
How fast can you browse to that script? Well let's see, Start, Explore, Storage Card, Morts, Testing. There it is! Great! I am here, now I run Do-Me-Now.mscr. And of course, like all new and great scripts, it doesn't run. That only took us clicking four clicks to get there and run it. My thumbs already tired and I have a blister.
Exploring Anew:
Now run another script you have in a different sub-folder. Click up, Click into new sub folder. Keep in mind not all phones File Browse quickly. My phone is more small perhaps than your screen, as well as slower. Small is a pain to see while browsing folders. I feel it every time I click the D-Pad I am committing to waiting. You may have tabbed exploring, but I don't. Then if I want to get back to my old script, browsing back. It isn't simple.
Edit Me Not:
I see my file in the little File Browser window, I can run it, but now I need to edit it. Right Click? Do any mobile phones have a right click button? If mine does I have never seen. My soft menu buttons say "Find" and "Menu". Where is the "Edit File"? Dead end. But wait, I know, we can rename Do-Me-Now.mscr to Do-Me-Now.TXT, and now we can edit it with the default editor. Then save it and rename it to Do-Me-Now.mscr. Well at least we can.
Tomorrow is a Whole New Day:
I've reset my phone. Or the phone auto closed my File Browser. Now I start finger browsing from scratch. No favorite folder list, no default last explored folder is selected. Every time I run File Browser I have to start from scratch.
But Wait, I have More:
It seems I have to run a couple mortscripts in a session of coding. My test app, a windowrecording utility, another app or two. I want to click one app from my start menu, and be in my environment.
More, not Less:
Now I am in my environment, editing is now possible. But I can do more with the clicks I saved, what else? Handy access to your photo browser, registry editor, and screenshot taker (Moves your screenshots as well).
Less, not More:
But wait a sec, can't we just open the text file editor on the phone and start there? Maybe. In the first place, wow, I try and use the best editors on the market on my phone, but they all seem to have very annoying limitations. Some editors can't remember which files we were just editing, no recent list. Some editors have such a terrible document loading interface I was unable to browse for my document at all. This goes for Osymo Textpad as well as Orneta's Notepad. Not to mention, half the apps I tried don't have a close/exit option.
But irregardless, this is not just a launcher of convenience. It is also a launcher of utility.
The Mortifier will be bridging the limitations of working in a tiny mobile environment.
Click to expand...
Click to collapse
Features:
Quick access to prior scripts:
Keeps a library of your prior script edits. Script Modes: Spy run, Select script, Directory search.
Internal Registry Browser & Paster:
Browse the registry, choose the Key you want, and it will be pasted into your Mort code. Edit values. Search could be added to a future version.
Watched Folder Sync:
Bluetooth Sync - Select a destination directory and then you can transfer intended files over through bluetooth transfer. It will move those new files into the destination folder, as well as extract zip files as a directory in the target folder. Storage card sync will be next (As soon as i can connect). Maybe it will keep track of prior target directory in a later version?
Windows install folder cab copier
Window/App Recorder:
Records window titles and application processes, very useful for knowing process names and window titles!
Support for VJTrayLaunch. If you have it installed to the phones main memory, when you run The Mortifier it will put a quick launch to the tray. After you exit The Mortifier you can just click the Tray launcher and it will re-open The Mortifier.
Future Additions(?):
Mortscript Language Code Dictionary:
Browse to the Mortscript command you want to insert into your code and select it. Internal support for Orneta Notepad, but any text editor will work.
Personal IIS web updating. Who needs to wires or BT to update our scripts/cabs/docs/jpgs etc.
Prior Versions:
TheMortifier v0.7 (5.8 KB, 24 views)
TheMortifier v0.8 (5.6 KB, 42 views)
TheMortifier v0.9 (6.4 KB, 25 views)
TheMortifier v0.95 (6.4 KB, 61 views)

Runs with
Added support for VJTrayLaunch. If you have it installed to the phones main memory, when you run The Mortifier it will put a quick launch to the tray. After you exit The Mortifier you can just click the Tray launcher and it will open The Mortifier.

HK is a bit vague,
so i plan to explain the power of what hes doing.
This SOB will allow you to run mscr, because it scanned it.
But the power IMO is the ability to edit your mscr files on the fly right on your handheld!!

nhvoltagenh said:
HK is a bit vague,
so i plan to explain the power of what hes doing.
This SOB will allow you to run mscr, because it scanned it.
But the power IMO is the ability to edit your mscr files on the fly right on your handheld!!
Click to expand...
Click to collapse
couldnt u do this with a regular text editor?

Glad u ask.
This does not replace the functions of a text editor on your mobile phone.
It is a front-end tool. I will list some of the limitations of coding on a mobile phone.

howdykeith ,
I like the idea. When are you planing on getting this out?

Primary release quite soon.
For a couple of the bigger things, like the code dictionary, will follow in the next couple days. Lot of text I will need to reformat, I will.
I've paused working on my other apps so I can get this done and start using it myself.

jug6ernaut said:
couldnt u do this with a regular text editor?
Click to expand...
Click to collapse
Right you could, but whats the process of doing that?
Either open the file, and then select all files, then open the mscr file...
or rename the mscr to a txt file, then open edit resave.
i have a demo version of this now for ppc.
and talk about slick.
heres some screen shots of it
All i do is run the app, select the mscr file, it auto opens it, you edit it press save, and your done.

Hi y'all.
So things are progressing real nice.
I was kind of concerned I was going to have to deal with passing a lot of arrays but it's goin real smooth like.
If anybody wants to try it, give a holler.

Awesome can't wait, thanks for making this.

So an update .
I have finished almost all of the Registry browser. Once I finish the Registry browser path library, I will get back to the mortifier and making the script library for the list of scripts and then i will put out a release.
Screenshots:

Hi
nother update.
I look up at the edit subkey pic and i want it to auto fill the text field. i expect to be able to do that no prob.
Closing in on the finish of the registry browser.

why don't you use c++ or some other program language to develop such a tool?i think that will run more efficiently than a tool developed with a script language.the script language has its own advantage and disadvantage..for exp it's easy to write,run, read ,and modify, but can't afford to operate with numerous data(no database support) ,etc.if i had studied some program language like c c++ c# ,i will develop such a tool with that...however i really appreciate what you do

wei2005yh said:
why don't you use c++ or some other program language to develop such a tool?i think that will run more efficiently than a tool developed with a script language.the script language has its own advantage and disadvantage..for exp it's easy to write,run, read ,and modify, but can't afford to operate with numerous data(no database support) ,etc.if i had studied some program language like c c++ c#
Click to expand...
Click to collapse
As u know, there are a number of programming environments to program in for mobile phones.
.net is a beast. The learning curve is high, and even though i have taken courses in c++, coding on the mobile phone is not high on the course instruction list apparently.
Mortscript is quite similar to c++. For certain purposes, Mortscript is just as valid as any other environment. Sure Mortscript needs to be included or installed, but keep in mind installing .net on a mobile phone takes about 6 megs.
You are correct about the lack of database access, but that would be way overkill for most Mortscript apps, as well as any other app that doesn't need database access.
How much better would any of the apps i have constructed work if they were coded in c++/c#?
That being said, I am continuing to take .net courses, and I would not be surprised if i dont have time to plug away at Mortscript any more once i am full time .net. Who knows?
That all being said, I am just tidying up The Mortifier, and it will definitely be released today or tomorrow...

Hi,
So here is a first release of The Mortifier.
Much works. Some of the more esoteric functions are not working yet, like "kill all Mortscripts".
ToDo:
Registry Find
Auto Detect Text available text editors
WindowRecorder w/screenshots
Folderwatcher
Load recent scripts
Language code dictionary
Add more scripts
Re-set text editor
& Fix what's broke
Any other features that r missing, please alert me!
Because of the re-set text editor and the additional script setter needs to be included, I will be updating the script very shortly...

So we can make menus with kvvQuickmenu. not so sure submenus would work so well. would have to either keep swapping the ini file and restart the menu, which we probly could do, or have the quickmenu exe and ini file in each separate subfolder for each menu... If we did that we could probly also just do it with 2 subfolders. Keeping the first ini intact would be a good idear.

The Mortifier v0.8
Update for The Mortifier:
Command-Line Tester: Browse to the exe and enter your command line parameters. Keeps the old exe and parameters in memory so you can re-test them easily.
Task Manager is a functional menu. If you have a different Taskmanager or one that is built in, let me know and i will have it auto set for that one.

Version 0.9 - Bluetooth Folder Sync
Hi.
Here is version 0.9
There's a couple fixes here and there. WindowAppRecorder has some added info messages. The Mortifier shouldn't leave any temp files any more.
The most major update is to the Utils section. This version adds a Bluetooth folder synchronizer. So if you run the BT Synch option, you will pick the target folder. Then you can bluetooth files over to your phone that you want in the target folder. It will move all the new files that you just bluetoothed over. If you send a zip file, it will ask you if you want to extract the zip as a folder in the target directory. It will timeout after 3 seconds, so if you just wanted to move the zip instead you would click "Move as Archive" instead.
It seems too often I can't send files over cept through bt. usually i can reboot my computer and it is fixed, but often i dont want to reboot. This utility is to bridge the functionality gap for bt transfers.
Not sure why the Auto save/Hider for BT files isnt working, but thats just xtra. Maybe a future update will ask if you want to browse the destination folder when you are done.

Hi howdykeith,
can't wait to get it in my fingers (phone) to hack it. I have to travel sometimes very long. So as the next week. I have to travel from Amsterdam to Moscow and then 13 hours with the train. And that for three days work, that can't be done on remote, aaahhhhhhh.
How uncool is that? But then i have a lot of software on my laptop. A copy of my ROM and no extra accus for my phone, but i have the USB cabel to charge my phone . Then i have the time to check your little app, also the script for ms voice command. And i hope i have a minimal signal of 3G on my phone, then i can be online. And that me, without internet, only wodka, aahhhhh

Hi thanks.
So I did update the app so it wouldn't copy over the stub apps that get deleted when the bluetooth sync is initiated.
also, i did get the Auto hide and save on BT transfer working good. The auto hide will be available on the next release of the StatusTicker app as well...
Also the bluetooth auto transfer hints to the current number 1 script directory. That works real well.
Added the function for auto cab install through BT transfer. I may add "Auto detect BT dir" for wm6. I probly will remember to add Storage Card sync to do the same as BT sync.
Added is support for VJTray Launcher.
I likely may add a VJTray Launcher Library Util.
VJTrayLaunch is only for launching a small number of apps. Don't use it for 15 etc (due to the 32 task limit on WM)
Click to expand...
Click to collapse
Maybe not this next release? But soon.
I am adding registry search to the registry browser, so as soon as that is done I will post it here.
Below is a screenshot of vjTray:

Related

[App][BETA] Kill**** - process killer

This is my first app for WinCE so please be nice!
Rant
It seems I'm part of a minority of users who understand that mobile devices and PDA's are not designed to run multiple apps at once. You can, but anyone with a decent sense of quality will agree that it's a rubbish experience once you get under 50% free memory. In fact the iPhone by default design doesn't let you multi-task apps (jailbreak changes this) which may be one of the reasons peeps think its a faster device. I say I'm part of a minority because most apps around are coded so that when you hit the 'x' close button they minimize instead of close (even by holding x). Also Windows has no inbuilt mechanisms for keeping your apps closed, and none of the roms I've tried (cooked or otherwise) seem to have these types of tools included.
Disclaimer
Firstly I hope I haven't reinvented the wheel or stolen anyone else's idea. I didn't research for months but didn't find anything like this around so apologize in advance if I upset anyone. Also I provide this tool "as-is" in BETA form - so it could damage your device - so use at your own risk.
Kill****?! What is it?
It is a simple app that kills running processes.
Why would I want it - what's wrong with Task Manager?
A common example is you open up Calc to do divide a dinner bill, lookup how to get home in Google maps, send an SMS to a friend and hit Home key. Then you wonder why the thing is running like a dog. You open task manager and notice you have these 3 freakin apps are open still and taking up your memory. So you're expected to open Task Manager after every time you're finished with an app?...no I dont think so..because you've got Kill****! You manage an exemption file, assign the app to one of your softkeys (or events) and it will quickly, quietly kill all other **** running for you.
How Does It Work?
It stores a text file on disk with names of processes that you wish to exempt. You can manage this via the included config tool. When you run the app (which is a console app) it just kills every running process other than the ones on your exclude list. The exclusion file is stored in your default MyDocuments folder and is called something like "NoofnyKill****.settings". Real simple.
What Do I Need To Run It?
Microsoft Windows Mobile (4 and above)
Microsoft .NET Compact Framework 3.5
How Do I Install It?
Simply run the attached CAB and everything is installed for you. 2 icons are added to your Start Menu (the config tool and the console app itself). The app is installed in the default Programs folder.
How Do I Use It?
If the exceptions file does not exist it will be created new and will contain all of the running process at the time the app ran.
The best instructions are;
1) Have your device in your preferred state with only your basic apps running.
2) Open the config tool from the start menu (Kill**** Config).
3) All of the running processes will list with a check next to them (which 4) means they will be exempted).
4) Click Menu -> Save Exceptions and close the config tool.
5) Assign the console app (KilL****.exe) to one of your softkeys or other buttons using your favorite tweak tool.
What Else Do I Need To Know?
I am not responsible for anything negative or positive this app will do to you, your device or life. Use at your own risk. I have not tested this app well and can only guarantee that I have fundamentally screwed something up. If anyone does use it and wants help I will do my best but try to help by giving as much detailed info as possible when reporting any bugs. I'm open to suggestions and are planning to put the source code up here if anyone shows interest.
That's about it - hope it makes someone's life a little brighter.
Hi!
This looks interesting. Is there anyway to cook this into a ROM properly? I dont like to have users make a file in their my documents folder.
Cheers
Epiphany
EpiphanyNL said:
Is there anyway to cook this into a ROM properly? I dont like to have users make a file in their my documents folder.
Click to expand...
Click to collapse
Thanks...i can have the file live anywhere really, I just chose MyDocuments cause its easy and accessible. It's easy to even have them define in the config tool where they want to save the settings. I'm new to mobile dev and the whole rom cooking thing, so could you expand about what would be needed to cook this app into a rom?
actually after giving it more thought it would be more practical to store this in the registry. I chose to use a text file at first because I was not going to bother have a config app and you could modify it using notepad or something.
In registry would be the most preferred method yes.

CycloneApps[By Request][ContactRetriever 3.0][CMessageSuite V1.0][CBRunner V1.0]

Hello Everyone,
I am a avid, aspiring developer, and as such I felt it would be mutually beneficial to start this thread. The Point of this this is for you [the users] to post up ideas for programs, and some sketch-ups of designs, and in return, I will try to make, and maintain, these applications.
In doing this, I will get the experience I need, and you [the users] will get the results that you [hopefully] want.
Below is [or will be soon enough] a list of programs that are developed or in the process of consideration.
Project List:
AutoSend - Scheduled SMS Sender [V3.5][NO LONGER BEING UPDATED]
CMail - A Replacement tmail for Devs and Advanced Users[V1.0]
Export-Studio - A FREE alternative app to export Contacts and SMS[V4.0 + Command Line Version]
Appointmentor - A command-line based app for creating appointments quickly and easily [V1.5]
ContactRetriever - A command-line based app for getting info on a specific contact! [V3.5]
CDL - A Command-Line based File downloader (designed with MortScripter's in mind) [Release Delayed]
CSort - A Command-Line based List Sorter (designed with MortScripters in mind) [V2.0]
ImgResize - A Command-Line based Image Resizer (Resize + Crop) [V2.0]
All2Reg - Based off of Msg2Reg, this will export MANY things to registry [Coming Soon]
TornadoClean - A utility for deleting old files/SMS/MMS/EMAILS with certain 'traits' specified by the user [Conceptual - PsuedoCode Stage]
CBRunner - [Idea courtesy of HowdyKeith] Runs EXE's (and possibly other file types like MP3, etc.) In the background so MortScripters can do their stuff! [V1.0]
CMessageSuite - A Re-Make of AutoSend with more features! [V1.0]
*As you can see, the list is sort of pathetic now, but with your help, I can bulk it up*
UPDATE:
A command-line version of Export Studio is now posted for all you Scripters!
Appointmentor[V1.5]
This program allows scripters and devs to quickly and easily make appointments. This program features the ability to set every parameter that a user could set thru the calendar itself (I believe...)
This Program Includes:
A documentation explaining all parameters
A small cmd-line app for creating appointments.
To Install:
Just download and extract the ZIP file to anywhere on your phone, and you are done!
To use:
Follow the parameters in the documentation, but as for running it, run it like any other command-line based program.
Tips:
Not all parameters must be set, as I have preset defaults (shown in documentation).
EDIT: DOWNLOADS REUPLOADED
V1.5 Update:
In this update, you can DELETE scheduled appointments. This feature has not been thoroughly tested, so errors may occur. Will test in near future. (If users could post back successes/failures it would help).
Please test it out!
*While I coded this on my own, credit must be given to google and this forum for its constant help in everything I do. Please don't forget that while these apps are free, donations are appreciated!*
Update:
I fixed up a major issue in Appointmentor and re-uploaded it. Now it should work. All documentation is provided in the ZIP file. Please test and post results and ideas!!!!
Image Resizer [V2.0](Command-Line Utility)
This application is a command-line based app for resizing images.
All instructions are provided in the Documentation.txt
Enjoy!
V1.5 Update:
In this version of the program, Cropping is now available. Look at the docs to find out how to use it. I also fixed an issue with Naming, so now the outputted file has the ACTUAL size of the image (not what is inputted in some cases). Also, you can use PERCENTAGE to resize/crop. Lastly, you can now simply convert your file from one extension to another.
V2.0 Update:
In this version, BatchCropping and BatchResizing is now available. Look at the docs to find out how to use it. This comes in handy when dealing with many pics in a folder. Please report back any bugs that are found
DISCLAIMER::::::
I did not code this program fully by myself. For the original Image Resizing project visit:
http://blogs.msdn.com/acoat/archive/2007/05/09/resize-images-a-thumbnail-maker.aspx
All Credit for the actual Image Resizing functions of this app go to the original author:
Username on msdn blogs is : acoat
Name (?) : Andrew Coates
ContactRetriever V3.5
This application allows a scripter or dev to export a specific contact's data for easy use!
This program includes:
A simple, easy to follow documentation and functionality
A light-weight solution for getting contact info.
A SUPER EASY GUI (contacts menu) when not wanting to start it in CommandLine mode.
The ability to export specific contacts (or many) as VCF files
To Install/Use
Just unzip the ZIP file and read the documentation!
(To use the GUI, just run the app WITHOUT parameters, to use the CMD run it WITH paramteres)
Bugs:
None so far!
V3.5 Update:
In this version, you can find contacts by partial (or full) phone numbers! Read the docs for more info.
Please remember that while I did the coding on my own, help came from XDA and Google and the millions of resources on the net. Please remember that while this application is free, Donations are greatly appreciated!
Enjoy!
UPDATE:::
Export-Studio 2.5 Is now out.
2.5 Has the ability to set the NUMBER of Contacts/SMS to be exported (with a safeguard that if the number is too high or is 0, it will set it to the maximum).
Expect an upgrade to Export-Studio 3.0 Soon (ability to export to VCF, and maybe MMS implementations).
Expect a new CMail to come out (ability to send E-Mail's via commandline and maybe MMS implementations).
Contact related app...
I've been searching for an app that allows to browse the contact list (with a scrollable list of names for a GUI... similar to Outlook or any other contact manager) and retrieves a selected contact full name as a reg key (my point would be using it in conjunction with MortScript and go2contact to add a dynamic contact launcher feature to my HS++ skin... guess it would be usefull for other skinning engines too).
Would you be willing to do such an app?
frmariam said:
I've been searching for an app that allows to browse the contact list (with a scrollable list of names for a GUI... similar to Outlook or any other contact manager) and retrieves a selected contact full name as a reg key (my point would be using it in conjunction with MortScript and go2contact to add a dynamic contact launcher feature to my HS++ skin... guess it would be usefull for other skinning engines too).
Would you be willing to do such an app?
Click to expand...
Click to collapse
Sure would be! I will just implement a GUI into ContactRetriever! Expect a release in 10 minutes TOPS.
UPDATE::
Export-Studio 3.0 Now released - Can export Contacts as vCard (VCF) format!
UPDATE::
ContactRetriever 1.5 NOW released - Has a really simple GUI (same functions)!!
UPDATE::
ContactRetriever 2.0 NOW released - Ability to export as VCF, control # of contacts, and WILDCARD'ing
Thank you so much! Just tried it and this was what I was looking for.
There seems to be an issue though... I can only get stuff from the first contact in the list... Also the name will be in all caps and have an underscore before it... I can't get any other contatcs info in the reg...
how about Cdown.exe -url "http:.../file.zip" -outp ".../file-Downd.zip"
as smartphones cant do that w/mort atm...
howdykeith said:
how about Cdown.exe -url "http:.../file.zip" -outp ".../file-Downd.zip"
as smartphones cant do that w/mort atm...
Click to expand...
Click to collapse
Added to project list....WOrking on it
Thank you so much for fixing ContactRetriever
While the paint is still fresh... Any chance on creating a value for the selected contact named "LastSelectedContact" (or something else) where the contact name is the data (without the preceding underscore and case sensitive like Outlook). Would really make it a lot easier to MortScript (I really have no idea how to get just the desired part of the key and remove the underscore).
Hope I'm not abusing of your good will...
Hey, so I can't really make a key that is for "lastcontact" because the command-line users may export a whole bunch of them (as you can see, I implemented the ability to export based on Wildcards)....
As for removing the underscore and such, I put that there as a standard for users so that they know what WAS created by my program, or what was created by something else that may have used the same area (rare, but possible).
Anyways, if you want to format it, do a substring on the Key name using the indexOf the _ as the ending for the first and that + 1 for the start of the second, then bring it all to lowercase then make the first uppercase (through substringing?) I don't know the mort-commands, but I am sure you can figure it out by asking HowdyKeith or posting on the MortScript thread or reading the Manual on Mort's website.
Good Luck
Thanks for the info. I've been reading the txt manual of Mortscript and it's kind of incomplete compared to the pdf... I'll read it tomorrow (must sleep) but until now I didn't find a function that returns the reg key (because it'll be random). I'm sure the substring bit will help.
Just found my contact list got sort of messed up by some app I used (guess it's too late to find out which one...) All the names (first and last) are now stored in the first name box... I didn't notice it before so I didn't get why was there a _ before the name even when I had a last name too.
Ok.
How about CSort.exe -inp "/path/Unsorted.txt" -outp "/path/sorted.txt"
maybe the option to dump the output into a regkey:
Sorted1=Alimoney
Sorted2=Bingo
...
If we r dumping to a reg folder, why not import from a registry folder too?
So i know u got the picture taking exe.
what about calling the Camera get picture class? Like your contact retriever calls the GUI.
I have to think about it to see if that makes sense.
howdykeith said:
So i know u got the picture taking exe.
what about calling the Camera get picture class? Like your contact retriever calls the GUI.
I have to think about it to see if that makes sense.
Click to expand...
Click to collapse
I am using Managed C# code, and the most 'power' that I get in terms of taking photos is just to start up the 'dialog' with certain paramters....so in MortScript, a script can just call it, then send the "ENTER" button to start and "ENTER" to stop (if it is a video) or save (if it is a photo)....
*FYI: The Camera App I am developing is currently in Private Beta, release soon enough*
So as far as contacts posted to the reg from contact retriever.
It probly should always delete the prior searches unless you give it a command -keep
For the advanced hacker: SQL database access and posting.
Do u have a Microsoft Bluetooth stack? There is no toggler for Widcomm Bluetooth. PhoneAlarm controls the bt just fine, so it's not impossible.
Can you turn on and off the flash? Other apps do it, so that's a low priority. But if you could and u added that function to an all in one tool, that would be cool.
Make a contact from a command line.
Can u change the power profiles? Normal/Headset/Auto...
Can u get the accelerometer info? i dont have one. Detect stylus removed from a command line?
I really hope u can get the sorter to the registry, so i am holding my breath til then.
Thanks Dude.

[XAP + Source] Advanced Explorer [Version 1.4]

Hello XDA Community,
@DEVELOPERS: I need some developers with other devices to make things (at least parts of advanced explorer) work on other devices (i have a htd hd7). !Programming & Testing!
Please PM me
To bring all together what xda achieved for WP7, i wrote a helper app for the following tasks,
- File management
- Registry management
- Copy files from desktop to phone
- Copy files from phone to desktop
- Set max unsigned apps
- Provision any given XML
If you post in this thread how any of those features could be implemented on other devices, i will maybe implement them. You can always send me a modified version and i will maybe update this post with the new version!
Usage/(Release-)Notes on the website!
If you encounter any errors, or wanna give some feedback => just leave a post here or use the idea page or write me an email (go to contact on the homepage)!
I included the source code, so that anybody can modify it at will but do not use anything here for commercial purposes (contact me first).
Homepage for this project:
http://sites.google.com/site/yaafdevelopers/projects/advanced-explorer-for-wp7
You can give feedback / bugreports:
http://advancedexplorerwp7.codeplex.com/
(Go to Discussion or Issue Tracker)
You will find the latest version and the Release-Notes there. I will continue to watch this thread!
Because some people asked how to support/donate me:
I appreciate every donation! Thank you!
reddragon
He that is great stff... i am glad you added the source i was thinking about how this could work having had a little peek at the code in the samples that Ms provided.
wings over a thanks too
Question...If you send a file, where does the device dump it into the computer? I was getting an error sending the file to my computer at first, but then I configured correctly and it sends fine, but I don't know where it is...
Edit: Nevermind, I got it. Upload/Download Root folders. Good work on this app man. Pretty nifty. Uploaded a .doc from my laptop to the phone, copy/pasted it into My Docs and it appeared and opened on MS Office Word perfectly.
nice ! but ...
Nice app !
But can't send from \windows directory ?..
Re: can't send from \windows
Hey,
like i said in my first post i brought together what was achieved...
Im using the HTC app COM dll files for file system access. Actually you can send files from \windows but not all. (in usage or no access)...
If somebody knows a better way, or something for other devices => just implement and send it, or post here!
The problem: Now it works on my device, so I can do what i wanted to do (coping .pdf and other stuff on the wp7) I have not the time to search & wait for other devices.
I tried to code it very generic and emulated the System.IO namespace, so everybody can add his results or replace it with better results.
Just contact me and I will check the code and update the first post.
reddragon93
eternalemb said:
Question...If you send a file, where does the device dump it into the computer? I was getting an error sending the file to my computer at first, but then I configured correctly and it sends fine, but I don't know where it is...
Edit: Nevermind, I got it. Upload/Download Root folders. Good work on this app man. Pretty nifty. Uploaded a .doc from my laptop to the phone, copy/pasted it into My Docs and it appeared and opened on MS Office Word perfectly.
Click to expand...
Click to collapse
actually you can double tab any file and it should open from any folder.
To get PDF working I copy the file to the PDF reader (most likely the app will crash if Adobe reader is not installed), but you will not see anything as PDF reader just pops up with the file
Just like always contact me if there are file types missing!
cool app, ty
how long did it take?
hi reddragon93, thank you for your work, i've an lg optimus 7, is there an eta for explorer for other device?
i need it!!!
thank you so much!
gianlucarugby said:
hi reddragon93, thank you for your work, i've an lg optimus 7, is there an eta for explorer for other device?
i need it!!!
thank you so much!
Click to expand...
Click to collapse
I really can understand you because I needed this for myself (that's why I coded it in the first place)
But the answer is NO, because we have to wait until somebody finds a way to get access on other devices and shares the info (i will observe this thread for new infos).
And by the way you should not ask for ETA in developer forum (forum rules), but it's OK for me. Hope you will be the only one after my answer
I answered this question in my first post:
"If you post in this thread how any of those features could be implemented on other devices, i will maybe implement them"
Hope I answered your question.
reddragon
thanks, you were very kind,
apologize me for the ETA, i did not know, i'm just a student not a developer!
good work!
EDIT: I can't figure out how to mark a post as useful yet, so let me just say THANK YOU!!!
Awesome app. However, there are a few things that would be nice in terms of file types:
Any chance of getting support for loading .mobi files (Kindle ebooks)? I'd love to be able to sideload books that aren't in the Amazon store.
Currently, .log files won't open. Copy/renaming them to .txt should work, or a simple text reader/editor could be built-in.
Possible bug: the "Max unsigned apps" field in Settings is showing "Not set - (can't read from registry)" Setting it from within the app seems to work, though (and be remembered).
Feature request: ability to search the registry
Small change request: pressing Back on an Exception could do the same as OK (rather than exiting).
Overally, much thanks for an awesome tool!
Thanks for feedback
GoodDayToDie said:
EDIT: I can't figure out how to mark a post as useful yet, so let me just say THANK YOU!!!
Awesome app. However, there are a few things that would be nice in terms of file types:
Any chance of getting support for loading .mobi files (Kindle ebooks)? I'd love to be able to sideload books that aren't in the Amazon store.
Currently, .log files won't open. Copy/renaming them to .txt should work, or a simple text reader/editor could be built-in.
Possible bug: the "Max unsigned apps" field in Settings is showing "Not set - (can't read from registry)" Setting it from within the app seems to work, though (and be remembered).
Feature request: ability to search the registry
Small change request: pressing Back on an Exception could do the same as OK (rather than exiting).
Overally, much thanks for an awesome tool!
Click to expand...
Click to collapse
Thanks for your feedback!
(1) I really needed the app for myself (real pdf support) so... The Thanks Button is only visible with 5+ Posts
(2) i will pm you maybe if i find some spare time. This is most likely pretty simple to implement. Can you edit your (or create a new) post and describe what happens if you double tab a kindle book with the current version?
(3) yeah i saw this before but didn't thought it is important enough to implement. I don't have the time for the own Editor (you have to handle really big files for example) but i can do the renaming thing behind the scenes (remember renaming = copy+delete until a better solution is found).
(4) on first app start i have really no solution in determining how the value is set (no access on this key). So my solution was to set this text ("Not set - (can't read from registry)" until you set a value => then i save this value local to the app, and set it every time the app starts (It gets reset every time i connect the device to the PC anyway)
(5) "search the registry": I thought on this one... But this will not be of much use as we have not really much read access
NOTE: The Problem with the registry is that we have FULL WRITE access trough the provxml method but not very much READ access (HTC COM .dll)
(6) really? I'm satisfied with the current behavior. Without searching I don't know if this is a small change maybe it is, maybe not. At least it looks like one but that doesn't mean anything
reddragon
Thanks for the response, reddragon. I'm at work right now, so the .mobi thing will have to wait. It's a very common request among WP7 users around here, though.
I've found that selecting the Edit context item will open any file in Word, which is typically sufficient for viewing and even editing purposes! True plain text files open fine regardless of extension, and even binary files will usually have enough ASCII in them to determine useful info. You can also send any file (via email) from Word, if you want to email an attachment rather than just transfer to a PC.
Unfortunately, I've found that XML files just... don't work. Double-clicking them opens IE, which complains that it can't handle that file type. Selecting Edit on them looks like it's opening some Office app, but the app then closes and drops back into Advanced Explorer (no error). This is the currently problematic filetype, as a *lot* of data is stored in XML.
The "Registry Editor" app already provides registry search (and despite the security restrictions on read it *mostly* works) but without system copy-paste it's tricky moving data between apps. I enjoy being able to pan between the FS and registry... hell, I want a Windows (desktop) app that does this, now.
It looks like there's FS search (an option on the command bar, and a text box that appears) but I can't get it to do anything. Pressing Enter has no effect, tapping either Refresh or Search again just reloads the page. Am I using this right? It would be great to be able to either scroll long folders (\Windows) or find a filename behind a bunch of GUIDs.
Some files show as "0 b" size, even though they almost certainly aren't. Is that just because some program has an exclusive lock on them and their size can't be read in that state?
Any chance of the ability to create folders in the GUI (I think I see how to do it with provxml files, but that's not exactly convenient)?
Thanks for the explanations on the registry. I was wondering how you could write to locations that you can't read from... Also, I didn't know the sideload limit resets itself. That's something I'll have to watch out for, as I'm near the nominal sideload limit already. Hmm... maybe I should look into writing an app that lets the phone install a .XAP directly, to minimize the amount of PC connecting that's needed.
Sorry, I know that's a lot of comments and questions. If it helps, I showed this to a couple of other HD7 owners today, and the immediate response of both of them was "I've got to get that!" This is a great app, super-convenient and good for making the occasional Samsung Focus owner jealous ;-D
Actually, I'm a developer myself (mostly C/C++, but I know C#). I'll crack a look at the source when I get a chance (probably this weekend) but would you be interested in a patch if there's something I can improve? One thing I might add is an optional "Did you mean that?" prompt on the Back button, as it's a little too easy to hit and knock you clear out of the app (optional of course, as I understand some people don't have such problems).
Thanks again!
does anyone know the latest ETA on compatibility for samsung devices?
Some Answers
GoodDayToDie said:
Thanks for the response, reddragon. I'm at work right now, so the .mobi thing will have to wait. It's a very common request among WP7 users around here, though.
Click to expand...
Click to collapse
Like I said: I will pm you most likely, today or this weekend.
GoodDayToDie said:
I've found that selecting the Edit context item will open any file in Word, which is typically sufficient for viewing and even editing purposes! True plain text files open fine regardless of extension, and even binary files will usually have enough ASCII in them to determine useful info. You can also send any file (via email) from Word, if you want to email an attachment rather than just transfer to a PC.
Unfortunately, I've found that XML files just... don't work. Double-clicking them opens IE, which complains that it can't handle that file type. Selecting Edit on them looks like it's opening some Office app, but the app then closes and drops back into Advanced Explorer (no error). This is the currently problematic filetype, as a *lot* of data is stored in XML.
Click to expand...
Click to collapse
Yeah the best way to handle the edit mode would be an editor inside the app, but that's quite some work i guess... So if somebody is willing to write such a control just contact me!
But the current workaround is quite simple: Upload your file, edit it with the powerful editors you know and send it back to the phone...
In fact what i did was send the complete windows/applications folder and all files that where successfully send can be edited (on the others you have no access anyway).
GoodDayToDie said:
The "Registry Editor" app already provides registry search (and despite the security restrictions on read it *mostly* works) but without system copy-paste it's tricky moving data between apps. I enjoy being able to pan between the FS and registry... hell, I want a Windows (desktop) app that does this, now.
Click to expand...
Click to collapse
Well I think it's not that difficult to implement a search for registry. It's funny to say that all the time but I thought on this one too and if you look on the source code you will see that i positioned the search/filter text box out of the explorer pivot to use it for registry search or other purposes. If you find it really that useful with the current read restrictions... yeah I should just implement it...
GoodDayToDie said:
It looks like there's FS search (an option on the command bar, and a text box that appears) but I can't get it to do anything. Pressing Enter has no effect, tapping either Refresh or Search again just reloads the page. Am I using this right? It would be great to be able to either scroll long folders (\Windows) or find a filename behind a bunch of GUIDs.
Click to expand...
Click to collapse
In fact this is a filter function so that large folders can be loaded much faster. Just enter "a*" and make the keyboard disappear (tab anywhere else) and you see only the files/folders starting with "a". I don't know why "enter" on keyboard doesn't do anything, I will look into this. I should update the usage in my first post, thanks.
GoodDayToDie said:
Some files show as "0 b" size, even though they almost certainly aren't. Is that just because some program has an exclusive lock on them and their size can't be read in that state?
Click to expand...
Click to collapse
yep.
From the htc COM call i get 0 bytes....
GoodDayToDie said:
Any chance of the ability to create folders in the GUI (I think I see how to do it with provxml files, but that's not exactly convenient)?
Click to expand...
Click to collapse
Hehe, i thought on this one too as it is already implemented (just create a folder in UploadRoot drop a file and start downloading it to the phone => the folder gets created). I will look into this.
Can you (or anybody) provide me with an example on how to rename a folder via provxml. And in Yaaf.WP7.NativeAccess.IO.File i have in the "Move" method some code commentated. Can somebody please un-comment, debug and tell me why the hell this provision-xml is invalid / not working, thanks.
(ProvisionXml is completely new to me as this is my first smartphone)
GoodDayToDie said:
Thanks for the explanations on the registry. I was wondering how you could write to locations that you can't read from... Also, I didn't know the sideload limit resets itself. That's something I'll have to watch out for, as I'm near the nominal sideload limit already. Hmm... maybe I should look into writing an app that lets the phone install a .XAP directly, to minimize the amount of PC connecting that's needed.
Click to expand...
Click to collapse
I didn't look into that but i think it is not enough to simply create the guid folder and drop content there... Anyway you can use the "NativeAccess" Projekt to get all the access i used in the Explorer. But you have to create links from your main projekt to the COM-dlls so they get included into the xap file.
GoodDayToDie said:
Sorry, I know that's a lot of comments and questions. If it helps, I showed this to a couple of other HD7 owners today, and the immediate response of both of them was "I've got to get that!" This is a great app, super-convenient and good for making the occasional Samsung Focus owner jealous ;-D
Click to expand...
Click to collapse
That's what keeping me up i guess
GoodDayToDie said:
Actually, I'm a developer myself (mostly C/C++, but I know C#). I'll crack a look at the source when I get a chance (probably this weekend) but would you be interested in a patch if there's something I can improve? One thing I might add is an optional "Did you mean that?" prompt on the Back button, as it's a little too easy to hit and knock you clear out of the app (optional of course, as I understand some people don't have such problems).
Click to expand...
Click to collapse
I'm always interested in any patch especially support for other devices (I have a htc so I can't debug stuff for other devices :/ )
Yeah there could be an option for that. It's pretty easy to implement so... But i don't have this problem so i didn't realised that one.
GoodDayToDie said:
Thanks again!
Click to expand...
Click to collapse
Thank you for your feedback
Muzzy777 said:
does anyone know the latest ETA on compatibility for samsung devices?
Click to expand...
Click to collapse
Well I answered this on the first page of the thread already, thanks.
EDIT: I updated the program and my first post and implemented some of your feature requests
reddragon
Configuration Service Provider Reference for Windows Mobile Devices
Have you used the forum-search? You'll find a post which describes you how to get these books to your phone (it's by me). I can't give you the link because I send this from my HD7.
really great app. Also like the pc<->phone feature
I use it now very often, so I think it needs:
-2 Filebrowser Tabs
-or an option to "bookmark" certain folders
diboze said:
really great app. Also like the pc<->phone feature
I use it now very often, so I think it needs:
-2 Filebrowser Tabs
-or an option to "bookmark" certain folders
Click to expand...
Click to collapse
I talked to other people, at first this feature looks awesome, but after some time you would see that you don't use 2 tabs!
The bookmarking thing is a good idea...
Elerador said:
Have you used the forum-search? You'll find a post which describes you how to get these books to your phone (it's by me). I can't give you the link because I send this from my HD7.
Click to expand...
Click to collapse
I'm looking into amazon kindle... what i can do for sure is copy the file into the kindle folder and start amazon kindle...
But i forgot how to start a program via app-guid. I remember that i saw an COM.dll which can do that.
__ow said:
Configuration Service Provider Reference for Windows Mobile Devices
Click to expand...
Click to collapse
i know that link but i don't see how you can move folders (if it is possible)
reddragon
Love the update! Thanks for cluing me in on the workings of the filter; I wasn't trying wildcards and it therefore looked like it was always empty.
That said, a bug report (reproed on the older version too):
Registry manual mode can crash with a System.ArgumentException "Invalid fullpath".
Start Advanced Explorer
Pan to Registry
Tap "edit manual"
Observe exception
App crashes on hitting OK

[Q] How to run two programs at once?

Alright, alright, before anyone says "WinMo has always been able to multitask" let me ask my question. I have the Skype .cab as well as WM Audio Redirect .exe on my phone.
They work wonderfully together (albeit through a few glitches, like not being able to run my start menu after using Redirect, so I have to soft reset), but I was wondering if there was a program (preferably) or a way (through registry) that I could have the Redirect .exe run FIRST when I click the Skype icon, so I don't have to run the Redirect .exe, then minimize and start Skype up.
So, in summary, I want to:
- Click the Skype icon
- Redirect .exe runs FIRST
- Then Skype opens
- ????
- PROFIT!!!
Is there such a way? Or am I doomed to opening WM Audio Redirect, minimizing it, then opening Skype?
Help appreciated.
PS - I did look through the forum and the magical website named Google for my answer, but my problem is the wording of this question. It's a bit difficult to get across this idea to search engines.
UPDATE: READ POST 3 for instructions for a temporary fix. Watch out below, .CAB files follow in the morning (US Eastern Time).
Because getting a reply in any reasonable amount of time seems unlikely, I'll describe what I've found: Mortscript.
Except, yes, I have to learn how to make the Mortscript first. So when finals are over, I'll get to work on it, so all the little boys and girls of the Touch Pro 2 corner of XDA can have a way to run WM Audio Redirect and then Skype.
I'll keep this thread updated as often as possible with my progress. It shouldn't be too hard though, and I'll post all the .CAB and .ZIP files when I'm done (Skype 3.x, WM Audio Redirector, and the Mortscript file).
Yes, it will happen. I have enough experience with scripting and half a brain to make this work.
No it won't happen right away, as I have finals and then I have to test the crap out of all this to make it work. So sit still.
UPDATE: Slight breakthrough has been made. I'm sure for those who care enough, it'll be good news for them. For those that don't, well, just ignore this post and go on with your merry life. .CABs are posted in ORIGINAL POST.
POSITIVES: It works. What more do you want? (A working MortScript, duh)
NEGATIVES: You're mapping a key. One you're probably not even using right now. Quit whining. I'm still working.
Attached are the all the .CABs that make running WM Audio Redirector and Skype together a streamlined process. The steps are as follows:
1. Download ALL .CABs (pretty obvious really).
2. Install the SDKCerts .CAB, then the RhodiumKbdControl_GSM .CAB to your DEVICE. Your phone will reboot afterwards, so read on while you're waiting. That way you can put all that excitement boiling up within you from having a working Skype download into finishing this short and temporary guide (until I've learned how to make a MortScript for it, then of course you'll have to read the next guide, at which point it'll be DOUBLE the excitement, and you'll be so much more excited - so much so in fact that you go and read the entire Encyclopedia Britannica while waiting for the .CABs to download).
3. After the .CABs are installed, you're of course going to download Skype to your MEMORY CARD and WM Audio Redirector into this path on your DEVICE MEMORY (after extracting the folder): \Windows\Start Menu\Programs\Tools (at least that's where I always stick it, you can stop at "Programs" if you want a useless folder bogging down your aesthetically pleasing "Start Menu').
4. Almost done! Now, about mapping that key that you're probably not using much anyway. Here's what you're gonna do: go to your "Start Menu," then "Settings," then "System," and finally "Keyboard Config." After you've made it to there on your long mecca to the promised Working Skype Download, you're going to click "Menu" then "Add Key."
At this point you'll map whichever key you choose (I used the "OK" key on my keyboard) to TWO functions with just the single click option. Click the "+" slightly lower on the screen, and click "Run Program" for the choice of keymap. Navigate to your Skype download on your MEMORY CARD and choose the Skype.EXE.
Next, click the "+" AGAIN and map another program - this time it'll be the WM Audio Redirector (the file is known as TROCA2.EXE, but you can just navigate to wherever you placed it).
5. Click the "OK" softkey button, and it'll put you at the entrance screen (the one you were introduced to when you first opened the app). Click "Update Config" and BAM! You're all set. Just click the key you mapped, and both programs will open, first the Audio Redirector then Skype. Don't close out TROCA2.EXE or Skype through the earpiece won't work. Just let it do it's thing, and sit back and wait for both to load.
PS - If you get ahead of yourself and forget to click "Update Config" you're going to have to go through steps 4. & 5. again. Just a warning.
Until next time when I have the MortScript ready.

[XAP] Phone Commander

I am working on TCMD equivalent for Windows Phone. It may be:
Two-panel filemanager,
SMS and Mail configurator (groups, searching, backup),
Registry editor (editing, export, import),
Taskmanager (working apps dehydrating, resuming, closing, memory increasing),
Tiles configurator (creating, grouping),
MultiMedia manager (searching, playing etc.),
Applications configurator (uninstalling, grouping),
Keyboard Shortcuts configurator (HTC 7 Pro, Gold, Prime),
and another next by plugins system.
It will use direct access for unlocked ROMs, HtcRoot project (http://forum.xda-developers.com/showthread.php?t=1453343) for full access on (dev and) InterOP unlocked devices (where it is possible), ProvXML method for incompatible devices.
There is first screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Try it, post experiences. This is designed for HTC7Pro hardware keyboard, but must be usable for touch conntrolling too. For big dirrectories (\Windows etc.) scrollbars are necessary. I want to have as far as possible biggest amount of controls on main screen. It may not be a game, it must be working tool. In long future I want integrate also simple programming IDE to this tool.
Newest version will everytime here.
Actual attached version enables for me:
To manage all files very quickly include multioperations (like TotalCmd).
To copy mp3 files to any phone directory by desktop TotalCmd, create playlist on phone and hear music.
To do the same vith movies, photos etc.
To copy e-books from my desktop and read them in phone (formats: doc, RTF - the best reading, pdf etc).
To edit all files in phone (the same formats, include binaries).
To import .reg files to Registry
From version 2.3 added 3s timeout to JPG files shell showing in built-in Pictures application (you can make simple automatic presentation from pictures, videos and sounds in sh file).
Hey man, sounds ambitiously, with the declared functionality it would be a perfect tool Good luck!
I think I will check this out
ap3rus said:
Hey man, sounds ambitiously, with the declared functionality it would be a perfect tool Good luck!
Click to expand...
Click to collapse
I will do, what free time allows me. The rest will simple for everyone, when plugin class interface will good designed (readonly properties top, bottom, size of list, manipulation properties/methods for copying, moving, deleting etc). FilePath (read/write) equivalent can be Group (ringtones, apps) or RegPath (registry), some classes will not allow any part of methods (class Task will not implemented copy and move for taskmanager etc). First I must make spotlessly this data model and user interface, becouse those are the most problematical parts of this app (too small screen, too big area of digit touch etc). My keyboard-only inspiration is very nice FileNote app from S80 Symbian (http://tech.groups.yahoo.com/group/FileNote/messages , http://my-symbian.com/s80/software/applications.php?faq=3&fldAuto=865) , but no everybody has hardware keyboard on WP7. Plugins (libraries) for unique quantities and implementing of any special behaviour (searching, comparing, sending) will secondary parts. The biggest problem is unlocking impossibility for new devices now. M.
Hi Martin,
first look i like your commander.
I will wait next version, good work
Looks *very* cool! Makes me wish my HD7 had a hardware keyboard though; this will be hard enough to use with touch on a 4.3" screen and will be a lot harder on something like the Surround or Trophy. I must admit that the inspiration (two-panel file managers, which date back to at least Midnight Commander and possibly further) appeals strongly to my nerd side.
I'll try my best to make sure that HtcRoot is available for this to use on as many phones as possible (probably all first-gen HTC, second-gen may never be possible without a new exploit).
One suggestion: just make the file lists scrollable using swipes (it's a built-in control that you put the other controls within). The scrollbars take up non-trivial screen space and are actually kind of hard to use with fingers. Also, tapping on "ext" is *way* harder than it looks like it should be; even moving in tiny increments I tend to go from tapping "FileName" to tapping "datetime" directly.
Hi GoodDayToDie. Thanks for your support. My first mind was to use standard WP7 scroll controls. But, there are two reasons to implement own control.
1. amount of files \Windows directory in WP7. I use TouchExplorer every day, but working with \Windows directory is worry in it. Then I need control, which is quicker for big lines ammount (implementable by any part of filenames reading immediatelly and pre-loading some amout to seek in scrolling time).
2. Total commander has very sofisticated file subset signing to select operation set (file can be selected/unselected or to have focus independently). Try select 10 files beginning by diffrent characters in Touchexplorer in \Windows directory and after it try copy one another file. This is operation to 10-15 minutes in TouchExplorer. I do not know, if control behaviour is simply changeable in WP7. I am planning to have one self made control with scrollbars for big directories and one inhereted from WP7 standard with simple changes (if possible) and without scrollbars for small ones. I am low-level C/C++/etc programmer, then I must study Silverlight/C# possibilities first.
i am looking for a function that auto on/off 3G had scheduled times, much like what android apps do
is this possible with yr xap??
Magpir said:
i am looking for a function that auto on/off 3G had scheduled times, much like what android apps do
is this possible with yr xap??
Click to expand...
Click to collapse
Scheduling is in the future plane. I have a lot of to do with higher priority first. I seen any "Tasks" application on MarketPlace for scheduling. Try it, may be it is able to schedule system changing.
Martin7Pro said:
Scheduling is in the future plane. I have a lot of to do with higher priority first. I seen any "Tasks" application on MarketPlace for scheduling. Try it, may be it is able to schedule system changing.
Click to expand...
Click to collapse
those apps in the marketplace only give u a reminder.
i need the app actually disable/enable things at a given time.
GoodDayToDie said:
Looks *very* cool! Makes me wish my HD7 had a hardware keyboard though; this will be hard enough to use with touch on a 4.3" screen and will be a lot harder on something like the Surround or Trophy. I must admit that the inspiration (two-panel file managers, which date back to at least Midnight Commander and possibly further) appeals strongly to my nerd side.
...
Click to expand...
Click to collapse
I have a question:
Normally, in C++, I will make basic plugin class, inheritable to 3rd plugins dlls. When interface will changed in future, I will use multiple inheriting of additional behaviour class, in reverse order for "old generation" plugins.
But, what is the best practice in phone C# ? Multiple interfacing? Or dependency injection is implemented here? I must use something very simply for easy plugins creating. M.
If I understand what you're asking about correctly, multiple interface inheritance is probably your best bet, since .NET doesn't support multiple class inheritance. This usually means you need to have some kind of external factory as well, since interfaces can't have constructors or static methods.
Implementation-wise, one way to do this is to simply wrap the older objects, and pass calls to their interfaces through to them. This isn't ideal and still requires non-trivial coding, but it does provide good encasulation and relatively good code sharing. Dependency injection using Reflection APIs is certainly also possible, but requires some work.
I am "old school" OOP Programmer, then I must study it much. Main problem is: I know interface for files, registry, tasks etc just now. But, application must accept today unknown interfaces in future by little addition only, without recompiling old generation plugins. Then I explain previous question: Are interfaces and namespaces in C# able to solve this problem? To have one interface for today plugins, new interface will added after any months and using one or second automaticly? TotalCommander solves it by different plugins extension (*.wfx , *.wcx etc), but, I mean, it is not right way in 21 century. Second problem is: Every plugin can contain more system access methods (Standard MS WP7 API, ProvXML, your HTCRoot, fiinix's CSharp_DllImport, something new...). Every this method need not be copletely implemented in all plugins, any common base may be stored in one library for each access method and plugins will prepare only parameters for them. When design will the best, old generation plugins can use future access methods too. Access methods can be sorted by priority (probably related to method speed), plugins must use highest method priority, which is allowed on device. If plugin will not know any hi priority access method itself, must automaticly hand over its pursuance to any newer library. What modern method I must study for mentioned behaviour?
Thanks man looks very good
I think that doing this is going to require the use of the Reflection APIs. In essense, these let you load assemblies (collections of classes, typically in namespaces) from .DLL files (by name), and let you load classes from within assemblies, and let you call functions of those classes.
Probably the easiest way to do it is a function pointer table. In .NET, function pointers are called "Delegates" and are technically objects (like everything, including primitive types) but they pretty much work exactly like strongly typed C++ function pointers.
When the app starts up, it looks in a known location (or possibly queries the registry, or something) for DLLs containing extensions. It then loads the assemblies from those DLLs. Each assembly should have a registration function (probably a static method o a static class) that returns a collection of delegates (and their priorities, if needed). Your app then uses those to build a function table that it uses whenever it needs to do a specific type of operation.
For example, you could have one entry in the table for "WriteFile" and might get function pointers for it from one assembly that uses the native APIs with no special permissions (works for some custom ROMs, or after using HtcRoot), one that uses isolated storage APIs (works for any ROM, but only to a specific folder), one that uses HtcFileUtility.dll (the driver that TouchXplorer uses), one that uses ntive APIs but wraps every call in an elevation call to HtcRoot, etc. It would be up to the framework (meaning up to you, if you're designing it) to define some way to indicate which one to use.
All that said, while extensibility is an excellent goal and probably necessary in the long run, you might want to just get a proof-of-concept working that is hard-coded to use a single known approach. Reflection isn't actually that difficult, but it seems like a distraction from getting a first version out the door. Release early, release often, and all that.
I must finish other important work, after any days I will continue here. I will use simpliest way, which coul not be the best, but it will quick and independent. M.
very cool
good luck
Good luck with this app. Please drop me a PM when you finish so that I can feature it on the XDA front page.
Martin7Pro said:
I am working on TCMD equivalent for Windows Phone. It may be:
Two-panel filemanager,
SMS and Mail configurator (groups, searching, backup),
Registry editor (editing, export, import),
Taskmanager (working apps dehydrating, resuming, closing, memory increasing),
Tiles configurator (creating, grouping),
MultiMedia manager (searching, playing etc.),
Applications configurator (uninstalling, grouping),
Keyboard Shortcuts configurator (HTC 7 Pro, Gold, Prime),
and another next by plugins system.
It will use direct access for unlocked ROMs, HtcRoot project (http://forum.xda-developers.com/showthread.php?t=1453343) for full access on (dev and) InterOP unlocked devices (where it is possible), ProvXML method for incompatible devices.
There is first screenshot:
There is also Pre-Alpha User Interface demo only xap.
Try it, post experiences. This is designed for HTC7Pro hardware keyboard, but must be usable for touch conntrolling too. For big dirrectories (\Windows etc.) scrollbars are necessary. I want to have as far as possible biggest amount of controls on main screen. It may not be a game, it must be working tool. In long future I want integrate also simple programming IDE to this tool.
Click to expand...
Click to collapse
Err, why are you using drive letters like C:\? We all know Windows CE doesn't use such things. I think adding artificial drive letter paths will just confuse users in the long run. If they're going to be navigating the filesystem, they might as well learn how to do it right. But if you really must do this, at least make it easily disabled.
Also, are those native Windows CE common controls in the screenshot?
@Martin7Pro: One suggestion: with the semi-imminent release of WP7 Root Tools 0.9, which will allow elevating arbitrary apps (and will support more devices than the HtcRoot project), I suggest you focus on just using native APIs and don't worry about permissions. It will already work on full-unlocked ROMs, it will work on all devices that are supported by WP7 Root Tools once it releases, and it will be easy to add support for HtcRoot if for some reason that saspect of the project is still relevant.
I've got some exciting other directions I want to go with HtcRoot, like seeing whether I can modify ROM files or do other crazy things like that (it might be possible, what with the ability to tweak driver code directly). The elevation to TCB ("Admin") and policy-engine work was (and still is) a stepping stone to get there, but with WP7 Root Tools 0.9 supporting the most important policy engine changes directly, that's less of a concern now.

Categories

Resources