[PROJ] Prescription Medicines Manager v0.9.0 17-03-2011 - Windows Mobile Software Development

This app is designed so that you can keep track of any medications you take on a regular basis.
When you last ordered a particular drug, how many you currently have to hand, which surgery the repeat was requested from and which pharmacy filled the prescription.
It is designed to be used for multiple patients, surgeries, pharmacies and doctors.
It was initially an Access database but I thought that migrating it to my PPC was a challenge I might be able to complete.
There will also be the ability to log doctor's appointments as well, hopefully.
All data is currently stored in an SQL-CE database.
For reasons I am currently trying to solve, when you open any secondary form with a data table and then return to the main menu you are unable to go back into any other form again.
Changed to a tabbed layout, screen shots attached.
09/02/2011
New version attached with new format SQLCE.
17-Mar-2011
Latest version attached
All data entry and editing working - I hope.
08-Apr-2011
Latest version, autoscroll and popup SIP.

Possible dependant files.
I am coding for CF2.

[Reserved] - For Comments

deedee said:
[PROJ] Prescription Medicines Manager
...medications you take on a regular basis.
When you last ordered a particular drug, how many you currently have to hand, which surgery the repeat was requested from and which pharmacy filled the prescription...
Click to expand...
Click to collapse
Thank you!
These records can be life-saving if you have them with you at the right time. I have tried many systems of keeping track, but rarely managed to have anywhere close to this much information on hand.
I have not had time to try it out properly so I do not yet have any comments or suggestions. For now, I just wanted to say THANKS!

Glad it's going to be if use to someone.
Hopefully by the end of tonight I will have a new version up with the ability to add records to each of the tables. No interlinking yet and at the moment editing is also broken but I am getting there.

deedee said:
Glad it's going to be if use to someone.
Hopefully by the end of tonight I will have a new version up with the ability to add records to each of the tables. No interlinking yet and at the moment editing is also broken but I am getting there.
Click to expand...
Click to collapse
Don't feel rushed on my account. It's great that you're interested in this project, whenever you finish will be soon enough.
Meanwhile, I'll play with it and start planning how to "feed" it my information.
Have you considered some sort of encryption? It just occurred to me that it will hold a lot of very personal information.
Again, thank you.

deedee said:
...at the moment editing is also broken...
Click to expand...
Click to collapse
I know next to nothing about programming, but would the PC editor you wrote for the W Watcher calc work for this project? That might make it easier for the user to input the information AND save you some programming...
(BTW: I was very impressed with how quickly you developed those applications! Very usable and no charge for fast delivery!)

Jesterfell said:
I know next to nothing about programming, but would the PC editor you wrote for the W Watcher calc work for this project? That might make it easier for the user to input the information AND save you some programming...
(BTW: I was very impressed with how quickly you developed those applications! Very usable and no charge for fast delivery!)
Click to expand...
Click to collapse
Unfortunately the WW editor is designed for an XML file and this app keeps everything in an SQLCE database. I am trying to find a nice, useable and, more importantly, free desktop app to edit these files and am trying a couple out at present.
While a purely PC based editor would be easier from a WM coding point it would stop the app being completely mobile and standalone.

New version added to post 1.
You can now add records.
For desktop managemnent try
SQLCE Desktop Manager
FlyHoward SDF viewer
Neither of these seem to be free though the second one does have a 14 day trial.

deedee said:
... While a purely PC based editor would be easier from a WM coding point it would stop the app being completely mobile and standalone...
Click to expand...
Click to collapse
Of course!
Sorry, I got tunnel vision and forgot the project's purpose.

