[Q] Best Language to Create Metro Apps - Windows 8 General

Hello
So I was wondering what people think is the best language to make Windows 8 Metro apps? The options are C++, C# or Javascript.
I have a relatively basic knowledge of all three - but I do not see the point in learning all three of them more. So which language do people here believe is the best to use in the long run, and why? Predominantly I am looking towards games, although have other basic ideas that I would like to try out too (eventually).
I am interested in Windows 8 Metro development, as the market is relatively untouched - in comparison to Android and iOS as platforms. I would say I have a fairly basic knowledge of multiple languages - and would like to be able to create a relatively decent application - so would like to use the code which will enable me to make the best I can, but would preferably also be the easiest to learn.
Thanks
P.S. Sorry for the use of the word "Metro"...

DomCowell said:
Hello
So I was wondering what people think is the best language to make Windows 8 Metro apps? The options are C++, C# or Javascript.
Click to expand...
Click to collapse
Personally I use C#. C++ is much less productive. I don't know javascript well enough to use it for an application but I don't think the tolling is as good.

SeanX said:
Personally I use C#. C++ is much less productive. I don't know javascript well enough to use it for an application but I don't think the tolling is as good.
Click to expand...
Click to collapse
Thanks for the response
C++ is off the list then! Will probably decide based on which I can find the best tools for learning more now then.
Cheers

Being a developer that does mainly c# and extensive javascript only projects over the past 2 years I would pick c#.
It would get you with the basics of programming much better, and javascript even though seems simple it takes quite a while to fully master it and write really good code (not talking about jQuery or anything like that, native javascript).
Also from the BUILD conference I've been in javascript feels like the worse choice compared.
If you want to make games in the future i'd recommend checking out Unity which also works on both c# and javascript, so whichever you choose you can use that as well.

C# by far. VB is getting better though...

morsdyce said:
Being a developer that does mainly c# and extensive javascript only projects over the past 2 years I would pick c#.
It would get you with the basics of programming much better, and javascript even though seems simple it takes quite a while to fully master it and write really good code (not talking about jQuery or anything like that, native javascript).
Also from the BUILD conference I've been in javascript feels like the worse choice compared.
If you want to make games in the future i'd recommend checking out Unity which also works on both c# and javascript, so whichever you choose you can use that as well.
Click to expand...
Click to collapse
Thanks for the response. Will definitely go with C#, based on your response and the other replies in this thread. Will check Unity out at a later date too - thanks!
By the way, do you mean this years Build Conference? If so, jealous of you!
lseidman said:
C# by far. VB is getting better though...
Click to expand...
Click to collapse
Thanks for the response

I am not sure, but I think Microsoft said that they used c# for their new Skype app.. I've been using it for a while now and its very stable.

I am using C# too

Hi++
I start learning the C# since last year and I have a good feeling about this! however I recommend This for your start because it's awesome !

C# for me too.

I'm really can't imagine how to program using javascript. I've seen the source of the Music app and have ensured that it's really unreadable.
My choice is C#, though it's useless to compare both. In my opinion C# is the best language for applied programming.

Related

Wannabe developer needs help from the pros!

