[Q] Windows Mobile professional apps on standard - Windows Mobile Software Development

Why some apps which are designed for windows mobile professional doesn't work on windows mobile standard?
It shows error: an unexpected error has occurred in ... . In details: at Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar) at ... .
Is it possible to make them work on it?

mat1371 said:
Why some apps which are designed for windows mobile professional doesn't work on windows mobile standard?
Click to expand...
Click to collapse
The error is probably being thrown because some object is not supported under the Standard SDK.
There are several .Net Compact Framework Windows Forms components that cannot be used on a 'Standard' smart phone.
A button to name but one. You cannot click it as there is no touch screen. An alternative method would be to use the menu bar instead so the user can just press the relative real menu button under it.
Other items are Splitters, Tab Controls, UpDown Numeric Spinners, Calendars, Listboxes etc. etc.
It is possible to write a program that can run on either Professional or Standard, and behave accordingly, but it is a lot more work, and must be decided at design time.
It cannot be 'made' to work, short of obtaining the source code and re-engineering it to run under the Standard SDK.

Related

Computer Algebra System (cas) on smartphone

Hello,
I' m looking for a mathimatical software for my HTC S620. It's pretty hard to find something for wm5 smartphone edition.
I could't install qdCAS, because it's for ppc the same as TI Emulator.
I've also found some j2me apps jasymca (compatibel to maxima) and FnattLabME (compatbile to Matlab). But I could not get it to run. there is just a blanc screen. other java apps are working just fine, so my java engine isn't messed up. Here's the homepage with the documentation
I tried also MobileMath, but I cant set up the keys properly.
Any help or hint would be great
Hi again,
I've found two programs that are native for windows mobile ppc.
qdcas - a frontend for the well known xcas. the desktop version can also execute texas instruments ti-98 and ti-200 voyage programs, may be the ppc version too. an other (better) frontend for xcas is "math table", but it's not for free. xcas is working on wm5 smartphone (S620), But it has no gui. the input/output works through text files. very unconvinient on smartphone. i believe qdcas is open source.
YacasCE - PPC port from yacas. works whith gnuplotCE and you can switch to xcas as the backend. the gui is better than qdcas, because you can point on the function instead typing the commands. further more it has a console with pocketconsole like MSDOS. it doesn't start on s620 at all. the developer doesnt have time for making a sp editon, but he would give the source code for developing it. unfortunatly I don't have programming skills in c++, eVC, visual studio 2005.
can some one port one of these apps to wm5 sp, please?
regards Joeboy

Installing 3rd Party Apps on Touch Pro 2?

Hello,
This may be a rather obvious question, but I would like to understand if I can install 3rd party Windows Mobile apps on the Touch Pro 2?
I would like to install some 'classic' Windows Mobile applications like an SSH client, a file manager,, basically the Windows Mobile applications which ran on an HP iPaq. Does an application have to "signed"?
Thanks
mail_e36 said:
I would like to install some 'classic' Windows Mobile applications like an SSH client, a file manager,, basically the Windows Mobile applications which ran on an HP iPaq. Does an application have to "signed"?
Click to expand...
Click to collapse
All old applications will still work fine (except the applications have problems handling the new screen resolution (which is unlikely)). That is what i love windows mobile for. Applications do not need to be signed in order to run on the TP2.
Thanks for the info
mastermarv said:
All old applications will still work fine (except the applications have problems handling the new screen resolution (which is unlikely)). That is what i love windows mobile for. Applications do not need to be signed in order to run on the TP2.
Click to expand...
Click to collapse

Language of choice

