Adding Photo Taking functionality to CF 1.0 App Part 2

Solution

The following steps are my solution for above problem.

1. Converting VS 2003 project to VS 2005 project (using conversion wizard) (I will have seperate code base for windows mobile phone device.)


2. Add reference Mircrosoft.WindowsMobile.Forms dll to the UI project (Camera Dialog)


3. Create new Replication for windows mobile phone device. (so the current PDA users will use the old replication channel and the new mobile phone device
user will use new replication channel. Both replication will use the same database.)

Finally the new application was run on Windows Mobile Phone device. (The program was using Compact Framework 1.0 in windows phone.)


I want to rewrite all the code in Compact Framework 2.0/3.5 but the Buget constraints and the Time constraints stop me to do that.


Sometime you don’t have a choice.

I was using CF 1.0 the first time and face a few issues. Those issues are the constraints of Compact Framework 1.0.

Adding Photo Taking functionality to CF 1.0 App Part 1

Problem / Background Story
     Company XYZ was doing Meter Reading every month. Head Office User generate the task in the middle of the month and assign task to Technician based on the building which was managed by him.

 The Technician download the tasks to his Pocket PC , go to the field and perform the reading. He need to take pictures in a few cases.

 eg.1 The unit was locked and he cannot take the reading but he need to take picture of the situation as an evidence.

 eg.2 The current month reading was too high compare to the previous one. He also need to take picture as an evidence.


The Pocket PC does not have built in camera. so he need to bring an extra camera. After that the Technician need to bring back the camera data to the Head Office. After synchronization, Head Office user still need to upload camera data /picture to the related task in the system manually. It was painful process.

Design
    User want to replace Pocket PC device with Windows Mobile device which have built-in camera.
It will eliminate these two issues.
1. bringing of extra camera
2. uploading of camera data to the related task in the system manually.

Replacing with windows mobile device will increase the process. (Uploading to the picuture will be automatically via the synchronization).

Constraints
   1. Back Office Web Application was written in ASP.NET 1.1 
   2. Synchronization process was using SQL Server 2000 Replication and Database was SQL 2000
   3. Pocket PC Application was written in Compact Framework 1.0
   4. User will upgrade their Pocket PC to Windows Mobile device gradually. Both App must use the same database.

They don’t allow to change 1,2. So my new Windows Mobile App must work with these existing Constraints.

Leadership and Management

The following are a few notes from The 7 Habits of Highly Effective People (Stephen R.Covey) book and I would like to share it.

Covey mentioned Leadership is not management.

Leadership has to come first.

Management is a bottom line focus : How can I best accomplish certain things?

Leadership deals with the top line   : What are the things I want to accomplish?

In the words of Peter Drucker and Warren Bennis, 

Management is doing things right, leadership is doing the right things.

Management is efficiency in climbing the ladder of success; leadership determines whether the ladder is leaning againt the right wall.

Please make sure your ladder is leaning againt the right wall or not.

Steve Jobs to developers (Very Cool Picture)

Steve Jobs to developers (Very Cool Picture)

According to Steve Jobs iPod is software

I didn’t see this point of view before I read this article.

 “If you look at the reason that the iPod exists, and Apple’s in themarketplace, it’s because these really great Japanese consumer electronics companies who kind of own the portable music market… couldn’t do the appropriate software, couldn’t conceive of and implement the appropriate software,” Jobs has said. “Because an iPod’s really just software. It’s software in the iPod itself, it’s software on the PC or the Mac, and it’s software in the cloud for the store. It’s in a beautiful box, but it’s software.”

source »>

http://www.successmagazine.com/steve-jobs-master-of-innovation/PARAMS/article/1054/channel/22

dev2709 Rebooted

Tumblr motivate me to reboot my dev2709 blog.

I used to blog on blogger and I don’t like their default themes and looking for a good design. Finally I found Tumblr and I like it. 

This is the begining of dev2709 Rebooting.

Let’s see how far I can go.