What am I missing?
I have been unable to run Prescription Medicines Manager on my HTC 8925 (Kaiser) with WM 6.5.x.
When I run the EXE all that happens is that the WM wait animation plays indefinitely until I switch to another application.
Since I play with this phone a lot, I hard reset it to clear any lingering results of my modding (it's a spare phone, so no great loss). Before installing other programs, I ran PMM again, but the same thing happened.
I got the same results with an even older HTC phone running WM 6.1.

SQL desktop applications
I found some free SQL desktop apps. I was only able to get one, SdfBrowser, to read MedicalRecords.sdf and all it allowed was viewing the structure and creating a query.
I'll keep looking, but I agree with you that being totally portable is very important for this project.
LINKS: SdfBrowser --- Resources link

Jesterfell said:
I have been unable to run Prescription Medicines Manager on my HTC 8925 (Kaiser) with WM 6.5.x.
When I run the EXE all that happens is that the WM wait animation plays indefinitely until I switch to another application.
Since I play with this phone a lot, I hard reset it to clear any lingering results of my modding (it's a spare phone, so no great loss). Before installing other programs, I ran PMM again, but the same thing happened.
I got the same results with an even older HTC phone running WM 6.1.
Click to expand...
Click to collapse
Completely forgot to say, you will need to install SQL CE on your HTC.

I do not usually resort to smileys, but my lack of knowledge is frustrating!
deedee said:
Completely forgot to say, you will need to install SQL CE on your HTC.
Click to expand...
Click to collapse
I installed SQL CE with no errors but got the same lack of results. The phone did become VERY sluggish and Task Manager still showed "prjMedicalRecords" running as a process.
Does prjMedicalRecords.exe need to be installed?
I just executed it from the SD card, and then tried it from the device memory. I placed MedicalRecords.sdf in the same directory each time.
Update: After about 5 min of the WM wait animation spinning, got the following error message:
"File or assembly name 'System.Data.SqlServerCe,Version 3.0.3600.0, Culture=neutral, PublicKeyToken=3BE235DF1C8D2AD3', or one of its dependencies, was not found."
I opened the SQL CE .CAB file and it DOES contain "system.data.sqlserverce.dll" it is meant to be installed to "%InstallDir%" and the rest of the DLLs go to "%InstallDir%\v3.5". I used file explorer to look in those directories (%InstallDir%="Microsoft SQL Server Compact Edition") but did NOT find "system.data.sqlserverce.dll" in either dir.
I copied the DLL to "%InstallDir%\v3.5" and ran the program again. The same results occurred.
After soft reset, copied the DLL to "%InstallDir%" and ran PMM again. The same thing happened, long wait, then error msg.
I am falling asleep now, but will try re-installing .NET 3.5 and running PMM again. I'll let you know what happens.
I had gotten the same error before installing SQL CE but did not connect the error to PMM so I ignored it. This time nothing else was happening on the phone.

Apologies for not giving the initial steps, I am new to development and forget others need to be given the assumptions.
SQLCE needs to be installed, as you have done. PMM is just an exe, copy it to the device.
PMM and the SDF file need to be placed in \Program Files\prjMedicalRecords on the device itself. At the moment this location is hard coded and is on my list of things to do to make it "moveable". HTH

New version in post 1 that is now independent of location, just make sure both exe and SDf are in thhe same place.

deedee said:
New version in post 1 that is now independent of location, just make sure both exe and SDf are in thhe same place.
Click to expand...
Click to collapse
Sorry, Deedee. It still does the same thing.
.1. I put both files in device memory (just in case): \Program Files\prjMedicalRecords\
.2. Tried to re-install NET framework 3.5--it refused to install in either device or card memory, saying the same version was already in ROM.
.3. Re-installed sqlceppcwce5armv4i.cab
.4. Ran prjMedicalRecords.exe
After the same delay, it gave the same error.
It also gave a NET error that, because of the delay between program launch and errors, I did not associate with Medical Records before, but it only occurs after I have launched prjMedicalRecords.exe:
"The application failed to load required components. If the .NET Compact Framework is installed on a storage card, please ensure that this card is in place and launch the application again. If this fails, a re-installation of .NET compact Framework is recommended. Support info: -2147483643 (80000005)"​
Thank you for your continued interest.

Not sure what the error is pointing to but I am coding for .Net CF v2, CAB in post 2, try installing this.

OK, finally tried this on a virgin device, without using the "debug" option in VS2005 to copy the files and discovered that .NET CF2, along with SQLCE 3 and SQL CE 3 replication is needed.
All CABs are in post 2.
There is a new version hopefully out this weekend with the ability to log patient medications and doctors appointments.
Editing is still on the road map, as is deletion.

New version in post #1, CAB format as well.
Make sure all the dependencies are installed, for me this has been .NET CF2 and the SQLCE cabs.
There are bugs I am aware of but please list anything and everything. As this is my first real App any feedback is welcome.

Related

Licenced Software CAB conversion

Does anyone know if you can take a piece of software that you have purchased in CAB format, with a Licence Key and change it into a package?
Since the software isn't OEM is it still the same method to create a package?
Any Takers?
This cant be to much of a hard question!!! can anyone answer? please
Tried it with Phone Alarm. sort of worked at the second attempt. But not quite. If I spent more time on it I reckon I could have got it to work but just don't have the time.
crazyC said:
Tried it with Phone Alarm. sort of worked at the second attempt. But not quite. If I spent more time on it I reckon I could have got it to work but just don't have the time.
Click to expand...
Click to collapse
but you can actually do it? what do you do about the activation codes etc?
The code is probably just stored in the registry or a config file after you enter it, in which case just make an RGU in the package putting the right data into the right place.
Some software might encrypt the code.. but even then usually putting the right encrypted string in the right place will work.. You may have to have the owner information set exactly the same each time (as this may be hashed into the generated key) but this isnt a problem as you can set the owner information in the RGU as well.
If you get a program where you cannot track the installation to see what happens when entering serials etc.. try SKTracker.. you can use it to watch the ppc for changes to files, databases and registry and dump those changes for analysis... so you install it.. make a reference dump.. then install/register the app.. then dump again.. then compare to see what has changed.
Some apps it wont work with of course.. but i'd imagine for most it will be possible yes. The worst that happens is you have the app installed in trial mode.. and a text file burned to the ROM with the serials you have bought in it to re-register it when needed after a hard reset.
Yeah - SK tracker is fantastic. Generally it just involves exporting a reg key from your PPC and then putting it into the cab/package along with your owner name (in some cases).
All my licensed software has been set to install via cabs including the keys. Not found any that cannot be done this way.
Problems arise with more complicated installs that involve interfacing with the system. Just using the normal conversion process with the PA cab did not work, needed to run SK tracker and fix a load more reg entries that were changed by the instll prcess. Improved it but still had issues with no sounds etc. I must have missed something, and have temporarily given up. The cab only takes a minute to install anyway.

RUUwrapper error please help

uber noob here
just got my htc hermes 100, wanting to update to WM6 (from 5) follow all the steps in page 1, did two things
save the RUUwrapper an that NBH file to my pc, while my phone is sync tried running the file and got error msg (the application failed to initialize properly (0xc0000135)
one last thing i did was copied both files in my phone and run it, got this msg this time (thid spplication (ruuwraper.exe)requires newwr version of ms.net etc)i'm lost, i know this is the 1st step i need to do to make it a WM6 ryt?
Hi...read mrvanx's guide before flashing:
http://forum.xda-developers.com/showthread.php?t=299462
You must to put hardspl on FIRST! U need to install NETCF on your PC. Do not put the ruu or rom files on your PPC and run them. Take Care
lordaxel said:
uber noob here
just got my htc hermes 100, wanting to update to WM6 (from 5) follow all the steps in page 1, did two things
save the RUUwrapper an that NBH file to my pc, while my phone is sync tried running the file and got error msg (the application failed to initialize properly (0xc0000135)
one last thing i did was copied both files in my phone and run it, got this msg this time (thid spplication (ruuwraper.exe)requires newwr version of ms.net etc)i'm lost, i know this is the 1st step i need to do to make it a WM6 ryt?
Click to expand...
Click to collapse
You forgotten one step. Please read the wiki on upgrading
i've just installed NETCF on my pc,copied the RUU_signed.nbh and RUUWrapper on a folder on my desktop (PC) and run the RUUWrapper file while my phone is sync to my PC and get this error ( the appilication failed to initialize properly (0xc0000135) .click on OK to terminate the application)
im not sure what to do next, this is the 1st step and i keep on getting errors, em i doing something wrong? please help!!!
lordaxel said:
i've just installed NETCF on my pc,copied the RUU_signed.nbh and RUUWrapper on a folder on my desktop (PC) and run the RUUWrapper file while my phone is sync to my PC and get this error ( the appilication failed to initialize properly (0xc0000135) .click on OK to terminate the application)
im not sure what to do next, this is the 1st step and i keep on getting errors, em i doing something wrong? please help!!!
Click to expand...
Click to collapse
Let mrvanx hold your hand READ!!
http://www.mrvanx.org/thg/ <------ cLIck hErE
OK I'll happily admit to being a NOOB as well but I have had exactly the same issue and I don't think (and I read the guides many times!) that the answer is there. So it is not helping simply endlessly pointing to the guides (helpful though they are).
The point seems to be that you need the Microsoft 2.0 .NET framework installed on your PC (i.e. the computer not the phone) rather than the NETCF mentioned above.
I think (assuming that I am right!) it would be great to add this clearly to the guide ("Make sure sure your computer has Microsoft .NET 2.0 Installed") preferably with a link to the Microsoft download site for .NET as well.
eliseman said:
OK I'll happily admit to being a NOOB as well but I have had exactly the same issue and I don't think (and I read the guides many times!) that the answer is there. So it is not helping simply endlessly pointing to the guides (helpful though they are).
The point seems to be that you need the Microsoft 2.0 .NET framework installed on your PC (i.e. the computer not the phone) rather than the NETCF mentioned above.
I think (assuming that I am right!) it would be great to add this clearly to the guide ("Make sure sure your computer has Microsoft .NET 2.0 Installed") preferably with a link to the Microsoft download site for .NET as well.
Click to expand...
Click to collapse
I once was a noob too, this is three months ago, and I had spent days on reading up before I did my first flash. The wiki is there just for that! hmm, also with .net framework, you'll be surprise how many software these days that will run WITHOUT them installed.
Hi . I had same problem with my 3 PCs. I downloaded latest version of .NET framework from microsoft site & reinstalled it & WOW.. it started..
zocster said:
I once was a noob too, this is three months ago, and I had spent days on reading up before I did my first flash. The wiki is there just for that! hmm, also with .net framework, you'll be surprise how many software these days that will run WITHOUT them installed.
Click to expand...
Click to collapse
.Net Framwork is required ONLY by software that is written directly for it and does NOT include the required DLLs in the app itself...which is most. C# is one language that you MUST have the framwork installed most of the time. Very few people want to include the DLLs because people SHOULD have the .Net Framework installed anywas.
This thread was very useful by the way. I'd come across this problem today and it's helped me to solve it. I'm sure any noobs (like myself) will find this thread useful in future.
Just wanted to add one thing, RUUWrapper was crashing on me as well.....
You cannot run this from a network drive! Has to be ran from a local drive, or it crashes...heh (I have a main file server setup over gigabit)
If you've read up then you have Hard SPL installed. That means you can bypass the computer for the flashing. You can use the sd card method. I believe its safer and doesn't have those niggly little sync errors and there's less chance of the phone crashing/being reset or powered off. Recommended if you flash the radio rom where a simple problem results in a permanent brick.
Cheers...

Rhobuntu: Ubuntu 9.04 and Debian (test) UPDATE [19/09/2010]

Important - Read First!
First of all you must know that everything you do is on your own risk. Your device was not designed to run GNU/Linux or Android and that's why you shouldn't expect everything to be perfectly safe. If you don't want any troubles then simply don't tamper with your phone. On the other hand, installing Rhobuntu is probably less dangerous than installing alternative ROM's, because it doesn't touch your ROM and runs completely from the SD card. If something goes wrong and the system would hang up, you always can remove the battery and boot into Windows Mobile. Still, we can't guarantee you anything and we won't be liable for any damage that might happen to your device. If you don't accept this, don't install Rhobuntu.
At the moment two problems are known to occur when using Rhobuntu. They are, however, not Rhobuntu specific and may also occur when using Android.
1- After booting back into WinMo, you can't install or run unsigned apps. This problem probably has something to do with the way haret kicks WinMo out of the RAM. It also seems to occur only in combination with the use of Exchange Server. The only known solution at the moment is Hard Reset. Some users also reported that it can be fixed by using Visual Studio 2008. Check out this threads:
o Not digitally signed with a Trusted certificate/ Activesync keeps UNINSTALLING!
o Program... is not digitally signed with trusted certificate. HELP!
2- Since we still have no proper battery charge indicator working, you might not notice that your battery is completely drained. Deep discharge is, however, not good for batteries and may in some cases even damage them. Here is a thread dealing with this problem when running Android
o Android killed my USB connection, please help
The majority of Rhobuntu users doesn't face these problems, but just in case, you've been warned.
WIKI http://wiki.xda-developers.com/index.php?pagename=RhodiumUbuntu
WEBSITE https://sites.google.com/site/rhobuntu/
This build by Walter79 and the Rhobuntu team:
Rhobuntu 9.04 19.09.2010
changelog:
- zimage update (Xandroid Build 16/09)
- sphone 0.04 (thanks AmiPro)
- 3G scripts update (thanks AmiPro)
- sound works partial (thanks to phhuson) !!! run /sdcard/ubuntu/playwav2 after boot !!!
- alsaplayer added
Download:
Link1: http://www.megaupload.com/?f=RWDJWUN0
Link2: http://rhobuntu.4shared.com
Debian Squeeze Test 19.09.2010
For more information please look at this post http://forum.xda-developers.com/showpost.php?p=8186181&postcount=1208
Download:
link1: http://www.4shared.com/dir/n-2ObqP_/pro2-debian.html
Old Build (27/06/2010)
*http://www.megaupload.com/?f=RWDJWUN0
*http://rhobuntu.4shared.com
Old Build (13/05/2010)
*http://www.megaupload.com/?f=RWDJWUN0
*http://rhobuntu.4shared.com
Old Build (14/04/2010)
*part one:http://rapidshare.com/files/375930803/Jaunty_14_04_2010.7z.001 MD5 77430e728bb17277e671cc55ae03161f and part two: http://rapidshare.com/files/375939439/Jaunty_14_04_2010.7z.002 MD5 523589000dcd5d1dcea668bbe51253af
* http://rhobuntu.4shared.com
* http://www.megaupload.com/?f=RWDJWUN0
Old Build (11/04/2010)
* http://rs427.rapidshare.com/files/374730149/Jaunty_11_04_2010.7z
* http://rhobuntu.4shared.com
* http://www.megaupload.com/?f=RWDJWUN0
Old Build (10/04/2010)
*http://rapidshare.com/files/374138895/Jaunty_10_04_2010.7z
*http://rhobuntu.4shared.com
Pretty cool idea, keep us posted!
Definitely an awesome idea, and one I had been thinking about myself since my original Touch Pro days. An embedded version of Linux should run great on these devices. Hopefully momentum will grow surrounding this.
thats very interesting. any pictures of this running? maybe things can be pulled from android.
THANKS!!!! downloading now!
tried it on my Touch Pro 2 (AT&T Tilt2), No luck. Started to boot, Complained about /etc/init then poof reboot after 7 seconds. Am I missing something.
aq3e said:
tried it on my Touch Pro 2 (AT&T Tilt2), No luck. Started to boot, Complained about /etc/init then poof reboot after 7 seconds. Am I missing something.
Click to expand...
Click to collapse
Did you change the mtype in the sartup script to the tilt2, the one i used is set for the rhod100, i hope that helps. Is anyone else's not working btw?
Help!
I extracted all the files on to a newly formatted 2GB card.
Ran haret and everything ran fine. Bit 'interesting' navigating round the screen but got there in the end.
However, since rebooting my phone back into WM I cannot run any unsigned programs such as haret that worked fine before.
The error says "The file blah cannot be opened either it is not signed with a trusted certificate..."
Any idea what's changed and how I can get my phone back to how it was?
R.
dicko99 said:
I extracted all the files on to a newly formatted 2GB card.
Ran haret and everything ran fine. Bit 'interesting' navigating round the screen but got there in the end.
However, since rebooting my phone back into WM I cannot run any unsigned programs such as haret that worked fine before.
The error says "The file blah cannot be opened either it is not signed with a trusted certificate..."
Any idea what's changed and how I can get my phone back to how it was?
R.
Click to expand...
Click to collapse
Wierd, my winmo works find, minus the calibration issue, it's brilliant, we need some linux Devs to look into this. as a windows user, i have no idea on what to do
Thanks (All we need now is win XP )
Badwolve1
I think something got corrupted/overwritten on my phone...
I cannot run any unsigned apps whether they are installed on the storage card or internal memory.
I cannot even install new apps! When I run the cab file, I get the usual "This program is from an unknown publisher..." and when I select yes for continue it immediately comes up with "Installation of blah was unsuccessful."
Time for a hard reset? I'd really prefer not to if anyone can suggest a better way of getting back to how it was.
R.
dicko99 said:
I think something got corrupted/overwritten on my phone...
I cannot run any unsigned apps whether they are installed on the storage card or internal memory.
I cannot even install new apps! When I run the cab file, I get the usual "This program is from an unknown publisher..." and when I select yes for continue it immediately comes up with "Installation of blah was unsuccessful."
Time for a hard reset? I'd really prefer not to if anyone can suggest a better way of getting back to how it was.
R.
Click to expand...
Click to collapse
did you install anything recently, could try uninstalling it
dicko99 said:
I think something got corrupted/overwritten on my phone...
I cannot run any unsigned apps whether they are installed on the storage card or internal memory.
I cannot even install new apps! When I run the cab file, I get the usual "This program is from an unknown publisher..." and when I select yes for continue it immediately comes up with "Installation of blah was unsuccessful."
Time for a hard reset? I'd really prefer not to if anyone can suggest a better way of getting back to how it was.
R.
Click to expand...
Click to collapse
try installing SdkCerts.cab
http://forum.xda-developers.com/showthread.php?t=554240
the cab is included with the rhodium keymapper zip file. (keymapper app is worth installing as well )
sdkcerts won't install. It has the same problem as other cabs where it prompts to say the program is from an unknown publisher and when I tap Yes to continue it still fails with "Installation of SdkCerts.CAB was unsuccessful."
Tried booting it up on my Verizon TP2 and all it does is run haret and then freeze.
Thanks for putting this together, sebbo90. It boots nicely, and actually performs quite well on my Tilt2. I hope some of the developers take notice of this project and consider fixing the major usability issues like the front keys and the display calibration.
After the first boot I cant get the GUI to run anymore. Removing the directory from the SD and uploading a fresh copy fixes it for one boot only. After that it just hangs at command line.
spdweb said:
After the first boot I cant get the GUI to run anymore. Removing the directory from the SD and uploading a fresh copy fixes it for one boot only. After that it just hangs at command line.
Click to expand...
Click to collapse
How did you even get it to boot?
EDIT: Do you think it will not boot for me since you all are using GSM and i am using a CDMA phone? Some settings may need to be changed i guess. I have been messing around but no luck.
spdweb said:
After the first boot I cant get the GUI to run anymore. Removing the directory from the SD and uploading a fresh copy fixes it for one boot only. After that it just hangs at command line.
Click to expand...
Click to collapse
I had this problem what i did to fix it was to was to do a full reformat on my sd card (not a quick one) this then helped and now it boots everytime. Hope this helps
sebbo90 said:
Did you change the mtype in the sartup script to the tilt2, the one i used is set for the rhod100, i hope that helps. Is anyone else's not working btw?
Click to expand...
Click to collapse
If the mtype needs to be changed, what should it be instead of the default 2292, forgive my ignorance.
EDIT: must be a fluke, it booted now, did not change a thing. Re-extracted the ubuntu rar and shoved it back on the SD and booted. Great Job. All we need now is calibration to get started.
sebbo90 said:
I had this problem what i did to fix it was to was to do a full reformat on my sd card (not a quick one) this then helped and now it boots everytime. Hope this helps
Click to expand...
Click to collapse
I got it working now. It was the directory structure I was using. I spent about 2 hours last night working on the calibration issue. If I could get that working it would be sweet. Tried a newer version of haret and tweaked the startup.txt a bit but the calibration still goes out of range.
On a brighter note, the calibration works fine when booting xdandroid with haret though it is a manual calibration there is hope anyway.

Installation of cab files throws errors

Hi. I just recently purchased an HTC Touch Pro2 from T-Mobile running WinMo 6.5. That being said, I have not been able to open any cab files on the device to install some software. Basically I'll transfer the cab to the device and attempt to open it. I get one of three messages depending on the app I guess. the most basic is "Installation was unsuccessful" to "Installation was unsuccessful. The program or setting...not digitally signed...trusted certificate" (this was from MobileFTPClient). Installing Opera Mini 5 gives a simple: "Installation of mini5wm.cab was unsuccessful".
Ok, so being a software developer for 10 years I've been looking into some registry values and can't seem to find what I need to get anything to install. If I download from the Windows Marketplace that's all good, but nothing else.
What do I need to do to be able to install cab flils directly? Honestly if I can't get this to work this phone is going back. I moved from an iPhone to this phone specifically so I can install apps and monkey around with the device, but so far I'm done before I started.
Thanks for any info you can give me.
its in one of your phone/device settings to let u download and install apps or cabs not digitally signed. thats all, i believe. just find it and check it off. or look for advanced config cab if u can find it and install that. it has an option in there also to let u download/install whatever..
mullethunter said:
Hi. I just recently purchased an HTC Touch Pro2 from T-Mobile running WinMo 6.5. That being said, I have not been able to open any cab files on the device to install some software. Basically I'll transfer the cab to the device and attempt to open it. I get one of three messages depending on the app I guess. the most basic is "Installation was unsuccessful" to "Installation was unsuccessful. The program or setting...not digitally signed...trusted certificate" (this was from MobileFTPClient). Installing Opera Mini 5 gives a simple: "Installation of mini5wm.cab was unsuccessful".
Ok, so being a software developer for 10 years I've been looking into some registry values and can't seem to find what I need to get anything to install. If I download from the Windows Marketplace that's all good, but nothing else.
What do I need to do to be able to install cab flils directly? Honestly if I can't get this to work this phone is going back. I moved from an iPhone to this phone specifically so I can install apps and monkey around with the device, but so far I'm done before I started.
Thanks for any info you can give me.
Click to expand...
Click to collapse
The cab I have attached may help you...it's some SDK certificates that will allow installation of certain unsigned apps, but I don't know if this is what the ones you're running are requiring and missing. It won't harm anything to try this one, and you can easily uninstall it if it doesn't do the trick
Thanks guys. Sirphunkee - that cab actually installed, but I'm having the same problem. Another forum has suggested that I take the device back to T-Mobile, but it just seems like there's a setting that's not right in the OS. Demandarin - I've looked for various security permissions in the UI with no luck. I've mucked around with some Policy values in the registry per some threads on this forum, but still nothing.
I'll keep trying, and thanks.
So...weird; Opera Mini and Weather Bug (well known apps) wouldn't install, but an SMS notification disable cab installed (from the xda site) as did Evernote (evernote.com). I have no clue what the deal is, but it's getting beyond stupid that I can't install just any cab file.
mullethunter said:
So...weird; Opera Mini and Weather Bug (well known apps) wouldn't install, but an SMS notification disable cab installed (from the xda site) as did Evernote (evernote.com). I have no clue what the deal is, but it's getting beyond stupid that I can't install just any cab file.
Click to expand...
Click to collapse
Have you already installed .Net 3.5? It's a framework that many other programs use (and need) to install, and it's not on the TP2 by default...it's the only other think I could think of that would keep you from installing stuff. Cab is attached, if you don't have it already.
Got it. I installed the Device Security Manager PowerToy and was able to change the configuration there. Opera Mini 5 just installed.
Never would have thought the phone would come that locked down, but so far so good. Thanks for all of the ideas.
mullethunter said:
Got it. I installed the Device Security Manager PowerToy and was able to change the configuration there. Opera Mini 5 just installed.
Never would have thought the phone would come that locked down, but so far so good. Thanks for all of the ideas.
Click to expand...
Click to collapse
Well yeah what's weird is that I never had to use that to get any of those apps installed

[APP] Windows Mobile SenseTimeTracker

On CodePlex I have published my app for tracking working time.
It is based on the SenseUI SDK.
SenseTimeTracker
For furter feature development either this thread can be used or the discussions in CodePlex.
After getting some feedback according to installation problems, I figured out, that the deployed .cab file does not contain the SQL Server Compact 3.5.
This has to be installed manually until I do not provide a msi-setup.
Explanation on how to install the .NET Compact Framwork 3.5 and/or the SQL Server Compact 3.5 has been added on the CodePlex page.
Version history:
Version 1.3
* Length checking of input fields
* Bug fixed with reports when first time card has date in january
* Issue with localization fixed
* Category edit form localized
* Creating new category did throw an excexption
* Default category is hidden in category list
Version 1.2
* cab file now creates a shortcut
* new version detection added
Version 1.1
* Initial release after UI redesign
Installation Procedure
Hi, Could you explain the Installation procedure, other than download and install is there any other additional requirement to get this program up and running?
Thanks
Download the cab file, copy to your mobile device and run it from there.
This shall install SenseTimeTracker on you mobile device.
Let me know if it doesn't, since it is my first publishing. I only installed it on my device or the emulator.
Test
OK! I downloaded you app, installed and found the following problem, btw I am on a Blackstone using G10 Dusk Ultimate 2 v 8.31
1) There is no icon present for your apps in the programs menu.
I went to programs found the your app and try starting it from there, I got the following error
Ok, SQL server was not deployed. I will try to fix this and provide an update.
On my devices there has been SQLCE installed, so I didn't recognize it.
Thanks for the hint.
wesch00 said:
Ok, SQL server was not deployed. I will try to fix this and provide an update.
On my devices there has been SQLCE installed, so I didn't recognize it.
Thanks for the hint.
Click to expand...
Click to collapse
No problem was glad to help, I was looking for a program like that for sometime now , I will test again when you update
You have to install the SQL Server Compact manually, sorry.
See my explanation in CodePlex.
zjxpot said:
OK! I downloaded you app, installed and found the following problem, btw I am on a Blackstone using G10 Dusk Ultimate 2 v 8.31
1) There is no icon present for your apps in the programs menu.
I went to programs found the your app and try starting it from there, I got the following error
Click to expand...
Click to collapse
wesch00 said:
You have to install the SQL Server Compact manually, sorry.
See my explanation in CodePlex.
Click to expand...
Click to collapse
Hi I downloaded and follow your instructions regarding the installation process and got the top half of the error I posted above when I tried starting the apps also no icon was installed in programs menu I tried it on G10 Ultimate 2 v8.40 release today
The icon issue I couldn't check yesterday, will do that asap. Did a lot of research how to deploy SQL Server Compact.
But could you run the app?
wesch00 said:
The icon issue I couldn't check yesterday, will do that asap. Did a lot of research how to deploy SQL Server Compact.
But could you run the app?
Click to expand...
Click to collapse
No, its not running, when I try runnunig it I get the same error box but only the top half of the message the bottom half is gone.
That makes no sense since allways an explanation of the exception is displayed.
If you installed the SQL Server Compact, can you try to delete the whole SenseTimeTracker folder in the program as well as in the documents directory (if there is one) and reinstall the cab again.
I checked this yesterday on a clean emulator and it worked. So without any further hints I cannot guess the problem.
Are you familar with developing smart device aps. Then I can send you the project for visual studio and you can try to deploy it from within VS. That shall work. Let me know.
I suggest to contact me via pm, I will help you to fix your problem.
wesch00 said:
That makes no sense since allways an explanation of the exception is displayed.
If you installed the SQL Server Compact, can you try to delete the whole SenseTimeTracker folder in the program as well as in the documents directory (if there is one) and reinstall the cab again.
I checked this yesterday on a clean emulator and it worked. So without any further hints I cannot guess the problem.
Are you familar with developing smart device aps. Then I can send you the project for visual studio and you can try to deploy it from within VS. That shall work. Let me know.
I suggest to contact me via pm, I will help you to fix your problem.
Click to expand...
Click to collapse
Hi, I flashed an orginal HD rom, installed net, sql and then your apps went to programs and started timetracker and it worked, I reflashed a cooked rom did the installation and it also worked I tried entering some information I got some error that require me to restart timetracker one of the error is attached, I will flash G10 rom again as this is my rom of choice and I will let you know how that went
I must say thanks for what I have seen so far if I get it working on G10 rom I will do some more in dept testing.
Thanks again for sharing
Ok, I see, it has nothing to do with your ROM.
I think there is a bug with the categories which only occurs on an empty/fresh database. On my tests I've had everytome a filled one, since I implemented category support later on.
I had some minutes to try it on a fresh installtion. Unfortunatly I cannot reproduce this bug. Can you plz provide more info, what in which order you entered for getting this error. I first created a user which is mandatory. Then created a client, then a project for that client and then a task for that project. Now entering a timecard did work, since the default category ("unknown") was used. The error you've got is a key violation between task and category. This should not occour, but I need to know in what order you entered the data.
wesch00 said:
Ok, I see, it has nothing to do with your ROM.
I think there is a bug with the categories which only occurs on an empty/fresh database. On my tests I've had everytome a filled one, since I implemented category support later on.
I had some minutes to try it on a fresh installtion. Unfortunatly I cannot reproduce this bug. Can you plz provide more info, what in which order you entered for getting this error. I first created a user which is mandatory. Then created a client, then a project for that client and then a task for that project. Now entering a timecard did work, since the default category ("unknown") was used. The error you've got is a key violation between task and category. This should not occour, but I need to know in what order you entered the data.
Click to expand...
Click to collapse
Sorry for not replying sooner, I was trying some other roms but no luck getting this app to work on those other roms that I flash, for me its only working on stock and Energy GTX I am presently downloading a 6.5 rom to test all others has been 6.5.x.
I have been able to reproduce the error again and again, try this
Go to category select new and create a new category everything should be ok, create another one and it should crash, also I am unable to edit the category "unknown"
More Crashes
Hi, I did some more test and I got more errors I have attach one picture, let me try to explain
1) If I try to copy the TimCard it crashes
2) TaskName is to long it crahes
I got a couple more crashes but I forgot where in the apps they occour however it seems that is not handling user input error well maybe a dialog box should appear and tell the user that the TaskName is to long or something like that I also think you should try and test if all but most of the option like copy, remove, edit, maybe it my rom related but you could still check just to be sure.
Thx again for the responses.
Couls get it allready run with the other ROMs? I have no opinion about these ROMs. I do not use any special functiuons, it is only .Net-code. The only explanation I have would be that there are problems with drawing. Bit this is done by the SenseUI framework which I cannot modify or debug.
Now to the issues.
The Category issue I could allready fix for me, will update it soon. Dont use categores for the mean while, use only "Unknow". You can change it later when it works. The "Unknow" category should not be editable, I will hide it in the next release.
The issue with the task names beeing too long is a bit more difficult to fix, I'll try to find a solution (need a common one since this will be happen with all inputs).
For the issue with copying a time card, I need a screendum of the error. I use copying of time cards allmost every day and never had problems. So it should be some special in your entries. If I have the error output, I hope to have an idea.
wesch00 said:
Thx again for the responses.
Couls get it allready run with the other ROMs? I have no opinion about these ROMs. I do not use any special functiuons, it is only .Net-code. The only explanation I have would be that there are problems with drawing. Bit this is done by the SenseUI framework which I cannot modify or debug.
Now to the issues.
The Category issue I could allready fix for me, will update it soon. Dont use categores for the mean while, use only "Unknow". You can change it later when it works. The "Unknow" category should not be editable, I will hide it in the next release.
The issue with the task names beeing too long is a bit more difficult to fix, I'll try to find a solution (need a common one since this will be happen with all inputs).
For the issue with copying a time card, I need a screendum of the error. I use copying of time cards allmost every day and never had problems. So it should be some special in your entries. If I have the error output, I hope to have an idea.
Click to expand...
Click to collapse
Hi, I have flashed back to my rom of choice as I need it for work, I also used an apps name Pocket Time, I was hoping to get your working as your is mor mordern and has more options, anyway I will be able to test your program again this weekend and I its working for me I will change my rom and start using your apps I like it.
I have attach the detail section or the Task Name error for you to look at also I have attach the error and the error detail section of G10 rom maybe from those pictures you can figrue why it dosent start
The last five is from G10
Thanks
Thx for the dumps.
As I allready wrote, the problem with the length of the description is a common problem. I did know, that it wasn't checked. I will release a new version today (1.3) which supports those checks.
The other problem has something to do with the serialisation/deserialisation of the user settings. These are stored in an XML-file in the application directory. And it seems, that the existing date time format has problems.
Is the language of your G10 ROM a different than the default ROM? I assume, you have created the XML the first time with on ROM and now trying to read it with another on. And the DateTime format of both are different and cannot be parsed.
Try to delete the xml-file in the app directory and start the app again with the G10 ROM. Let me know, if this solved the problem. May be I can then find a solution therefor. If you delete the xml-File, you will be asked for selecting a user. Select you previous eneterd user. If you navigate away from the user panel, you will be asked for the password you entered previously.
If you not allready entered sensitive data, you can send my the database (sdf-file) and the xml-file. Then I can try to debug it. I've had a lokk into the xml-file and saw there are only two time fields where the time is entered as 8:00:00 and 17:00:00. If this format is not valid on your ROM due to another culture, then this may cause the error you posted. What is the usual time format on your country?
Then I have a question according this ROM. The error occurs in Deserialize while reading a DateTime value. I have a try-parse in the deserializing section. So no exception should be thrown by the app. If there is an error in the XML file, defaults are used. I did try this on my device and ti worked that way. So I really do not know, why the exception is thrown. Ist there any special in your ROM handling exceptions?
wesch00 said:
Thx for the dumps.
As I allready wrote, the problem with the length of the description is a common problem. I did know, that it wasn't checked. I will release a new version today (1.3) which supports those checks.
The other problem has something to do with the serialisation/deserialisation of the user settings. These are stored in an XML-file in the application directory. And it seems, that the existing date time format has problems.
Is the language of your G10 ROM a different than the default ROM? I assume, you have created the XML the first time with on ROM and now trying to read it with another on. And the DateTime format of both are different and cannot be parsed.
Try to delete the xml-file in the app directory and start the app again with the G10 ROM. Let me know, if this solved the problem. May be I can then find a solution therefor. If you delete the xml-File, you will be asked for selecting a user. Select you previous eneterd user. If you navigate away from the user panel, you will be asked for the password you entered previously.
If you not allready entered sensitive data, you can send my the database (sdf-file) and the xml-file. Then I can try to debug it. I've had a lokk into the xml-file and saw there are only two time fields where the time is entered as 8:00:00 and 17:00:00. If this format is not valid on your ROM due to another culture, then this may cause the error you posted. What is the usual time format on your country?
Then I have a question according this ROM. The error occurs in Deserialize while reading a DateTime value. I have a try-parse in the deserializing section. So no exception should be thrown by the app. If there is an error in the XML file, defaults are used. I did try this on my device and ti worked that way. So I really do not know, why the exception is thrown. Ist there any special in your ROM handling exceptions?
Click to expand...
Click to collapse
Hi, I am using the original G10 WWE Ultimate 2 v8.31 rom out of the box in fact all the ROM I have tried this app on has been out of the box, will try flashing and trying your app again this weekend.
Are you using your app on an original stock rom or a cooked rom?
I'm using the app on the updated but original HTC ROM. But it did also work on the nonupdated.
The description of you exception shows me, that the problem has something to do with the localized date time format. What localizaion do you use. And I think you've got it allready running with another ROM. What localization do you have there?
What I totally do not understand, in my opinion there should not be thrown an exception, since serialization is done within a try/catch block. If there is an deserialization error, it should be catched and defaults should be used, which I have testet.

Categories

Resources