|
Hi All,
I was just trying to write a filter that would be able to decode and playback an H263 frame. I am able to succefully play the video however the FPS is coming down than what actually the video is suppose to be playing in.(Actual FPS of the clips is 30 and i am able to hit a max of 24fps.).
Can anyone let me know as to wat are the factors that need to be kept in mind to get the right FPS.
Regards
|
|
|
|
|
I want to draw arc in a deviceApplication project (Pocket pc 2003) but there is no DrawArc method!!! any ideas.
|
|
|
|
|
U can actually try out searchingfor something called GraphApp. this is an open source and is a platform independent UI kit. I guess they usesome algorithms to draw an arc and the only thing that they use in windows is fillrect.
Good luk
burrough
|
|
|
|
|
Drawing Arcs is pretty much a "no go" in the Compact Framework using GDI+. You can accomplish Arc's using GDI directly or you can look at XRossOne (on the Microsoft site) or GAPI (also on Microsoft). Both are basically wrappers around GDI. You can also look at DirectX on Mobile. GapiDraw is another option (commercial product - never used it...).
This of course adds dependencies to your application.
Another option is to use DrawEllipse and then 'Erase' those areas you dont want to display by repainting the background. This is a bit of a hack though.
I eventually decided that I would Chamfer the corners of my images and the results are reasonable but admittedly they are not arcs.
If you find a decent solution please respond at let me know.
Regards,
David
-- modified at 13:23 Wednesday 28th February, 2007
|
|
|
|
|
i m making a web site using asp.net v1.1 n its 90% complete but the problem is "I don't have any idea how to transfer Video from the WEb to Mobile. i.e., i have to make a mobile user enable to view a video on mobile from the web." Please help me if any buddy can. Do it as soon as anyone cann.
|
|
|
|
|
How can i add icon on pocket pc task bar using MFC application
Hi, i am pariksheet
|
|
|
|
|
Do you mean the bar at the top of the screen, or at the bottom?
At the top of the screen, use SHNotificationAdd . At the bottom of the Today screen (in the bottom bar on Windows Mobile 2003 and earlier, just above it on Windows Mobile 5.0 and later), use the same API as you would on desktop Windows, Shell_NotifyIcon .
If you want to overpaint the bottom (menu) bar on all applications, you'll need to create a floating popup window with Always On Top (WS_EX_TOPMOST ) set. Not recommended on Windows Mobile 5.0 as some applications will be using the new soft-button menus which occupy the whole bottom bar.
|
|
|
|
|
Does eVC++ support Automation?
|
|
|
|
|
If there is support for it, it is not immediately obvious in a web search. I did, however, notice that there is a namespace within the Window Mobile 5 SDK called Microsoft.WindowsMobile.PocketOutlook which looks like it allows you to do some Pocket Outlook related functions. Given, this is managed code and you wouldn't be able to work with it in eVC++ 4.2, however, if Outlook is what you want to work with, there appears to be a way to do it. If Word or Excel are what you want, though, you may be out of luck.
-Matt
------------------------------------------
The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
|
|
|
|
|
Hi,
I try to connect my PDA with a bluetooth device through a virtual COM port. I don't want a simple communication between the devices, my main goal is to register the COM7 port into windows bluetooth connection (under windows, into the menu bluetooth...).
My PDA is a Dell axim X51 and i'm with windows 2005 (the bt stack is the microsoft one).
I use InTheHand library (www.32feet.net) for the main part and the c++ function registerDevice. IntheHand juste help me to simplify the first part of the code (the research of bluetooth devices) and my problem is that registerDevice throw me a CANNOT_OPEN_FILES error.
If a do a manual pairing in windows (through bluetooth menu, i manually create a new output), then i delete it and finally i use my code (registerDevice) it works. A virtual COM7 port is created again and we can communicate presistently.
If the PDA is empty, registerDevice throw me error that he cannot open device.
I don't understand why.
In all the case, with inTheHand i can connect my client to the serialPort but it's not reallly my goal.
here is some code to help you understand
BluetoothDeviceInfo[] infos = client.DiscoverDevices(10, false, false, true);
-> here i find the different bluetooth devices around with InTheHand classes. I use it everytime and it works, no problem here
bool paired = InTheHand.Net.Bluetooth.BluetoothSecurity.PairRequest(deviceAddress, "0000");
BluetoothEndPoint serial = new InTheHand.Net.BluetoothEndPoint(deviceAddress, InTheHand.Net.Bluetooth.BluetoothService.SerialPort);
client.Connect(serial);
-> here I connect the client to the serialPort with InTheHand functions, ok, but when i quit my application the COM7 port is not registered in my bluetooth windows connection. This also works fine but it's not my main goal, i want to register persistently my COM7 port.
so i use here, the C++ function registerDevice to register my COM7 port in my bluetooth windows connection. But as i said, it works only if a manual connection has been set up before. you can find my source here: http://msdn2.microsoft.com/en-us/library/ms881004.aspx
The following code come from the msdn link, it's in a c++ dll that i use in my C# code.
PORTEMUPortParams pp;
memset(&pp, 0, sizeof(pp));
pp.flocal = TRUE;
pp.channel = 1 & 0xff;
HANDLE h = RegisterDevice(L"COM", 7, L"btd.dll", (DWORD)&pp);
If someone can help me, thanks in advance !
--
Nicolas Dujacquier
|
|
|
|
|
hi ...
i need a good ebook for starting mobile programming in .net
thank you ...
|
|
|
|
|
You can check out:
http://www.paulyao.com/cfbook/index.asp[^]
It is Paul Yao's book in web format. It is highly unlikely to be up to date as it was his editing forum for the book but most of the content is accurate. I'd recommend that you actually buy the book though.
David
|
|
|
|
|
I need to verify that the server i am communicating with is the right one based on the certificate presented. I am using PPC 2003. I use HTTPS to request data to a web server through a web service method. any leads on how to read certificate information from the server will be appreciated.
|
|
|
|
|
OK, so I'm not a programming expert obviously, thats why I need help.
I have a ready to go forestry application for pocket PC but it lacks help support.
What I want to do is: when a user pushes a button (actually a menu entry) the application opens up browser (default: Internet Explorer for PPC) with the HTML file i have specified for that form or tab.
Here is the thing, I don't know how to start a different application (IE in this case) from the current running one (my own).
Did a search over the net but I never found a topic concerning compact framework.
The application is done using VB.net and VS 2003. It's developed for compact framework 1.1 (yes I know that there is a VS2005 as well as a CF 2.0 but I need to keep this one because of the existing PocketPCs and Windows Mobile 2003SE version 4.21.1088).
So if there is anyone there willing to help me out with the simplest solution he or she knows, you have my utmost gratitude.
---------------
Peach is somethin' like an apple, with a carpet allover though.
|
|
|
|
|
The OpenNETCF Smart Device Framework 1.4[^] contains an implementation of the System.Diagnostics.Process class, which is missing from Compact Framework 1.0. It's called (unsurprisingly) OpenNETCF.Diagnostics.Process .
.NET Compact Framework 2.0 does work on Windows Mobile 2003. For other devices based on CE 4.2, you need CF 2.0 SP1. CF 2.0 includes System.Diagnostics.Process .
(Oh, and you want Process.Start .)
|
|
|
|
|
Would anybody advise on the following code why it did run correctly in Windows XP but did not run correctly in Windows Mobile ?
I am writing a C# program on Window Mobile 5.0 device to parse the content of a XML file but exception raised when the program started.
The content of the XML file is:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE MessageCenter [
<!ENTITY message-center-connection SYSTEM
"MessageCenterConnection.xml"?>
]?>
<MessageCenter>
&message-center-connection;
<other-settings>
.........
</other-settings>
</MessageCenter>
The contain of the MessageCenterConnection.xml is
<connection>
<host>localhost</host>
<port>3550</port>
</connection>
The C# code used to parse the XML is:
protected XmlDocument xmlDoc = null;
xmlDoc = new XmlDocument();
try
{
XmlTextReader xmlTextReader = new XmlTextReader(xmlConfig);
xmlTextReader.EntityHandling = EntityHandling.ExpandEntities;
xmlDoc.Load(xmlTextReader);
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
}
when the program was run under Windows Mobile, the following message was
displayed:
System.NotSupportedException: NotSupportedException
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode()
at System.Xml.XmlLoader.LoadDocSequence()
at System.Xml.XmlLoader.Load()
at System.Xml.XmlDocument.Load()
at Symbol.Application.Framework.Configuration.ConfigTemplate.LoadConfigSettings()
at Symbol.MessageCenter.ConfigMessageCenter.ReadConfigFromXML()
at Symbol.MessageCenter.ConfigMessageCenter..ctor()
at Symbol.MessageCenter.Configuration..ctor()
at Symbol.MessageCenter.MessageCenter..ctor()
at Symbol.MessageCenter.Program.Main()
If I removed the
<!DOCTYPE MessageCenter [
<!ENTITY message-center-connection SYSTEM
"MessageCenterConnection.xml"?>
]?> and
&message-center-connection;
from the XML, the program run normally also in WM5.0.
I placed the program file and the XML in the following folder structure:
|--Application
|--Configuration
|--MessageCenter.xml
|--MessageCenterConnection.xml
|--MessageCenter.exe
|
|
|
|
|
The .NET Compact Framework is more limited than the full .NET Framework. It has to be, to fit in the device's limited storage memory. Compact Framework 1.0 was around 2.5MB versus .NET 1.1's 23MB (and CF 1.0's installer was not compressed, while the desktop framework was); CF 2.0 is larger, at 5.4MB (uncompressed) while .NET 2.0 is 22MB.
(Compact Framework is also available as a component to include in the device's ROM but this is also quite limited.)
I'm afraid it looks like Compact Framework simply doesn't support external entities (which is why you got a NotSupportedException ). You'll have to come up with a different way to handle this.
|
|
|
|
|
Hi Chris
Thanks for your advice. This is also what I wondered.
This is not the first time I hit such situation. Some of the .NET classes
,which are stated be supported under CF, turned out cannot be successfully
implemented under the WinCE device. I thought that MS should making
her documents clearer on the limitation.
Regards
Antony
|
|
|
|
|
Hi,
is it possible to develop in a C# own keyboard for Pocket PC with Windows Mobile 5.0? If yes, could anyone give me advice?
Marek
|
|
|
|
|
Keyboards are COM components and therefore have to be developed in C++. I have done it but it's not particularly easy. See the DvorakSip sample in C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\ATL\Dvoraksip and Doug Boling's book "Programming Windows CE .NET 3rd Edition" (I don't have this edition but the previous 2nd edition included some information about Input Methods, as they're known).
|
|
|
|
|
|
Hi to all
I am new to this Pocket PC environment. I need to create a stock ticker on Pocketpc which displays the stock values on that ticker. What are the things that I need to know to create a ticker using WinCE or atleast using .Net framework. This is very urgent.
Thanks
Rani.
|
|
|
|
|
You would do it almost exactly the same way you would with a normal (desktop) stock ticker in .NET. Your task doesn't require any special knowledge for PPC development since you're planning to use .NET. I would look around the web for ticker projects people have done using the regular .NET framework (as opposed to the .NET Compact Framework). It will almost certainly work identically or close.
You will probably be using the HttpWebRequest object or something related (though the WebClient class is not available on the compact framework). You can see an example of grabbing the HTML content from a Uri here: http://msdn2.microsoft.com/en-us/library/system.net.httpwebrequest.getresponse(VS.80).aspx[^]
-Matt
------------------------------------------
The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
|
|
|
|
|
Hi,
I am doing a Mobile application in J2ME. I want to download a picture from a servlet to the Mobile application.
Please help me to do this part. How to provide the link to the servlet in the code.
Also, Please give me information on whether NetBeans IDE have provision to access the Web. If so what are the setting options.
Regards and Thanks..
Vichitra M
-- modified at 2:56 Tuesday 13th February, 2007
|
|
|
|
|
1. envrionment PB4.2 && CEPC && eboot via enthernet
2. trouble shoot
I built an OS based on tiny kernel, and i couldn't enter "CEPC". so I add display support and network driver(my hardware is REALTEK8139). and build it again. But it is still stop at "*TCBTimeout: NOT Restarting TCBTimer", I type gi proc, and it show that there are 5 processes running.
3. my purpose
What compenonts at least should I add to enter the CEPC(GUI)?
One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...
|
|
|
|