Make apps using java netbeans - General Questions and Answers

Is it possible to make apps from java netbeans??if yes how can i. as i know how to use netbeans
sent from heaven

arpitkh96 said:
Is it possible to make apps from java netbeans??if yes how can i. as i know how to use netbeans
Click to expand...
Click to collapse
Yes Netbeans is great for Android development. There is an Android plugin for it. However, Eclipse has gotten a lot more stable than it was a couple of years ago and it's quite usable. I use both every day for Android work.

Official Support
But the official support is only for Eclipse, isn't it? Both Eclipse & NetBeans are open source IDEs.Eclipse is community maintained and NetBeans is owned by ORACLE. I think Google officially supports/recommends Eclipse for Android Development and distributes ADT for integration of Android SDK with Eclipse.

I only use netbeans please how can i use it to make android apps
Sent from my GT-S5570 using xda premium

Related

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

Java Eclipse SDK for android Help

Hi guys,
i cant find the forum in android developer website
i took some tutorials for android g1 from http://developer.android.com/guide/tutorials/notepad/notepad-ex1.html
but i got some errors
here picture
anyone know about this?
thanks
I've always found that closing and reopening Eclipse fixes this...
Maybe something different though...
nEx.Software said:
I've always found that closing and reopening Eclipse fixes this...
Maybe something different though...
Click to expand...
Click to collapse
ok i closed it and reopening, i got more errors, lol
when i made a new android project, i chose android 1.5. should i choose 1.1?
Nope, you were right in choosing 1.5.
You can always delete the project and try again?
I've found that the ADT plugin is not always super reliable in creating new projects. Not sure why.
Just curious, are you running 1.5preview or 1.5_r1? Or rather, have you at any time run 1.5preview?
jashsu said:
Just curious, are you running 1.5preview or 1.5_r1? Or rather, have you at any time run 1.5preview?
Click to expand...
Click to collapse
i am running 1.5_r1, not sure about 1.5 preview. 1.5_r1 seems have a problem with vista 64bit.
will it be much easier if use windows xp?
pkmoazzam said:
will it be much easier if use windows xp?
Click to expand...
Click to collapse
It might be handy to set aside some space for a ubuntu partition, since that is the development environment blessed by the Android team.
I asked if you had ever installed 1.5pre because the gen folder is a product of the new 0.9 ADT plugin and I believe that some things have changed since 1.5pre and r1.
Edit: by the way if you created this project in an older version of the sdk, I suggest you take a look at this page. You'll have to migrate it to 1.5 to work with the new ADT and project structure.
Upgrading quickview
The Android 1.5 SDK uses a new project structure and a new ADT plugin (ADT 0.9).
To move existing projects into the SDK, you must make some minor changes in your development environment.
The new ADT plugin (ADT 0.9) is not compatible with projects created in previous SDKs.
You need to uninstall your existing ADT plugin, before installing ADT 0.9.
In this document
Install the SDK
Update Your Eclipse ADT Plugin
Update Your Projects
Eclipse Users
Ant Users
Migrate Your Applications
Future-proof your apps
Migrating references
Android 1.5 API Differences
Future-Proofing Your Apps »
UI framework changes in Android 1.5 »
Click to expand...
Click to collapse
ohh, i did not know that its upgrading. it works. thanks!
pkmoazzam said:
it works. thanks!
Click to expand...
Click to collapse
=) Android is still a fairly young project. It's quite in line with Google's mantra of "release early and iterate often". That means unfortunately that things, particularly on the dev side, are often in states of stability flux. Hopefully things will shake out in the near future.

C programming for mobile

Hello ,
I am newbie in mobile programming, can i write mobile programs by c language ?!
Thanks in advance .
Of course. But mostly you'll need c++ and Java.. don't worry learn basics of either of them and start developing ..
Sent from my LiveWithWalkman using xda app-developers app
For any platform ?!
Different platforms have different requirements. But there is a way witch you can develop an application with web language Html 5 Css Javascript that you can port to every platform using frameworks like Phonegap.
i want write low level program and develop os kernels
r3d.w0rm said:
i want write low level program and develop os kernels
Click to expand...
Click to collapse
Best way to learn mobile development is to use Eclipse for Java. It is how I learned. Google Eclipse.
TheFriendlyWAFFLE said:
Best way to learn mobile development is to use Eclipse for Java. It is how I learned. Google Eclipse.
Click to expand...
Click to collapse
OS kernels are NEVER written in Java!
App development is for all but the low level stuff is something very different. Anyone can modify some configs and build kernels but that is not development. C as language is a good starting point but you would really need to learn about OOP.
Sent from my GT-I9300 using xda app-developers app
i am download phonegap and i use it for test,it's very interesting, can i use it for mobile with out os, such as sony ericsson K755 and older phone !?
i found mosync.com , any one try it ?
The open-source MoSync Software Development Kit (SDK) is a rich cross-platform mobile application development environment that makes it easy to develop apps for all major mobile platforms from a single code base. The SDK enables mobile developers to build and compile apps for up to nine different platforms at once, using C/C++ or HTML5/JavaScript, or a combination of both to create hybrid apps.
Click to expand...
Click to collapse
excuse me for my bad english speaking.
Yup. You can even write in d, e, f, g and h languages apart from c
Sent from my Ouya

