How to find SmartPhone Camera capture Frame Rate using Windows Mobile 5.0 GetActualFrameRate returns frame rate for the capture filter. Codec may be dropping some of the frames (mux is not likely to), but that occurs after the frames are sent up the graph by the capture filter Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Telnet and FTP servers not working in CE6 I've configured my CE6 device to run the telnet and ftp servers, and confirmed that my reginit.ini includes: [HKEY_LOCAL_MACHINE\Comm\TELNETD] "IsEnabled"=dword:1 [HKEY_LOCAL_MACHINE\Comm\FTPD] "IsEnabled"=dword:1 I also see these values present in the registry in VS's remote registry editor for the device. On the CE device, running 'service list' shows that both services are running. The other registry settings are left unchanged. Pinging the device works fine, but telneting and ftping to it does not. I've tried modifying the registry settings on the fly (and, redundantly -according to the docs) running services.exe to refresh the settings of the 2 daemons. Analyzing the network traffic between the device and the host shows that the device is simply not responding on either the telnet, or the ftp port. Does anyone have any suggestions What's the best way to debug this problem Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
How to catch serial port exception? Yes, it's ok. I can use my own xml file. But I don't know what to do in order to change the app behaviour.
The only API I found that seems to be useful is not implemented in the CF. Did someone know an other one
Thanks Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
How can RAPI detect SmartPhone vs PocketPC Hi,
How can the appl (residing on smart device) tells itself it is running on Smartphone, PocketPC, PPC Phone Edition And to be done from .NET CF 2 managed code Thanks. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
two state icon i edited the .lnk file from the start menu it contains the code as
40#"\Program Files\Backlight\Backlight.exe"
I have put the string
# Backlight .exe : Backlight
but it has no effect
can you please tell where exactly i have to change the file
is there any way to change it through .inf file
thanks
vishal Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Why won't my application run? I have created an application for a pocket pc using Visual Studio 2005 version 8. It works fine on the emulator, but when I create a cab file and use that to install on my pocket pc, it self extracts, and places an icon in the programs. When I click on it nothing happens.
I suspect this might be something to do with the compact .net framework. Should that automatically load on to the device, or do I have to manually load it before the program will run Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
mobile web form & sql data source Hi, Just a quick question. Can you use the sql data source with a mobile web form. This code does not give me any errors but nothing gets displayed ************************* <mobile:Form id="Form1" runat="server"> <mobile:List ID="lst" runat="server" DataSource="<%# SqlDataSource1 %>" > </mobile:List> </mobile:Form> <asp:sqldatasource id="SqlDataSource1" runat="server" connectionstring="<%$ ConnectionStrings:mobile_projectConnectionString5 %>" selectcommand="SELECT [username], [password] FROM [members]"></asp:sqldatasource> ************************* Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Changing clock settings programmatically See this posting for details of how to flush timezone changes through so your program seees the new settings:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2401821&SiteID=1
John Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Downloading and searching a web page... Is there an error being reported You could try splitting up the if to see where it's failing: var xmlReq; function getURL(url) { xmlReq = new XMLHttpRequest(); xmlReq.open("GET", url); xmlReq.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT"); xmlReq.onreadystatechange = retrievedData; xmlReq.send(null); } function retrievedData() { if (xmlReq.readyState < 4) return; if (xmlReq.status == 200) { var urlData = xmlReq.responseText; //Do something with urlData } } Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Help! bluetooth audio connection under WinXP C# hi, everybody Now I'm developing a blutooth audio related project which requests an audio connection from PC to a bluetooth device. Up to now, I have tried some solutions: 1. Bluesoleil stack API in C# (Bluetooth FrameworkX). But it doesn't alow to connect the dongle and the bluetooth device at the same time with USB cables, that is necessary in our project. 2. Widcomm stack API in C# (Bluetools). But it doesn't support audio functions. 3. Widcomm stack API in C++(downloaded from Broadcom company). But when I compile it in an empty Winform project, there are many errors. Some of them are types defination errors which can be corrected. There still some other strange errrors about which I have no idea. Who can help me out I have been stuck for long time. Thanks a lot! Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
XML CONVERT TOO SLOW Yeah, its from network, but i received as string(XML) from my middleware. I receive from my network and translate from unicode to string, and then i pass to dataset; My smart device application do not acces the database directly; We discovered that some components of .net were getting slow, and then we start to usign then less, and we got some best performance, but the exactly convert xml from string, it is like getting stuck for some time. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Problem initializing RAPI Hi Van2007, Can you please mention exact errors that you are facing Are you using VS 2005 Regards, Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Is it legal? Hi Le Sage,
I checked that and it goes against the SDK's EULA. We're baking the WM 6 standalone emulator images as I write this post and they will be availalbe in a timefrmae consistent with many people's definition of "soon" :-)
Let me know if you have any questions.
Thanks!
Zandona (WM SDK PM) Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Debugging without ActiveSync -unable to get Visual Studio 2005 to cooperate Thank you Siva and Anand.
I am able to ping the device, telnet to it, etc. But, as you both describe
1) conmanclient2.exe and cmaccept.exe exit immediately -- they do not remain running. I'd not recognized this problem earlier.
2) Running a packet sniffer on the desktop, I can see that the packets being sent from the desktop to port 5655 are not being accepted. (This seems consistent with the above -- I suppose that conmanclient2 is supposed to listen on that port, but is not running.)
The question becomes, then, why are they not running The versions of the binaries do *seem* to be correct, as far as I can tell. I took them from the CoreCon path specified in the instructions linked to above -- they are dated 9/23/2005, which matches the dates of my other VS 2005 install files (I've never had a VS 2005 beta on this machine). The only other conmanclient2.exe's on my machine are elsewhere in my Wince500, and are dated much earlier (from 2004). And I took them from the ArmV4i target directory, which matches my target device. (I also generally see an CE error message if I run a binary which is not built for the correct processor.)
My conclusion, then, is that there is some component or setting they require that is not present in my OS image. I encountered a post or two regarding dependencies for TCP/IP debugging, and had included everything they listed (I'll look them up again to double check). Does anyone know what component(s) I might be missing (Note that I have been able to connect with VS 2003, so it seems like it would have to be some new requirement for the VS 2005 conmanclient2 and cmaccept.)
Thanks,
Adam
Another note: I have the bootstrap files built directly into the OS image. I don't expect this is a problem, but I have also tested it by copying them over cesh with a kitl based image, and it made no apparent difference. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
out of storage space I would like to install CF .NET v2.0 on my iPAQ. Under storage i have 50.4 total with 44.47 in use. That leaves 5.93mb free. When I try to install CF it wants 5.4mb. The install runs almost to completion then aborts with out of space (error code 3).
How can I free up perhaps .5mb All my applications are installed in the Programs which has 30mb free. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
File Transfer using FTP Hi,
I am using OpenNETCF.Net.Ftp for the File Transfer using FTP. While trying by Emulator, it returns 'A socket operation encountered a ded network' exception.
When I tried that in the device, 'No such host is known' exception occurs. I have given the correct host address, username and password. I have given port number as 21. Is there any problem in the port number
What and Where may be the problem
Thanks. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
No image display in the WebBrowser Hi Experts,
I am using the WebBrowser control in my application,in which i want to show the image but it's now showing the image.
I am using .net compact framework 2.0 SP 2 for my application.
The source code that i m using as follows:
private void Form1_Load( object sender, EventArgs e)
{
string path = string .Empty;
path = System.IO. Path .GetDirectoryName(System.Reflection. Assembly .GetExecutingAssembly().GetName().CodeBase)+" \\ WindowsLiveMessengersmall.jpg ";
webBrowser1.DocumentText = string .Format( "hi.......<img src='" +path+ "'></img>" );
}
It shows text proper and empty image.
Any suggestion.........
Thanx
----------------------
Neha Goyal Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Unable to retrive IMessage from Contents-Table of Inbox Hi, i am getting E_INVALIDARG at line 17. Is there any thing going wrong when i run this code it shows "bin.cb" equals to a big number and "bin.lpb" is a a pointer to zero. (using MAPI & WM 5.0) please help me in this regard... thanks. ------------------------------------------------------------------------------------------------------------------
IMAPITable* pTable1; enum {ePR_SUBJECT, ePR_ENTRYID, NUM_COLS}; LPSRowSet psrs1 = NULL; ULONG ulObjType; LPSRowSet pRows = NULL; HRESULT hr = pfldrInbox->GetContentsTable(MAPI_DEFERRED_ERRORS, &pTable1); while (SUCCEEDED(pTable1->QueryRows( 1, 0, &pRows)) && pRows->cRows > 0) { // Get the first item in the Inbox and get its entry ID. // IMessage* lpMessage; LPMESSAGE lpMessage; HRESULT hRes = pStore->OpenEntry(pRows->aRow[0].lpProps[ePR_ENTRYID].Value.bin.cb, (LPENTRYID)pRows->aRow[0].lpProps[ePR_ENTRYID].Value.bin.lpb, NULL, MAPI_BEST_ACCESS, &ulObjType, (LPUNKNOWN *)&lpMessage); // -----> Error LINE No 17 if (hRes != S_OK) break; << getting hRes == E_INVALIDARG char* to = NULL, *cc = NULL, *bcc = NULL; hr = GetRecipients(lpMessage, &to, &cc, &bcc); } Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Best practice PC-Webcam -> Windows Mobile? Hello, has anyone an Idea how to get the Output of an PC connected Webcam to my Windowsmobile based Device(per WiFi in my LAN) Microsoft Portrait makes it really good, but how can I code something like this in .Net Is it possible to send a Stream Or is it better to take snapshots at the PC and send them to the PocketPC I have really no idea how to make it with good performance. Thanks for any help twickl Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Persistent Storage Using WM 5.0 I have a program that, upon startup, needs to check for an Id that I'd like to place in either an xml file (located in a persistent folder) or the device registry. I need the Id to be located in some sort of persistent memory location. Now, I know WM 5.0 uses Flash Memory now but the problem is that even when I place the Id in the registry it is gone after a hard reset. I need to find somewhere to place this Id that will persist through a hard reset. Thanks in advance for any help. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Gallery submission failure Hi ljames28.
Yes, we recently did a small update requiring this going forward so that people that are downloading items can get a verified name if available (and valid).
We looked at all content on the site and it should affect a small number of publishers.
If you (or anyone else) doesn't want to get a full certificate you can simply re-submit the item as unsigned and it will retain the same download count, ratings and reviews.
We are also planning on retro-actively rejecting items that have invalid signatures soon.
Thanks. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Symbol Barcode functionality This does not sound at all like a .NETCF issue. You will need to contact Symbol directly. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Problem regarding Memory hi to all
i m using VS 2003. i m developing in C# in CF 1.0. i have a i-mate Pocket PC 2003. my application fine on windows mobile 5.0 and else. when i run it in i-mate Pocket PC 2003. when i open some form then it gives me following exception
An unexpected error has occured in Messenger.exe
for detail informaton
Application::Run+0xf
frmStart::Main+0xa
any help would be appriciatable
regards
hassan mushtaq Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
APIs for the 2700G Acceleration? Hi KW Tong
On option to check isIf the OS contains the files ddraw.dll and ddcore.dll - you'll have DirectDraw support included.
There are also two tools called dxview (DirectX capabilities viewer) and ddcaps (DirectDraw capabilities viewer).
These Tools are usually not included in an OS image - they're only abailable in the release directory on the development workstations. To build these tools: create and build an OS design with DirectX support.
The 2700G drivers should be located in the directories under <BSP-ROOT>\SRC\DRIVERS\Marathon
For Video decoding: I'd consider using DirectShow.
There used to be an Intel tool called Graphics Performance Primitives (GPP) and the 'Intel Performance Primitives' (IPP) providing base services for these kind of applications.
To get them, you'd have to contact Marvell ( http://www.marvell.com/contact/index.jsp )
Cheers
Michael Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Webservice: unknown SocketException Hello,
we have enabled logging for the access point. But in the syslog there is nothing that looks like an error. So, is that "unknown error" really a network issue
filii_neo Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Windows Mobile CreateImageSurface error Yeah, your right. I changed the D3DMFMT_UNKNOWN flag and it then likes it. Thanks! Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Astoria Client Library Problems - System version mismatch When debugging my application I get the following runtime error:
Could not load file or assembly 'System, Version=2.1.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
The version of System I have is 2.0.0.0.
I'm assuming I've messed up an install or not downloaded something and I'm hoping others have had the same problems and succssfully got it working.
I'm on Vista Business with Visual Studio 2008 Beta 2. My code is as follows (don't laugh) and breaks on the foreach.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects.DataClasses;
using Microsoft.Astoria.Client;
using DataWebService;
using OrderModel;
namespace AstoriaClientConsoleApplication
{
class Program
{
static void Main( string [] args)
{
WebDataContext ctx = new WebDataContext ( "http://localhost:49177/OrderWebService.svc" );
WebDataQuery < SOPOrderReturn > Orders = ctx.CreateQuery< SOPOrderReturn >( "/SOPOrderReturn" );
foreach ( SOPOrderReturn o in Orders)
{
Console .WriteLine(o.DocumentNo);
}
}
}
} Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
"Gran and Drag" and "Finger Flicks" on CF? How can I emulate such effects on CF Especially for "List" controls such as DataGrid, ListView, ListBox and even "long" forms I would be nice to have such effects in CF. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Help "Your gadget doesn't seem to work in Spaces after it's been installed" Hi all, I get the error "Your gadget doesn't seem to work in Spaces after it's been installed" back from Microsoft when I submit my gadget. As i'm a total n00b to gadgets can someone please tell me what that means and what to do to fix it. I've uploaded the gadger here for you to see Thanks Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
Type is not defined http://msdn2.microsoft.com/en-us/library/system.security.cryptography.passwordderivebytes.aspx
Version Information
.NET Framework Supported in: 3.0, 2.0, 1.1, 1.0
Not supported in NETCF it would appear. Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
InvalidOperationException after calling webservice Hi,
after calling a method of a webservice proxy, the following exception occured.
System.InvalidOperationException: InvalidOperationException at System.Array.BinarySearch() at System.Xml.Serialization.QNameContainer.doLookup() at System.Xml.Serialization.QNameContainer.get_Item() at System.Xml.Serialization.MemberValueCollection.doLookup() at System.Xml.Serialization.XmlSerializationReader.doLookup() at System.Xml.Serialization.XmlSerializationReader.DeserializeElementMember() at System.Xml.Serialization.XmlSerializationReader.deserializeMembers() at System.Xml.Serialization.XmlSerializationReader.DeserializeComplexElement() at System.Xml.Serialization.XmlSerializationReader.deserializeElement() at System.Xml.Serialization.XmlSerializationReader.deserializeLiteralArray() at System.Xml.Serialization.XmlSerializationReader.DeserializeArrayLikeElement() at System.Xml.Serialization.XmlSerializationReader.deserializeElement() at System.Xml.Serialization.XmlSerializationReader.DeserializeElementMember() at System.Xml.Serialization.XmlSerializationReader.deserializeMembers() at System.Xml.Serialization.XmlSerializationReader.DeserializeComplexElement() at System.Xml.Serialization.XmlSerializationReader.deserializeElement() at System.Xml.Serialization.XmlSerializationReader.DeserializeElementMember() at System.Xml.Serialization.XmlSerializationReader.deserializeMembers() at System.Xml.Serialization.XmlSerializationReader.DeserializeComplexElement() at System.Xml.Serialization.XmlSerializationReader.deserializeElement() at System.Xml.Serialization.XmlSerializationReader.DeserializeElementMember() at System.Xml.Serialization.XmlSerializationReader.deserializeMembers() at System.Web.Services.Protocols.SoapMessageParser.execute() at System.Web.Services.Protocols.SoapMessageSerializer.Deserialize() at System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke()
Why has this exception been thrown
thx
filii Tag: Sidebar Gadget Development Sidebar folder Smart Device Development
asasasas1234
Some gadgets expect you to place files in the gadgets folder. For example, the Vista Swirl Gadget wants you to save pictures there. But where is this folder