Related
I wanted to add Luxembourg-City to the Weather tab in TouchFlow3D using either Joe's WeatherMaster or the WeatherDatabaseEditor, but nothing works. Did something change with this new device? WeatherMaster gives me a NullReferenceException and WDE does not seem to do anything. I can select a city and just exit, but not add this city to the database. Or am I not understanding how this program works?
petz79 said:
I wanted to add Luxembourg-City to the Weather tab in TouchFlow3D using either Joe's WeatherMaster or the WeatherDatabaseEditor, but nothing works. Did something change with this new device? WeatherMaster gives me a NullReferenceException and WDE does not seem to do anything. I can select a city and just exit, but not add this city to the database. Or am I not understanding how this program works?
Click to expand...
Click to collapse
Did anyone found a solution to this problem? Is it possible to add custom city in the TF2D weather tab? Or shall we install an other programm? The weather database editor doesn't work...
I now found a solution. It was the first one I tried, but didn't work because of a stupid error.
You have to edit the hh_0409_weathercities.xml in the Windows folder and add a line with the desired city. You can get the code from accuweather.com by searching for your city. The code's in form of CONTINENT|XX|XXXXX|COUNTRY. Delete the trailing bar (|) or else it won't work.
To edit that file, you first have to copy it to a PC, edit it, copy it back somewhere on the phone (not the Windows folder, it won't let you). Then use different file browser (I used GSFinder+) to finally move that file into the Windows folder. Be sure to make a backup of the original file!
petz79 said:
I now found a solution. It was the first one I tried, but didn't work because of a stupid error.
You have to edit the hh_0409_weathercities.xml in the Windows folder and add a line with the desired city. You can get the code from accuweather.com by searching for your city. The code's in form of CONTINENT|XX|XXXXX|COUNTRY. Delete the trailing bar (|) or else it won't work.
To edit that file, you first have to copy it to a PC, edit it, copy it back somewhere on the phone (not the Windows folder, it won't let you). Then use different file browser (I used GSFinder+) to finally move that file into the Windows folder. Be sure to make a backup of the original file!
Click to expand...
Click to collapse
Are you sure that you have to delete the trailing bar? All the codes in the xml(hh_0409_weathercities.xml) that you say are with trailing bars... And something else... How do you edit an xml file? Wich prog do you use?
You can edit an xml file with any text editor. It's a simple text file.
All the codes in my file don't have a trailing bar, so perhaps you've got to try both ways.
Have yuo try?
Deleting the trailing bar (|) it works?
With they it don't works...
need a differt city in wheather...
weather PATCH
I understand that we need to use a patch for the weather!
Someone can help me to find?
Thanks to all
It is really simple. Just like petz79 wrote. Except you have to keep that code from accuweather as is (only change %20 character to space). That is only thing you need.
EDIT: It isn't. New city appears in list, but no weather data are downloaded .
EDIT2: I found interesting fact. When I save into XML line bottom, everything was ok.
Code:
<city name="Praha, CZ" loca="EUR|CZ|EZ001|PRAHA" land="Czech Republic"/>
But when I added this, no data were downloaded:
Code:
<city name="Praha, CZ" loca="EUR|CZ|EZ005|PRAGUE" land="Czech Republic"/>
Now I have two "Praha" items in list, but only one is working. Therefore adding of other cities must be hidden somewhere else.
EDIT3: I got it. AccuWeather has two lists - "Favourite cities selection" and "all cities". Weather app on iolite works only with "favourite cities" list, therefore no other cities can be added. I will try to hack it somehow, but I am not programmer, so probably no solution from me for this.
I found the solution. -> http://forum.xda-developers.com/showpost.php?p=3833726&postcount=79
TorrentOnly, you saved me from going completely insane over this!
I couldn't get it to work for the life of me, until I found your Manila2D.exe patcher! Now it finally downloads the data!
anyway thank you very much, it finally worked and I'm happy
PS: first post
were can i find this file???? "hh_0409_weathercities.xml"???? because on windows filder of my phone i cant find this file!!!!!! please help!!!!!!
on my phone, connected with Active Sync right now, I have the file "hh_0410_weathercities.xml" in my windows folder.
just like to share with you how with those who need a command line for
"Settings" aka "Control Panel" and for
"Programs List" aka "Start Menu"
there have been apps like "control.exe" and "folderview.exe" which did the same but on my device (and os) it is not working anymore.
however, you need mortscript:
to launch "Settings" execute this command:
Code:
Show(FindWindow( "Settings", complete, yes, no, no, "MSSTARTMENU" ))
to launch "Start Menu" simply execute this command:
Code:
SendWin
i am sure it will be of help for those who create their own UI
Add this:
Launch "Programs":
Code:
Show("Pograms")
Launch "Settings" for WM5/6.0/6.1
Code:
Show(FindWindow( "", complete, yes, no, no, "Dialog" ))
Launch "Settings" for WM6.5
Why not use
Code:
Show("Settings")
since this window has a valid title.
is it possible to use the above command lines in an lnk file?
twfx said:
Why not use
Code:
Show("Settings")
since this window has a valid title.
Click to expand...
Click to collapse
... because mortscript tries to find the "best" fitting window for your criteria. if you just provide "Settings" mortscript might also find another window named Settings.
but you are right it is not mandatory - just regard the other parameters as additional.
oldsap said:
is it possible to use the above command lines in an lnk file?
Click to expand...
Click to collapse
yes it is. just write path and name of the .mscr file in your .lnk file - just as you would do with .exe files
Can U guys please provide ready mortscript or lnk to launch Seetings in wm 6.1 ? I would be very gratefull ! Because i get confused what shall i do ... Thankx a lot !
Krzysiec said:
Can U guys please provide ready mortscript or lnk to launch Seetings in wm 6.1 ? I would be very gratefull ! Because i get confused what shall i do ... Thankx a lot !
Click to expand...
Click to collapse
i do not know if the above code really works on wm6.1
but i warmly recommend to install total commander which can do all for you:
you can create a file, rename it to <name>.mscr
add the above script line - save and close
double tab on the script and it is being executed
if it works, control panel will appear
to create a shortcut: there is also a menu for creating shortcuts
egoist6 said:
i do not know if the above code really works on wm6.1
but i warmly recommend to install total commander which can do all for you:
you can create a file, rename it to <name>.mscr
add the above script line - save and close
double tab on the script and it is being executed
if it works, control panel will appear
to create a shortcut: there is also a menu for creating shortcuts
Click to expand...
Click to collapse
But which string exactly ? Because there are few of them above :/ Tried to create mscr files with settings string for WM 6.1 but no luck Can`t get this work ...
Unknown function findwindow
Line:
Show.......
Invalid parameter count for `Show`
Line:
Show.......
Those two errors pop up...
Krzysiec said:
But which string exactly ? Because there are few of them above :/ Tried to create mscr files with settings string for WM 6.1 but no luck Can`t get this work ...
Unknown function findwindow
Line:
Show.......
Invalid parameter count for `Show`
Line:
Show.......
Those two errors pop up...
Click to expand...
Click to collapse
as said i do not know if string
Show(FindWindow( "", complete, yes, no, no, "Dialog" ))
really works as i can't test it myself. if problems appear post here again and you'll be helped
however, you need v4.3 which is beta (but works perfectly stable). here. that's why you get error messages.
Show("Settings") worked
I've been looking for a way to re-start the 6.5 start menu for a few weeks now. I've been using Magic Button, and even when I put the start menu on the MB exclusive list, it still kills it occasionally when exiting. The 'sendwin' morscript doesn't revive it. Any ideas on a command that would? Thanks.
Farmer Ted said:
I've been looking for a way to re-start the 6.5 start menu for a few weeks now. I've been using Magic Button, and even when I put the start menu on the MB exclusive list, it still kills it occasionally when exiting. The 'sendwin' morscript doesn't revive it. Any ideas on a command that would? Thanks.
Click to expand...
Click to collapse
hm. not sure what the problem exactly is.
what do you mean by re-start start menu?
Well, with magic button you can actually kill the start menu. I believe it's part of a service, but haven't been able to track it down. For instance, I've used sk tools to save the list of running services, killed the start menu, then looked at the services and not seen any obvious changes (the same goes with processes). When the start menu is dead, it won't open up at all. I'd like to find out how to get it going again without resetting.
Farmer Ted said:
Well, with magic button you can actually kill the start menu. I believe it's part of a service, but haven't been able to track it down. For instance, I've used sk tools to save the list of running services, killed the start menu, then looked at the services and not seen any obvious changes (the same goes with processes). When the start menu is dead, it won't open up at all. I'd like to find out how to get it going again without resetting.
Click to expand...
Click to collapse
check it with dotfred's taskmanager and browse through the windows.
probably magic button closes this window.
Maybe the HoneyComb is shell32.exe, can you confirm?
And what is other side-effects without honeycomb?
Edit: I'm on the reverse side, want to kill it ! Just no device to test it ATM, but eager to know, also several weeks looking for this.
Just install magic button, it kills all!
Thanks Farmer Ted for the info, another lite tool added to my suitcase: MagicButton.
Just still curious to know what is exactly the WM6.5 Start Menu. (Edit: Check this tread for the start menu close issue.)
To be less off-topic, here is another thread talking about similiar issue of this thread:
http://forum.xda-developers.com/showthread.php?t=381281
wg5566 said:
To be less off-topic, here is another thread talking about similiar issue of this thread:
http://forum.xda-developers.com/showthread.php?t=381281
Click to expand...
Click to collapse
yeah. i know as i have posted a solution to this thread. that was wm6.0 or wm6.1.
those apps mentioned in the thread you are talking about do not work on wm6.5
this thread is about wm6.5
Farmer Ted said:
I've been looking for a way to re-start the 6.5 start menu for a few weeks now. I've been using Magic Button, and even when I put the start menu on the MB exclusive list, it still kills it occasionally when exiting. The 'sendwin' morscript doesn't revive it. Any ideas on a command that would? Thanks.
Click to expand...
Click to collapse
Add MSSTARTMENU to your exclusion list. That is what I just did to Smartskey.ini exlude list for closeapp
Krzysiec said:
Show("Settings") worked
Click to expand...
Click to collapse
Hi
i tried this but does'nt work...
can u help me please? (i'm on WM6.5)
SendWin
Sleep( 2000)
Show("Settings")
End
The startmenu opens but i have the error message: could not find window 'Settings'
ANYBODY GET SASHIMI to work by messing with the code. Bengali is working on it but I cant wait since he takes years to update. here is the code but the problem is that the selection to SD goes down but now we need a an ok to select since there is no ok button. Can anyone find how to hack the virtual ok button?
Taken from aussiebum from http://www.winmo-experts.com/viewtopic.php?f=7&t=311
Code:
main SASHIMI.mscr script and got 8.0 installing properly to Storage Card with WM 6.5 build 23037 (I think [IMG]http://www.winmo-experts.com/images/smilies/icon_e_smile.gif[/IMG] ).
Basically, the code causing the issue is the Repeat function - there seems to be a miscount of the number of bulletpoints avaliable, causing SASHIMI to select Device => Storage Card => Device before pressing "Ok" and hence causing stuff that was supposed to install to SC get installed onto the device instead. NOTE: THis assumes there is no ASL (Alternative Storage Location).
**IF YOU'RE NOT COMFORTABLE WITH EDITING THE SCRIPT DON'T DO IT AND WAIT FOR A NEW SASHIMI RELEASE**
SASHIMI.mscr hack to get it working:
PUT A HASH IN FRONT OF LINES:
line 2360: Repeat(SCListPosition)
line 2362: EndRepeat
AND PUT A HASH IN FRONT OF LINES:
line 2475: Repeat(SCListPosition)
line 2477: EndRepeat
so both looks like:
#Repeat(SCListPosition)
SendSpecial("Down")
#EndRepeat
Save file, backup existing one, overwrite one in BIN folder.
Hi
I did exactly as told in the SASHIMI forum, where this fix was posted first, and it works for me.
sdlopez83 said:
ANYBODY GET SASHIMI to work by messing with the code. Bengali is working on it but I cant wait since he takes years to update. here is the code but the problem is that the selection to SD goes down but now we need a an ok to select since there is no ok button. Can anyone find how to hack the virtual ok button?
Taken from aussiebum from http://www.winmo-experts.com/viewtopic.php?f=7&t=311
Code:
main SASHIMI.mscr script and got 8.0 installing properly to Storage Card with WM 6.5 build 23037 (I think [IMG]http://www.winmo-experts.com/images/smilies/icon_e_smile.gif[/IMG] ).
Basically, the code causing the issue is the Repeat function - there seems to be a miscount of the number of bulletpoints avaliable, causing SASHIMI to select Device => Storage Card => Device before pressing "Ok" and hence causing stuff that was supposed to install to SC get installed onto the device instead. NOTE: THis assumes there is no ASL (Alternative Storage Location).
**IF YOU'RE NOT COMFORTABLE WITH EDITING THE SCRIPT DON'T DO IT AND WAIT FOR A NEW SASHIMI RELEASE**
SASHIMI.mscr hack to get it working:
PUT A HASH IN FRONT OF LINES:
line 2360: Repeat(SCListPosition)
line 2362: EndRepeat
AND PUT A HASH IN FRONT OF LINES:
line 2475: Repeat(SCListPosition)
line 2477: EndRepeat
so both looks like:
#Repeat(SCListPosition)
SendSpecial("Down")
#EndRepeat
Save file, backup existing one, overwrite one in BIN folder.
Click to expand...
Click to collapse
Right, its more of a tp2 issue for me. Do you have a TP2?
Hi guys,
trying since a few days to optimize my start menu. I´m using erviuskitchen and I have following commands in my initflashfile:
Code:
; Start Menu contents
Directory("\Windows\Startmenü"):-PermDir("Programme")
Directory("\Windows\Startmenü"):-PermDir("Einstellungen")
;***PROJECTDEFAULT_A***
Directory("\Windows\Startmenü\Programme"):-Directory("Multimedia")
Also I have a few programs for a folder called "software" and a few called "telefon". Both of them working finde. Any shortcuts were made in this folders, but on the end a the start menu, I see two empty folder, one is called "Telefon (1)" and the other is called "Software (1)". I wonder why?
Can someone help me?
Also I want to get rid of the entries "Erste Schritte/Welcome" and the "Heute/Today" button.
An last, I wonder why every time I´m flashing, the folder in my start menu are in different positions. Once the software is at the top, once it is in line 3 or so...
I´m using this entry:
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Software]
"ItemPosition"=dword:00000001
"Rank"=dword:35A4E6A1
"Icon"="\\Windows\\HTC_software.png"
"Group"=dword:00000001
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Multimedia]
"ItemPosition"=dword:00000003
"Rank"=dword:35A4E6A3
"Icon"="\\Windows\\HTC_multimedia.png"
"Group"=dword:00000001
Greetings,
Modano
rm_modano said:
Hi guys,
trying since a few days to optimize my start menu. I´m using erviuskitchen and I have following commands in my initflashfile:
Code:
; Start Menu contents
Directory("\Windows\Startmenü"):-PermDir("Programme")
Directory("\Windows\Startmenü"):-PermDir("Einstellungen")
;***PROJECTDEFAULT_A***
Directory("\Windows\Startmenü\Programme"):-Directory("Multimedia")
Also I have a few programs for a folder called "software" and a few called "telefon". Both of them working finde. Any shortcuts were made in this folders, but on the end a the start menu, I see two empty folder, one is called "Telefon (1)" and the other is called "Software (1)". I wonder why?
Can someone help me?
Code:
[QUOTE]Maybe its because you have the entry in both sides... one in the initflashfiles and other one in every app.dat in the applications, check the initflashfiles and delte that lines... the app.dat in your EXT pkgs can do the trick without edit the initflashfiles in OEM/yourlang/[/QUOTE]
Also I want to get rid of the entries "Erste Schritte/Welcome" and the "Heute/Today" button.
Code:
[QUOTE]To get rid of the welcome icon you can disable in sys the welcome center package and... you can not get rid of the today icon[/QUOTE]
An last, I wonder why every time I´m flashing, the folder in my start menu are in different positions. Once the software is at the top, once it is in line 3 or so...
I´m using this entry:
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Software]
"ItemPosition"=dword:00000001
"Rank"=dword:35A4E6A1
"Icon"="\\Windows\\HTC_software.png"
"Group"=dword:00000001
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Multimedia]
"ItemPosition"=dword:00000003
"Rank"=dword:35A4E6A3
"Icon"="\\Windows\\HTC_multimedia.png"
"Group"=dword:00000001
Greetings,
Modano
Click to expand...
Click to collapse
and on the last question i can be sure the RANK entry is the one you are searching for... delete that line of the regs before you cook, wherever you found it or use decimal numbers... less is at top of the start menu position bigger number is at the bottom of the start menu
[Q] Problem with package name, <service android:name=".Some Name">, etcetera
I started a project with Android Studio 1.2.
The wizard asked for a project name and I put some name, for example SomeName as a name.
The wizard asked for a company name and I put, for example, SomeCompanyName, BUT I DID NOT PUT com.SomeCompanyName because this generates lots of com.'s etcetera with the project.
However, when I attempt to rebuilt, the compiler gives a lot of errors everywhere where I want to reference SomeName, as for example in <service android:name=".SomeName>
I suspect the main reason is because I did NOT put com. in the wizard before SomeCompanyName.
AM I RIGHT? IS THIS THE REASON? IN CASE SO, HOW CAN I RENAME THE PROJECT OTHER THAN TO CREATE A NEW PROJECT AND COPY AND PASTE FILES?
PLEASE, HELP AND ADVISE.
Why are you linking a case in your "CASE" word????? If you are logged out there is a link there! What is this??
On your left in your project tree, right click on your package (SomeCompanyName) and click Refactor->Rename and press "rename package".
in your manifest, in the top, what do you have to
Code:
package= "..."
?
What kind of errors you have? Can you share them?
Generally you need to have the com.example.mypackagename format. (as a convention)
Especially if you are going to publish it!!! Strongly recommended!!! (you do not need to own the example.com domain name, just make sure it is unique)
mmdeveloper10 said:
Why are you linking a case in your "CASE" word????? If you are logged out there is a link there! What is this??
On your left in your project tree, right click on your package (SomeCompanyName) and click Refactor->Rename and press "rename package".
in your manifest, in the top, what do you have to
Code:
package= "..."
?
What kind of errors you have? Can you share them?
Generally you need to have the com.example.mypackagename format. (as a convention)
Especially if you are going to publish it!!! Strongly recommended!!! (you do not need to own the example.com domain name, just make sure it is unique)
Click to expand...
Click to collapse
Tried. Does not work. Does not replace the name of the package. Does not insert com. Did not work before. Did not work now. Still does not want to name the service.
I do not know why " case " was displayed as a link. May be automatic. I may have pressed wrong buttons on the keyboard.
StevenStanleyBayes said:
Tried. Does not work. Does not replace the name of the package. Does not insert com. Did not work before. Did not work now. Still does not want to name the service.
I do not know why " case " was displayed as a link. May be automatic. I may have pressed wrong buttons on the keyboard.
Click to expand...
Click to collapse
PROBLEM SOLVED. MIXED UP CLASS DECLARATIONS ( A CLASS MUST BE DECLARED IN JAVA AND NO AUTOMATIC SCRIPT IS GENERATED ) AND PLACES WHERE TO PUT RELEVANT CLASSES. HERE IS AN EXCELLEBT GUIDE : http://glennsayers.com/backgroundservice/
Thanks.