Android Studio help - IDEs, Libraries, & Programming Tools

I've got everything running, I was coming from Eclipse (albeit just getting started with it).
I saw the new realtime layout editor from the keynote speech - just one question - How do I enable this?
I've got my application loaded.. but where the EFF is the GUI editor??!

When you open a layout file, you have the editor. At the bottom of the IDE, click on "Text" to open the xml editor and at the right of the screen, you have the preview button.

akira02rex said:
I've got everything running, I was coming from Eclipse (albeit just getting started with it).
I saw the new realtime layout editor from the keynote speech - just one question - How do I enable this?
I've got my application loaded.. but where the EFF is the GUI editor??!
Click to expand...
Click to collapse
It's actually really funny that you mention this, because I've actually lost my GUI editor as of today. It was working as of last Friday, but all the sudden it's gone.

Intrepid90 said:
It's actually really funny that you mention this, because I've actually lost my GUI editor as of today. It was working as of last Friday, but all the sudden it's gone.
Click to expand...
Click to collapse
Taken from Google+, and it solved my problem...
"GOT IT!
I hadn't yet tried importing a project from eclipse, but I had a look at your folder layout and what you were saying about the "src" folder and AndroidManifest. I then found that I'd selected a different res/layout as you should be able to see.
After opening the src/res/layout, I found the AndroidManifest and the main profile. When I opened this up, the preview came up. There is still no preview button, but I have the preview on screen."

Related

I want to ask "How to cook a shortcut"?

