Using Android + Scala in Intellij IDEA the Easy Way - Android Software/Hacking General [Developers Only]

Want to use a language that's supported by Android's Dalvik Compiler but not as ugly or feature lacking as Java? Want to be able to use both Scala and Java at the same time in the same project (or convert between the two with a click of a button)? For those that don't already use Scala (or want to know how to set it up for Android and in Intellij without a bunch of extra plugins and workarounds) I have your solution. No external building or additional plugins are required. Just the Android development plugins for Intellij and also the Scala plugin (and the sdk for both of course).
Just check out my guide and test project on github and feel free to clone it or whatever: https://github.com/yareally/android-scala-intellij-no-sbt-plugin
Questions? Feel free to ask.
Also, no I don't support or have a desire to support other IDEs. Guide requires Intellij IDEA Ultimate Edition or the free/open source Community Edition (which is basically what Android Studio is, only more crippled).

Thanks!

Related

Coding for WM2003SE

Can some of the developers give me a quick link or some tips on what I need to download in order to start developing for Windows Mobile? I have a summer's worth of freetime and I thought I might aswell go do something useful.
embedded visual c++ 4.0 if you want to code microMFC or pure win32 it's free
visual studio 2005 if you want to code .net (and it does what embedded do too)
gc++ if you want to code pure arm code it's freeware from the linux world
i used to look for something that could utilize delphi or other pascal language. i have found something called lazarus that seem to have a compiler for arm but it refuses to cooperate when i select it(the compiler), anyone got it working?

Best Development Environment (IDE) for Android

Just downloaded the SDK 1.0 from
http://code.google.com/android
But now i learnt it also Require IDE Integrated Development Environment to Develop Application for Android Phones.
I think there are 2 IDE available
Eclipse 3.4 or JDK 6
Which is the Best IDE so i can started Developing Application for Google Android OS ?
I would recommend to go for Eclipse. Much better user support and bigger community. So once you've got questions the probability to find answers with Eclipse is higher, imo.
JDK 6 is not IDE, its java development kit, and it needed to create android apps.
I'd recomend use intellij idea, cuz eclipse is quite unstable and too complex.
Eclipse is the only IDE that supports Android development at the moment.
new development ide for android
I am currently working on a new IDE – 'Meme IDE' for ANDROID, WM and Apple IOS.
Here is the link to the hello world video I made.
http://vimeo.com/20599586
It is planned to launch in april as its not quite finished yet but it works! and the plan is to make the design and deployment of cross platform apps more efficient while protecting functional depth in each.
Have a look and let me know what you think.
Joe
Lol!!! Depends on what OS you are running!(Windows) Eclipse is perfectly stable and u dont install it, it runs standalone! I am a IT major in College and have gone to programming competitions where they prefer you to use Eclipse over Netbeans, JGrasp, etc for java based languages. And you need all of it. the JDK, Eclipse, and Android SDK. JDK == java development kit, eclipse is your program to create code in and the android SDK is where essentially where all the different types of methods are like in the JDK but specifically designed for the Android Operating System. You should use Eclipse bc it has intellisence and since you dont know what an IDE is, not to be mean or anything, you should do more research before jumping into it because you will get overwhelmed quickly.
I'll give a try to meme!!
Great response. Very clear and concise and put it all in perspective for me! Thanks so much for this advice.
Cheers, Mike
Delete please... I forgot to quote post I was referring to...see next post! cheers, Mike
Nice concise helpful response - thanks
jr10000 said:
Lol!!! Depends on what OS you are running!(Windows) Eclipse is perfectly stable and u dont install it, it runs standalone! I am a IT major in College and have gone to programming competitions where they prefer you to use Eclipse over Netbeans, JGrasp, etc for java based languages. And you need all of it. the JDK, Eclipse, and Android SDK. JDK == java development kit, eclipse is your program to create code in and the android SDK is where essentially where all the different types of methods are like in the JDK but specifically designed for the Android Operating System. You should use Eclipse bc it has intellisence and since you dont know what an IDE is, not to be mean or anything, you should do more research before jumping into it because you will get overwhelmed quickly.
Click to expand...
Click to collapse
Great response. Very clear and concise and put it all in perspective for me! Thanks so much for this advice.
Cheers, Mike

[Q] Running a C++ binary

So this is probably a silly question.
I have this rather complicated app that would be a heck of a lot of work to convert to Java.
It runs in the command line and works fine in Linux.
Trying to run it fails, but x86 bytecode probably isn't very ARM friendly.
Is there a specific way I need to compile the application?
Is it even possible to run it from a console emulator?
Thanks.
Try Android NDK
I am also new to Android Dev ( 15+ years Linux, 10+ years Java, etc.)
I am not an expert but for your purposes you need the "Android NDK" in addition to the "Android SDK" that most developers utilize.
"The Android NDK is a toolset that lets you embed components that make use of native code in your Android applications.
Android applications run in the Dalvik virtual machine. The NDK allows you to implement parts of your applications using native-code languages such as C and C++. "
Basically the tools are needed to cross compile C++ source code for the target ARM environment.
I am prevented from posting the download URL for some bizarre reason, but it is listed under "Native Development Tools" on the left side of the web page for the standard "Android SDK" download.
Yeah that's because you are new. It's a system to prevent spammers from posting URLs.
When you have a couple of posts the restriction will disappear
Anyway; found it, seems to be what I'm looking for.
I'll check it out in the morning.
Big thanks
Dmitry Moskalchukhas written a patch for the ndk to better support c++ see crytax dot net there are posts on google groups android-ndk talking about it
Thxs for the info. I was aware that the NDK did not include all of the libs that desktop Linux/UNIX developers expect. The suggested patched version adds the STL libs back in.
Sent from my PC36100 using XDA App
There are A LOT of libraries missing
I guess I'll just keep it a hosted app.
Thanks for all the input