Just curious..What is everyone's programming language of choice when developing apps for WinMo?
Ive been working (lightly) on a VB program, which is ok, but i feel it isnt as efficient as others might be, and i know efficiency and size is a big issue on mobile devices (obviously)
Depends:
A simple program or one that can be done just using the stuff in the standard system DLLs then I will go for the pain of coding it in WIN32 C++. The resulting application runs like the wind, and can be distributed as a single executable file, no CAB, no installation projects, etc etc.
If I need any web or fancy data functionality, then it is .NET, because it is not worth the hassle of getting all this to work from levels lower down.
Having had lots of previous coding experience in C/C++ then C# is the natural choice, but as far as .NET is concerned, the actual language you code in is irrelevant. It compiles down to IL anyway and the CPU 'JIT' compiles this into its own code before it runs. Hence the performance hit when the program starts and runs.
In .NET, in essence, all you are doing anyway, is creating .NET objects, setting their properties and calling their methods, in order to get them to do what your application requires. A simplistic view, I know, but that's is all there is to it!
The language that you use to do this doesn't really matter, it is just personal preference.
I guess i assumed one language had more efficantcy than another. Like im working with VB atm, and i know it simplifies alot of things to make it easier to use, not sure if it includes all that extra code in the final build or not tho.
I would like to get more pratice with C++ and i have yet to use C# so dono whats different about that.
I would like to eventually start making programs that utilize the .net code and get my programs talking though data on the phone, but im not that advanced yet.
currently im still trying to wrap my head about making a program with a local database. The program im working on currently doesn't store any data, but i would like to to. I would also like (if i get ambitious) to have that program possibly talk to a PC (parent) program and sync with it. But that i think is a ways off.
Also, do the Mobile SDK's look different? The program im working on i started in the 5 SDK, but (obviously) doesnt have Finger friendly IU tools. I haven't looked at the 6/6.5 SDK yet (as id have to start over again i think). Does it have more finger friendly options?
In .NET CF, the finger-friendlinnes and kinetic scrolling and this all isn't available for all controls. Most of them (the classic ones) are, but if you try using scrolling for whole form, it won't work, only scrollbar will. (Probably with some playing with physicsengine and marshalling you might be able to get it working here, too).
In C++, there are numerous examples of this gestures etc directly in SDK, also many other stuff is there.
See, the main difference here is that .NET is fully equipped with stuff to get everything done fast, easy way.
In C++, you must first make this way yourself .
i am using the .net 3.5 framework tho.. Unless you mean C++ vs C#. I thought .net was an expansion on a current language, and not a language on it self (meaning i cant choose to program in .net, its an option to VB, C++ or C#)
I did toy with it, and it appears as tho your right, the forums are the same. IE drop down/combo boxes are not finger friendly. Guess id have to turn it to a button and another form with large radio button options.
C# vs C++ main difference is that C++ is compiled to native code right on first time, which makes it very fast. C# is compiled to MSIL, which is NOT native code yet. When you run c# app, the code is being Just-In-Time (JIT) compiled to native code, which makes it "longer" to load and "slower" to run (usually that makes about 20% of speeddown on classic PCs with very optimalized C++ same code - it probably already is lower, this is a bit older result of testing).
C# has those nice features that it can't get out of its memory etc, the JIT is almost unhackable, so you can't write viruses in it etc.
As far as the SDKs are concerned, there are slight differences from one version to the next but they can be quite difficult to spot.
They can become issues, when code written to run on one platform is run on one several generations away. I have a program that was written in C++ WM2003. Works under all versions of WM until 6.5.3, when the About Dialog box fails to close if the (X) button is pressed. Turns out another value has to be added to the dialogbox flags field to get it to behave properly.
This has been a feature of SDK's from WM 5.0 onwards, but the WM2003 SDK is unaware of it. You have to add it manually to the shell code created by the SDK,
Progress I suppose. The full article is here:
http://forum.xda-developers.com/showthread.php?t=635063
Treo 700xw Verizon Spanish language
Hello fellow .... I'm new to this forum
I have a Treo 700wx and I live in Mexico ...
My Treo is Verizon's company and is currently with the version 1.22 ...
My problem is that it is in English and I need to change the language in Spanish ...
Thank you for your support both the need
Greetings
stephj said:
As far as the SDKs are concerned, there are slight differences from one version to the next but they can be quite difficult to spot.
They can become issues, when code written to run on one platform is run on one several generations away. I have a program that was written in C++ WM2003. Works under all versions of WM until 6.5.3, when the About Dialog box fails to close if the (X) button is pressed. Turns out another value has to be added to the dialogbox flags field to get it to behave properly.
This has been a feature of SDK's from WM 5.0 onwards, but the WM2003 SDK is unaware of it. You have to add it manually to the shell code created by the SDK,
Progress I suppose. The full article is here:
http://forum.xda-developers.com/showthread.php?t=635063
Click to expand...
Click to collapse
I noticed something else odd. When i run the app on my pone, the resolution is off. Now everything looks ok, i just mean that when i run it on my phone, theirs alot of "white dead space" at the bottom. I can only guess this is due to the SDK's catered to phones with smaller screen resolutions (ie Touch Pro) with buttons.. Is their a way for me to switch the resolution to ultilize the full Touch Pro 2 screen size (480x320 i think)?
Funny you should mention that. I replied to a similar post a short while ago. I'm not going to type it all in again, it's here.
http://forum.xda-developers.com/showthread.php?t=637417

