Poll: Do you think android should use c# - Android General

Do you think android should use c# if google can't pay oracles legal fee for java?

Will well write on C on an android.

Of course they should of its the reason ios is so fluid and smooth amongst other things. Java runs poorly compared with c#.
Sent from my HTC EVO 3D X515m using Tapatalk 2

ngagephone said:
Of course they should of its the reason ios is so fluid and smooth amongst other things. Java runs poorly compared with c#.
Sent from my HTC EVO 3D X515m using Tapatalk 2
Click to expand...
Click to collapse
*Laughing out loud* - yes, c# and java - different worlds in speed. mmd srsly

Java is slow and ugly. Of course it would be better to be written in c# or c++.
But i don't think it will happen.
Writing something from scratch in a new programming language is hard work. Google will probably pay instead.
Will see.
Sent from my Desire S using XDA

ngagephone said:
Of course they should of its the reason ios is so fluid and smooth amongst other things. Java runs poorly compared with c#.
Sent from my HTC EVO 3D X515m using Tapatalk 2
Click to expand...
Click to collapse
iOS applications are made using Objective - C, C or C++. Not C#.
I am not sure how "slow" Java would be in comparison to C#.
C# compiles into bytecode which runs on a CLR runtime. And Java too compiles into bytecode which runs on a Java VM. In android's case the Dalvik VM. These two are very similar in this context so in my opinion it won't be much of a difference. But yea, In my opinion C# is a better language in terms of language features.
It is not the languages which are responsible for the slowness of the applications but the implementation of the said applications. Agreed some languages are suited better for certain types of applications, but that doesn't mean you cannot have a good application in some other language.
It really won't be that easy to switch to a language like C# for Android cause there are a lot of applications out there that are built using Java. Unless there is some sort of support for this, I don't think this will ever happen.
And besides C# belongs to Microsoft. But then you also see it in Game development tools like Unity as a scripting language. So I don't know...

It seems that most people on this thread don't know what c# is.
I would like it as I like the IDE's and the language itself more. Besides that, it would solve the Oracle vs Google problem.

Which IDE are you talking of? The Microsoft Visual C# IDE? Cause even if C# does end up on Android, I highly doubt Microsoft's IDE would have support for a competitor's platform.
The IDE of choice, I think, would be MonoDevelop, which is also very good.

For Windows:
Sharpdevelop, which does what Microsoft Visual C# Professional does for free.
For Linux and Windows:
Monodevelop
Both of them aren't even remotely as bloated as Eclipse.
I hate how I sometimes right-click in Eclipse and get a context menu that fills my entire screen.

Related