Thoughts on Qt 5.1

Qt 5.1 is scheduled to come out soon with fully integrated android and iOS support. Has anyone worked with Qt/Necessitas for android development. I really want to pick up a C++ cross platform tootkit over the summer and Qt seems like the best option. I am fluent in Java but figure if I can get results that are just as good as the default SDK using Qt that I might persue it further.
Hi,
I have released two 2D games for Android using Qt/Necessitas. Those were made for Symbian and Meego originally, so using Necessitas to port them to Android was quite ease. I really like using Qt C++ / QML (compared to "standard "C++). But I cannot recommend Qt to every job. For instance 3D game development is much easier using full-blown game engine, such as Unity.
Qt 5 apps can also be run on natively Ubuntu Touch with little to no modification
RC is now availible: http://blog.qt.digia.com/blog/2013/...m_campaign=qt-5-1-release-candidate-available
What about speed? How close it is to a native app???
Lyonsbane said:
What about speed? How close it is to a native app???
Click to expand...
Click to collapse
What do you mean by "native app"? Qt apps on android are in fact NDK apps, so they work as fast as any Android app implemented in native code. I personally use Qt 5.2 for Android, works like a charm.
Features of Qt 5.1
Qt 5.1 is mend for the static Qt builds. Apart from this the Perl dependency is also removed in the Qt 5.1. Online installer packages are available for Qt 5.1. It has improved c++11 code editing feature. There are few new modules like quick layouts, sensors, quick dialogs etc in Qt 5.1.

Which platform is best for developing android apps, android studio or eclipse??

I am working on eclipse from 6 months but recently I downloaded android studio and i found it good too. So i am confused which platform should i keep using?
thanks.
Eclipse is d best i feel..developing on it since ice cream sandwich
Sent from my GT-I9082 using XDA Free mobile app
I've no problem with android studio except the fact that it is damn slow. I'm sure that it will improve in the future.
Eclipse is a very familiar tool. It feels like home when I use eclipse and a lot faster.
Androi Studio for sure
My personal favorite is android studio. Its much better then eclipse and it surely improves productivity in certain tasks.
Developers should be update, use Android Studio
Android Studio.. IDEA based software is best ever.. You guys must learn its featured and then you would say wow. From multiple selection to Floating Navigation Bar to Any File Go to lot and lot of features..... Extremely customisable... I don't know how many have used legendary code editor sublime text.
Buy this android studio.... Completely Brings all features of Sublime Text into an IDE. Learn the features of this ide... And u will hate all other ide altogether
Sent from my Moto E using XDA Free mobile app
Also google positions Android Studio as the official development environment.
Eclipse is faster, but Android Studio has more features and is built for Android specifically (while Eclipse is built for Java generally). If your computer can run it smoothly, go with Studio.
I personally believe one should always use the one which is best and up-to-date. Saying that, Android Studio fits in best as this is the latest development platform with loaded features and easy to use.
The only factor that it takes time and effort for the developers to learn new things. For, developers who starts fresh doesn't make much difference to them as they need to learn either one of the platform and they can start with Android Studio. If one learns Eclipse first, they eventually need to learn Android Studio and upgrade themselves at some point.
Moreover, there are additional features on any new releases than the older version. Similarly, we see some of the well known features that are available on Android Studio and not present in Eclipse, mentioned here:
1. Maven-based build dependencies
2. Build variants and multiple-APK generation (great for Android Wear).
3. Advanced Android code completion and refactoring.
Finally, new and advanced features in these new released platforms helps developers to produce apps faster.
Happy Coding
Cheers!
For low performance laptop Android Studio wouldnt be as efficient, on the other hand it have a lot of advantage rather than eclips.
I'm looking to create an app for android (which I can eventually add to the play store), that contains buttons of a sort in the fact that if you tap on the screen in once place one thing will happen and in another place, something else. Can anyone recommend which I should use to create this app? Also, do they both use need java? (android studios or eclipse)
Thanks!
I've found the newer versions of Android Studio to be much more efficient as well as having less issues than they used to. I highly recommend using Android Studio, especially since Google is ending support for Eclipse by the end of the year.
intellij
Android Studio is a customized version of IntelliJ, which is a commercial IDE. So you're getting a $200 IDE for free!
And intellij is very polished
Sent from my XT1254
Android studio is pretty good, but it is very slow and takes a bit too much of the memory
I have only used Android Studio so far. Lot of support tutorials and ease of understanding / use. May be, one day I will explore other options. Not for now.
My vote is going for Android Studio.
I vote for Android Studio. eclipse is not support. but i am using visual studio to develop android app (cordova hybrid project).
Hi,
Android Studio is great.The framework is sleek and it is perfect platform to develop your apps.
If you are new to android programming i would suggest you can take courses from Udacity (Android Basics Nanodegree program by Google)Here you will be taught by the Google developers themselves and it's really cool and interactive.
Android Studio.. Thought based programming is best ever.. You all must take in its included and after that you would say stunning. From different choice to Floating Navigation Bar to Any File Go to parcel and part of features..... To a great degree customisable... I don't know what number of have utilized incredible code editorial manager radiant content.
Purchase this android studio.... Totally Brings all components of Sublime Text into an IDE. Take in the elements of this ide... What's more, u will despise all other ide by and large

Categories

Resources