Hi
Is there some convinient way to create shortcuts on wm5 ppc? some app with
-browse for file
-cmd line params
-browse for icon-dll
-insert icon number into cmd line
if there is no, one should be developed immediately
………
Turist said:
Hi
Is there some convinient way to create shortcuts on wm5 ppc? some app with
-browse for file
-cmd line params
-browse for icon-dll
-insert icon number into cmd line
if there is no, one should be developed immediately
Click to expand...
Click to collapse
i cant believe everybody makes it manually
Come on! You help is needed!
thanks for the idea!
OdeeanRDeathshead said:
thanks for the idea!
Click to expand...
Click to collapse
i quess its irony... ;(
nevertheless i found one _ttp://www.s-k-tools.com/sksmgr/sksmgr.html
its almost free for ex-USSR so i`ll give it a try.
Turist: you might want to read some of OdeeanRDeathshead's posts. I don't think he was being ironic.
Frankly, I've never found it difficult to write shortcuts by hand, but the sktools app is great, as ever.
V
There was no irony. As I was reading your post I was coding my app to check on startup its current location then generate a new shortcut to replace its existing one in the startup folder. One reason i use a shortcut done by hand is to get the command line arguments in it. I use the command line to tell my program if it is being started after a soft reset. If it is it minimises itself after a couple of seconds. Of course I don't need to look up the icon because my shortcut is for my executable, from memory it was just trial and error getting the correct icon for things like poutlook. I think any shortcut generator would have to be able to copy the info from existing shortcuts to make it useable over different versions/os etc.
vijay555 said:
Turist: you might want to read some of OdeeanRDeathshead's posts. I don't think he was being ironic.
Frankly, I've never found it difficult to write shortcuts by hand, but the sktools app is great, as ever.
V
Click to expand...
Click to collapse
not really difficult, but i`d like a little bit more comfortable way.
yep, sk-software is really good. paid yesterday for sktools, skshems, skshortcut manager.
OdeeanRDeathshead said:
There was no irony. As I was reading your post I was coding my app to check on startup its current location then generate a new shortcut to replace its existing one in the startup folder. One reason i use a shortcut done by hand is to get the command line arguments in it. I use the command line to tell my program if it is being started after a soft reset. If it is it minimises itself after a couple of seconds. Of course I don't need to look up the icon because my shortcut is for my executable, from memory it was just trial and error getting the correct icon for things like poutlook. I think any shortcut generator would have to be able to copy the info from existing shortcuts to make it useable over different versions/os etc.
Click to expand...
Click to collapse
you`ll never know what could happen with those little apps designed "for my internal use only"
ps: got myself vs2005, msd, wm5 sdk. would like to try to make an xml-parsing/registry-editing engine for universal registrytweaking tool. I really like the idea of RegistryWizard-tool, but not very much its design and functionality. will see...
I just finished updating my file open dialog. It can now create shortcuts that have command line arguments and it can extract the icons and their id from any file that contains them (exe dll). This will be available shortly as part of my almost (really) finished project.
OdeeanRDeathshead said:
I just finished updating my file open dialog. It can now create shortcuts that have command line arguments and it can extract the icons and their id from any file that contains them (exe dll). This will be available shortly as part of my almost (really) finished project.
Click to expand...
Click to collapse
Great! And please notice - i`m not chraging you for this brilliant idea
will it be available as standalone utility too?
The shortcut functionality will not be limited in any way on the program, but no, it will not be stand alone. I tested on jamin today (wm2005) and the handle htc give for the port is good, unlike the atom. I spent the last week converting my lists in the file open dialog to owner drawn to try and cut the display time on the windows directory. It has 1300 items and was taking 23 seconds, I have cut that to 7 seconds. Resco take 3.

New Word Docs

Hi Folks
I've broken something. I know, it had to happen. All this "playing around" with my new toy (No, not like that! )
Going to PocketWord and it'll open something that I don't recall putting in there. This turns out to be a file in the "My Documents" called "CONFIG" that had loads of characters that are not letters, you know, like symbols and the like?
If I goto Menu / File / New it gives the message
"A problem with the document was encountered and it cannot be opened".
I suspect I've deleted something I shouldn't have Help?!
Elwyn M3100 said:
Hi Folks
I've broken something. I know, it had to happen. All this "playing around" with my new toy (No, not like that! )
Going to PocketWord and it'll open something that I don't recall putting in there. This turns out to be a file in the "My Documents" called "CONFIG" that had loads of characters that are not letters, you know, like symbols and the like?
If I goto Menu / File / New it gives the message
"A problem with the document was encountered and it cannot be opened".
I suspect I've deleted something I shouldn't have Help?!
Click to expand...
Click to collapse
Ok... First I don't think the config file in my documents is vital and I would delete it. (if your concerned about it then copy it somewhere-else and then delete.
On a PC Word uses a template for blank documents called normal.dot but on Pocket Word it uses blank.dot This file should be present in the windows folder in main memory.
After deleting the config file, I would try word again.
If it still fails to open a new wod doc, then look to make sure the template file blank.dot is present.
Mike
Hi Mike
I checked and there wasn't a blank.dot file in the windows folder, so I managed to open an word doc I already had, blanked it and saved it as blank.dot where you suggested. I closed word and tried again only to find the same error message.
So does this rule out an error with that side of word, and otherwise what would you suggest?
TIA
Elwyn M3100 said:
Hi Mike
I checked and there wasn't a blank.dot file in the windows folder, so I managed to open an word doc I already had, blanked it and saved it as blank.dot where you suggested. I closed word and tried again only to find the same error message.
So does this rule out an error with that side of word, and otherwise what would you suggest?
TIA
Click to expand...
Click to collapse
This is a little mysterious! Firstly because the original blank .dot is protected and should not be able to be removed normally. I suspect it's become corrupted. Still the replacement should have been ok. However, lets hope all your templates are not corrupted. Open a doc in word and go to menu>tools>options>default template and choose another, say memo. Close out of word and reenter. It should open and when you press new a memo should appear. A bit of a pain but until a better solution comes along you can always delete the memo lines and treat as a blank doc.
Will check around to see if there is another way to replace blank.dot
Mike
Thanks, I've had a look in the options and for "Templates" it is blank. There are NO templates at all on the machine
Elwyn M3100 said:
Thanks, I've had a look in the options and for "Templates" it is blank. There are NO templates at all on the machine
Click to expand...
Click to collapse
Good grief what have you been upto - thought I was the only one who manged that sort of thing!!.
Perhaps you could PM POF and see if he knows a way of reinstalling Word or using the ROM cab files to re-install without having to do a full hard reset. Failing this all you could do would be to create your own blank template but it would not automatically open when you tap new because I think New can only be set to one of the four standard templates - Blank, Memo, Metting Notes and one other I forget. Certainly when I created a template and put it in the templates folder it listed the official four but not mine in the drop down list for the new document default template. (i.e the list that's now empty for you)
Mike
mikechannon said:
Good grief what have you been upto - thought I was the only one who manged that sort of thing!!.
Click to expand...
Click to collapse
Nope, no chance of that....
There are plenty of "us" around
One shall, er, carefully dig
Ah ha!
I have found that I do actually have some files in the windows directory that are templates.
blank meeting memo phone todo
These did momentarily have Word Template icons moments ago, and tried to go in via Word again but now the icons match up with notes.
blank 0b
meeting 1.55k
memo 2.06k
phone 1.96k
todo 3.02k
Right clicking over "blank" reveals that it is read only. I have tried but I cannot remove the RO flag. I am hoping that because the file is zero bytes then this is causing the problems, which are still there
Onwards eh!
Edit: The 0 byte file is actually a memo file. The Word templates are 7kb apart from Todo which is 14k...
Elwyn M3100 said:
Ah ha!
I have found that I do actually have some files in the windows directory that are templates.
blank meeting memo phone todo
These did momentarily have Word Template icons moments ago, and tried to go in via Word again but now the icons match up with notes.
blank 0b
meeting 1.55k
memo 2.06k
phone 1.96k
todo 3.02k
Right clicking over "blank" reveals that it is read only. I have tried but I cannot remove the RO flag. I am hoping that because the file is zero bytes then this is causing the problems, which are still there
Onwards eh!
Edit: The 0 byte file is actually a memo file. The Word templates are 7kb apart from Todo which is 14k...
Click to expand...
Click to collapse
Those file sizes look fine apart from blank.dot which should also be 7kb.
On mine I just checked the templates and they should open directly from the windows directly. They all have word icons.
Mike
I have the notes templates and the word templates. Alas late night scrolling across the PDA got me confused.
Do you know of a way to make the files non read only? I don't seem to be able to change that at all? I've tried in Windows and on the PDA.
Although, I have now fixed the ActivSync issue so it doesn't keep disconnecting Grr Hubs Grr.
Elwyn M3100 said:
I have the notes templates and the word templates. Alas late night scrolling across the PDA got me confused.
Do you know of a way to make the files non read only? I don't seem to be able to change that at all? I've tried in Windows and on the PDA.
Although, I have now fixed the ActivSync issue so it doesn't keep disconnecting Grr Hubs Grr.
Click to expand...
Click to collapse
Nope, I tried reseting read only tag on both PDA and PC as well, no joy. I have posted a thread asking if anyone knows how to re-install an application without hard re-set. I believe it is possible if you have extended rom cabs showing but which cabs as I do not see one clearly marked Word.cab or something similar. The joys!!!
Mike
Thank you Mike for all your help.
I've not even breached the option of ROMs yet or even dabbled in it, and I don't think I've got the guts to juuuuuust yet
If all else then I shall do a reset, a hard reset.
I seem to have this problem also, interestingly. Today when I tried to open the word mobile program, I got this prompt saying that I can't open a new word document due to some error and brings me to my storage card wif all the word documents which I can open wif ease. What seems to be the problem? Any way I can reinstall this program again without hard resetting? I am pretty sure it's not some software conflicts, maybe I accidentally removed some shared files with memmaid.
YES!! Finally I got it. I shifted my documents folder with the sub folder 'templates' to the storage card before so now I just placed back the templates subfolder to the device's My Documents folder and that basically solved my problem!

[New release] Registry display plugin

Ok, most of you may find this totally useless as a plugin, but it was a combination of a request by user Treo_newb and a desire to create a sample plugin project that could be used as a base / example for plugin writers (I plan on doing an article on codeproject.com and this will be the source for it).
What does it do?
This plugin displays a string stored in registry.
The path is:
HKEY_CURRENT_USER\Software\RegDispPlugin
Value name: DisplayString
It checks if this string has changed several times per second when today screen is shown (as the system sends refresh message to all plugins) and displays the updated message if a change occurred.
What is it good for?
First, if you write apps using mortscript or similar like the user who requested this it will let your script display stuff on today screen.
Alternatively it could be used to mark your device today with a string that isn't as easily changed as user info.
The source is basically a skeleton plugin you can use to build your own plugin on (no license / copyright to limit you) and it already has several tricks needed for the plugin to display correctly:
VGA compatibility
Text size matching system settings
Proper header in settings dialog (like on system plugins)
Proper text color when selected (according to theme)
No blinking all today screen on change
Proper resize when switching between landscape and portrait
When I was writing my first plugin I could not find all these little fixes concentrated in a single article so I had to fish for each one as the bug reports came in.
Hope you will find this little project useful.
The plugin:View attachment RegDisplay.CAB
The source (eVC 4 project): View attachment RegDisplay.zip
Thanks for this!
Thank You Lev.
Thanks, Thanks, Thanks,
You are a legend.
I was almost through with my today plugin and was trying to figure out reading registry values and all of a sudden I get a PM from u about the plugin !!!
Very Cool !!!
OK a few questions,
1. I know that WM_TODAYCUSTOM_QUERYREFRESHCACHE is called for refreshing the today plugin, any ideas about when is it called.
I read somewhere that it was 2 seconds. Is it true?
2. I saw ur code and u have exposed CustomItemOptionsDlgProc in RegDisplay.def, but when I installed the cab file the 'options' is not enabled.
I manually changed the resistry and changed options to dword = 1 and saw ur name and email address.
u might want to enable that by default so that people can notice ur work.
I am planing a commercial release of a new project on basis of this.
Thanks again,
Shailesh
First, you're welcome.
shaileshashar:
1) I ran a debug print on this message once on an iPaq 1710 and it seems to be sent several times per second. This could differ from OS to OS or even from device to device, I am not sure.
If you need specifically timed refresh, or you have an event triggered on new data, I suggest using a timer or maybe a thread that will wait on an event. You can refresh your plugin from anywhere in code by calling InvalidateRect with your window handle.
2) I messed up the cab at first, forgetting to add the Options reg value. Then when I went to upload the fix, I couldn't access the site for about an hour (no idea why, I even rebooted the PC to Ubuntu). Should be fixed now, but I will check it later again (I have to go back to XP for that).
Good luck with your program.
Suggestion
levenum said:
First, you're welcome.
shaileshashar:
1) I ran a debug print on this message once on an iPaq 1710 and it seems to be sent several times per second. This could differ from OS to OS or even from device to device, I am not sure.
If you need specifically timed refresh, or you have an event triggered on new data, I suggest using a timer or maybe a thread that will wait on an event. You can refresh your plugin from anywhere in code by calling InvalidateRect with your window handle.
2) I messed up the cab at first, forgetting to add the Options reg value. Then when I went to upload the fix, I couldn't access the site for about an hour (no idea why, I even rebooted the PC to Ubuntu). Should be fixed now, but I will check it later again (I have to go back to XP for that).
Good luck with your program.
Click to expand...
Click to collapse
Thanks for the help, will check the fixed cab.
Also a suggestion:
A custom icon could also be incorporated. You can give a option to load a custom icon next to the text in the today plugin.
I know anybody can modify ur code and do it but still.
Actually, I probably should have mentioned this in the original post but I have no intention of adding options to this thing.
This would only complicate the code and turn it in to an actual app instead of a sample project.
But by all means feel free to make suggestions. If this thing does become popular, when I am done with my other projects (like LVMTopBat) which won't be any time soon (unfortunately) I will release a separate version of this plugin with all kinds of options that can be controlled both by user (form the options dialog) and by other apps through registry.
Maybe things like text alignment, size, bold / Italic / underlined.
P.S.
The reason I put the string this plugin loads under HKEY_CURRENT_USER instead of the HKLM where the rest of the plugin registry resides is because by default the HKEY_LOCAL_MACHINE on WM 5 and higher has a security restriction. For example you can not write to it using RAPI, only by authorized (or signed) app on the device. The HKEY_CURRENT_USER on the other hand is open for all.
levenum said:
P.S.
The reason I put the string this plugin loads under HKEY_CURRENT_USER instead of the HKLM where the rest of the plugin registry resides is because by default the HKEY_LOCAL_MACHINE on WM 5 and higher has a security restriction. For example you can not write to it using RAPI, only by authorized (or signed) app on the device. The HKEY_CURRENT_USER on the other hand is open for all.
Click to expand...
Click to collapse
Thanks for the info, I never knew that.
Thank you so much! This was exactly what I was looking for!
levenum said:
...But by all means feel free to make suggestions.
Click to expand...
Click to collapse
As a frequent mortscript user I think, this great app might be even more usefull, if the string was shown in an "allways on top" message box instead of the today screen. The Today screen might be obscured by other active windows during the scripts runtime and the plugin eats precious today screen estate also while being unused, doesn't it?
In that case (of a standalone application) I would furthermore introduce some kind of termination string (or reg. value) to end the display application.
Code:
- start mortscript
- writes first string to registry
- starts display application (run)
- updates string in registry whenever appropriate
- ...
- writes termination string to registry
-> display applications self-terminates
- ...
- end of mortscript
Honestly, I already do use something comparable with mortscript (employing a conditioned sleepmessage loop and reading from the registry too), but this could be much nicer and more elegant.
Just my 2 cents... What do you think?
I think something like that would be better implemented by the mortsrit program it self.
It could be a function like MessageBox API in windows which you could then command on and off. Having it built in would save precious resources on the device that would be wasted by having an extra app run constantly in background.
This is just my thought though.
I'd suggest contacting the developer of mortscript and discussing it with him.
levenum said:
I think something like that would be better implemented by the mortsrit program it self.
...
I'd suggest contacting the developer of mortscript and discussing it with him.
Click to expand...
Click to collapse
Mort knew about that request and by chance just announced to so.
Thanks anyway.
Hello levenum,
I just joined the community. Reason being, I found your RegDisplay plug-in
You call it a sample project, but the impact is that of an awesome solution.
Great for MortScript, but equally useful in BASIC applications that write
messages to the registry which is show upon screen minimization.
I regret not being a C programmer (mainly BASIC), else I'd love to further
develop this jewel.
Your plug-in runs flawlessly in an iPAQ 210 under WM6 Classic.
Cheers and Respectful Greetings
Robert
CLSID for registry display plugin
What is the CLSID for the Registry Display Plugin? I am going to have to edit the XML file that defines my home screen in order to get the plugin to show up. I am using Facade to control my home screen, and the only plugins that it will show in its list are those currently in use in one of the XML files in the Application Data\Home folder. All other new plugins require editing the XML. Thanks for your help.
levenum said:
Ok, most of you may find this totally useless as a plugin, but it was a combination of a request by user Treo_newb and a desire to create a sample plugin project that could be used as a base / example for plugin writers (I plan on doing an article on codeproject.com and this will be the source for it).
What does it do?
This plugin displays a string stored in registry.
The path is:
HKEY_CURRENT_USER\Software\RegDispPlugin
Value name: DisplayString
It checks if this string has changed several times per second when today screen is shown (as the system sends refresh message to all plugins) and displays the updated message if a change occurred.
What is it good for?
First, if you write apps using mortscript or similar like the user who requested this it will let your script display stuff on today screen.
Alternatively it could be used to mark your device today with a string that isn't as easily changed as user info.
The source is basically a skeleton plugin you can use to build your own plugin on (no license / copyright to limit you) and it already has several tricks needed for the plugin to display correctly:
VGA compatibility
Text size matching system settings
Proper header in settings dialog (like on system plugins)
Proper text color when selected (according to theme)
No blinking all today screen on change
Proper resize when switching between landscape and portrait
When I was writing my first plugin I could not find all these little fixes concentrated in a single article so I had to fish for each one as the bug reports came in.
Hope you will find this little project useful.
The plugin:View attachment 41592
The source (eVC 4 project): View attachment 41583
Click to expand...
Click to collapse
This is great! I was asked if I could write a today screen plug-in for my weather application (http://forum.xda-developers.com/showthread.php?t=445576) - I couldn't since I don't have the skills and I'm writing .NET code - but this is exactly what I needed.
I'm adding support for this plug-in and will of course give credits to you.

iTask Animated 0.92.5 29.feb -RELEASED!!

Release 0.92.5 of iTask:
-------------------------------------------
Please don't get upset if I change something on each release, or that it is hard to modify. I know all this, and it is in everyones interest to make iTask work smoothly in every way, before making a good settingsprogram. If not, the settingsprogram would need changes every time I modified something in iTask, and that would slow down the whole development progress.
This is a development-in- progress app. This means you can use the beta, before the final release, and I get some feedback on bugs. Thankfully some in the community has taken a keen interest in sharing feedback, and therefor iTask Betas are still coming pretty often.
I know it's hard for some people to edit the input.txt and I hope someone with programming knowledge will be up for the task of creating a settingsprogram for iTask when I come to 1.0. I do not know much programming, only Flash.
Thanks, Rhov23
-------------------------------------------
Place folder at "root of your device"
Image of where the root is, and where to place folder:
ROOT
VIDEO OF ITASK 0.91
-You need to install Flash lite 2.1 player
-Itask.zip is the old version. itask_0_92.zip is the next and itask_0_92_5.zip is the newest.
-WHEN YOU OPEN iTask for the first time, or after a soft reset, or if unread sms or contactlist is not working, run SERVER.EXE.
Server.exe runs invicible in the background.
OPEN WITH ITASK.SWF
A GOOD TIP FOR EDITING: If you have a copy of the itask-folder on your computer, you can use flash player in Windows to play it there as well, for quick reference when you add images or text. Instead of dpad button, press enter
Newest 0.92.5
-Added many variables to input.txt so non-english can modify more.
-Added some variables to new background images, so you can for example change the background of the Minical or contacts
-Made contactapp a bit prettier, and you can now click on phone to make a call, or email to email a contact (if you have email for that contact).
-Teleprovider name
-Name of wifirouter
-Name of bluetooth connection
- Username
-Small fixes
Done 0.92:
-Unread sms
-Unanswered calls
-Unread email
-Buttons can now be gif/jpg/swf/png(with transparency)
-20 more app buttons ( open apps, slide to right)
-Slide to unlock has been changed to be a execute link instead, so now you can use a better screenlocker
-Changeable background for news and settings.
-You can use gif/jpg/png/swf for background-image as well
-Write has been moved to iProgs, so now mainbutton1 is open for external app.
-Rubik's cube game
-Soccer tricks game
-Sokoban game.
-Tetris look upgraded.
-Contacts app Alpha version.
-Many small fixes
-Volume and network or other system info not fixed yet.
Done 0.91:
-Rewritten from flash 7 to Flash lite (Painstaking!)
-New news reader (looks the same, but all new because of flash lite limitations on the old one.) It's faster, you can add as many feeds as you want. Use right/left hardbutton to change feeds. Also added browser link for reading the whole article.
-New calendar (because the old one didn't work in flash lite)
-Rewrote parts of weather. (because the old one didn't work in flash lite)
-New drawing app. Much smoother, more functions.
-New timer. (because the old one didn't work in flash lite)
-New snake game
-New bubblebreaker game
-New solitaire! (this took an awful long time to make)
-Added 4 search functions to write
-Added urls.txt: rss feeds addresses should be put here
-New loadani.exe: Screenshot app. Takes screenshots of all your apps and saves them as the appropriate loadani. Start the exe and see what I mean.
-Many small fixes
To do (in the near future)
- Your ideas (not to complex, please)
MODIFYING:
-Input.txt is where you do all text/execute modification.
All buttonimages are adressed in this file by numbers from 1-X, from the top left to the bottom right. Same with text, executelinks etc.
-Buttons should be 40x40 pixels.
Background images: 240x320 pixels.
-All jpg files MUST be NON-PROGRESSIVE. Keep the file sizes low.
Hope you like it!
This is a developing in progress app. I need feedback!
Please DONATE what you think this app is worth for you, if you like it of course
Downloading...
Edit: this is really nice! it is from my first tests very stable, not found any bugs at all yet.
maybe now you could try and make the frame rate per second higher, so that the animations would go smoother,
i am no programmer and i dont know if thats possible with mortscript..
keep it up! o and the spider walking down the keyboard is funny!! haha
PS: Thanks
Its a very nice looking interfece, but i agree that it needs a larger frame rate, so the animation is smoother. Starts instantly though. Ive got a problem in that it launches calculator no matter what icon i press. And, before it launches calculator, it says please post a screenshot of the application you use here or something similar.
Looks very promising, I'll try it soon...
Any chance of some screen shots guys?
geekyhawkes said:
Any chance of some screen shots guys?
Click to expand...
Click to collapse
check the other itask threat, there you have a whole video on youtube
Any first thoughts?
check my first post
Can anyne download the mortscript, and flash Player 7 over here ?
bronson25 said:
Can anyne download the mortscript, and flash Player 7 over here ?
Click to expand...
Click to collapse
http://www.sto-helit.de/index.php?module=download&action=list&category=17
http://www.adobe.com/products/flashplayer_pocketpc/downloads/player.html
Very nice for a first release. Well done !
1) Still didn't check all options, but as tomazez stated, a better frame rate would be great. It's not as smooth as Pointui or other UI replacements.
2) I don't know what's the need for the page that opens after clicking on a program's button (the one we should replace with a jpg pic) I'd prefer getting immediately to the program/settings page.
Working on a Trinity WM6 Bepe 0.79.
rhov23 said:
http://www.sto-helit.de/index.php?module=download&action=list&category=17
http://www.adobe.com/products/flashplayer_pocketpc/downloads/player.html
Click to expand...
Click to collapse
hello, i have installed the itask.exe in the windows folder and the three folder in program files, but i have no image and icone .
why, thanks.
eldoume said:
hello, i have installed the itask.exe in the windows folder and the three folder in program files, but i have no image and icone .
why, thanks.
Click to expand...
Click to collapse
Read first post thoroughly. It's to the root. Not the windows folder.
sorry but what is the root, i m french
thanks
rorydaredkign said:
Its a very nice looking interfece, but i agree that it needs a larger frame rate, so the animation is smoother. Starts instantly though. Ive got a problem in that it launches calculator no matter what icon i press. And, before it launches calculator, it says please post a screenshot of the application you use here or something similar.
Click to expand...
Click to collapse
This is where your modification comes into play.
The image that comes before you launch calculator is to be replaced by you, with a screenshot of your program. If people will begin to share screenshots and icons, this will be a lot easier for all of us
Most links are defaulted to calculator, but in the input.txt file you can change the links to whatever you want.
eldoume said:
sorry but what is the root, i m french
thanks
Click to expand...
Click to collapse
the root is like C:\ in "Windows XP/Vista"
rhov23 said:
the root is like C:\ in "Windows XP/Vista"
Click to expand...
Click to collapse
i have tested to put the itask.exe into the root and application data.
not works.
for the three folder : windows/programfiles/itaskpics
?????
place all items in the folder which displays application data, my documents, program files, windows, etc.
also the main folder for " My Device "
eldoume said:
i have tested to put the itask.exe into the root and application data.
not works.
for the three folder : windows/programfiles/itaskpics
?????
Click to expand...
Click to collapse
just put everything from itask into "\"
@rhov23
Beautifully done! With some work, this could blow FreeStylWM and PointUI Home out of the water! Provided that we all get the video driver needed by all HTC products using the MSM7200 chipset, do you think that this will improve on the speed with some DirectX code thrown in? I'm no Windows Mobile developer (yet) but I'd love to help with this wonderful project (even if it's MortScript modifications or beta testing!)

[XAP][SOURCE] Native Toast Notification Launcher

This is a very simple application that enables you to specify any kind of Uri to launch. This is done through creating a Toast notification that, when clicked on, will execute the specified Uri. This uses a native method outside of the regular SDK; the standard methods available in the SDK that you'd normally use to create a Toast notification are restrictive in what kind of Uri you can specify. By using the native method not part of the SDK, these limitations can be by-passed.
I've attached both the XAP and the source code. The source project contains three projects:
CShellChromeAPI: The C++/CLI project which calls the native un-documented method
NativeToastLauncher: The .NET wrapper which simplifies the interaction with the C++/CLI project
NativeToastLauncherApp: The test application used to quickly launch any Uri
You'll notice I've hard-coded a default Uri when you launch the application: this will open the Windows Phone 8 "About" page.
To run this, you'll need to side load the XAP which requires a dev unlocked device...
Can I use any system GUID to launch?
djtonka said:
Can I use any sytem GUID to launch?
Click to expand...
Click to collapse
Any registered app GUID yes. You'd do app://GUID/_default (or replace the _default with the particular task to run - in most cases, that's _default).
@cpuguy this is awesome, thanks!
If you guys are looking for GUIDS and default tasks, they are all in the app's WMAppMAnifest.xml. the "ProductID" is the GUID and the "DefaultTask Name" property contains the name of the default task.
Hopefully we can use this to find a program to exploit.
Sent from my Nokia 521 using XDA Windows Phone 7 App
Does anyone happen to have a list of the ID's for the system and settings apps? Obviously, I can't go into the code and get these without messing with the file system. If no one has them, then I can just trial/error until I get some...
If you download the registry hives located at http://forum.xda-developers.com/showthread.php?t=2393883 , you can load the Software hvie and search for "app://" That will give you a few system files you can launch.
EDIT:
I posted a zip file of the default ones in a new thread.
IF anyone has tethering blocked, see if you can get it to work by launching this URI app://5B04B775-356B-4AA0-AAF8-6491FFEA5629/Default
compu829 said:
If you download the registry hives located at http://forum.xda-developers.com/showthread.php?t=2393883 , you can load the Software hvie and search for "app://" THat will give you a few system files you can launch.
Click to expand...
Click to collapse
Im only seeing the app:// function used on the system settings options after going through the regsistries so far.
aclegg2011 said:
Im only seeing the app:// function used on the system settings options after going through the regsistries so far.
Click to expand...
Click to collapse
that's what I saw too. I am having way more luck finding cool stuff in the extracted ffu. Take a look at the zip file in the new thread I started.
compu829 said:
that's what I saw too. I am having way more luck finding cool stuff in the extracted ffu. Take a look at the zip file in the new thread I started.
Click to expand...
Click to collapse
yea, I saw the new thread. Hopefully somebody can find a exploit in all that. It executes some cool files. Too bad there wasn't a cmd.exe file on our phones that we can execute.
aclegg2011 said:
yea, I saw the new thread. Hopefully somebody can find a exploit in all that. It executes some cool files. Too bad there wasn't a cmd.exe file on our phones that we can execute.
Click to expand...
Click to collapse
actually..there is! but it's stuck in a WIM. It inflates it on an "as-needed" basis.
I am hoping that we can use the backgroundworker to run some stuff elevated
compu829 said:
I am hoping that we can use the backgroundworker to run some stuff elevated
Click to expand...
Click to collapse
But they all are pretty much isolated. It is unlikely that you will be able to run anything elevated
aclegg2011 said:
yea, I saw the new thread. Hopefully somebody can find a exploit in all that. It executes some cool files. Too bad there wasn't a cmd.exe file on our phones that we can execute.
Click to expand...
Click to collapse
Not only is there a CMD.exe, but there are other interesting things like a BSOD screen, Control Panel, registry keys referencing desktop (A future exploit I might attempt), and even native EXEs (We knew about native EXEs since WPs release).
Why does this launcher not work with "normal" toasts: {YOUR-APP-GUID} and "/Page1.xaml"? Only with empty GUID and full path.
Similarly, any chance this could be used to open arbitrary XAML pages, rather than just the ones defined in the app manifest? For example, something like what was posted in another thread (http://forum.xda-developers.com/showpost.php?p=45265419&postcount=56) using the following URI: app://5edbdbbc-2ab2-df11-8a2f-00237de2db9e/_default#/View/APNSettingPage.xaml to launch a hidden page in the Connection Setup app. I don't know if that's a weird behavior of CS or if its universally possible (and while it feels lazy to ask, I'm at work right now). There are a bunch of "hidden" pages in the ATIV S Diagnosis app, some of which would be very useful, but the navigation code for them is blocked or outright missing. If we could invoke those directly... There are probably a bunch of other such hidden gems in other OEM apps too.
Yes you can. The way I found the one in the HTC app was by loading the dlls in JetBrain's dotPeek. Then I looked for the xaml files. It is all a relative URI based on what dotPeek/the app "sees". The only thing the manifest states is where the default entry point is for the page. Basically I looked in the manifest file for how it calls the "default" page. and then replace it with the relative URI for the other page you want.
If you guys want, I can write up a simple tutorial. I just have an HTC 8x, so my hands are tied. If someone can figure out how to deflate an nbh file so I can browse it, that'd be fantastic! I found a "dead" 521 on eBay that I am thinking of picking up for research since there are way more tools for Nokia.
compu829 said:
Yes you can. The way I found the one in the HTC app was by loading the dlls in JetBrain's dotPeek. Then I looked for the xaml files. It is all a relative URI based on what dotPeek/the app "sees". The only thing the manifest states is where the default entry point is for the page. Basically I looked in the manifest file for how it calls the "default" page. and then replace it with the relative URI for the other page you want.
If you guys want, I can write up a simple tutorial. I just have an HTC 8x, so my hands are tied. If someone can figure out how to deflate an nbh file so I can browse it, that'd be fantastic! I found a "dead" 521 on eBay that I am thinking of picking up for research since there are way more tools for Nokia.
Click to expand...
Click to collapse
That's correct. I have been navigating to various - normally unreachable - XAML pages in quite a few of the Nokia apps. I gave an example of that in a different thread:
Code:
app://[COLOR="Navy"][B]2377fe1b-c10f-47da-92f3-fc517345a3c0[/B][/COLOR]/[COLOR="Orange"][B]_default[/B][/COLOR]#/[COLOR="Green"][B]Launcher[/B][/COLOR];component/[COLOR="DarkRed"][B]MainPage.xaml[/B][/COLOR]
In this example, I launch the Nokia extras+info app (2377fe1b-c10f-47da-92f3-fc517345a3c0) with the default entry point (_default) which, as @compu829 stated, can found in the app's manifest. Following that, you can add "#/" (not sure if either the hash-tag or slash can be taken out or both are required to work but I know with both, it does work) to the URI to specify a particular XAML file you'd like to open. Following the "#/", you get to specify the assembly (i.e. the .DLL in the XAP file) in which the XAML file is located (Launcher). And finally, you add ";component/" followed by the full path to the XAML as defined in the embedded resource file (MainPage.xaml).
-W_O_L_F- said:
Why does this launcher not work with "normal" toasts: {YOUR-APP-GUID} and "/Page1.xaml"? Only with empty GUID and full path.
Click to expand...
Click to collapse
I presume your reference to the "empty GUID" is for the first parameter of my static Launcher.LaunchToast method? That first parameter is, as far as I can see, ignored for the actual toast launch. If I'd have the signature of the "Shell_PostMessageToast" method, I could perhaps understand what it does but, without it, I just knew it wanted a GUID (passed to it as a string) and that that GUID could be an empty one. I reversed engineered the signature from that native method (found in ShellChromeAPI.dll) by taking a look at another native assembly calling it. Naturally, this only tells shows me how that method is being called but doesn't return the name of the parameters. If I remember correctly, the assembly calling that method was passing its own application GUID... I could have done the same but, I didn't see what use it had so I decided to keep passing it an empty GUID.
The format of the toast is different most likely because that's the raw toast launching method. The other format you're used to is the more developer friendly one that's sanitized prior to launching it (so you can't launch another app directly).
Success!
@GoodDayToDie , this is exactly what I'm trying to do! And here is result:

Categories

Resources