Can any Mortscript experts help please?!! - Windows Mobile Development and Hacking General

Hey guys! Out in the Leo thread is the perfect weather widget that we have. The only problem is that its a HUGE data hog!!
The original developer might have abandoned the project, and us users are left trying to make it right.
The problem is that the weather update script is called based on conditions no one really knows. I have personally seen that data is accessed on anyof the following conditions:
The weather widget is pressed manually
The device wakes up from sleeping
Some other program accesses the internet
Would someone mind taking a look at the app, and tell us what to change? It would be great to use this and not get hammered by T-Mobile for overages!

A very small and efficient "wheather" MortScript solution you'll find here, only data feeded by RSS is used:
http://forum.xda-developers.com/showthread.php?t=501783

Related

My 3 - Usage Meter. Possible?

Hi guys,
I'm absolutely loving my phone atm. Just seems like I've found my perfect setup, and that I can do everything with my phone.
I especially love how I can display detailed weather in Today's screen.
From what I've seen, it seems like it accesses a website, then parse the data to find the actual weather.
This leads me to think, wouldn't it be cool if I'm able to see my mobile usage on my Today screen.
I'm living in Australia and am with 3 using Dopod d810 (htc p3600). People who use 3 will know that we have free and unlimited access to the My3 website to see our usage for the month at any time.
Just wondering:
1) It must be possible to write a program that parses that website and retrieve the data accordingly right?
2) Has anyone seen any app like this?
I'm more or less an experienced Java developer so I hope it won't be too hard to learn how to write a ppc app!
Lastly, thanks everyone in this forum who have contributed in making my phone, the most perfect I can imagine!!
Yeap its entirely possible. Its called screen scraping. Look up wikipedia.
I used to make a php application that parses data by looking up their html tags, so it's possible. But if the website supplies rss data then there's no need to do scraping.
great!
Thanks for the tips, I'll definitely look it up...
How do you know if it supplies rss data btw?
wouldn't it be much easier to just install batterystatus
This can display outgoing texts, calls etc

New weather source for South Africa

