yashsingh1/xdaforums huggingface dataset:
[HD2 General] ixps:
Hello People,

I've got a little problem with my hd2 ^^

Since several weeks, the plastic from the LED's was pushed inside the device and so the vibration alarm wasn't really silent anymore (since the vibrator is behind the led plastic and it touched it inside).

So now I decided to open the device an push the plastic back in it's place.

Opening the device was really hard because of the massive glue they used^^

But after some minutes I got the electronics out of the body. I cleaned it a little bit up, fixed the plastic an put the device back together.

Starting it, confirmed that the vibration now works silent again, but my screen stays black... :(

I really don't know what happend there :confused:, but I never touched the screen or openend the device more than I had to.

So maybe anyone has an idea?

THanks a lot.
[HD2 General] datas0ft:
First thing is that i dont understand where you finded "massive glue" if you just opened your phone to place back leds cover/zoom plastic. They dont use glue, only adeshive stick tape. But this is just interesting for me.

Second thing is: are you used some minimalistic bead when you placed back leds cover/zoom plastic? If you didnt, then it can drop again to inside.

If your screen is black then maybe you just acidently touched connector and ribbon cable, where lcd connects to motherboard. You must open your device again and recheck. This connector attached with ribbon cable at lcd must be sealed with yellow tape.
[HD2 General] ixps:
Hello,

sorry a meant adeshive stick tape ^^ I was just hacked off when I wrote this ;)

yes, I put something on the led plastic.

I checked all the connectors and also watched a video where the disassemble the entire phone in order to see where I could have damaged or removed something. But as far as I can see, there is nothing loose or missing. I didn't remove the mainboard; I just took the device out of it's outside cover.
[HD2 General] datas0ft:
Hmm, i dont have idea whats wrong then.

I opened mine phone not once. Also replaced more 5 HD2 digitizers and lcds. All time dont had this probelm.

Are you sure you dont had static electric on your hands?
[HD2 General] ixps:
yes, I was protected against static electric.

maybe I'm gonna disassemble it totally and see if something else is loose.

Turning it on works, because the vibrator triggers once.

And I just realized that the power led does not work when I'm plugging the device in...strange
[Windows Mobile Software Development] deedee:
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.
[Windows Mobile Software Development] deedee:
Possible dependant files.

I am coding for CF2.
[Windows Mobile Software Development] deedee:
[Reserved] - For Comments
[Windows Mobile Software Development] Jesterfell:
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!
[Windows Mobile Software Development] deedee:
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.
[Windows Mobile Software Development] Jesterfell:
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.
[Windows Mobile Software Development] Jesterfell:
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!)
[Windows Mobile Software Development] deedee:
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.
[Windows Mobile Software Development] deedee:
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.
[Windows Mobile Software Development] Jesterfell:
Of course!

Sorry, I got tunnel vision and forgot the project's purpose.
[Windows Mobile Software Development] Jesterfell:
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.
[Windows Mobile Software Development] Jesterfell:
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
[Windows Mobile Software Development] deedee:
Completely forgot to say, you will need to install SQL CE on your HTC.
[Windows Mobile Software Development] Jesterfell:
I do not usually resort to smileys, but my lack of knowledge is frustrating!

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.
[Windows Mobile Software Development] deedee:
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
[Windows Mobile Software Development] deedee:
New version in post 1 that is now independent of location, just make sure both exe and SDf are in thhe same place.
[Windows Mobile Software Development] Jesterfell:
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.
[Windows Mobile Software Development] deedee:
Not sure what the error is pointing to but I am coding for .Net CF v2, CAB in post 2, try installing this.
[Windows Mobile Software Development] deedee:
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.
[Windows Mobile Software Development] deedee:
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.
[Windows Mobile Software Development] Jesterfell:
It worked!

Hi Deedee! It finally ran!

=== Modules ===

After installing "sqlce30.ppc.wce5.armv4i.CAB" the program ran but gave a "module could not be found" error.

Installed "sqlce30.repl.ppc.wce5.armv4i.CAB" and the error did not occur again.

Did not need "NETCFv2.wm.armv4i.cab" because "A later version...is already installed..." However, it (and sdkcertsnew2015.cab) would probably be necessary for many "clean" installations.

=== Notes ===

.1. QVGA - the program window is too tall for QVGA. It has a scroll bar, so it is awkward but usable. The bottom program tabs are hidden after each tap/click, requiring tapping on scroll bar each time to expose them again.

Finger gestures did not work to replace the action of the scroll bars, but did work to switch from tab to tab, except on the welcome tab.

.2. ERROR- when using finger gestures to switch tabs, the following came up:

"an unexpected error has occurred in MedicalRecords.exe.

Select Quit and then restart..."

"An error message cannot be displayed because an optional resource assembly containing it cannot be found"​

