PC Review


Reply
Thread Tools Rate Thread

URGENT HELP !!. How to Deploy application on Pocket PC

 
 
Ahmed Jewahar
Guest
Posts: n/a
 
      26th Dec 2004

Hi All,

I have devloped an application VB.NET Pocket PC application (VS .NET
2003). Which is running perfectly from my developemnt machine using
emulator.

Now I have a device (i-mate PDA2k Pocket PC) where I need to install my
application. But, I don't know exactly what are the requiremetns to run
my application on Pocket PC.

Also I need to know how to install ".NET CompactFramework" and SQL CE on
Device. Please help me by step-by-step.

Upon doing this, I'm sure that I should create a setup program to
install my actual application. Appreciate if you could advie me as "How
to create a setup program" and how that can run from Device..

This is very critcal for me kindly help..




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
Werner Wopienka
Guest
Posts: n/a
 
      26th Dec 2004
Hi Ahmed!



If you want to deploy your program via Visual Studio, you need to copy some
file on your mobile device.



Firstly you must know your Windows Version (3.0, 4.0 or Smartphone), and
then your CPU type (ARM, MIP or SH). Then enter the correct folder
(C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\ConnectionManager\Target)

and copy all files via ActiveSnyc on your device, directly into your Windows
folder.
After that you can start the conmanclient.exe file which you've just copied.
There you select TCP Accept, click connect.



After that you must set your Visual Studio to the correct port and deploy
mechanism.

You'll find it under ToolsąOptionsąDevice ToolsąDevices



There you must select your device (Smartphone, Windows CE or Pocket PC),
after selecting your device you can decide to deploy via IRDA or TCP, just
pick TCP and as Startup server select ActiveSync.



If you want another port aside 5656 you must change it on your device and in
the Visual Studio setting (use the configure button next to Transport).



The first deploy on your device will fail (I don't know why?!). Just try it
once more, and hopefully it'll work. All the needed files (CAB-Files) for
SQLCE will be copied automatically on your device,

if the references are included in your project.



Hope this guides helps you



Werner





"Ahmed Jewahar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Hi All,
>
> I have devloped an application VB.NET Pocket PC application (VS .NET
> 2003). Which is running perfectly from my developemnt machine using
> emulator.
>
> Now I have a device (i-mate PDA2k Pocket PC) where I need to install my
> application. But, I don't know exactly what are the requiremetns to run
> my application on Pocket PC.
>
> Also I need to know how to install ".NET CompactFramework" and SQL CE on
> Device. Please help me by step-by-step.
>
> Upon doing this, I'm sure that I should create a setup program to
> install my actual application. Appreciate if you could advie me as "How
> to create a setup program" and how that can run from Device..
>
> This is very critcal for me kindly help..
>
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



 
Reply With Quote
 
=?Utf-8?B?VGFyaCBpaw==?=
Guest
Posts: n/a
 
      28th Dec 2004

Hi Ahmed!!!!

Well, as you may have already noticed, there are many ways to install
your application. Werner mentioned an interesting way of deploying that will
suit your development environment for debugging.

There are many pages in the MSDN site that will also explain how to
deploy an application using ActiveSync, which is a very advance tool to
connect a PDA to a computer.

If you can connect your handheld to your computer using ActiveSync, you
can share a folder in your computer in which you can put the installer
programs. Then you can copy those programs from your computer to the "temp"
folder in your PDA. At the end, you just have to "tap" on them to install
them. Basically, the installation programs that you will need are the Compact
Framework Cab, the SQLCE Cab and your Application Cab (which is created at
compilation time).

As Werner mentioned, the Cab files that you will require depends on
your PDA's processor and operating system (Windows CE or Pocket PC). You have
to choose the right one, or the installation might fail.

About creating an auto installer program, there are many articles in
the MSDN. However, if you want a different approach, you can use the CEUTIL
library that comes with ActiveSync to identify the processor type of the PDA,
and then create at run-time an Ini file for the CEAppMgr.Exe program (also
comes with ActiveSync) to install your application using the right Cab file.
It looks like a lot of work, but its a way that will allow you to install not
only your application but any other cab file that you might need (e.g.: SQLCE
and the Compact Framework - the distributables, of course - ).

Hope it helps!!!

Tarh ik
PS:This post has been posted "AS IS"

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
URGENT PLZ. How to deploy APP on intermec pocket pc 700c sherullahbaig Microsoft Dot NET Compact Framework 0 13th Jun 2011 08:31 AM
Unable to deploy application into Pocket PC Rahul Sur via .NET 247 Microsoft Dot NET Compact Framework 5 26th Jan 2005 07:43 PM
Unable to deploy application into Pocket PC Rahul Sur via .NET 247 Microsoft Dot NET Compact Framework 2 6th Dec 2004 11:43 AM
Unable to deploy application into Pocket PC Rahul Sur via .NET 247 Microsoft Dot NET Compact Framework 0 31st Oct 2004 12:49 PM
Deploy .net application on pocket pc with Win CE 4.1 =?Utf-8?B?SGFucyBTdHJhc3Nlcg==?= Microsoft Dot NET Compact Framework 2 20th Oct 2004 02:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:44 PM.