Hello there,
I'm a relativelly experienced software developer and im looking to develop applications for the smartphone ambient.
The thing is... i don't know the first thing about smartphones OS other than who the big boys are, so... this is where the actual knowledgeable guys come in...
I need help with some questions:
1) Which is more developer friendly (IDE, libraries, languages, allowing for custom applications, etc)?
2) How much support is there for developing great eye candy applications in each major smartphone OS? Or just state the one with the best support for cool looking applications.
3) I heard that in Windows mobile you better code in .NET or C++ or you're screwed... Is there really no better alternative?
4) What other languages / framework can one use in Symbian, RIM, IPhone?
I'm not a WinMo dev (yet?) but I can answer a few of these questions.
2. iPhone strives to have a consistently beautiful OS by providing easy to use APIs for GUI creation. Since every app uses the same APIs, they all have the same smooth scrolling action and animations. As far as I know, Windows Mobile does not have APIs for a consistently good looking UI. So far, every app I've seen uses its own implementation of finger scrolling, even within HTC's own apps.
3. What alternatives are you thinking of? If you want to use Java, you could code for J2ME and Jbed. They don't look as good as native apps though, are less flexible, and tend to have greater overhead. Not great for mobile devices.
Soaa- said:
I'm not a WinMo dev (yet?) but I can answer a few of these questions.
2. iPhone strives to have a consistently beautiful OS by providing easy to use APIs for GUI creation. Since every app uses the same APIs, they all have the same smooth scrolling action and animations. As far as I know, Windows Mobile does not have APIs for a consistently good looking UI. So far, every app I've seen uses its own implementation of finger scrolling, even within HTC's own apps.
3. What alternatives are you thinking of? If you want to use Java, you could code for J2ME and Jbed. They don't look as good as native apps though, are less flexible, and tend to have greater overhead. Not great for mobile devices.
Click to expand...
Click to collapse
Thank you that was really helpfull. Whats your take on Symbian or Android?
Soaa- said:
2. iPhone strives to have a consistently beautiful OS by providing easy to use APIs for GUI creation. Since every app uses the same APIs, they all have the same smooth scrolling action and animations. As far as I know, Windows Mobile does not have APIs for a consistently good looking UI. So far, every app I've seen uses its own implementation of finger scrolling, even within HTC's own apps.
Click to expand...
Click to collapse
For the record, 6.5 has gestures support (including kinetic scrolling) built in so it will work across all applications.
For all members who've been putting their eyes on questions in the Dev&Hack section. it is now ALLOWED to ask development related questions in the D&H section while all other questions go in the Q&A section.
cheers
Noone who can give me a quick rundown on these OS's?
Thaks in advance.
SEE....
http://www.smorgasbordet.com/pellesc/
http://www.trajectorylabs.com/win32.html
This is the most I've been able to turn up in any of my searches, least in terms of an API for common GUI controls.
http://fluid.codeplex.com/
Haven't had much time to play with it lately tho. Hopefully that will change toward the end of next month.
*EDIT*
Then theres also the non free stuff.
http://www.resco.net/developer/default.aspx

programming ON device