DETAILS- I missed most of it, but caught the following:

ArgumentOutOfRangeException in "System.Windows.Forms.Control..." at prjMedicalRecords.frmMain.dlgSurgery_click()"​

After I entered a sample surgery, the error did not occur again.

.3. The wrong data entry form is called up for surgery. I think it is the one for patient data.

.4. I entered random data and it all worked well: all data was saved and displayed in the correct places.

I like the logo and the icons, simple but unmistakable!

I'll keep entering data and playing with it. I'll let you know anything I find...
[Windows Mobile Software Development] deedee:
Probably due to the code to make it work across all screen resolutions, i'll look into it.

Any finger gestures that work are down to WM itself, I have coded nothing there.

Directly linked to the absence of swipe controls and the fact that I have "data grid click" set to be "Show Summary" which it can't do when there are no records.

Error trap will be added.

I will check and fix.

One bug I am aware of is that if you add one patient and then medication and then assign medication to patient it saves the record but doesn't update the data grids and so an attempt to add the same thing again fails.

Closing and reopening the app forces a refresh of all tables.

Glad you like it so far.
[Windows Mobile Software Development] deedee:
New CAB post #1.

Warning it deletes the database file.
[Windows Mobile Software Development] Jesterfell:
I have not had time to use this version very much, but I wanted to let you know that switching from tab to tab via finger gestures no longer gave an error when going to an empty tab.

BTW: I am saving each version with a date suffix code to keep from re-installing an old version (eg: Medical Manager 11_0221.cab - for 21 Feb 11)
[Windows Mobile Software Development] claus1953:
Also on my WQVGA i have to use the scrollbar to get to the tabs. For the rest it is working well for me.

Thanks for this program it will be very handy for me, so i can keep track of my medicines.
[Windows Mobile Software Development] deedee:
Not a screen res I have available to test with, what is it exactly, but I am seeing similar on my old Xperia X1, WVGA. So I am guessing that if I can fix it on the X1 it will be OK on your WQVGA.

Next version will have the ability to edit the primary tables, then edit linked data. The ability to delete records is actually at the end of the road map as I look on this as an historical record keeper as much as anything else.

It will probably get renamed at some point to "Family Medical Manager" as it does much more than just keep track of medications.
[Windows Mobile Software Development] claus1953:
It looks like this.

Also it takes some 40 seconds to start up, is that normal?
[Windows Mobile Software Development] Jesterfell:
Hi, Deedee

WQVGA: same height as QVGA (240) but wider (>320). Often 240x400; I have also read about: 240x384, 240x432, & 240x480.

WVGA: same height as VGA (480) but wider. I've read about 480x800 & 480x848, there are probably more.

They are very different, but do share some common aspect ratios, so it's a definite maybe.

Sounds great, looking forward to it.
[Windows Mobile Software Development] deedee:
Working on the screen res issue, think I have it working on WVGA, 480x800, will post new exe file soon.

The startup delay is due to it compacting the SQLCE database. I'll see if there is a way of putting it under user control.
[Windows Mobile Software Development] claus1953:
I really don't mind the start up delay, just wanted to know if it is ok or if it is a problem on my device.
[Windows Mobile Software Development] deedee:
I've added a question on startup to compact or not.

New CAB later this evening, hopefully with resolution issues fixed.

New CAB Post #1
[Windows Mobile Software Development] xpect:
I will give a try on this application for a family member. I think it's really useful.

It's great to see that WM is not completely dead after all, because it's still a very capable OS with great potential. And having new developers is always a good thing.

Thanks Deedee
[Windows Mobile Software Development] deedee:
Copied from a PM by a new member:

Thanks for the feedback, any method of contact is OK, I've pasted it here so others can see your issues and my responses.

Multiple patients seem OK on the latest CAB, they are to be added from the menu system. Clicking the grid is only designed to show you the summary for the patient.

i will investigate the date format issue.

edit and delete are on the road map, in that order. at the moment there are a couple of options to edit the data file, unfortunately none of them free. FlyHoward SDF Viewer is a good one with a 15 day trial.

I will add export to the list of features and see if it is possible and also add extra medical details if possible. i am thinking of adding the ability to define a type of medical professional so that you can have Dr Jones - Physician and Dr Jones - Dietician.

Would this be welcome?
[Windows Mobile Software Development] deedee:
New version post #1.

New format SQLCE database to allow for doctor type to be listed.

Primary tables can now be edited.

Fault with date format for DoB was my fault, I had the wrong format applied to the box so it was actually showing hours of the day and not date.

Still some edit forms to be done and there is no facility to delete or export yet.

Feedback welcome.

Enjoy!!!
[Windows Mobile Software Development] deedee:
New version post #1
[Windows Mobile Software Development] Jesterfell:
01 MAR 11 version

Hi, Deedee!

