WINCE ver 6.00 build 3122 .NET Compact Framework retrieval problem - windows-ce

Hello,
I've compact device running on WINCE 6.0 build 3122.
I have been seeking for help on retrieving its "compact .net Framework" version.
enter image description here
In order to fulfill the objective, I launched "regedit" command and looked into:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
The problem is there is not .NET Compact Framework entry.
Please have a look at the screenshot I attached to this post.
I also looked for cgautil.exe executable file in the WINDOWS folder, prior made all hidden files visible.
Could anyone direct me, how to retrieve the .net compact framework version on my device?

Related

Convert .net project 4.5 framework to windowsCE (smartDevice) project which supports development in 2008

I have written code in C# .net framework 4.5. Now, the client says he wants it in Windows CE. So I have downloaded VS 2008 and created a smart device project with Windows CE option and framework 3.5. I have used the files as is and build. The solution gives lots of error on build.
Eg of error is - Background worker in .Net 4.5 is not supported in WinCE 2008 project
Any pointers how this can be achieved? Its a huge code so rewritting whole code will cost a lot. Quick pointers are highly appreciated.
I have tried removing the references from old proj and tried including dll from VS 2008 dlls. E.g. System.Data.SQL is not present in 2008. Background worker is not present in VS2008
Check out the Smart Device Framework, it provides a port of the Background Worker for the .NET Compact Framework. It may give you some alternatives for other pieces of code you're porting over:
https://github.com/ctacke/sdf
The missing SQL Server library is a difficult one to answer without more details, but you will need to decide on how you wish to access data. Is there going to be a local database or will you need to retrieve data from the SQL Server database through some type of service?
SQL Server Compact and SQLite are popular databases used on Windows CE, so those are some options if you need to create some sort of local database.

Running J2me apps on Android phones

Is it possible to run J2ME apps on Android phones? If so, what is the installation procedure?
Otherwise, is it possible to convert .jad files to .apk? In this case, what is the procedure.
(I have already tested the procedure offered by netmite but it doesn't seem to work.)
Using this site http://www.netmite.com/android/srv/2.0/getapk.php you can convert your J2ME application in to Android Application. You need to just supply your .Jad & .Jar file in it and it will generate Android's executable file .apk for you.
However in it doesn't able to convert all the feature of Java ME to Android, but basics can be easily converted.
You can try phoneME, netmite j2me app runner, jblend, jbed like jeme emulators in android. For now, phoneME is the best. you can get various version of phoneME here http://davy.preuveneers.be/phoneme
You also need OI file manager to select files in phoneME.
A complete guide can be found here http://w3epic.com/run-java-apps-j2me-on-android-devices-guide/ for rest of other emulators (if you want to try).
#dennis
I got it, thanks.
MicroEmu open source project hasn't been mentioned yet, and here it goes: https://code.google.com/p/microemu/
I searched for a good JavaME emulator for Android for a long time, and finally found one. This here is what you need:
http://davy.preuveneers.be/phoneme/
No doubt the best there is for Android.
Added 15th January 2016:
Reply from the author of phoneME, Davy Preuveneers, in regards to the Android 5.0+ issue commented by Álvaro Gutiérrez:
Hi,
I am testing on a Samsung Galaxy S4 running Android 5.0.1, and the
"phoneME Advanced - Foundation Profile + MIDP FullHD Resolution" build
seems to run just fine on this device.
Also, following this thread
Position Independent Executables and Android Lollipop,
I ran:
$ readelf -l libcvm.so | grep -i "file type"
and it reports:
Elf file type is DYN (Shared object file)
So according to the website this is OK.
However, for the CDC and Foundation profiles (console like
applications), there is indeed an issue where you get this error:
"Error: only position independent executables (PIE) are supported"
However, for those 2 profile I call a native executables and redirect
the native stdout/stderr streams to Android, whereas for the MIDP dual
stack I load a library and create a complicated wrapper to get things going.
I can recompile with -fPIE and -pie options but will then end up with
binaries that are no longer backwards compatible with devices running
Android 4.0 and below. That is why I added some additional builds to my
website for Android 5+ devices:
http://davy.preuveneers.be/phoneme/?q=node/10
Best regards,
Davy

Blackberry Application Development by integrating code generated from MBO's in Sybase Unwired Platform

I am developing a simple Blackberry Application using Blackberry Plugins for Ecplise. I had created a MBO for Customer using the Customer table avaliable in the My Sample Database of Sybase Unwired Platform(version 1.5.2), and generated the codes for this MBO and added these Generated code to the src folder of my application in the Blackberry Plugin for Ecplise. Then added all the required .jar files and .cod files to the application. While running this application by choosing the Run as Blackberry Simulator, it is showing an error.
Error starting SUP101Sample: Module 'sup$2dclient$2drim' not found
Can you please help me, how to correct this error, and run the application?
Upgraded the Sybase Unwired Platform from 1.5.2 to 1.5.5.
Since I am using Sybase Unwired Platform of version 1.5.5, in order to access the code generated by this version I need to use Blackberry Plugin for Ecplise, which is having the JRE 5.0.0.
And in case of the .cod files we need to use sup_client_rim.cod and UltraLiteJ.cod for doing this.
This solves the problem.

How to run C# 4.0 app on Linux OS using mono?

I want to run my c# application with OS Linux using Mono. I am new to this cross platform migration? Please tell the procedure for doing that?
Thanks & Regards.
It very much depends on what type of application it is. For a console or WinForms app, it may be simple. Mono doesn't support WPF.
Well, the first think you'll need to do is install Mono of course. Then you probably want to run MoMA to determine your application's compatibility. There's a whole separate page about porting WinForms apps.
If all is well, you should just be able to run your application using:
mono MyApplication.exe
after copying the binaries over.
If your application is actually a web service or web application, you'll want to think about the various hosting options.
I suspect you'll want to read a lot of the pages on the Mono Start Page.
Check if your application is 100% compatible with Mono Framework using MoMA.
Remove or replace those unimplemented parts with Mono's implementation or third party libraries that works with Mono. Or if you think it should work fine, just execute it with Mono Framework 2.8 or higher. Better go with 2.10 which is default's profile is on 4.0.
There is an IDE, MonoDevelop that supports Web and Desktop applications. Open the project files (monodevelop supports visual studio project files) from monodevelop, compile and run.
you can browse mono website here, where you can find which features are supported and which are not supported and why.

Simple WinCE 5.0 application

I'm actually a web developer (PHP, Python), but now I need to make a very simple WinCE 5.0 application. Could you please suggest where I should start from? I'm probably not going to be a WinCE programmer, just need some really basic knowlodge.
Thank you
Download eVC++ version 4 as well as the latest SP.
From there, install the WINCE 5.0 SDK.
That should give you enough to use the emulator.

Resources