I want to know how to write a C# desktop application that can connect to the mobile version of the same application (that I will create). The desktop application will be used as a backup/restore for the mobile application.
I want to know also how to write the mobile version (using C# if possible).
From your other posts, it appears you are trying to write a Symbian 7 application to sync a proprietary data format with a custom Windows 7 desktop application. That is critical information to leave out of your question; let me know if I am mistaken.
If that is correct, you have set a difficult task; Symbian 7 is an extremely old OS, I do not know if the Carbide C++ IDE can develop apps for it. If not, you are looking for old versions of commercial AppForge or Metrowerks compilers, you may be able to track these down at the Symbian Foundation.
Then the hard work starts; Symbian is an extremely difficult platform to develop on, and information on old pre-Symbian 9 OSes is scarce. If you are not already an expert on Symbian, I suggest hiring a contractor with previous Symbian 7 experience.
The hard work does not end there, Bluetooth is also notoriously difficult to develop for. The spec is incomplete, and most manufacturers only partially implement it in undocumented ways. One Bluetooth team I know of spent more time debugging hardware problems than developing the software.
This is only the start; you still have to define the Bluetooth data and synchronization protocols; I do not know if ActiveSync was ever supported on Symbian 7, so you are starting from a blank page here. Then you have to develop the Windows app.
You are looking at an enormous commitment to develop on ancient and unsupported hardware. I suggest investigating more modern and capable hardware.
Related
I would like to build my own virtual keyboard for my windows 7 tablet.
I am not starting from zero in programming; I just have no idea on where to start to make a system level device like a virtual keyboard.
Is there a good article or SDK for this?
You'll need to write a driver in order to truly get a virtual keyboard. Keyboard drivers cannot be written in C#.
Drivers are written in C (not even C++; just C), and they use the Windows Driver Kit for development. There is insufficient documentation, period (the sooner you admit this, the better). Pick up a copy of the following books if you don't already have them: Windows Internals, Advanced Windows Debugging, Oney's Programming the Windows Driver Model, and Developing Drivers with the Windows Driver Foundation. I strongly recommend using KMDF, since it makes writing drivers only extremely difficult rather than insanely near-impossible. Subscribe to OSR's NTInsider and read their mailing list archives (they are the only source I know that has all the missing details on driver writing). Begin working your personal contacts because there's a medium-to-high chance you'll need to talk to someone deep within Microsoft.
To be brutally honest, it is a lot easier to hire an existing expert in the field. Driver development is not cheap, but it's cheaper than doing it yourself.
Here's an old C++ article on the matter.
http://www.codeproject.com/KB/cpp/onscreenkeyboard.aspx?display=PrintAll&fid=500&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=26&select=1605922
But I think you'll wind up using SendKeys in C# - http://www.codeproject.com/KB/cs/SendKeys.aspx
I'am a c# developper and I seek the best language to choose to be able to reuse some code in a perspective of port some future apps into mobile devices for free (open source perspective).
Should I use Java (and so learn it), or can uses C#.
Monodroid and monotouch are not free and monotouch requires a mac hardware (I only have norml pc with Linux and Windows and may run mono on both)!
So it will be difficult to use c# for android or iPhone, am i wrong ?
Well, we (Resco) bet on C# and .Net/Mono. This covers nearly all platforms. (We currently have products on WP7/Android/iOS/WM.)
But taking into account recent developments Mono seems to have very uncertain future. Nobody will tell you right now what's going to happen.
I am a computer Engineering student and i want to choose my path as soon as possible. Will I be able to develop anything using C#?
Windows Phone 7's entire development platform is built on .NET and C#, so yes you can but that would be essentially your target mobile OS. Java will get you Android, and iPhone more or less requires Objective-C. Of course, you can get around each of these to some extent but by and large if you choose to learn C# you'll be targeting Windows Phone 7.
A lot of answers here indicate that c# is windows mobile / CE only; that is incorrect. In addition to targetting windows mobile and phone 7, c# can be uses to target iPhone via MonoTouch, and Android via MonoDroid. So that is the main contenders really.
If you want to become directly valuable to a company as a mobile developer, learn Java or Objective-C. C# is fine, but Android and iOS have a much bigger market share than Windows Mobile 7.
Becoming an expert in any of those languages will be a good long-term career move.
C# with mono/.net covers Windows Phone 7, Android and iphone.) Then after you get the hang of the language, platform etc learn java to add another skill to your arsenal.
No. You can use C# only for Windows Mobile. Java only works in the form of the Android API (which is somewhat similar to J2SE) on Android, and in the form of J2ME on Blackberry, Windows Mobile, and Android.
If you want to write mobile applications, you'll need to decide what platforms to write for, and learn the languages and APIs of each one of them. There are a few high-level languages that run on most mobile platforms (like Adobe AIR), but depending on your app, that's not an appropriate option.
Different mobile platforms require different languages, and future platforms will most likely require languages that don't even exist yet.
Your best bet is to pick one language / platform to focus on now, and expect to have to learn other languages / platforms throughout your career. Indeed, the chances are that you'll do other kinds of development, in addition to mobile computing development.
(For the record, I've been in IT for 30+ years, and so far I've used over 20 programming languages ... and encountered many others. You just deal with it.)
I think better u choose java.Because nowadays many phones support J2ME.J2ME does not need high cost configurations.J2ME is from the family of java.It have many java advantages.Many devices other than mobile such as home applainces,set-top boxes,etc support J2ME.So J2ME had a great future.So choose java/J2ME
Is there any way possible to run C# code on a BlackBerry OS smartphone? I've got some Windows Mobile 5.x/6.0 frameworks written in C# that my team needs to "port" to various smartphone platform. We're looking at the following smartphone OS's:
Windows Phone 7 - VS 2010, Windows Phone Developer Tool CTP, Silverlight, XNA
iOS - MonoTouch, MonoDevelop IDE
Android - MonoDroid (when released), MonoDevelop IDE, Mono Tools for Visual Studio
BlackBerry OS - ???
Research didn't turn up any other programming options for BlackBerry OS but Java/J2ME. I know it's a long shot but was hoping someone here might know of some other options. At this point, I'd even consider a C#-to-Java translator.
Thanks in advance.
No, your only options for BlackBerry apps are:
J2ME/CLDC native app
BlackBerry widget using Javascript/HTML
Maybe soon, this is from august 09, so maybe late summer?.
We’ve been gathering details over the
past month or so on this, and it’s
pretty much confirmed: Research In
Motion is planning on integrating full
Flash and Microsoft Silverlight
support into their BlackBerry web
browser. Read that again boys and
girls — full Flash support, not Flash
lite. You know when the word
“planning” is used in the same
sentence as RIM, however, that it
probably means it’s a while away. And
it is. We’ve been told this won’t
happen until next summer or right
before it as RIM needs their devices
to be more beefed up as well as have
access to higher data speeds for this
to work effectively (HSPA and LTE).
RIM has already achieved over 10Mbps
downloads on next generation
BlackBerrys in the test labs with test
LTE equipment so it’s looking good,
folks.
We are at a crossroad as what development tool to use for our application. We do not know if
we will go for Adobe Air or use the traditional road which is Objective-C and Cocoa. The software is similar to www.riffmasterpro in functionality. Is Air the best solution here?
Well, firstly, Flash isn't supported on iPhone so there is no Air platform for iPhone (at least, none that I know of - correct me if I'm wrong).
Secondly, native Objective-C applications on Mac will always surpass Air applications with regards to how well they tie into the OS. An example of this is TweetDeck. It's an amazing application but it just doesn't feel like a Mac app (no meaningful menus, no growl integration, etc...). Mac users are typically very specific with regards to how their apps behave.
I would advise that if you want to write Mac applications (and iPhone applications) to rather stick with Objective-C.
If your primary concern is cross-platform (with the exception of iPhone) then Air is an option worth considering.
If you're looking to build an app solely for the Mac/iPhone platform, I would suggest using Objective-C instead. Adobe AIR's strength is that it can be installed and used cross-platform with little problem.
One of the downsides of that, though, is that performance will never be as good as something that ties directly into the operation system.
problem of using middle frameworks is that you will never have the potential of the hardware, in other worlds you will not be able to use any feature that Mac/Windows can give to you by the hardware, you wll always be attached to what the framework will give to you and hope that you can do everything that you need...
specially in your music application.
regarding the Adobe Air framework, it is a good idea to cover both Linux, Mac and Windows computers but you will not be able to run it under the iPhone because there is no Adobe Flash supported... Adobe is making a flash player for the iPhone, but I do believe that will ot support Air, at least by the near future.
For the iPhone you can build a Web Application or a SDK Application, the last on, and if you will use SDK 3.0, you will find plenty of good things to use it to, but you need to develop a full application from sctrath.