bluetooth and C# 2.0
Hi All,
I am newbie here.
The problem :
I have Qtek 2020i PDA with Windows Mobile 2003 SE. This PDA has bluetooth
support. Also I have a GPS module Asus BT-100 with bluetiooth. So I need to
write an application wich must do those things :
1. search for bluetooth devices
2. detect if one of them is BT-100
3. if so, then connect to it and read data from it.
But I am unable to find some samples how I can connect to the bluetooth
device from C#. Can anyone help me ? Maybe someone has needed links ?
Thanks a lot. Tag: _splitpath() Tag: 104525
GetDeviceCaps
Could someone tell me why many of the values returned by GetDeviceCaps are
wrong?
On my Pocket PC it returns:
- HORZRES 240
- VERTRES 320
that are correct, but:
- HORZSIZE 64
- VERTSIZE 60
- PHYSICALWIDTH 0
- PHYSICALHEIGHT 0
aren't right since my PDA is about 5.5x7.5 cm! (not 6.4x6.0 or 0x0!)
And these:
- LOGPIXELSX 96
- LOGPIXELSY 96
aren't right, too..
Mhaxx Tag: _splitpath() Tag: 104524
alex feinman's TAPI wrapper - gone??!
i can't seem to find it anymore.....opening http://www.alexfeinman.com/ only
turns up a blank page.???? Tag: _splitpath() Tag: 104521
can you help me..!!
Hi friends !!
I've developed one wince application for windows CE 5.0 OS. I've to
show this application to one of my client and my boss as well.. kindly
give me the correct direction so that i can show my demo without
installing evc++ or only using emulator.exe. I've downloaded emulator
creator. I've downloaded platform builder (just thinking that this may
help me) now is there anything else that i need so that i can show my
WinCE application on emulator.exe.on desktop pc. Kindly guide me as
well...
i've spent my two days for searching the solution please help me
regards
Navin Tag: _splitpath() Tag: 104519
just want to know...!!!
Hello group !
Can you suggest me from where i can have platform builder IDE of
windows CE 5.0. I found one from microsoft.com but it is only for 120
days evaluation version. Is there any other Platform builder for
windows CE (any verion like 4.X) which is not for evaluation version.
kindly help me..
Thanks in advance
Regards
Navin Tag: _splitpath() Tag: 104518
WM5, wceload with /nouninstall
Folks,
On a Dell Axim 51V I have noticed that the wceload /nouninstall switch
appears to have no effect. That is, there is a line in Remove Programs for
the application that was installed. With WM 2003 this did not occur. Are
additional steps required on WM5 devices?
It does not appear to matter whether I install the cabs silently or not.
Using signed or unsigned cabs also makes no difference.
regards
Jon Beets Tag: _splitpath() Tag: 104505
Place a icon near keyboard icon
I want to see an icon/image near keyboard icon in pocket PC.
I am using Visual studio 2005.
How i can do that? I also want to handle click event.
Rakesh Tag: _splitpath() Tag: 104504
RPN Registration fiasco
Over the last few weeks, I've switched my products to use the RPN
registration algorithm found on Handango, PocketGear, PocketLand,
Mobihand and others. Now, on the day of release, I've discovered that
the RPN implementation IS DIFFERENT amongst the various distributors.
ARGH!!!
The crux of the difference is that Handango is using 32 bit integers
for intermediate RPN calculations while Pocketland and Mobihand are
using 16 bit integers for intermediate RPN calculations. I don't
know what PocketGear is doing yet.
For the simple demo RPN string of:
User Name = "Will P"
RPN string = "i 0 == 111 * key + c 2 * +"
the 16 and 32 bit versions produce the same results, but more complex
RPN strings and longer User Names can easily overflow and produce
different results.
Has anyone either:
1. Screamed in anguish at the distributors, trying to make them
converge on a single implementation? If so, what did they say?
2. Added logic to their product to support both versions?
3. Given up on RPN registration because of issues like this? Tag: _splitpath() Tag: 104503
Getting unspecified error when i try to open form in Design mode
Hi,
I am using CF 1.0, sp3 installed. when I open the form in design mode i get
unspecified errro.
please tell me wht else should be installed to get it started. Tag: _splitpath() Tag: 104501
Closing Word Mobile in WM5
How can I force Word Mobile in WM5 to close the current open document and
have it save?
In PocketPC 2003 SE I use to send the WM_COMMAND with 0x00000001 in the
WPARAM and it worked. Then I closed Pocket Word with WM_CLOSE.
Thanks in advance. Tag: _splitpath() Tag: 104500
CCeCommandBar font
How can I set the font (and its size) to my command bar (using MFC,
CCeCommandBar in EVC 4)? I've tried using SetFont() but it doesnt work?
Thanks for any help... Tag: _splitpath() Tag: 104499
Bluetooth over OBEX
I found a confusing registry tweak on web saying I can disable Bluetooth
over OBEX, and I'm confused: does this mean I won't be able to use Bluetooth
at all or it would just speed up my Bluetooth conection or something like
that because it's not using OBEX? Tag: _splitpath() Tag: 104497
How to make a C# SSL connection
I have a C# sockets library that was written on XP and I want to add SSL to
this and port it to the Mobile Media 2003 SE os on an Ipaq. I have not been
able to find an example of how to create a C# SSL connection anywhere. Can
someone point me at some code. Thanks Tag: _splitpath() Tag: 104496
Max number of ports?
How many ports are available on Windows Mobile OS? Is it 65536 or something
else? What values can be set up as my TS port, and is 0 (zero) included? Tag: _splitpath() Tag: 104491
PocketPC force https to use TLS
We post some xml to https as shown below. The server supports SSL 3.0 and
TLS. We wnat to force the PocketPC 2003 application to only use TLS for FIPs
compliance. Is that possible? I see in .Net non-CF that you can do
something like System.Net.ServicePointManager.SecurityProtocol =
SecurityProtocolType.Tls; but that does not sem to be supportted on CF.
Thank you!
string stream = ...
string url = "https://myserver.com/myreceiver.aspx";
byte[] bytes = Encoding.UTF8.GetBytes(stream);
HttpWebRequest request = (HttpWebRequest) WebRequest.Create(url);
request.Method = "POST";
request.Timeout = 60000; //What would be best Timeout value?
//request.ContentLength = bytes.Length;
request.AllowWriteStreamBuffering = true;
//Note: must have utf-8 per W3C
request.ContentType = @"text/xml; charset=""utf-8""";
Stream requestStream = request.GetRequestStream();
requestStream.Write(bytes, 0, bytes.Length);
requestStream.Close();
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream st = response.GetResponseStream();
StreamReader myReader = new StreamReader(st);
responseFromServer = myReader.ReadToEnd();
st.Close();
myReader.Close();
response.Close(); Tag: _splitpath() Tag: 104487
Windows Mobile 5 - WM5 Questions
I adopted technology and purchased two PPC-6700's about 2 months ago and I've
had nothing but random issues. Question for the developers out there...
#1 - when is this so called bluetooth stack improvement going to be released
for more compatibility and more profiles
#2 - Messaging and Security Patch....when is the release date...is there a
beta out there???
#3 - Application compatibility.....I've noticed many applications for WM5
but many of them have major memory leaks or compatibility problems...any
future resolutions or error checking which could help with these applications? Tag: _splitpath() Tag: 104485
activesync 4.0 no network sync
unfortunately i have a active sync 4.0 and now i miss the network sync
option. am i really 2 dumb 2 find it or did ms really take it of us??? anyone
knows?
cheers all kune Tag: _splitpath() Tag: 104482
dialog controls being reset to resource template defaults.... RelayoutDialog bug?
Hi there,
I found this older posting from over a month ago about a possible bug in
RelayoutDialog, but there was no response...
http://groups.google.ca/group/microsoft.public.pocketpc.developer/browse_frm/thread/96b91c54f68c2e5/b7c6ab0998aaafa5?lnk=st&q=RelayoutDialog&rnum=1&hl=en#b7c6ab0998aaafa5
I'm working on a mobile 2003 dialog app using VS2005 w/MFC support. Now
there could be a bug in the RelayoutDialog function or possibly in the
wizard generated code that uses it. Either way, when the OnSize message is
processsed and I've either changed the orientation of the screen or
minimized (I replaced the ok button with the smart minimize x) and maximized
again, the gui defaults to the default layout of the dialog template and not
the state of the window controls before the screen changed.
Does anybody have any insight as to what's causing this to occur?
Thanks,
Andrew Tag: _splitpath() Tag: 104478
Reminder: Smart Device Programming Online chat tomorrow
Just a reminder that MVPs will be hosting an online chat tomorrow concerning
.NET Compact Framework and Smart Device Programming. We will be on hand
ready to answer your questions, so bring 'em on!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Title: MVP chat: .NET Compact Framework and Smart Device Programming
Chat Date: December 13th
10:00am - 11:00am Pacific Time
Additional Time Zones:
http://www.timeanddate.com/worldclock/fixedtime.html?year=2005&month=12&day=13&hour=10&min=0&sec=0&p1=234
Description: You know them from the newsgroups! You love them for their deep
technical answers and charming wit! Please join these amazing Microsoft MVPs
in this live chat regarding the .NET Compact Framework and the Smart Device
Programming features of VS.NET. Please feel free to bring along your Smart
Device Framework questions as OpenNETCF.org will be well represented in this
chat.
To join this chat, please log on via the main MSDN chat page at:
http://msdn.microsoft.com/chats
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--
--
Thanks!
Michael Fosmire
Community PM/MVP Lead, Windows Embedded
This posting is provided AS IS with no warranties, and confers no rights. Tag: _splitpath() Tag: 104476
EDB Databases
Hello all.
I recently converted my CEDB databases to EDB. I just got my
application up and running and I noticed that these new database
function seem to be take a lot longer to work then the CEDB functions.
I used to use ADOCE which seemed really fast, then I changed to CEDB,
which seemed slightly slower, and now I am crawling along with EDB. Is
there any chart out there and I can see the time differences when
calling different functions? I am only asking so I can determine if
this is actually the case of if I need to look deeper into my code.
Thanks.
Matt Zimmerman Tag: _splitpath() Tag: 104469
Camera preview orientation on HTC-Universal
Hi,
after I actually got the capture and filter to work, I am having a
strange problem. The input from the camera gets displayed "flipped over
the diagonal", meaning it is rotated by 90 degrees and then flipped
horizontally. And this changes depending on screen rotation. While I can
rotate the image manually by writing a filter (I already did), it is
certainly the wrong way and will cut off 1/4 of the image (if I do it
per in-place-filter).
How can I tell the output renderer to NOT rotate / flip the content? The
original video recording app can do it correctly, so there must be some
flags on that camera or output renderer to set. I did already try the
documented flip and roll attributes, without luck.
Andres Tag: _splitpath() Tag: 104468
Copy Outlook files to general Folder in PDA!
can we copy the outlook files (MSG) to PDA explorer and also from explorere
to the
Outlook of PDA.
Thanks!
Raj Tag: _splitpath() Tag: 104458
LSP issues on WM5.0...
I have few questions related to LSP on WM50:
1. SSL LSP and Auto_bind lsp have no ORDER key in the registry, it means any
one of them can load on the top. But I always see that Auto_bind getting
loaded at the top of SSL LSP. It may be some magic done by MSFT internally.
But I am wondering why there is no ORDER key has been defined for these
keys. Is there any reason?
2. I want to load my LSP on the top. So I have defined ORDER key for
Autobind and SSL in the registery, so that myLSP loads on the top. But in
this case I have noticed that Auto_Bind does not getting loaded into
Device.exe. If I do not define Order key for Autobind and let it load in the
last then it will get load into Device.exe. Any idea, why it so?
3. Services.exe loads all the LSPs (which is not the case on PPC2003),
hence, myLSP is also loaded into Services.exe. From the log generated from
myLSP, I found out that next provider's WSPSocket() called is failed with
Error code 10009. Any idea about this failure? I do not see any such failure
in other executables like device.exe, rapiclnt.exe, repllog.exe,
iexplore.exe etc.
Overall, Autobind and DTPT lsps introduced in WM50 casuing lots of trouble
to LSP developers. Did anybody write a LSP successfully to proxy all sockets
based traffic?
TIA,
-Ajay Tag: _splitpath() Tag: 104457
temp folder?
this may sound like a stupid question.......sorry.... but is there a temp
folder in windows mobile 5? if so, is there an API for me to retrieve the
folder's path? or is it always hard coded to "\temp" ?? Tag: _splitpath() Tag: 104456
Standalone Pocket PC Emulator on Windows XP for Application Demo
Hi,
I have a PocketPC Application which is working fine in the actual device.
However, I would like to deploy this application to end-user PC (WinXP Pro)
for training purpose instead of deploying it into the actual PocketPC
devices.
Does anyone know of a standalone PocketPC Emulator that can be installed
into Windows XP Pro?
Regards,
YTP Tag: _splitpath() Tag: 104455
Developing a Pocket PC application for ASP.Net 2.0
I need to write a small ASP.Net application targeted at the Pocket PC.
My question is am I limited in only using the compact framework controls or
can I use any ASP.Net control and just ensure that I consider the screen
size??
Thanks
David Tag: _splitpath() Tag: 104453
TaskManager
Hi,
I wrote an application in MFC for "i mate" pocket pc,the application
include main window which call to a dialog box - in normal mode everything
works ok,i can run the application and close it with no problems.
I also can close the application from the task manager if i'm still in the
main window,but if i already open the dialog window i can't close the
application (from the task manager).I use the DoModal to open new CDialog,can
anyone help me with my problem.
(if u can guide me to a simple example with main window and Dialog with
DoModal function it will be wonderful)
Thanks,
Koby Tag: _splitpath() Tag: 104452
Camera with Windows Mobile 5.0 SDK - getting raw video data
Dear all,
I just want to ask you if anyone know how to get the raw video data
with Windows Mobiel 5.0 sdk. I need the raw data because I want to do
some image processing. I looked at the samples CeCamera and
CameraCaputre. And i am using a MDA Pro from T-Mobile.
Thx
Johannes Tag: _splitpath() Tag: 104451
ADO3.1 on WM5
Hi.
I have an app written in eVC4 for PocketPC 2003, which uses ADO
(ADOCE.Connection.3.1). I am looking at porting to WM5 in VS2005, but can
not find any reference on how to use ADO (not ADO.NET) in VS2005.
Basically, I was hoping that all I had to do was to change the connection
string (Provider=Microsoft.SQLServer.OLEDB.CE.2.0;Data Source=somedb.sdf),
but is that hoping too much? Could it be as simple as using OLEDB.CE.3.0?
Maybe I must "upgrade" the ADO DLL? Does anyone have any experience and
tips regarding this?
Also, is there much to gain (speed-wise) from using OLEDB directly instead?
Best regards,
Ole-Johan Ellingsen Tag: _splitpath() Tag: 104450
AfxGetDitheredBitmap Function
This is a multi-part message in MIME format.
------=_NextPart_000_013D_01C5FF1F.7FEE2630
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Is there any function corresponding to AfxGetDitheredBitmap Function in =
Visual Studio 2005 for smart device..
Rakesh
------=_NextPart_000_013D_01C5FF1F.7FEE2630
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Is there any function corresponding to =
<FONT=20
face=3DArial size=3D2>AfxGetDitheredBitmap Function in Visual Studio =
2005 for smart=20
device..</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Rakesh</FONT></DIV>
<P><FONT face=3DArial size=3D2></FONT> </P></BODY></HTML>
------=_NextPart_000_013D_01C5FF1F.7FEE2630-- Tag: _splitpath() Tag: 104448
contacts, tasks, notes, calendar physical files ?
WM5 (HP hx2795) / VS2005
What are the names of the contacts, tasks, notes, calendar database(s)
and where are they physically located on the device ? Is there anyway
to look at them directly or copy them over to the PC or are they
deeply hidden and only accessible via the POOM sdk
(
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceappservices5/html/wce50oriPocketOutlookObjectModelPOOMAPI.asp )
...thanks Tag: _splitpath() Tag: 104445
CVTRES : fatal error CVT1109: target machine "THUMB" requires "/WI
CVTRES : fatal error CVT1109: target machine "THUMB" requires "/WINDOWSCE".
I am trying to build a vs2005 pocketpc project for pocketpc 2005 using
cygwin makefile. Iam getting the above error, and there is no documentation
for the error. Can somebody help me out? Tag: _splitpath() Tag: 104444
How can I extend my Emulator's Memory
My Emulator has only 11.70MB memory(Chinese Version),it's not enough for my
program, how can I extend my Emulator's memory?
thanks
--
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
/ \~~~/ \
,----( .. )
/ \__ __/
/| (\ |(
^ \ /___\ /\ |
|__| |__|-" Tag: _splitpath() Tag: 104443
Change Locale
Hello,
I created my own Locale in Wince.nls and copy it to \Windows. This works in
WM 5.0 (not Phone Edition) and i was able to change the locale (regional
Setting) for the LCID in the registery by changing the defaultLCID and
reboot. In WM 5.0 (Phone Edition) This is does not work anymore? What is
the API to change the regional setting in my application?
Thanks
Sam Tag: _splitpath() Tag: 104442
Services.exe
I am writing a small program that will run as a background process for the
entire time the pocket pc is on. It will be listening on a certain port for
incoming connections on the wifi interface. My question is: for something
like this is services.exe still the best way to do it? I was originally
planning to use .net compact framework but I cannot find any documentation
on how to start services in the .net framework. Am I best to just use the
old services.exe and socket programming? Also if anyone has a good article
or documentations on services.exe please let me know. So far I've found an
article on ppc developer network and some short ones on msdn. Tag: _splitpath() Tag: 104441
Finding the AKU number
Hello,
Does anyone know how I can programmatically find the Microsoft AKU number
on a Windows Mobile 5.0 device? Tag: _splitpath() Tag: 104438
Changing the Locale
Hello,
In WM 2003 and below i was able to change the locale (regional Setting) for
the LCID in the registery by changing the defaultLCID and reboot. In WM 5.0
This is does not work anymore? What is the API to change the regional
setting in my evc program?
Thanks
Sam Tag: _splitpath() Tag: 104437
Dialog and SIP
I've created a rather small dialog in eVc++ 4.0 wich fits on my screen right
in center (I've called CenterWindow() in OnInitDialog), but the problem is
that when I call SHSipPreference(this,SIP_UP) which 'rises' the input method
screen, my little dialog becomes a rather large one. So it changes its size,
and I dunno why? Help please... Tag: _splitpath() Tag: 104430
How to open file for random access in vb2005 mobille?
How to open a file for random access in visual studio 2005 mobille compact
fram.?
In vb2003 i use the FileOpen Function with the following syntax:
FileOpen(FileNumber, FileName, OpenMode.Random, , , RecordLength)
This is in an normal aplication for xp, etc.
My question is how to do the same for in a mobille device project?
This is because, the FileOpen function doesn´t appear in the compact
framework.
Thanks for some help. Tag: _splitpath() Tag: 104428
Best Approach to Identifying Programmically Created Controls?
In my WinForms programming I built some extensive code that would instantiate
a series of controls on a panel. So for example, I could use this code to
lay out 4 vertically stacked radio buttons. Each of these controls shared a
common event handler.
I was able to easily identify which control fired the event by just checking
the Name property.
But to my surprise, I've discovered that in the Compact Framework, most/all
controls don't allow me to look up the Name property value. So I'm wondering
what approach(es) others have used to detect which control, amongst a series
of controls, fired an event?
--
Robert W.
Vancouver, BC
www.mwtech.com Tag: _splitpath() Tag: 104426
SyncHandler capabilities
Hi All,
I need you valueable help with a custom tranport protocol.
I understand from the documentation that the messaging application
(Pocket Outlook) calls Get/SetCapability on my transport dll in order
to retrive or set the transpoty features.
My first question is: is there any documentation/code/experience on
what each capability means (in addition to what can be infered from the
name).
A more specific question regards how I can provide my own configuration
form. I understand I should provide the capability PropDialog, but
GetCapability is never called on the PPC2003 emulator.
Any advice or comment is very appreciated.
Thanks in advance.
Stefano
--
Stefano Fornari - Sync4j Project Manager / Funambol CTO
=======================================================
Home:
http://www.sync4j.org
FAQ:
http://sync4j.funambol.com/main.jsp?main=faq
Project Documentation:
http://forge.objectweb.org/docman/index.php?group_id=96
Documentation site:
http://sync4j.funambol.com/main.jsp?main=documentation
List archives:
http://groups.yahoo.com/group/Sync4j (login required)
http://sourceforge.net/mailarchive/forum.php?forum_id=215
Wiki:
http://wiki.objectweb.org/sync4j/
Sync4j - The open source SyncML mobile application platform Tag: _splitpath() Tag: 104423
how can i open a Text - Random file in compact framework?
Hello,...
In vb.net 2003 i use to open a text file with the FILEOPEN COMMAND.
I´ve tried to do the same in VB2005 (mobille aplication) and it didn´t work.
How can i solve this problem?
I just want to open a random file and acess its data.
Isn´t it possible in the VB2005 Mobille projects?
tanks for any help. Tag: _splitpath() Tag: 104422
Win CE - console window
We are doing some tests on Windows CE and a console window (black) appears
before our main window starts.
How to avoid such window ? When linking we specify
/SUBSYSTEM:WINDOWSCE,4.20
Thanks, Tag: _splitpath() Tag: 104420
Control Flex Grid - Mobille, where to find?
Hello,
I am new to visual studio 2005, and i wanna try to make an aplication for
mobille device.
One of the controls i need is the MsFlexgrid (6), and i cannot find nothing
like this in this new language.
Do i have any solution to display free data, in coluns and rows, processed
in run time?
i mean, like a use to do in VB6:
Msflexgrid1.textmatrix(x,y)="luis"
where to find a control like this?
many thanks for any help on this problem... Tag: _splitpath() Tag: 104418
Porting Problem - "This program uses a file that is no longer supp
I have four applications that were supported on 2002, 2003 and 2003 SE. My
install packages all work fine. Three applications run and work (or appear
to work).
The fourth application fails on startup. The message -
"This program uses a file that is no longer supported. Please obtain an
updated version of the program."
Any ideas where to start?
Thanks in advance.
--
Part time hacker Tag: _splitpath() Tag: 104416
Device as USB MASS STORAGE?
Hey,
There's the obvious Card Exporter 2 which seems to work flawlessly on many
devices, allowing them to show up as external logical drives on any computer
over USB. Now, I've heard WM5 should have this functionality built in, and
I've browsed through the registry and found a few interesting keys, but
nothing definitive. I hope one of the experts (or anyone that can help) knows
how to enable such crucial functionality. As a side note, I have the x51v
thus compatibilty with Card Exporter 2 is non existant, and the app won't
even install. Tag: _splitpath() Tag: 104415
activate messaging app in compose mode
is this possible?
1) i have the body of a message (which i create on my own..doesn't matter
where it comes from)
2) activate the Messaging app with the compose view (the same view you see
when you are creating a new SMS)
3) prepopulate the body of the SMS with #1
4) let the user take over from here. Tag: _splitpath() Tag: 104413