Hi,
i wonder if it's possible to code right ON an android device, such as the upcomming tablets?
plz correct me if i'm wrong, but i'm dreaming of coding and compiling direct on the tablet. (on my old wm6 device i did so by using basic4ppc, but it would be great to do so without using fring.)
Is this realistic or am i simply dreaming?
thanks for any reply to my silly noob question
your's
pedro
P.S.: by the way,do you gurus think there will be things like video-editing (similar functionality to pinnacle studio/vegas) and vst support for android?
No reply at all??
PLZ boys....can JDK and eclipse be run on an android device????
The only thing I'm aware of at the moment is the project (formerly) known as "Android Scripting Environment"
http://code.google.com/p/android-scripting
Among other things, it gives you Perl
Sent from my SPH-D700 using XDA App
Well, Eclipse is a Java application, so in theory it should be port-able onto an Android device. However, I imagine there would be so many things to fix/work-around that it just wouldn't be worth it. For example, I don't think Android has the Swing/AWT components, which Eclipse probably uses, so you'd have to rewrite all the UI display classes to use the Android libraries.
Much more realistic would be simply a syntax-highlighting text editor, which would let you write (but not compile, of course) on the go. I looked around for one of those a while ago but couldn't find one. I started writing one, but then decided that my urge to program on my phone wasn't strong enough for the amount of effort it would take to write such a program...
NEWS
i've read today good news..... basic4android (basic4ppc) announced a basic4android version (early beta) and "maybe" an on-device-programming version
infantilo said:
i've read today good news..... basic4android (basic4ppc) announced a basic4android version (early beta) and "maybe" an on-device-programming version
Click to expand...
Click to collapse
Hello,
it will probably be no version to program with B4A on the device. The IDE runs in conjunction with windows. Net.
Cu
Amalkotey
Basic4Android-Betatester
Steven__ said:
Well, Eclipse is a Java application, so in theory it should be port-able onto an Android device. However, I imagine there would be so many things to fix/work-around that it just wouldn't be worth it. For example, I don't think Android has the Swing/AWT components, which Eclipse probably uses, so you'd have to rewrite all the UI display classes to use the Android libraries.
Click to expand...
Click to collapse
These issues are not the only issue i see...
What about javacc wouldn't this need to be ported as a java application as well?
Which i dont see how you can develop a java compiler in java if you can i'll be amazed.
we'd have to wait for the native library imports to do that from my current knowledge
Please someone correct me if im wrong
I know this thread is old, but if anyone come across this thread search for Aide in the play store.
i think AIDE is the best way to coding ON the tablet/phone!
Try AIDE It's free on Google Play.
AIDE is a good choose if you can buy premium key. I personally did and I'm satisfied. I use aide when I'm away of my PC and get an idea
Free version allows only projects with 5 or less java files. Excluding R.java and BuildConfig.java that's 3. I doubt that anyone can write anything serious with 3 java files.
Sent from my Evo 3D GSM using Tapatalk 2
pedja1 said:
AIDE is a good choose if you can buy premium key. I personally did and I'm satisfied. I use aide when I'm away of my PC and get an idea
Free version allows only projects with 5 or less java files. Excluding R.java and BuildConfig.java that's 3. I doubt that anyone can write anything serious with 3 java files.
Sent from my Evo 3D GSM using Tapatalk 2
Click to expand...
Click to collapse
+1 for AIDE you can't go wrong with premium especially if your projects are big (lots of files)
AIDE also supports ssh git and dropbox sync last I checked. It also features an auto complete kinda like in eclipse.
Although I always begin my projects on a computer especially for the ui design (I'm a noob this way)
as for C there is C4droid although I'm not sure if its possible to link it with android java code.
But c4droid beats having to set up the proper toolchains if your creating a pure native application.
Sybregunne said:
+1 for AIDE you can't go wrong with premium especially if your projects are big (lots of files)
AIDE also supports ssh git and dropbox sync last I checked. It also features an auto complete kinda like in eclipse.
Although I always begin my projects on a computer especially for the ui design (I'm a noob this way)
as for C there is C4droid although I'm not sure if its possible to link it with android java code.
But c4droid beats having to set up the proper toolchains if your creating a pure native application.
Click to expand...
Click to collapse
+1 for AIDE
I has AIDE+PasGUI+C4Droid on my device and I quite satisfied with it, though it's difficult to manage with interface
DoR2 said:
+1 for AIDE
I has AIDE+PasGUI+C4Droid on my device and I quite satisfied with it, though it's difficult to manage with interface
Click to expand...
Click to collapse
pasGUI - will try that now. Thanks

Best android development book

Hi,
I had a quick look through the forums but couldn't see a topic for this.
I am wanting to get started with android development and programming and am looking for a decent book to help me get started. I have went through the tutorials on the android site but I found them not to be at my level having no java experience.
I do however have programming experience through microsoft visual basic and vba and do understand the basics. i just want a book to take me from scratch with android and eclipse that starts at a fairly easy level but that is still useful once I have progressed.
Does anyone have any recommendations or even know of solid online resources?
Many thanks
Sent from my HTC Desire with oxygen gingerbread using XDA App
I heard positive things about this: wrox.com/WileyCDA/WroxTitle/Professional-Android-Application-Development.productCd-0470565527.html
Note that I do not have this book myself so I cannot tell you anything more about.
Hi,
Thanks for this, will have a look at that one and see what its like!
Cheers
Sent from my HTC Desire using XDA App
http://www.amazon.com/Teach-Yoursel...=sr_1_9?s=books&ie=UTF8&qid=1293644514&sr=1-9
Namuna said:
http://www.amazon.com/Teach-Yoursel...=sr_1_9?s=books&ie=UTF8&qid=1293644514&sr=1-9
Click to expand...
Click to collapse
I'm working through that book at the minute, and it is perfect!
Since you've got previous programming experience (it would be good if you had .Net experience) then it's just a case of translating what you know into a different language.
Admittedly, I'm finding it quite easy, coming from a strong C# and .Net background. I think it's probably the easiest transition going, but I'd recommend the book regardless.
Thanks for that as well! It also looks very helpful, i would expect coming from a .net environment to take to Android programming easy enough once i understand how the basics of eclipse and the coding syntax works for it!
I have bought the Wrox programmer to programmer book but i am also going to bear in mind the Teach Yourself Android book as well, had a flick through it there on amazon preview and it looks very easy to use, i like that it is split into hours so you know where you should be and how long it will take.
Thanks for the replies!
I would recommend Commonsware's books. You get a full year's access to 3 books.
http://commonsware.com/
However, I would start with some Java book first. I heard that Head First Java is good.
I second the Commonwares books. The weekly chats alone are worth the price!
doctormetal said:
I heard positive things about this: wrox.com/WileyCDA/WroxTitle/Professional-Android-Application-Development.productCd-0470565527.html
Click to expand...
Click to collapse
Yep, I have this book and find it great. One thing is nice is that he uses the same program for all his examples, thus building up one app. His writing style is very fluid too. I recommend it.
Sent from my SAMSUNG-SGH-I897 using XDA App
i would love to start learning java myself, ive been playing with appinventor, i have graphic design skills but im far from a programmer, playing with appinventor has really spark a fire for me to actually learn real code, i know its a far stretch from appinventor but ive been playing with tools like eclipse for android sdk, i would love to find a good book on a certain way to go about using all these tools together, much research to be done!
Not a book but google for "Android App Course", those labs are a good introduction to android...

[Concept] XobotOS (ICS C#) for Galaxy Note

Anyone interested in comitting?
Here's the intro to the pros and cons [1]
Github [2]
I won't have time to work on this until next year, after a few classes. So I'm just putting this out there to spark some intrigue.
This is the definitive way to leave the ssssslow java and go to the "performer" C#!
I know a number of people who don't buy any Android phone because thay know very well that it is "slow" inside.
Java and its VM cannot compete with the speedness of windows phone 7, that is written in C#.
When i look at my friend's wp7 with a 1GHz processor i can't believe how quick it is, compared to ANY android phone.
I hope that this project will have a bright future.
adario73 said:
This is the definitive way to leave the ssssslow java and go to the "performer" C#!
I know a number of people who don't buy any Android phone because thay know very well that it is "slow" inside.
Java and its VM cannot compete with the speedness of windows phone 7, that is written in C#.
When i look at my friend's wp7 with a 1GHz processor i can't believe how quick it is, compared to ANY android phone.
I hope that this project will have a bright future.
Click to expand...
Click to collapse
Interesting. I didn't know that Java was something that was slowing down Android.
Java slows down everything. It's way too high level a language for what it wants to accomplish to do. I suspect Google takes to closely with it's Stanford roots. Stanford teaches java in intro to computer science classes. Whereas, in unis like MIT one would start with python then C.
If it is slow, the problem is not comming from java and c# is not better or worst, the two languages are very similar. The diference is between the VMs Dalvik and Mono. Dalvik, which run java code, is not yet enougth mature .
I confirm, wp7 runs realy faster than Ics. I had a htc mozart with 1ghz and it was as fast as my current Note with it's dual core 1.4
co2gaz said:
If it is slow, the problem is not comming from java and c# is not better or worst, the two languages are very similar. The diference is between the VMs Dalvik and Mono. Dalvik, which run java code, is not yet enougth mature .
I confirm, wp7 runs realy faster than Ics. I had a htc mozart with 1ghz and it was as fast as my current Note with it's dual core 1.4
Click to expand...
Click to collapse
WP7 is a much more lightweight OS, so of course it is faster. Java certainly isn't helping, though...
Java ain't slow
MIght be some confusion, but how come the biggest international
market makers (stocktraders) use Java code to actually make the transactions with the stock exchange ?
I've been told that java is the fastest code out there to handle those tasks.
They are trying to gain microseconds, not milliseconds.
I will ask for some more info about it.
lucid said:
MIght be some confusion, but how come the biggest international
market makers (stocktraders) use Java code to actually make the transactions with the stock exchange ?
I've been told that java is the fastest code out there to handle those tasks.
They are trying to gain microseconds, not milliseconds.
I will ask for some more info about it.
Click to expand...
Click to collapse
Both C# and Java compile down to a bytecode which runs inside a virtual machine (VM). The speed at the code runs is dependant on the speed of the VM. The Dalvik VM used by android is completely different to the Java VM used in desktop machines and has different performance characteristics. I wouldn't be suprised to find the Mono VM quite a bit faster, it's much more mature.
Java is certainly not the fastest programming language out there, C# is roughly the same speed while natively compiled languages such as C, C++, Delphi etc are typically 50% - 100% faster.
Thread moved to General
This is not development yet.
reinbeau said:
This is not development yet.
Click to expand...
Click to collapse
Please move it back to development!
The developers (and most of the users) don't go to the General section. This have been for years in every device forum here on XDA! I myself used the General section only one or two times and that was before I bought the Note just to see what the people think of it. There is almost no useful info there and this thread have some potential! There it will be forgotten...
lucid said:
MIght be some confusion, but how come the biggest international
market makers (stocktraders) use Java code to actually make the transactions with the stock exchange ?
I've been told that java is the fastest code out there to handle those tasks.
They are trying to gain microseconds, not milliseconds.
I will ask for some more info about it.
Click to expand...
Click to collapse
I don't know why they chose Java specifically, but I imagine the Java VM those stock traders use are much faster than Google's Dalvik.
The stock brokers only use Java for some clients - I promise you their servers and back end doesn't run Java!
Sent from my superior GT-N7000 using Tapatalk
OrionBG said:
Please move it back to development!
The developers (and most of the users) don't go to the General section. This have been for years in every device forum here on XDA! I myself used the General section only one or two times and that was before I bought the Note just to see what the people think of it. There is almost no useful info there and this thread have some potential! There it will be forgotten...
Click to expand...
Click to collapse
I guess we'll need you to bump it every few days forever to keep it alive...until some actual work is created.
OrionBG said:
Please move it back to development!
The developers (and most of the users) don't go to the General section. This have been for years in every device forum here on XDA! I myself used the General section only one or two times and that was before I bought the Note just to see what the people think of it. There is almost no useful info there and this thread have some potential! There it will be forgotten...
Click to expand...
Click to collapse
I do go more often in General than Development...
That being said, I still wish there was a fully native Android experience. All apps written in C/C++, cross-compiled directly for ARM, and BANG : 5000x faster.
Zamboney said:
The stock brokers only use Java for some clients - I promise you their servers and back end doesn't run Java!
Click to expand...
Click to collapse
Just my thought too. I've been working professionally as a software developer for almost 15 years, and I'd definitely pick something else than Java for anything performance critical. Back in the days we used to joke that if you're a fast typer, you can run your Java app while coding it.
Anyhow, I'd be thrilled to see more C# support for Android - it's just so much more comfortable to code. In hindsight I think Microsoft clearly did the right thing to ditch backwards compatibility for the new and improved features such as generics.
Lets get manufacturer release data sheet and then lets start coding in assembly will blow everything out of water (if you can write a 500 line of code for your hello world program ) ,
Java and c# are very different language,Java is slower but its getting faster, although I'd love to see android in c#.
Sent from my GT-N7000 using xda premium
Definitely want to see this fine, would run it in a heartbeat
Sent from my GT-N7000 using Tapatalk 2
awesome-member said:
Lets get manufacturer release data sheet and then lets start coding in assembly will blow everything out of water (if you can write a 500 line of code for your hello world program ) ,
Java and c# are very different language,Java is slower but its getting faster, although I'd love to see android in c#.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Java is getting faster, Dalvik isn't.
Android Audio Latency
Will this potentially improve Androids audio latency issue?
Actually a big time discussion was taking place,which sometimes went out of proportion:
http://www.engadget.com/2012/05/04/Xamarin-XobotOS-ports-Android-to-C-Sharp/

[Tool] Which IDE do you prefer? Eclipse, Android Studio or something else?

Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Android Studio is "The Way Forward" but still has lots of problems, and runs slow for me.
I'm just trying Studio now with a new app I'm working on. NDK integration isn't good (but better than 2013).
I don't even use Eclipse anymore, just ant etc scripts on command line and default linux GUI editor (Pluma) for editing.
But I'm trying to learn Studio because I think Google will let Eclipse support rot once Studio is officially supported. AND I'm trying to find ways to make myself more efficient. I haven't used IDEs in over 25 years (Turbo C), LOL, but it was fun back then...
Here again, Google is moving from open source stuff (Eclipse) to proprietary Android specially designed and built stuff (Studio). That has good and bad, and I'll just "go with the flow"...
mikereidis said:
Android Studio is "The Way Forward" but still has lots of problems, and runs slow for me.
I'm just trying Studio now with a new app I'm working on. NDK integration isn't good (but better than 2013).
I don't even use Eclipse anymore, just ant etc scripts on command line and default linux GUI editor (Pluma) for editing.
But I'm trying to learn Studio because I think Google will let Eclipse support rot once Studio is officially supported. AND I'm trying to find ways to make myself more efficient. I haven't used IDEs in over 25 years (Turbo C), LOL, but it was fun back then...
Here again, Google is moving from open source stuff (Eclipse) to proprietary Android specially designed and built stuff (Studio). That has good and bad, and I'll just "go with the flow"...
Click to expand...
Click to collapse
Eclipse is the best right now.
Google Studio may be in the future.
I really hope Google starts stepping up and helping developers out. Xcode for iOS is really nice to work with when devloping for iOS. It would be nice if Google put that same effort into helping devs build for Android.
jbutewicz said:
I really hope Google starts stepping up and helping developers out. Xcode for iOS is really nice to work with when devloping for iOS. It would be nice if Google put that same effort into helping devs build for Android.
Click to expand...
Click to collapse
Why would they change to being more dev friendly ?
Why would they spend more money on "expenses" when Android is #1 in terms of penetration ?
I'd be happy to see it, but I don't see them changing, and I highly suspect their team of bean counter accountants continue to conclude their profits are best when their development teams are small.
I've been researching/learning everything I can about audio on Android. It's a big mess, though it works, more or less, as in "good enough". But high performance, low latency audio such as IOS has is extremely difficult, hardware/OEM HAL/kernel driver dependent, and effectively impossible to do without at least occasional glitches on many leading devices.
These audio issues have existed for years, along with MANY others. The Android issue tracker is full of such issues. Some improvements have been made, but it's never enough.
Low level stuff like audio is where Android really falls down. The Google perspective seems to be the user perspective, which is closer to higher level Java stuff and farther away from the nuts and bolts of kernels, HALs, C and assembly language. Most of this is left to the OEMs to figure out and many take major shortcuts to reduce time to market.
andreait15 said:
Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Click to expand...
Click to collapse
I'm also interested in what folks are using. I whipped up a poll this morning and posted it on Reddit/r/Android but this seems much more appropriate.
Here is the Poll
And the results so far Results
matt68000 said:
I'm also interested in what folks are using. I whipped up a poll this morning and posted it on Reddit/r/Android but this seems much more appropriate.
Here is the Poll
And the results so far Results
Click to expand...
Click to collapse
wow, these results make me only more confused.
Right now I'm using Android Studio too, and in some ways is better, especially the design views on the right side of the code, but adding libraries was a slowly death inside!!!
IntelliJ is the best. After I first-time used it, I would never switch back to eclipse.
Eclipse as an IDE, Unity3D as an engine.
esoloyu nefs
As along time eclipse user (more then 10 years) I tried out intellij a few month ago and I will never go back. IntellliJ is just the better ide
Well and now since I am using gradle I switched to android studio. Its like intelliJ with more android power
matt68000 said:
I'm also interested in what folks are using. I whipped up a poll this morning and posted it on Reddit/r/Android but this seems much more appropriate.
Here is the Poll
And the results so far
Click to expand...
Click to collapse
Great idea! As of now, it looks like the distribution of Android Studio and Eclipse w/ ADT goes head-by-head.
As for me, I prefer Android Studio. The layout previews and the built-in gradle support are the most important advantages for me. And of course the Darcula theme is also a huge plus
Still sticking with Eclipse. Android Studio has more fancy features, but we're hand coding all the XML's or dynamically creating views anyway, so while a better UI editor works for smaller apps, it's not much help for a complex one.
That and redeploying / releasing is easier (for me anyway) with Eclipse, I've heard too many issues with Gradle to make the switch yet with commercial apps. People still complain about compile time, but with DexGuard packing stuff, it's < 10s between clicking "Run" and having it on the phone, not bad for an 6MB .apk full of code.
andreait15 said:
Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Click to expand...
Click to collapse
Hi , I have been using eclipse IDE for long time.It is great software to do android development.But they say that Android Studio is more context aware that eclipse and you have to write very less code.Through predictions it guesses what you want to do.So I have decided to give it try and Will be posting my finding here.
Yes this is sure that Android studio is still buggy as my team mates using this software often say that.
Let me check and I will get back.
Any one else if find major differences b/w two please explain pros/cons here.
Thanks,
Eclipse
andreait15 said:
Hello,
I have built my first Android app using Eclipse and I think it was pretty quick and helpful in many ways.
After the first project, my colleague asked me to switch to Android Studio, but my question is: is it better than Eclipse? Which one do you prefer?
Thank you all in advance,
Andrea
Click to expand...
Click to collapse
Go With eclipse
Eclipse is stable and you will find lot of android video tutorials based on eclipse
Android Studio is still not fully stable ...
aditya.kamble said:
Go With eclipse
Eclipse is stable and you will find lot of android video tutorials based on eclipse
Android Studio is still not fully stable ...
Click to expand...
Click to collapse
Have you got examples of when Android Studio has not been stable?
Just because its still in "alpha" stage doesn't mean its not stable... I've never had any issues with it since switching from eclipse. Remember its based off IntelliJ which is stable.
It is stable enough to develop apps. But we should used to that sometimes studio freeze when we plug second device, or when we trying to do something sophisticated with Gradle. Recording video sometimes generate broken mp4 file.
Another thing is Gradle, which is great tool to simplify building app. Flavors and build types wasn't so easy never before.
Now with 0.5.8 version is almost complete code completion for Gradle files. In upcoming releases we will get proguard completion.
There is several crashes here and there, but it cannot be compared to eclipse. Not the same league.
Big problem is lacking support for native code so you do develop mostly on Visual Studio.
If spending couple minutes from time to time with IDE itself doesn't scare you much, the choice is simple.
Sent from my Nexus 4 using XDA Free mobile app
Hi,
Continuing with my previous post ,
I started using android studio a week ago and following are my findings till now.
Android studio is excellent tool for android I guess because it has so many shortcuts or features etc.Sure it has some learning involved because of gradle.But once you pass basics of setting up project using gradle it is most excellent tool.Following are features
1).It will auto import classes when you write code.
2).It is truely context aware tool becuase It will present you with options relevant to piece of code(function, expression,class etc) you are writing when alt+enter is pressed.Consider alt+enter as right click.eg.If you have written any regular expression in your code then it will automatically identify it as regular expression and present you with dialog to test you regular expression there only.Same goes with SQL,HTML,XML etc it presents option with these only.Means you do not have to tell ide that I have written some regular expression please evaluate.It knows what you want.
3).You can search file using ctrl+N by specifying name of file.You can also specify filename:<line> in search box it will go to that file and to that line.
4).Another cool feature is gui editor.When writing any layout then it shows preview side by side, so you dont have to switch.Cool thing is that you can preview multiple devices at the same time.And device skin is of real device.How cool is that.
5).Now coolest feature is that you can set up multiple versions of project at the same time using build flavours using gradle.It is coolest.Just learn this you will love it.
6).No need to install ADT separately and update it separately.Studio comes with everything preloaded , and if any update comes then it is update for Android studio.
7).Real trick of using Android studio is to learn as many shortcuts as possible , Under Help in android studio there is keymapping , it contains complete list of shorcuts.
8).Code navigation is awesome in android studio.
9).It is stable.
Now I am not saying eclipse is not good IDE, but simply android studio is better than it in every aspect.
I feel that if you are new to learning android then please start using Android Studio instead of eclipse.
Please follow this channel for video tutorials on Android Studio : https://www.youtube.com/channel/UC5fT02o8H1NnGfX7j1CmP6Q
Thanks,Hit thanks if it helped.:good:
I used Eclipse for about 1.5 year. I know almost evry bug there, so after that development was pretty starightforward. Recently, I had to use AS, because of commercial project. It looks great, it's fast and I love it. If you are starting, choose AS.
I got Studio working, but it's still all new to me (so much more in an APK, it seems).
I do like it though, it brings a fresh new UI to the table. Need to figure out how to import libraries in it, though...
bassie1995 said:
I got Studio working, but it's still all new to me (so much more in an APK, it seems).
I do like it though, it brings a fresh new UI to the table. Need to figure out how to import libraries in it, though...
Click to expand...
Click to collapse
New Module > Import JAR or AAR or Import Existing Project
For libraries that are in the maven repository you can simply add the project to the build.gradle file, for example add the following to import the Google Play Services library:
Code:
compile 'com.google.android.gms:play-services:+'
Jonny said:
New Module > Import JAR or AAR or Import Existing Project
For libraries that are in the maven repository you can simply add the project to the build.gradle file, for example add the following to import the Google Play Services library:
Code:
compile 'com.google.android.gms:play-services:+'
Click to expand...
Click to collapse
Ah cool, I'll try. Thanks!
Sent from my HTC One_M8 using Tapatalk

Categories

Resources