ce softwarefor windows mobile

hi,
i got an question: can i run my windows mobile 6.5 software on an windows ce 6.0 os?
jakob sebens
Probably not, although the reverse is sometimes possible, the results may be less than ideal.
Windows Mobile is a superset of Windows CE, specifically designed to run on small screen phone devices.
The main difference is the fact that on Windows Mobile, the command/menu bar appears at the bottom of the screen. From Windows Mobile 5.0 devices onwards, the left and right menu buttons are mapped on to the left and right main menu items which appear on either side of the SIP.
A lot of the calls to set up and use this stuff, are in AYGSHELL.LIB and are defined in AYGSHELL.H
There is no guarantee that this library has been included in any Windows CE builds. That decision lies with the OEM, as it an optional component. If it is not a Phone or PDA type of device, why would the OEM bother including them?
When you run a Windows CE program under Windows Mobile, the menu appears at the top as per normal Windows PC applications, but the bottom menu is created incorrectly, as it contains only the SIP, and the menu buttons either side are missing. Also, the program must have been compiled for an ARM CE target device, as 99.99% of all WinMo phones are powered by ARM processors. CE can be made to run on a variety of different processors, ARM just happens to be one of them. An exception to this may be programs created by the .NET Compact framework. If the CF properties and method calls are compatable, then the program should work, if the JIT compiler can convert it down into native code. There are a lot of ifs and buts to be successfully dealt with, before this can happen.
The programs 5x5 and Life, in the signature below, are Win32 ARM programs. They have separate CE versions. 95% of the code is the same, they have just been ported over into the base shell "hello world" program for that platform, and small adjustments made to get them to work properly. I don't actually have a plain vanilla CE device on which to test them. They have been tested under the CE 4.0 and 5.0 emulators running on a PC.

[Q] Develop Apps for Windows Mobile

I want to develop simple apps for Windows Mobile. I read that I can use:
---Compact Framemork. (I downloaded Sharp Develop, it is free. It also exist a program from Resco that speedup the development with C.F.)
--- C or C++ or C# (I don't know if WinMo understand these...)
---Visual Basic (is difficult and Visual Studio isn't free, but I found another program that allows to develop more simple)
---Mortscript (I think is the most simple)
---Which is the best and the most simple language?
---Where can I read or download tutorials?
---I can not develop simple apps with images and sounds yet.
Please Help!
I want to develop
-a lock screen
-an app that turn on and turn off the leds of my device
-an app that change registry values (without softreset the device)
-an app that can copy, cut and delete files
-a Soft Imput Panel (a virtual keyboard)
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Cyclonezephyrxz7 said:
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Click to expand...
Click to collapse
Thanks CycloneZephyrxz7.
I want to develop for Windows Mobile 6.X for devices with WVGA resolution.
But with Mortscript I can do less things? Because I can only write scripts.
Do you know how is written a simple app like "ClearTemp"?
I wait other replies from Devolpers and people that used these languages...

Categories

Resources