Hi Guys,
I'm helping the SA Weather Service which is the ONLY accurate source of weather for SA & SADC (all these global servers are so appaulingly wrong that most of us SA's just disable the wether tab in our HTC).
They are keen to provide a weather source to the public for use on various mobile devices. Currently they generate an extensive xml file 3x per day, and all I need to do is help them specify the new file format.
I have some questions I am hoping someone here can help with:
There must be a standard format for these information sources, which I am guessing is am xml file. Ideally this will be small to minimise bandwidth served. Where can I find this schema?
Are there various standards for various apps, or do most weather apps use the same standard?
Can we just put this xml into a public directory, or do we have to have some sort of web service running?
Is it possible to make the HTC Home plugin use our data source - the hacks I've seen are related to adding different cities, not changing the data source?
Finally, I'd like to hear which apps you guys use that have the ability for one to specify a different data source. We're powerless if the app only allows a choice of 2 or 3 Russian servers.
Oh yeah, does anyone have any insight into Nokia and Symbian weather apps? If we crack this for HTC/WM, will the others work too?
Hey...this sounds brilliant...
Sorry..not gonna be much help with your questions...but wishing you the best of luck..
Wont a normal RSS feed work well based on a chosen city? I somehow think that the web service would be the best option...
Maybe this might help
GREAT!!!
I do hope to see this soon!!!
Sounds cool!
Howsit to fellow South Africans!
Im not into the weather much, Im happy With the results from SPB weather.
I know that there is not much cities supported, like in Natal, you can only get Durban, but what if you are in Margate!
I think the most of the apps rely on Yahoo Weather source........It uses .xml coding, but im not sure about the rest!!!
Howsit peeeps!
SAWS is the ONLY source of accurate weather. All other sources come from global models - usually Euro or US centric. They are appaulingly wrong for SA, for many reasons; they do not consider topography in the slightest, and their resolution over Africa is around 100km vs 4km for local models.
You will often see temp projections of 15'C to 25'C when SAWS is saying 5 to 15. How different is that! You will see clear skys when you are sitting here looking at a dense cloud bank from George thro to PTA. They're all basically SO bad they are less than useless (less, cos they make you think you know what's happening).
RSS feeds are an easy option, but we all like our cutsie phone apps, so I want to get in line with those. Ideally I want to find a freeware app, with awesome capabilities, and make sure SAWS provide data for that. Then we can post it widely here as the prefered SA option.
C'mon guys, who's developed weather apps and has some insight? I have to move fast before SAWS lose interest.
I'd love to help but have absolutely no clue on this! I use Pocket Weather and HTC Weather on my device and yeah, the forecasts are appallingly wrong 90% of the time! Hope you can get this up and running with SAWS...
Target Market
Is this only aimed at WM users??? or for the broader public....
Was the link posted above useful?? (http://developer.yahoo.com/weather/)
As an alternative slightly of the track...what if the developed a mobile website...lightweight...easily available...the limitation could be personalisation...
Sorry, yahoo link is to get their RSS feed. Their data is sourced from nternational model - all of which exclude the topography of SA (if you live in CT you can't even begin to use them).
As for min-web-site, that's a fallback. But people really do prefer an on-screen plugin, with the ability to click for more details. I'm looking for apps that support clicking thro to radar images (live stoom tracking to resched your braai!), weather and traffic cams (SAWS has them all!), and of course the up-to-the-minute data tables with forecasts etc.
Apps exist, but not sure which allow you to select data sources.
craigiecraigie4 said:
Apps exist, but not sure which allow you to select data sources.
Click to expand...
Click to collapse
which apps are these......
HI
Any news on this? need people to test etc?
Thanks

SPB Weather Aussie Weather Source

Hi All,
As requested, find attached weather sources for SPB weather.
There are two scripts below, one basic and one detailed. Instruction on how to use are in the the templates, so just open in notepad to view the 'how to'. I use the basic one, but have a play as you can go down to each states weather centres.
Weather is then sourced from www.weatherzone.com.au.
I take no credit for this script and a big thanks to recrem (from the now closed Mtekk forum) for updating a while back.
Enjoy,
Dev
Thanks for the good work. Good to see an Aussie Weather Source
Thanks again Dev,
Just downloading your weather files now (after trawling through whirlpool all morning looking for your post). I was happy using the one in SPB mobile shell until today... it forecasts 30 for today and it is much closer to 34... all the news channels were saying 34, so obviously they got their data from a more reliable source.
Works great with SPB Traveler, but has anyone made it work with the SPB panel's weather? It seems to take its data from Traveler when Traveler is installed, but if you select a custom city, the panel's weather screen just tells you that "No weather data has been downloaded".
bedlam_au said:
Works great with SPB Traveler, but has anyone made it work with the SPB panel's weather? It seems to take its data from Traveler when Traveler is installed, but if you select a custom city, the panel's weather screen just tells you that "No weather data has been downloaded".
Click to expand...
Click to collapse
There is no need to create a custom city (unless it's not in the list).
There are full instructions in the template file (open with notepad).
It is working fine for me... apart from a few issues with weather icons not showing up from time to time.
buzz83 said:
There is no need to create a custom city (unless it's not in the list).
There are full instructions in the template file (open with notepad).
It is working fine for me... apart from a few issues with weather icons not showing up from time to time.
Click to expand...
Click to collapse
As I said, it works fine in SPB Traveler. Where it doesn't work is with SPB's custom X1 panel. The weather icon on its "Today" screen is just a sun with N/A where the temp should be. Tapping on that icon, which normally shows the next 4 days, has a message along the lines of "The weather data hasn't been downloaded.
I'm assuming it's because those scripts produce temperatures and icons in a slightly different format. Traveler can handle it but the Panel can't. It'd need someone with a bit more script nerdery than me to reformat those scripts to something the Panel's weather routine can read.
bedlam_au said:
As I said, it works fine in SPB Traveler. Where it doesn't work is with SPB's custom X1 panel. The weather icon on its "Today" screen is just a sun with N/A where the temp should be. Tapping on that icon, which normally shows the next 4 days, has a message along the lines of "The weather data hasn't been downloaded.
I'm assuming it's because those scripts produce temperatures and icons in a slightly different format. Traveler can handle it but the Panel can't. It'd need someone with a bit more script nerdery than me to reformat those scripts to something the Panel's weather routine can read.
Click to expand...
Click to collapse
Yes, only SPB weather can read the scripts to display the correct icons. So if you don't have SPB weather loaded, its no good as Shell Panel doesn't work with it.
Dev
Revised Detailed Script to fix missing codes
Hi all,
It would seems weatherzone.com.au have now stopped displaying the city code number in the URL address as per the instruction in the template.
So I have modified the template so you can now get it to work if you don't know your suburbs code.
Instructions are at the top of the file, so just open with notepad and you'll be off and running.
Enjoy.
Dev
thedeva said:
Hi all,
It would seems weatherzone.com.au have now stopped displaying the city code number in the URL address as per the instruction in the template.
So I have modified the template so you can now get it to work if you don't know your suburbs code.
Instructions are at the top of the file, so just open with notepad and you'll be off and running.
Enjoy.
Dev
Click to expand...
Click to collapse
You have proved yourself yet again dev.
SPB Weather was giving me the #$%s on the weekend, but I was house hunting and didn't have time to play around with it.
Looks like you've done the job very nicely.
Thanks again
For reasons I can't begin to understand, it would seem the issues with SPB Traveler messing with the SPB Panel's weather are resolved by installing SPB Weather.
If I was being scientific about it, I'd see if it works in isolation without Traveler or if this new version of the script has anything to do with it. But I'm not.
So for now, the combination of Traveler + Weather + current script by TheDeva = correct weather now being displayed in the SPB Mobile Shell Panel. Some weather icons are N/A, but at least the temperature is correct and not 10 degrees out like it used to be. (What are these other websites using as the source of their information??)
Thankyou to 'thedeva' for the modified spb weather script... the programs now works and it gives the same forcasts that we get on ABC weather.. so that accuracy helps alot.
One thing I have noticed is that there is never an icon for the next days weather. e.g. today is tuesday, and there is no icon for wedneday's forcast. Tomorrow after I update, there will be no icon for the next day. I have Ballarat and Melbourne as the cities I watch, but neither will display the next day's icon using this template... when i go back to the default spb scripts all is good, just lousy weather forcasts...
I have looked at the script, but I can't see where the fault lies... any ideas please ?
David
Hi All,
I have read all the templates and comments and cannot get the weather to display correctly. I have mobile shell installed as well as SPB weather. The custom city of melbourne has been added with directions supplied by 'thedeva'. I get the dreaded N/A on the professional Now screen. Any ideas?
Thanks!
Dan.
SPB v1.7 with Melbourne?
Hi guys,
I have SPB 1.7 (which is more lightweight than the current) and am trying to get it to work with the script.
It doesn't say in the script which "City Code Type" to use but I've tried all 3 (user defined, ICAO and GisMeteo.ru) with no luck.
I've set Custom City with "vic/melbourne/melbourne".
I get a "Error downloading data from site". I'm pretty sure I have connectivity as I see the HSPDA connection go and if it's in the crade the sync marks go (and other apps update).
Can anyone assist?
Cheers,
Gavan
I believe SPB Wather older than version 2 are obsolete and don't have any support/sources for them.
Thanks Orlesi - can anyone else also confirm it won't work with v1.7? I've been deliberately running the older version for a smaller simpler lightweight forecaster.
glimjoon said:
Thanks Orlesi - can anyone else also confirm it won't work with v1.7? I've been deliberately running the older version for a smaller simpler lightweight forecaster.
Click to expand...
Click to collapse
Yep.
The custom template is for 2.0 on only. It's still a little buggy though.
I've come late to this, so hopefully someone is still monitoring it. I installed the script and my forecast now comes from the BOM. The only part I didn't understand when reading through the script is how to get the Mobile Shell widget to display the weather. I simply get N/A. Is this by design and unavoidable, or is it possible to fix it?
More importantly, my current temperature seems to be wrong. It seems to still be getting that part from the 'Default Source', even though I've disabled that. It's 37 degrees here today right now, and Weatherzone agrees. But SPB Weather is showing only 31, which is the temperature the 'Default Source' thinks it is. Also, when I tap the current temperature, it says the 'location' is 'Adelaide Intl', which again is the location of the 'Default Source', not the Weatherzone source. So even though I've set Weatherzone as default, and all the long range forecasts seem to be using it and are correct per the BOM site, the current temperature seems to be sourcing from the standard SPB Weather 'Default Source' still, even though I've said 'Don't use this source' (and under sources, it shows as 'This source is not used'). Is there something I need to change in the script to get it to display the current weather from the weatherzone source?
Sorry if I've missed something obvious.
EDIT: Please forgive me, I realised that I had used the default city in SPB weather, which I think is why I was getting the Default Source data for the current temperature. I set up a custom city and it seems to not be be drawing from the default source now. Except now, there seems to be no current temperature. Well, the field is there, but it's actually only showing the forecasted maximum there, not the actual temperature. When I tap it, all I see are the forecasted maximums, no data for when the reading was taken. I'll keep looking but if anyone has any idea why this is happening, I'd appreciate your input. I see there is something written about exactly this behaviour in the script, but I can't work out if that's just saying 'that's how it is' or whether there is a way to fix it? Sorry for being such a noob!
Over the last few days or so, this weather template seems to have stopped working. I suspect that there have been modifications on the weatherzone.com.au website. If anybody has managed to fix the template, I would much appreciate it
_Robert_ said:
Over the last few days or so, this weather template seems to have stopped working. I suspect that there have been modifications on the weatherzone.com.au website. If anybody has managed to fix the template, I would much appreciate it
Click to expand...
Click to collapse
Yep. I have found the same thing. Today is the last date for which data was downloaded and I guess that it was downloaded about 7 days ago. Without a fix I guess I will be forced to use a US source which will in fact render SPB Weather useless.
For the record I found that this one (http://www.pdagold.com/themes/detail.asp?t=16497) still works at least for Melbourne but it doesn't provide detailed weather the way the weatherzone one used to.

Free applications as per request

Hi all
I am a software developer and I am interested in developing smartphone applications on my spare time (and I have a lot) for free.
What I need is ideas…. Meaning, me my self has HTC Diamond and all of my application needs is modest but I am sure that you guys probably have more needs then I do and …. My be you can help me help you … so bring on the ideas (… just not themes and all of this kind of applications).
Thanks
csharpcoder4u said:
Hi all
I am a software developer and I am interested in developing smartphone applications on my spare time (and I have a lot) for free.
What I need is ideas…. Meaning, me my self has HTC Diamond and all of my application needs is modest but I am sure that you guys probably have more needs then I do and …. My be you can help me help you … so bring on the ideas (… just not themes and all of this kind of applications).
Thanks
Click to expand...
Click to collapse
Very good.
Okay, I've got a request:
I need a little program, which is the same like BluePower which switches BT on when connecting to AC but a little bit more extended.
So, 2 things are very needed:
1. A popup which asks if BT should really switched on (YES/NO; Standard: YES)
2. This prog should recognize if a BT-device is connected so BT should stay on when loosing AC-Power
That's for now
-Lycox
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
photo uploader
hi, i'm looking for a program to upload, pictures/photo's/video to my own website. like, you make a picture and then you can select to upload it to your own specified website. maybe also the posebillety with gps position and some comments. don't know if it's possible.
pls think about it!
grtz heyk
hey i m looking for photoeditor for elfin can u made it
Really cool would be, to have an small app like g-profile, which for example turns on wi-fi on an fixed placed at an fixed time.
for example i come home, it recognizes this gsm singnal, and wi-fi turns on.
or i get to work, its not yet my breakt and it turns the volume to just vibra. than my break starts and volume turns up.
gprofile can do such thing but just with one reason, gsm OR time, i would need both
i want if you fancy making a simple but functional hard key program swapper so i can change the hardkeys setting easily to other programs.
thanks for the offer wish I could do this.
I wouldlike to log calls in contact notes like agendasfusion.
callcalendaris close but buggyand logsonly incalendar.
a weather app like weatherpanel where wallpaperis live radar
a calculator app with running tape, and a transparent keyboard
looks like youre gonna be busy!
i was thinkin recently of working with someone to make some palm pre-like apps
the fluidity of the apps on that device ive seen in preview vids and the wonderful use of the small screen real estate (no top and bottom bars, minimal buttons), is something that is almost necessary on screens like my htc touch (same screen size as the palm pre)
so, i would provide all the graphics for these apps, just need a developer
i think so far pocketcm contacts has contacts/sms covered.. very smooth scrolling, with a skin i can acheive the same simplicity and great use of fullscreen view on a small screen as i whippd up in this photoshop mockup:
i think what winmo needs is a good email interceptor app.. there are none that are skinnable to the extent of pocketcm contacts or as fluid, and then an image viewer (see palm pre screenshots of that app here -simple but very useful-:http://www.engadget.com/photos/palm-pre-official-ui-shots-1/1290333/ you can find videos all over) and a similar calendar app
most needed is the email app
if you could develop trust me.. you would have an insane following of obedient users
weve been looking for one for a long time, but its never come thru
if you make it, ill provide graphics!
think about it
htctoucher
What about a application, an actual good and working application that lets you create group distribution lists for email groups in your contacts similar to how the blackberry allows you to do it from their contact list and be able to use the group listing whether creating a new email or forwarding an email. I am shocked that this issue hasn't been addressed sooner.
dexstar said:
i want if you fancy making a simple but functional hard key program swapper so i can change the hardkeys setting easily to other programs.
Click to expand...
Click to collapse
Try http://ae.inc.ru its called AE Button plus and its free
Woah man ur gonna be real busy
I like to be simple so........how about an application that will turn a picture into the real thing, like sayyy; Jessica Alba
fatso485 said:
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
Click to expand...
Click to collapse
+1k
Complete lack of integration between calendar + contacts and email + contacts is very disheartening!
My problem is that I do a lot of presentations, and all the presentation pointer/remote apps out there cannot meet my needs in terms of simplicity. All of them require me to run a server app on my PC.
I have used one in Palm that emulates a bluetooth HID keyboard/mouse, meaning it can do anything that your mouse or keyboard can do. The app requires to have virtual keys for Ctrl, Alt, Del, Function keys.
Link to the BlueRemote software
http://www.palmgear.com/index.cfm?fuseaction=software.showsoftware&PartnerREF=&siteid=1&catid=16&area=software.category&searchtitle=Wireless%20%2F%20Networking%20%2F%20Communications&searchterm=&step=1&orderby=sales&direction=asc&userid=0&prodid=124035
Suggestion
fatso485 said:
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
Click to expand...
Click to collapse
Maybe a suggestion, in Microsoft Office, If we copy/paste or drag-drop email to Calender, then it becomes an appointment.
Maybe this could help you in some thinking...
ASh
Papi Jump
Hi!
My idea is to make a game, similar to Papi Jump (a great game for iPhone) - you can see the game on this link: http://www.youtube.com/watch?v=vQxltToeNXo . It's an arcade game - you control a jumping ball with tilting your device.
It would be great if could make this game work for Windows Mobile.
Since we're all tossing stuff into the "wishing well", I can add something too
An application that would scroll RSS feeds on Home screen in Manila.
Of course, such an app isn't hard to make, the RSS Hub saves its channels into simple files - the problem is how to incorporate it into Home screen.
Well, I got an idea for that as well! Recently a small program called Personalizer showed up that enables us to change the network provider name into anything we want - that would be the perfect place for RSS scroller to show up! And since there already exists a way to modify this data, I suppose it would be possible to use Personalizer as backdoor for the feeds to show up in that text filed!
Even if they wouldn't actually "scroll", I think they could be made to change every 4-5 seconds.
fatso485 said:
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
Click to expand...
Click to collapse
+2
Or how about a Config-Editor for FingerPoint? ( http://forum.xda-developers.com/showthread.php?t=499734 ) - so there's no more need to edit the XML Config File manually?
How about an application that reminds you to drink water and tracks how much water you have drank per day. As everyone should know, the average male should drink 3 to 5 liters of water everyday and ladies should drink 2 to 4 liters.
How about a litle app that:
1-Reminds you to drink
2-Allows you to input how much water you have drank (when reminded or manually)
In the long run, you could monitor how much water you consume on a monthly,qaurterly ,biannually and yearly basis.

Suggestions for College-needed apps?!

Hey guys, so I have just started my sophomore year at the University of South Florida and I was curious as to what you guys suggested for Apps that would help me out to keep me organized/useful calculator stuff or something
Something I am looking for is a finger friendly (Does anyone out there use their stylus anymore besides my dad? lol) Calendar app to easily use. Yeah there is the HTC Sense one. I am fine with that, but I always love convenience with my phone Another plus is, I update my NRG Rom a lot, so its easy to use with PIM Backup and such.
Help a guy out guys It's much appreciated in advance!
USF! USF! USF! I used to live in Clearwater... congrats on the fun in Florida man... anyways.. Use MS office 10 on the phone... Also, there is a great program for calculator.. It is an Emulator for the TI graphing series... Do a search for it here on XDA... if I am not mistaken, there is even a link to a legalyl free Ti-89 rom... You literally get ALL the same functionality as the real graphing calculator, but save $100.... Hope that helps
Not an app, but I find Google Sync invaluable for synching my email and Google Calendar with my phone.
http://www.google.com/support/mobile/bin/answer.py?answer=138636&topic=14299
Another very invaluable feature is the ability to tether or create a WiFi hotspot, both of which are already included in the Energy ROM.
Search the forums for "keep recording" (or just scroll through the "software worth installing thread" stickied in this forum, it's on post 2). I use it all the time to record important conversations about manuscripts we are working on, so I can dictate thoughts later into paragraph form. Keep recording lets you save to storage card, rename, and pause a recording session to skip over parts you are not interested in. I figure it would probably come in handy for reviewing class sessions or key parts of a lecture when a prof is discussing something important.
A program like spb wallet (or similar freeware) is also handy for storing University ID, pins, and email/web passwords securely. I couldn't live without it.
Evernote: (also in the software worth installing thread) is good for taking/viewing quick notes, reminders) Notes are stored on the cloud, and can be accessed and added to from any computer. I've heard a lot of good things about it, though haven't gotten around to installing it yet since I can accomplish essentially the same thing with the synced tasks and calendar on my MS enterprise account.
khoyifish said:
Hey guys, so I have just started my sophomore year at the University of South Florida and I was curious as to what you guys suggested for Apps that would help me out to keep me organized/useful calculator stuff or something
Something I am looking for is a finger friendly (Does anyone out there use their stylus anymore besides my dad? lol) Calendar app to easily use. Yeah there is the HTC Sense one. I am fine with that, but I always love convenience with my phone Another plus is, I update my NRG Rom a lot, so its easy to use with PIM Backup and such.
Help a guy out guys It's much appreciated in advance!
Click to expand...
Click to collapse
I use a stylus. And I'm 33. And not a dad... well, that I know of at least
GPA app would be helpfull
i dont know if we have one for WM? .
vjajrj said:
i dont know if we have one for WM? .
Click to expand...
Click to collapse
http://www.freewarepocketpc.net/ppc-download-gpa-calculator-1.html
http://download.cnet.com/GPA-Converter/3000-2056_4-10955675.html
If your looking for calculator. Try this one SpaceTime I can't link yet so just Google SpaceTime Calculator. If is free and it is pretty cool. Hope it helps.

Categories

Resources