Should I learn C++ or (C#/VB)?

I know Java fairly well and I would like to move onto mobile programming. I've read up on the aforementioned programming languages and my understanding is that C++ is hard and C#/VB are easier, but slower. The more I read the more I am confused however. In C++, I understand that there's Win32 programming, MFC, and ATL. In C#, there's .Net. Can someone please help me make sense of all of this?
i would suggest first go for C++
and then move further
Depends on what you are going to be developing.
C/C++ is better for performance critical applications with minimal GUI.
.NET + C#/VB is easier and safer at the cost of some overhead.
You'd want to learn all if you are serious about WM development.
The nearest language to Java is C#. The difference between VB and C# is more or less personal preference, as they both use the .NET framework. Most of your programming is creating the .NET objects, setting their properties, and calling their methods, to get them to do what you want. The language that this is done in, is more or less irrelevant.
Personally I would steer clear of C++ unless you are going down the Win32 route. Here your program has to respond to the WM_XXXX messages via the 'hdc' of the screen. (Hardware device context, you can't draw directly to it.) This method has a pretty steep learning curve. ATL and MFC are wrappers to make Win32 more object orientated, and supply more usable functions. .NET rendered ATL and MFC more or less obsolete, but they are still included for backward compatability, and are still prefered by some programmers.
The performance hit on a .NET program only occurs on its load, when the loader has to call the CLR JIT compiler to create the ARM native code. C++ Win32 will compile down to native ARM code from the start. If you do not have any ATL or MFC the compiled EXE can just be copied straight to the PPC and it will run without the need for any runtime libaries, dlls etc., as the core dlls are already part of the PPC operating system.
As mentioned above you may want to try both. The C# and C++ environments are completely different.
It all depends on what you want to do.
For more lowlevel and speed-dependant things, I'd say go the C++ route. Someone above here mentions that .Net is only slower at load time - this is most definitely not true. I have rewritten several apps that started out in .Net to native languages because they were too slow. The speed difference is fenominal - though less with .Net 3.5, but this is not available on all devices yet, especially not on stock ROMs.
C# is a lot easier than the overly complicated and cryptic C++, but again it has drawbacks. It is not as easy to do 'edgy' things in C# though often it is not impossible. C# is much easier than C++ for UI's as well, which can be a real PITA in C++. C# hides many of the more intricate lowlevels things for you and does these automatically. If needed, you can always create a C# user interface that calls C++ DLLs for the lowlevel stuff or whenever you need to.
As for VB, just don't go there.
I see you say you hail from Java. In that case, C# will not be very difficult for you. C# is generally taking the best of Java, C++, and Object (Delphi) Pascal, throws them together, mixes them up, and the result is pretty good.
Personally I am of the opinion that managed languages (C#, Java) do not a good programmer make, and you should know at least the basics of a native language (C, C++, Object Pascal, whatever), their quirks, and why these things are. This will teach you a lot about how things work on a lower level, and while you don't absolutely need to know these things they can still be very helpful when writing in a "higher" / managed language.
Then again, my personal preference for development is Object Pascal (FreePascal), which combines the power of native with the ease of RAD. I wouldn't advise anyone else to go there though, it's just what I grew up with (I have no issue with using C++/C#/whatever, they're just not what I prefer).
Chainfire said:
As for VB, just don't go there.
Click to expand...
Click to collapse
I don't understand why anyone would say this. In .NET, C# and VB have the same exact capabilities. They even use the same class libraries. Neither really has any advantages over the other.
@OP: I've done work in C# and VB.NET, and I can tell you that it's quite simplified and a fantastic OOP solution to mobile programming. The only drawback is that the loading time for a .NET application is a LOT slower than a C++ mobile app. A C#/VB.NET mobile app with one Form with nothing else takes a couple seconds to load, whereas a C++ mobile app will launch instantly. So, it's up to you. Do you want it to be simple, sacrificing a couple seconds at load time, or do you want to get down to the nitty gritty and work with C++ to save those couple seconds?
vb in general have a poor syntax which most programmers
stay clear off and vb have a long history of poorly designed and programmed
programs don by ½ armature's
and earlier vb's have had serious issues as not being real exe's requiring special
runtime dll's not being thread-safe and the likes
just too much ugliness and bad history in vb
for anybody to recommend it to anybody
Yeah, but that was then, and this is now. VB.NET is only slightly more wordy than C# .NET, and they both have the same capabilities and same speed. If the choice was between .NET and C++, I'd say go C++ though.
Cicatrize said:
Yeah, but that was then, and this is now. VB.NET is only slightly more wordy than C# .NET, and they both have the same capabilities and same speed. If the choice was between .NET and C++, I'd say go C++ though.
Click to expand...
Click to collapse
As Rudagar said, there's a lot of bad history. What remains in VB.Net is the syntax. IMHO it encourages sloppy coding and it's frankly plain silly. If you feel differently, that's fine by me. Either way, if you're going for .Net, why would you use anything else than a language specifically designed from the ground up for the framework: C# ? To boot, C# is an awesome language as well. I don't see any reason at all why you would use VB instead. Again, that's personal opinion.
Hi, I am very interested in learning C++ or VB. I had a VB class in high school, but I forgot it all...
I've got my feet dipped in water with Java, and I want to learn to make applications for my phone. I have no idea where to start. I was thinking of starting with a simple application like maybe a today plugin that will update my FB status.
Digging a little into it, it seems that's not as simple as I figured.
I really don't know where to start. Could someone point me in the right direction?

Mono for Android

Are there any developers using Mono for development? Looking for some feedback on it...
Galaxy Red - DJ05 - Voodoo5 using XDA app
Mono with JIT enabled won't work on the Fascinate (or any Galaxy S device) until 2.2 is rolled out. Of particular note, this causes many problems with games authored in Unity3D. Cite: h t t p :// forum.unity3d.com/threads/62410-Galuxy-S-support#post409742
If I was drinking something I would have spit it out when I read the title of this post.
Sent from my SCH-I500 using XDA App
I wonder if some of the new Kernels that are being created are having the same issue ... but Unity isn't using Mono from my quick skim of the site. And from my reading, mono has its own JIT runtime. It would be interesting to know if anyone has used it yet.
http://monodroid.net
Uhhh...no
Lol...the CORRECT answer is why the f*ck would you want to? C# is M$ lame attempt to make a proprietary language. Why did the world need C# when Java is a perfectly good language? It didn't. .Net is garbage unless you want to write windows software, but that's lame....just sayin .
jfelectron said:
.Net is garbage unless you want to write windows software
Click to expand...
Click to collapse
Wait, you mean it's only useful for the exact thing it's ****ing intended for? Shocking.
jfelectron said:
Lol...the CORRECT answer is why the f*ck would you want to? C# is M$ lame attempt to make a proprietary language. Why did the world need C# when Java is a perfectly good language? It didn't. .Net is garbage unless you want to write windows software, but that's lame....just sayin .
Click to expand...
Click to collapse
There is just so much that can be gleaned from this post...
1) Obviously you've never actually tried developing in C#, because it's a complete pleasure to work with. Once you've used Visual Studio, it literally pains you to use anything else, because no other IDE comes close. I've used them all.
2) The entire point of this post is that .NET is not useless; The specification for .NET is completely open. And .NET is apparently good enough that people devoted their free time to develop Mono, thus enabling .NET development for Linux platforms. There's also Silverlight and ASP.NET which enable development of Web applications.
3) M$? Seriously? I remember back when the internet was invented and people thought that was funny. Now it's just kind of ignorant.
4) Refusing to open yourself up to multiple development technologies is a great way to find yourself irrelevant in a short amount of time.
5) Obvious troll is obvious. Sorry for feeding him.
bmxdad said:
I wonder if some of the new Kernels that are being created are having the same issue ... but Unity isn't using Mono from my quick skim of the site. And from my reading, mono has its own JIT runtime. It would be interesting to know if anyone has used it yet.
Click to expand...
Click to collapse
As a Unity3D dev, I can assure you that Unity3D is indeed powered by Mono. (With all the C# code I write every day it better be! )
That said: the 2.1-based kernels that are rolling out for the Fascinate do indeed suffer from this effect. In fact, Kaoscinate is unable to use Android's built in JIT interpreter due to this very effect. I was trying briefly to help him trace down the problem, but didn't have enough time to contribute. Maybe after our next game ships.
konistehrad , thanks for the reply.
I'm one of those stupid C# / Asp.Net developers, so its nice to know I'm not alone.
To jfelectron ... I wonder what the new windows phone is using .. O yea ... .Net and C# .... Go figure ...
bmxdad said:
I wonder if some of the new Kernels that are being created are having the same issue ... but Unity isn't using Mono from my quick skim of the site. And from my reading, mono has its own JIT runtime. It would be interesting to know if anyone has used it yet.
http://monodroid.net
Click to expand...
Click to collapse
In addition to Monodroid(which will require you pay a fairly hefty license fee for an independent developer) there is also Koush working on his own free open source port. This can be found here: http://www.koushikdutta.com/search/label/Mono
I'm not sure what all works in either implementation but I don't think either of them is ready for prime time yet.
I'll be in heaven when it is as I currently develop in VB.Net and swapping to eclipse is a nightmare, not having the .net framework is horrible as well because now I have to reinvent the wheel for dozens of objects.
Haha, I see the C# harpies have descended to inform us how wonderful their language is. It's not a question of how nice it is or isn't to use, it's a question of why fragment the development landscape with ANOTHER systems programming language that is a pretty blatant copy of Java. I don't think C# is fundamentally better than Java, so it just fragments minds away from common development goals and creates two independent efforts. This hurts everyone. It's fine to take an existing Mono/C# codebase and want to run it on Android. I just don't see why you would want to use something like MonoDroid to develop from scratch. The best apps will ALWAYS use the native APIs, there is just no reasonable way a secondary set of APIs that wrap native APIs will provide the same experience. The Evernote people were just talking about this, they have development teams for each platform, they don't look for write once run everywhere solutions because at the end of the day these deliver subpar experiences. If you don't know Java and Android APIs then learn them. Same for iOS. I'd do the same for WP7...that is if I wanted to work for a I decide the UI for you overlord.
I'm pretty sure that everyone participating constructively in this thread has mentioned that they're currently a .NET developer who has code written in VB/C#. It surprises me how much flak this thread is attracting when we're discussing tools and libraries that allow us to effectively and comfortably develop more software for the Android platform.
I develop mostly in Java, but language wise C# is way better. Java 7 still isn't getting lambdas, an when it does it's going to be really kludgy. Java language development has kind of died. Scala is pretty cool though. And Visual Studio is significantly better than eclipse, although IDEA is quite good too. I do like eclipse but it's just not as nice to work with and slower.
Yes ... C# is a redo of Java, kinda, but they moved it beyond what the Java was ... ***** about about MS all you want, they do have some good stuff. As for the API's, they're doors for us to use ... it all gets crunched down to 1's and 0's, so who cares how it gets there. Simplistic I know, but I'm sure you get what I'm saying.
They're already porting .net to the iPhone, so I was just wondering if anyone was interested ... didn't know I would touch a few nerves
jfelectron said:
Haha, I see the C# harpies have descended to inform us how wonderful their language is. It's not a question of how nice it is or isn't to use, it's a question of why fragment the development landscape with ANOTHER systems programming language that is a pretty blatant copy of Java. I don't think C# is fundamentally better than Java, so it just fragments minds away from common development goals and creates two independent efforts. This hurts everyone. It's fine to take an existing Mono/C# codebase and want to run it on Android. I just don't see why you would want to use something like MonoDroid to develop from scratch. The best apps will ALWAYS use the native APIs, there is just no reasonable way a secondary set of APIs that wrap native APIs will provide the same experience. The Evernote people were just talking about this, they have development teams for each platform, they don't look for write once run everywhere solutions because at the end of the day these deliver subpar experiences. If you don't know Java and Android APIs then learn them. Same for iOS. I'd do the same for WP7...that is if I wanted to work for a I decide the UI for you overlord.
Click to expand...
Click to collapse
By your logic why did anyone ever move away from programming in machine code? It was the purest and fastest executing code ever!
jfelectron said:
Haha, I see the C# harpies have descended to inform us how wonderful their language is. It's not a question of how nice it is or isn't to use, it's a question of why fragment the development landscape with ANOTHER systems programming language that is a pretty blatant copy of Java. I don't think C# is fundamentally better than Java, so it just fragments minds
Click to expand...
Click to collapse
Well, I didn't like J++. I felt the same way about C# until I did a test project with SharpDevelop. It really is a pleasure to use, most especially when coming from Java. Both languages also read very similarly and are easy to bounce between. In terms of fragmentation, it tends to come with the territory and might as well be accepted.
Learning something new isn't necessarily evil.
MS does decent development tools. CLR is open and in many aspects better than JVM. C# as language progressing way faster than java and puts it to shame way to often.
Read here from Koush. I guess that name rings a bell?
So, why not? Competition is great!
Unity and Mono
As a long time .Net developer I was drawn to Unity with significant suspicion of the Mono framework, I had always assumed that mono was going to be a slower, poor cousin of the official framework, but for my needs it has proved problem free on a range of Android devices. I chose Unity and Mono as a framework for game dev on android because I had a significant amount of code in c# from Windows Mobile 6 dev back in the day, and Unity had the 3d rendering capabilities I needed.
I'm using Unity game engine that uses Mono. C# is a great language that addresses many shortcomings in C++ and Java. However it is not possible to do everything in the mono-runtime on Android. C# to Java bridge is pain in the ass to implement.
Lets be realistic...
First came C and then that evolved to C++. Today the vast majority of operating systems are written in either C or C++. I have NO idea what Object C is (iOS) but I am sure it is evolved from one of these as well.
Java was an attempt to produce a machine generic programming language where the code runs on any machine. This language was based on C (C++?) and as such is very similar to C(c++) in many areas. However to reach this generic level all compiled code is compiled to a machine independent code and run on an interpreter. This code then is slightly slower than if the same program was written in C or C++. But can be run on MANY machines without porting which is not the case with C or C++.
C# was intended to be an extension of C++. After MS's failed attempt at J they put their energy behind C#. C# has now become a very viable C++ replacement on MS machines to a point it doesn't make much sense to write in anything else unless you are writing system level code for which C++ or C makes sense. Somewhere along the failure with MS's attempt at a Java clone they decided to make .NET a "standard" library which allowed Mono to become reality. C# has evolved over time to incorporate many of the great ideas that Java has included but have come up with many new ideas of their own. Realistically it comes down to which do you feel more comfortable programming in. Java or C#. C# with it's .Net libraries can be much easier to write for than Java simply because of the Libraries available.
On another note, I saw a product recently that looks very promising. dot42 is a product that appears to be looking to make a compiled C# program for Android. This by passes the need for the code interpreter and could potentially be as fast as C++ or C code for running on Android.

Developers:Java vs C++?

Hey everybody
I've been thinking about taking a computer programming class this semester to help start my knowledge in developing apps for android. My question, is which language tool would be the most helpful and why? Java, or C++? Right now, the college I am thinking about taking it through only has Java as an option (I want to take it online). I'm at the point in my college career where I need to decide a major because I have all of my general ed's out of the way, and I think taking a cheap class that might benefit me in multiple ways might be a good thing to do. Thanks in advance!
I'm new to programming but I do know a little bit I guess...someone may have a better answer. As I understand it, Java is based off C++ and based off of C. So there won't be much of a difference between the two, but either you will need to know some amount of C/C++ for the Java course, or they will teach you enough C/C++ for you to understand Java. I don't know how important it is to know all of the basics though, since the common languages today have much easier ways of coding basic things.
If it were my choice, I would have to decide if I wanted to learn the basics of coding, and then learn all the shortcuts that today's SDK's provide, or just learn everything current, and have a harder time understand how some things work.
Ironically, I've been learning Objective-C, despite owning only Android since the G1 first came out. It's my first programming language ever (although I do have background in HTML/CSS and what not, but that doesn't really count). I've got a good grasp on how everything works, but I never had quite the understanding of how everything worked until I started learning more about basic C. It may be the same for Java, in fact I imagine it is to some degree.
My opinion, take C/C++, and just learn a new syntax later.
Thanks for the reply! I will plan on taking C/C++, but that brings my to my next question: C or C++? I'm assuming C++ is just advanced C, so it would make sense to take C first, correct? Or am I missing something?
I guess you kind of answered my question in your post already . Looks like basic C should be the way to go for starters!
If your ultimate goal is to use C++ and/or Java, I wouldn't recommend learning C first. Java and C++ are object oriented languages, and C is not. If the first language you learn is C then it will simply teach you an approach that you'll have to 'unlearn' when you start on one of the other languages. A long time ago, C was often taught as a stepping stone to C++, but these days it is regarded as a bad idea that makes it harder to learn an OO language later.
I also don't see any benefit in learning C++ before Java, unless you really want to learn C++ for its own sake. Java is probably easier to learn than C++ so, if your real goal is to be a Java programmer, I'd start with Java.
Please don't get the impression that I've got anything against C or C++ by the way. I've used all the languages mentioned (as well as C#) and, if anything, prefer to use C++.
so whats the advantage of becoming C++ programmer over Java Programmer and vise versa ?
how about Visual basic?
arvinghost said:
so whats the advantage of becoming C++ programmer over Java Programmer and vise versa ?
how about Visual basic?
Click to expand...
Click to collapse
The platforms that are used by each. Java is a very versatile language, and is used in almost all mobile platforms. C++ is mainly used for desktop and stand-alone applications.
Truthfully, it doesn't matter which you learn first. The concepts and theories are the same in both, the only thing you have to re-learn is the syntax and specifics.
That being said, don't learn visual basic first, it is vastly different from the other two.
arvinghost said:
so whats the advantage of becoming C++ programmer over Java Programmer and vise versa ?
how about Visual basic?
Click to expand...
Click to collapse
I'm sure that Google will provide lots of info on Java vs C++ comparisons, so I'll only mention a couple of things! C++ can be more powerful and versatile, but is easier to screw up. It also provides better performance (since it is a compiled language) but, these days, the speed of the code is often less important than the speed of data access or comms. Both languages are theoretically cross platform, but in practice Java achieves that better than C++ (usually). Java has a better set of standard libraries - in C++ the libraries for things like user interfaces are usually platform-specific. On the other hand, C++ (and C#) gives you access to Microsoft's Visual Studio IDE and the .NET libraries, which are still by far the best IMHO although, clearly, are pretty much restricted to Windows development.
In more pragmatic terms, I've found both languages to be in more or less the same demand by employers. There's a lot of old legacy C++ code out there, however, so I'd say that, as a Java programmer, you've a better chance of working on nice new projects rather than maintaining ancient software! To be honest, I don't know which way I'd go if I was starting out now - sorry
Oh, and I can't think of a single reason to learn Visual Basic - it's totally different to everything else, not as powerful, and not much easier to learn than the vastly superior C# or Java.
Yea, gcogger has better answers than I do Hope I helped at all. Thanks gcogger
Honestly I prefer straight C for a lot of things because it has the most strict code. It is so strict that code in and of itself is easier to follow. C++ being a superset of C is nice, and of course it adds OOP functionality. I just think C++ can get a bit too confusing sometimes, and I am always learning about new ways to do things that I never knew before.
Java is quite the opposite with syntax and garbage collection (which I am generally not a fan of outside of scripting languages). It is easier to use OOP in Java than C++ sometimes you forget about performance that way. You start initialising objects left and right, forgetting about their overhead and faster, more creative ways to do things.

A C# Based Android

There has been talk of Android shifting to C#, mainly due the Google-Oracle lawsuits over the use of Java. While there rumors haven't been confirmed, there is mono-based C# for Android at http://xamarin.com/monoforandroid but what interests me more is what's on this link: http://hexus.net/mobile/news/android/38789-google-android-ported-java-c-blazing/
At the bottom, of the link, they point to an ICS build of Android based on C#. Though the build isn't yet complete, the second link I've posted contains a comparison from which it can been that C# trumps java... Badly!
The C# build can be found at https://github.com/xamarin/XobotOS
It is called the XobotOS. Has anyone tried this? This is supposed to be a working build.
Here is a snippet of their description:
XobotOS project
===============
XobotOS is a Xamarin research project that explored porting Android
4.0 from Java/Dalvik to C# to explore the performance and memory
footprint benefits of C#.
XobotOS is a semi-automated port of the Android 4.0 source code from
Java to C#. The automated parts were ported using an improved version
of Sharpen that can compile more advanced Java constructs and supports
generics. Most of the manual bits of code fall in two categories (a)
code to integrate with the host operating system and (b) replace the
Java JNI code used to call into C, with the ECMA CLI P/Invoke
functionality.
Click to expand...
Click to collapse
switch
thatd take a lot of developing to switch after so much work has been done in java!
I wonder if is a good idea to move from an open to a closed and corporate environment. How about compatilibity and scalability?.
C#, though made by Microsoft, is supposed to be an open specification. And the mono framework provides an open source platform for C#.
Check this out from Slashgear:
The key difference between Java and the C# and .NET runtime is that the latter two are covered by ISO standards. That means there are legally binding commitments by Microsoft that prevent the software giant from suing implementers for patent infringement.
Click to expand...
Click to collapse
This looks very good: http://xamarin.com/monoforandroid
It's mono for Android. It runs on the current Android versions but it is based on C#. Though this is slightly different from a C# Android, this can provide a unified code base for Android, iPhone and WP7. However, this project isn't free except for evaluation.
I'm wondering if any dev's could try out this port on one of their devices.
yea, I remember mono a how it failed on linux... anyway looks interesting but Im sure is not promising
cpl.Bower said:
yea, I remember mono a how it failed on linux... anyway looks interesting but Im sure is not promising
Click to expand...
Click to collapse
I am no programmer, but I'm glad it failed. I can't imagine Google officially going to port the whole Android to C# and .NET. If they were going to do that, might as well transfer all their Android IP to Microsoft for free to avoid another case like SCO (funded by Microsoft) v Novell.
Anyway, on the recent Oracle v Google case the latter won overall except for a few minor offenses.
I wouldn't personally mind a switch from Java (read: Oracle), but that would be a huge switch for whole community, it might even split it in a way if Google went with this. What about Google Go? I've never used it nor I even know the state of it. Who knows, maybe Google has plans to use in for android in the long run already?
A switch from Oracle's Java to C# which I think is tied to Microsoft wouldn't be a wise thing to do IMO.
The switch to a C# based android would mean better performance and battery life if what they say is true. However doing so is largely impractical and would be a decent alternative only if Google was forced to switch from Java.
As far as the Mono platform goes, it is a godsend for XNA developers. It enables you to retain 80-90% of your codebase between all 3 platforms (android, iOS and WP7) and will greatly reduce porting time if you're writing in C#.
Sent from my Droid Incredible using the XDA app.
Sounds cool, for me anyway since i use unity 3d and program in C# though i though the lawsuit was over between them?
i doubt that google would change android to C# way to much has been done in java think of all the apps that would no longer work.
although the flip side is that it would mean a clean slate for the app store witch means no more bad apps because google could change the restrictions for publishing.
Every app would need to be rebuilt...but hey, you could code for iOS and Android at once!
AceRoom said:
C#, though made by Microsoft, is supposed to be an open specification. And the mono framework provides an open source platform for C#.
Check this out from Slashgear:The key difference between Java and the C# and .NET runtime is that the latter two are covered by ISO standards. That means there are legally binding commitments by Microsoft that prevent the software giant from suing implementers for patent infringement.
Click to expand...
Click to collapse
The ECMA standard is incomplete, and the only actual protection is a "Microsoft Community Promise" which only prevents Microsoft from suing you, not one of the patent trolls which it can, and has already in the past, equipped.
As this article points out:
If Microsoft genuinely wants to reassure free software users that it does not intend to sue them for using Mono, it should grant the public an irrevocable patent license for all of its patents that Mono actually exercises.
Click to expand...
Click to collapse
In short, there are still serious reasons for worrying about C#, despite what they'd like you to believe.
Hmmm.... Basically Microsoft can still come back and screw us over... And they would have reason to since they offer products directly competing with ALL of Google's products. The only reason they probably aren't doing so to Apple is that Microsoft makes products for Apple systems...
And then Apple would come out from nowhere and sue android again for this, claiming they patented it.
♬★------ιƒ ι αgяєє∂ ωιтн уσυ; ωє'∂ вσтн вє ωяσηg シ------ ★♬
java always used to be more advanced than .net, especially back when android was released. but in the past few years .net has really caught up and now greatly surpasses java in both development tools and runtime performance. you can already run android apps written in .net with mono which already outperforms the same application written in java.
also i think csharp is a very easy language to learn and visual studio really makes it easy for new developers. however i dont see google pulling a complete switch like this. especially when the entire android project is based on rapid development (which seems to be working well for them).
I think that if legally everything can work out between Goo and MS about patents etc., would be nice to see some C# Android. .NET and C# are good base to have some improvements. Then again the security issue would escalate sky high and we will be all under the good grace of MS.....

framework for cross-platform development: Android + iOS

What is the best framework for cross-platform development: Android + iOS. Does it exist?
Sencha touch
Sent from my GT-N7100 using Tapatalk 4 Beta
Artemidza777 said:
What is the best framework for cross-platform development: Android + iOS. Does it exist?
Click to expand...
Click to collapse
http://phonegap.com/ ... pretty much the easiest and most amazing solution for cross-platform development. I use it along with Adobe Dreamweaver. Cheers.
There is also Corona SDK
Sent from my U8120 using Tapatalk 2
Someone else mentioned Corona SDK. I just started using it and am pleased with it. Initially wanted to just prototype with it (it is a bit slower than straight C++) but for simpler apps and games its good.
Damn this site is awsome,so many things to read!
I´ve tried PhoneGap and its quite good. You can do lot's of "programming" without having do kwon Java or Objective-C, you only have to use web tecnhologies like HTML, CSS, and JavaScript.
Adobe AIR
Of cource, Unity3d. Best framework for game I ever seen. Deployment for Android and iOS is supported (also in free version).
If you are familiar with Java, Libgdx may be an option (it supports Android, Desktop, HTML5 and iOS is currently under heavy development).
Andrew1000000 said:
Of cource, Unity3d. Best framework for game I ever seen. Deployment for Android and iOS is supported (also in free version).
Click to expand...
Click to collapse
I would also say Unity is the best cross plattform engine(!) for game development.
sencha touch with phone gap is the best solution. best in creating hybrid apps
Sent from my GT-S5360 using Tapatalk 2
What? Nobody said Titanium/Appcelerator?
I've done a few apps with it and the new Alloy framework is the bee's-knee's.
I'd still rather do native java/objective-c.. but for quick app's i find it better then Phoegap.
There are some alternatives out of there:
- PhoneGap/Cordova (Web based, so performance are not enthusiastic)
- Corona SDK (Commercial, you will have to pay a annual fee. It's game oriented but works very well for 2d games.)
- Moai SDK (Free, pretty much like corona but maybe less advanced in terms of documentations, features etc)
- Titanium Appcelerator (Free, works better than the other for cross platform application frameworks)
- Sencha Touch
- Mono http://www.mono-project.com/Main_Page
- Adobe AIR
- Unity 3d
If I were you I will give a try to Titanium Appcelerator, in case you want to make a game now they also offer a payed game engine, Platino.
BTW a suggestion that I give to you, is to consider the complexity of the application that you have to make, because if it's very particular or resource intensive, you will be badly deluded by those frameworks, and you will spend 10x times fixing the issues other than coding 2 native applications for android and ios standalones.
So take that path only if the application let you do it, with few customization and pretty much straightforward.
LostByte said:
What? Nobody said Titanium/Appcelerator?
I've done a few apps with it and the new Alloy framework is the bee's-knee's.
I'd still rather do native java/objective-c.. but for quick app's i find it better then Phoegap.
Click to expand...
Click to collapse
These two guys above me have the right idea, the tools they listed are amazing, along with everything else mentioned. I was going to bring up the Intel XDK (IDE as a Chrome Extension === mind blown ) but it's still pretty beta
Delphi XE5
I think that at the moment the best framework that is cross platforms including windows, android, iOs and so on is Firemonkey from Embarcadero
MonoTouch, the productivity gains from C# are huge, and the framework and APIs are just that much more thought out. Plus, async/await
Unity is fantastic. Titanium Studio is useles junk for me.
CocoonJS.
Fast html5 fraemwork ( javascript + canvas)
works with Box2d.
ludei.com
Use Qt. Nothing will have performance near that.

Categories

Resources