Sorry I haven't been very active lately, life got a little more complicated...

I tried the last version and everything seems very smooth and no data became lost or garbled even after several compactions (that probably did not need saying, just trying to be thorough).

I was unable to spend too much time on it, but I did find the following:

If I open the soft keyboard to enter data into a line in the lower half of the screen, the keyboard covers the entry, forcing me to "type blind." I'm used to seeing the data entry screen "move up" to accommodate the keyboard under the input window.

When changing DOB on Pt. the calendar pop-up stays on top, allowing only partial use of the keyboard for numeric entry. Clicking from 2011 back to anywhere near my birth year, one year at a time, takes a long time!

When I open a patient, add a doctor and press CLOSE, the pt. summary that comes up "squashes" the add medicine icon under the add Dr. icon. The pill bottle looks like just one pill with a drop of red on it!

- Interestingly, when switching to landscape mode, tapping on the doctor icon then tapping CLOSE, the icon order was reversed--Pill bottle on top of Dr icon! This reversal stayed even after switching back to portrait. Of course, that's not very important to the app, but it is interesting.

"Doctor Type" does not show in "Doctors" tab, although that's probably not very important.
​

I'm probably overlooking something obvious, but I cannot find a way to create additional links, ie: which Dr. prescribed which med; at what pharmacy it was purchased (for refill purposes); etc...

I only found the patient to med and to doctor links.

I just realized I did not enter anything for surgeries. Sorry, I'll get operated on for next time.

BTW: My granddaughter was looking over my shoulder as I played with it and was VERY excited to hear that the program's author lives in Ireland!

She likes to think of herself as half Irish; she even has an aunt named Colleen--in her eyes, that alone is proof! None of her mom's relatives has seen the emerald isle in generations, but she does not differentiate between being of Irish descent and being Irish. And, given her temper, I will not disagree!
[Windows Mobile Software Development] Jesterfell:
The bottom tabs are still not visible for QVGA without scrolling. However, with the FILE and HOME buttons, that's not such a big issue. Would it be easier to just use the program in landscape mode?

A bigger issue is that there is a fair amount of scrolling necessary, both horizontally and vertically, to see all the information in the windows that pop up after tapping on the dr or meds icons in a patient summary screen, then tapping on entries in subsequent windows (eg: patient table/ tap on patient/ tap on DR icon/ tap on Dr name*).

* Forgot to mention before, the first time the DR icon is tapped, the doctor's name does not appear on the list that comes up. But tapping where the name SHOULD be does bring up the information.
[Windows Mobile Software Development] deedee:
No worries, mine hasn't been much better, had to reinstall windows on my development desktop and my laptop, amongst other things. :)

Think that has been fixed by putting all input screens in panels that are aware if the keyboard is visible and showing scroll bars as necessary.

I am with you on that one,all I have found so far is to select the year, then use the D-Pad to scroll to the year and then drop down for the accurate last step.

The app isn't aware of screen orientation, at least not by design anyway. :) Try the new version and see if it any better behaved.

Doctor Type has been dropped for the time being it broke more than was worth trying to fix. I am going to get all the other functionality working first and then look at adding it.

You are missing nothing, they are all features in the pipeline.

Landscape on my HD Mini isn't overly useful so I am really only developing for portrait.

I will see about testing it on a real QVGA screen as opposed to the emulator and see if the issue is repeatable.

This should be fixed, I have taken a slightly more aggressive approach to loading the tables.

Latest build in post one.
[Windows Mobile Software Development] deedee:
New CAB in post #1, you can now edit appointments and medications per patient.

Next on the development roadmap is the reorder process. Personally a Surgery/Pharmacy combination is sufficient, but with the view of useability I will add Dr to the combination with two dates, one for the request and one for the collection by/from the Pharmacy.
[Windows Mobile Software Development] deedee:
New version post #1, massive leap in version numbers as I think all the data entry and editing is now functional.
[Windows Mobile Software Development] Gheroi:
Hi, Deedee

I am following the development for this application from the beginning.

At first it was not usable for me, could not edit and delete records and need to reinstall it when something was changed in medication etc.

Currently i am using it on a HTC HD a.k.a HTC Blackbird WM 6.5 Energie Max sense Rom.

Beside the already mentioned scrol problem it is looking great.

I am missing some functionality but whilst reading the forum i did see they are already on the to do list.

Keep up the good work
[Windows Mobile Software Development] deedee:
OK, latest version in post #1.

I think it will cope with all screen resolutions without vertical scrolling.

I have tested it on the following:

HD Mini - WM6.5 - HVGA

X1 - WM6.1 - WVGA

HTC Trinity - WM6.1 - QVGA

HTC Trinity - WM6.5 - QVGA

iPaq 1950 - WM5 - QVGA

Now we are in a position to play hunt the bugs, before I add any new functionality. :)