|
I need to add animated image to smart application. I use picture box controler for that. But the gif image is not animated. Please help me
ssss
|
|
|
|
|
Answered in a forum you cross posted to. If you can't find it, you posted too often... - Iain.
|
|
|
|
|
I have such problem, I am developing an mobile application by using C# smart device. When I get a string from java webservice I got ????, it should be thai font. How can I solve those problem. I tried creating windows app calling the same service. It works just fine. And I found UriFormatException. What does it mean, and how to solve it? thanks
|
|
|
|
|
Can somebody give me a hint how to use GDI+ in WM5.0 but without CF.
I'm sure that there is opportunity to use GDI+ on WM, because trough CF you could use it.
I saw in Windows folder "gdiplus.dll", but there is no library, no .h file for C++ to use it. Also few of samples in WM 5.0 SDK use "imaging.h" which uses some of the GDI+ declarations.
P.S. My goal is to draw PNGs transparently, which trough GDI+ is peace of cake. If you know other alternative, please share with me!!!
modified on Tuesday, July 8, 2008 2:50 AM
|
|
|
|
|
Hi u can try IImage apis these work perfectly fine
There is imaging sample in windows sdk.i had tried alphableding but that creates some problem so i opt for iimage.
|
|
|
|
|
IImage works fine. Good alternative for GDI+ for reading images (and for alphablending of course)
Thank you very much!!!
P.S. IImage draws a little bit slow ... I wonder is ALPHABLEND function s faster? Wwhat problems you had with it?
|
|
|
|
|
Hi,
Im trying to do video streaming by using the dll provided in the wimo library. The idea is to take snapshots of the video stream,
However, every image taken by wimoNative dll when saved to a file, always gives me a black blank image.
Can someone tell me wats wrong pls?
thanks in advance.
badly need help
==================== Code from wimoNative dll=====
// Used to open the camera. We build the DirectShow graph, instantiate
// and hook up all of the Pins and return the handle to the camera object.
extern "C" __declspec(dllexport) HRESULT OpenCamera(DWORD dwResolutionId, HANDLE* hCamera)
{
CameraInfo* pci = new CameraInfo();
HRESULT hr = S_OK;
// create the Graph and the GraphBuilder.
pci->pGraph.CoCreateInstance(CLSID_FilterGraph);
pci->pCaptureBuilder.CoCreateInstance(CLSID_CaptureGraphBuilder);
// set the graph for which the GraphBuilder is going to work on.
pci->pCaptureBuilder->SetFiltergraph(pci->pGraph);
// get the IMediaControl interface
pci->pGraph.QueryInterface( &pci->pMedia );
// We want a video capture filter
pci->pVideoCaptureFilter.CoCreateInstance( CLSID_VideoCapture );
pci->pVideoCaptureFilter.QueryInterface( &pci->pPropertyBag );
pci->PropBag.Write( L"VCapName", &GetCameraDeviceName());
pci->pPropertyBag->Load( &pci->PropBag, NULL );
// set the filter to capture at the resolution specified.
SetCameraResolution((HANDLE)pci, dwResolutionId);
// add this video capture filter that we just set up to the main graph
hr = pci->pGraph->AddFilter(pci->pVideoCaptureFilter, L"Video Capture Source");
// create the ImageSinkFilter. This is the filter that takes the image from the video
// stream and saves it to a file when the graph is "triggered"
hr = pci->pImageSinkFilter.CoCreateInstance( CLSID_IMGSinkFilter );
hr = pci->pGraph->AddFilter( pci->pImageSinkFilter, L"Still image filter" );
hr = pci->pCaptureBuilder->RenderStream(
&PIN_CATEGORY_STILL,
&MEDIATYPE_Video,
pci->pVideoCaptureFilter,
NULL,
pci->pImageSinkFilter );
hr = pci->pImageSinkFilter.QueryInterface( &pci->pFileSinkFilter );
// create the video control instance so that we can trigger the ImageSink
// to take a snapshot
hr = pci->pVideoCaptureFilter.QueryInterface( &pci->pVideoControl );
hr = pci->pVideoCaptureFilter.QueryInterface( &pci->pUnkCaptureFilter );
hr = pci->pCaptureBuilder->FindPin(
pci->pUnkCaptureFilter,
PINDIR_OUTPUT,
&PIN_CATEGORY_STILL,
&MEDIATYPE_Video,
FALSE,
0,
&pci->pStillPin );
// internal flag noting that the graph is not running at the moment.
pci->bRunning = FALSE;
*hCamera = (HANDLE)pci;
return hr;
}
// TakePicture "triggers" the filter graph, which causes a snapshot to be saved into
// the specified file.
//
// hCamera is the handle to the camera
// szFileName is the filename to which to save the image
extern "C" __declspec(dllexport) HRESULT TakePicture(HANDLE hCamera, LPTSTR szFileName)
{
HRESULT hr = S_OK;
CameraInfo* pci = (CameraInfo*)hCamera;
// if the camera is not already running, let's turn it on.
if (!pci->bRunning)
{
int msgboxID = MessageBox(
NULL,
(LPCWSTR)L"Not Running",
(LPCWSTR)L"Bugger",
MB_ICONWARNING | MB_DEFBUTTON2
);
hr = pci->pMedia->Run();
pci->bRunning = TRUE;
if (!pci->bRunning){
int msgboxID = MessageBox(
NULL,
(LPCWSTR)L"Not Running",
(LPCWSTR)L"Bugger",
MB_ICONWARNING | MB_DEFBUTTON2
);
}
}
// sets the filename to save the image as and then triggers the snapshot
hr = pci->pFileSinkFilter->SetFileName( szFileName, NULL );
CHK( m_pCaptureGraphBuilder->FindPin( pUnkCaptureFilter, PINDIR_OUTPUT, &PIN_CATEGORY_STILL, &MEDIATYPE_Video, FALSE, 0, &pStillPin ));
CHK( m_pVideoCaptureFilter.QueryInterface( &pVideoControl ));
hr = pci->pVideoControl->SetMode( pci->pStillPin, VideoControlFlag_Trigger );
return hr;
}
==============================End============
|
|
|
|
|
Hi,
I want to run my program in an emulator.I am using evc++ 4.0. My cpu is Armv4i.The OS of the device is Windows CE 5.0. The program is working in the device but it didn't work in the emulator (Windos CE 5.0 Emulator).this is my first time to use an emulator so what can I do to run the program? When I try to run the exe file in the emulator which is working in device, it is giving an error like that "test.exe is not a valid windows CE application"
Thanks,
ibrahim
|
|
|
|
|
Ibrahim,
You must have set your CPU of your device. From project->Settings, select WinCE Emulator from drop down or Select StandardSDK from the toolbar option & Rebuild again & then run. But doing so, the program will use standard sdk & compile & not based on Armv4i. For such CPU's got to run via device only, no other alternative.
Hope this helps.
Thanks
Terry
|
|
|
|
|
can someone tell which institute offer quality training in mobile application using vb 2008 in india
|
|
|
|
|
Hiya,
Join National Institute for Dummies, Dummy-Nagar, India
www.institutefordummies.co.in
Hope this helps
|
|
|
|
|
Hi,
I want to create an application with Visual Studio .net 2003 C# and windows Forms to run on a pocket pc, with Windows CE.
That application will communicate with a server (with GPS) and bring a .zip or a .rar file and save on the pocket pc.
My problem is how I can extract the files off that zip file whith VS C#.
It would be very nice if some one could guide me how I can do that.
Regards,
Ana Bela
|
|
|
|
|
Check this:
http://www.google.co.in/search?hl=en&q=zip+files+through+code+%2B+compact+framework&meta=
Regards,
~Arjun
|
|
|
|
|
Hi,
I am a desktop application developer and new to this mobile development world. Actually I want to create a speech to text application for Windows Mobile PocketPC. I have read over internet that SAPI for mobile comes along Plateform builder, but I am not able to find any.
It would be very nice if some one could guide me how and where to start.
Regards,
Nishant
|
|
|
|
|
Hi ,
can any one help in connecting WM 5.0 mobile device with Access point with hidden SSID ,Acess point doesnt recognize the device at all.. If enable SSID , i am able to connect ... i know i need to change some registry setting but dont know which one ... i am also able to connect my laptop with hidden SSID so access point is working fine ...
RST
"Life is like a box of chocolates... You never know what You Gonna get "
|
|
|
|
|
just make a new profile with SSID name entered? It should work.
|
|
|
|
|
where can i get mobile programming traning using vb 2008 in india
|
|
|
|
|
Check this:
http://www.google.co.in/search?hl=en&q=mobile+training+%2B+india&meta=
Regards,
~Arjun
|
|
|
|
|
Hiya,
As suggested in other thread, also consider joining National Institute for Dummies, Dummy-Nagar, India
www.institutefordummies.co.in
Hope this helps
|
|
|
|
|
i need any unique number or string or ....
to Distinguishes the mobile between all other mobiles
cause i have a program(midlet) and i should know any uniqe thing to register the user via it
it's soooooo important , hope you answer quickly ..... thanks
|
|
|
|
|
|
I want turn on my smartphone's flashlight by programming...
help...thx
|
|
|
|
|
I don't think that flashlight is a standard device for a smartphone.
The implication is that there is no "function" in WM5.0 SDK.
The only possible solution is to turn toward the manufacturer and ask for appropriate SDK (or "function").
P.S. Recently I had to do printing trough mobile and found that printing is not part of WM5.0. I took SDK from the manufacturer and it worked.
|
|
|
|
|
thx, i think i should give up.
|
|
|
|
|
Hi
I am working on the multi language support for a mobile application targeted for WM5.0 and WM6.0 devices. The localization resources dlls work good when I test application in debugging mode, but it poses problems when I deploy using the cab files.
I have included the localization resources for the application in the cab setup project but it seems that when the localization resources dlls get corrupted when deployed through the cab set up project, because the size of the dlls is not the same when deployed on the device in debugging mode and through cab installer.
Kindly tell if I am missing something.
Thanks in Advance
|
|
|
|