[Q] Which Language should I learn?

Hello all,
So this summer after my classes get out I was looking to pick up a programming language so that I can get an idea of how to develop apps and modify android ROMs on my own and I was wondering what the developer community would recommend?
I have a basic knowledge of unix commands and took a semester long class of C++ but that was several years ago. So which language would you all recommend? Any text-books or guides that I could purchase? Thanks for all of your valuable input.
TheEmpyre said:
Hello all,
So this summer after my classes get out I was looking to pick up a programming language so that I can get an idea of how to develop apps and modify android ROMs on my own and I was wondering what the developer community would recommend?
I have a basic knowledge of unix commands and took a semester long class of C++ but that was several years ago. So which language would you all recommend? Any text-books or guides that I could purchase? Thanks for all of your valuable input.
Click to expand...
Click to collapse
If you haven't learned java or XML learn lose since that is pretty much what almost all of android's base is coded on
Learn java
click thank ?☺ once I helped you
instagram: cwfei
TheEmpyre said:
Hello all,
So this summer after my classes get out I was looking to pick up a programming language so that I can get an idea of how to develop apps and modify android ROMs on my own and I was wondering what the developer community would recommend?
I have a basic knowledge of unix commands and took a semester long class of C++ but that was several years ago. So which language would you all recommend? Any text-books or guides that I could purchase? Thanks for all of your valuable input.
Click to expand...
Click to collapse
Hello, look for information in the eclipse ide for android web, there is plenty of info there
I thought you are asking about French, Spanish or something like that lol :cyclops:
cfmusicman said:
If you haven't learned java or XML learn lose since that is pretty much what almost all of android's base is coded on
Click to expand...
Click to collapse
Then until now I always was wrong because I thought Android is based on Linux kernel (either 2.x or 3.x) and Linux's native coding language is C/C++, AFAIK
jwoegerbauer said:
Then until now I always was wrong because I thought Android is based on Linux kernel (either 2.x or 3.x) and Linux's native coding language is C/C++, AFAIK
Click to expand...
Click to collapse
It is but the apps and frameworks are in java and XML
cfmusicman said:
It is but the apps and frameworks are in java and XML
Click to expand...
Click to collapse
Would there be much utility in learning C++ first before java if my main purpose is to code for android platform?
Sent from my HTC One X using Tapatalk 2
cfmusicman said:
It is but the apps and frameworks are in java and XML
Click to expand...
Click to collapse
Absolutely wrong. Android( a Linux derivat ) isn't Java. Hence an application written in Java never runs under Android.
TheEmpyre said:
Would there be much utility in learning C++ first before java if my main purpose is to code for android platform?
Click to expand...
Click to collapse
See here: http://www.linuxforums.org/forum/programming-scripting/72084-c-c-tutorials.html#post375466
Baltasar1 said:
Absolutely wrong. Android( a Linux derivat ) isn't Java. Hence an application written in Java never runs under Android.
See here: http://www.linuxforums.org/forum/programming-scripting/72084-c-c-tutorials.html#post375466
Click to expand...
Click to collapse
Thanks for the abundance of links. I take it you would recommend learning C++ first?
Sent from my Nexus 10 using Tapatalk HD
Baltasar1 said:
Absolutely wrong. Android( a Linux derivat ) isn't Java. Hence an application written in Java never runs under Android.
Click to expand...
Click to collapse
No, you are wrong because in Android, most of the things like apps (Which you see as the apk's) are written in Java, not only the apps on Google Play, but also the System apps like Camera, Dialer, Settings etc. The things which is written in C/C++ will be the native libraries and the Kernel, as it uses a modified Linux Kernel which in turn is written in C.
I don't understand on what authorities you say "An application written in Java never runs under Android" Seriously?! You really need to consult an App Developer and ask him which language he used for writing apps. Please don't mislead the OP.
@ OP - Learning C++ is good and you'll get an initial idea of programming structure and how it works and as C++ is based on OOP, learning Java won't be much hassle because it too is based on OOP. The fundamentals and structure will be the same, only some changes in the syntax, which you can easily pickup.
jwoegerbauer said:
Then until now I always was wrong because I thought Android is based on Linux kernel (either 2.x or 3.x) and Linux's native coding language is C/C++, AFAIK
Click to expand...
Click to collapse
You are actually right over there because indeed Android's kernel is based on Linux kernel which is being modified by Google and is written in C. Its not just a raw Linux kernel downloadable from kernel.org and those are being modified by Google in order to work with Android. If you check the kernel version you get an initial idea because the latest Linux Kernel version is 3.9.x and the latest Google modified Linux kernel which is used in devices (Introduced in Nexus 4) is 3.4.x. There are explanations from Google's side why they are not using Linux Foundation's latest kernel versions.
cfmusicman said:
It is but the apps and frameworks are in java and XML
Click to expand...
Click to collapse
True that. :good:

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