Languages to develop android apps - Java for Android App Development

Hi everyone,
I'm fairly new to app development and am thinking about building one. I know HTML, JavaScript, and CSS. Would it be possible to build an android app with these languages? Any advice would be appreciated! (I have android studio all set up)

jscott97 said:
Hi everyone,
I'm fairly new to app development and am thinking about building one. I know HTML, JavaScript, and CSS. Would it be possible to build an android app with these languages? Any advice would be appreciated! (I have android studio all set up)
Click to expand...
Click to collapse
Yes it is, but don't. Web applications give the user a bad experience - do yourself a favour and learn java, with web apps, unless you stick to basic, you'll run into limitations sooner or later
Sent from my HTC One using Tapatalk

Related

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

[Q] Best Language to Create Metro Apps

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.

Chances of Microsoft adding support for developing wp8 apps in JavaScript and html5?

Hi,
I am a windows 8 app developer, and I use JavaScript, css3, and html5 to develop apps for windows 8.
They don't run in the browser, they run as actual apps, just like if you wrote them in c# or c++.
I was just wondering, do u think Microsoft will add support to windows phone 8 for apps that are written in js and html5?.
As I don't see any reason why it wouldn't be possible, because u can write websites for phones with those languages, and it has the same principles.
Sorry if I have posted this in the wrong forum, I am new to the wp8 forum
Thanks
Corey
Sent from my GT-N7100
If I helped you, please hit Thanks..
Correction: your apps do run in a browser, just not in an blatantly obvious one.
You can develop HTML 5 apps for WP8.
mcosmin222 said:
Correction: your apps do run in a browser, just not in an blatantly obvious one.
You can develop HTML 5 apps for WP8.
Click to expand...
Click to collapse
Hi, that's incorrect.
They run with the same JavaScript engine as IE10, but its not in a browser, it runs in the context of a app.
You upload the JavaScript apps for windows 8 to the MS store, so it doesn't run in browser.
So can u develop wp8 apps that you can upload to the MS store with HTML 5?.
Cheers
Corey
Sent from my GT-N7100
If I helped you, please hit Thanks..
We are Android Perverts, and proud of it
rooting + flashing + wiping = Android Pervert. lol
I really can't understand how people use JS for developing apps. It looks really ugly, at least MS's applications.
Useless guy said:
I really can't understand how people use JS for developing apps. It looks really ugly, at least MS's applications.
Click to expand...
Click to collapse
They don't look ugly, they look exactly the same as if they were developed in c#.
It just depends if the dev is **** or now, lol.
Corey
Sent from my GT-N7100
If I helped you, please hit Thanks..
We are Android Perverts, and proud of it
rooting + flashing + wiping = Android Pervert. lol
There is a HTML5 App template in the WP8 SDK, so in that regard you can do HTML5 Apps for WP8. But it comes down to having a "WebView" inside a regular App without access to the functionalities the OS provides (as you would be able to on Win8/RT). So in the end you are down to what you can do with the standard HTML5/JS functionality.
You might be able to do more with PhoneGap.
As for future updates. Currently there is also functionality (especially UI-wise) that you can't access from C++ Native Code either. There seems to still be a lot of Silverlight in the Runtime of WP8. Microsoft announced that they would try and move the Runtime libraries of WP and Windows closer together with Blue, so I do believe "Native HTML 5 development" could become possible then.
It's coming. Later

Platform

I'm kind of a newb to the programming world and I have made some simple programs using eclipse IDE. Now my question is that is there a better IDE or I can continue programming with the same? Many thanks
Sent from my Micromax A87 using xda premium
RazaVakil7995 said:
I'm kind of a newb to the programming world and I have made some simple programs using eclipse IDE. Now my question is that is there a better IDE or I can continue programming with the same? Many thanks
Sent from my Micromax A87 using xda premium
Click to expand...
Click to collapse
Why don't you try the new Android Studio, it was announced at the I/O event. It's based in IntelliJ IDEA which has been featured on the Portal before, it's meant to be very good. I haven't tried it yet though, although I don't doubt it's better than Eclipse. Anyway, you can find out about Android Studio here.
HTCDreamOn said:
Why don't you try the new Android Studio, it was announced at the I/O event. It's based in IntelliJ IDEA which has been featured on the Portal before, it's meant to be very good. I haven't tried it yet though, although I don't doubt it's better than Eclipse. Anyway, you can find out about Android Studio here.
Click to expand...
Click to collapse
any updates on android studio?
i started not long time ago with some eclipse coding and then started to work, and now when i have some time i would like to back to android apps
my question is eclipse vs android studio? eclipse have lots of tutorials and all... but will android studio overcome eclipse? and is it NOW good time to start with it or i should use eclipse first?

[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