I am new user so kindly help me that how can i make app from android studio and plz refer me a book
To create an App using Android Studio you’ll use Java…
I made an Android app from scratch. It’s written in Java using the Android Studio. I used object oriented design principles and researched other parts or api’s I had to use. Basically, take it one step at a time.
Basically, you have the activity classes which are the views. Then you have other files you create to provide the data processing to drive the views and make them usable. You create actions and whatever you need.
You can look at my source code on Github if you want to.
I sometimes use Android Studio to create the emulator I use when I build an app in React Native. But that’s not the same as building it in Android Studio. As others have said, that would be in Java.
Yeah, also Oracle says the following which encapsulates their differences. It’s like comparing apples to oranges.
Java is an OOP programming language while Java Script is an OOP scripting language.
They require different plug-ins.
I passed the Oracle Java SE 7 programming certification, which was challenging. I remember the most challenging part was regarding inheritance and polymorphism. Knowing which function gets executed on a given class object needs to be carefully determined. Then polymorphism is totally awesome, obviously. Debugging Java is probably 100 times harder than debugging JS imho.
There is Kotlin as well as Java, it’s the other officially supported language for Android. Fully integrated into Android Studio (the language was created by the company that built AS). It’s expected to overtake Java in terms of the main language used for new Android apps sometime next year.
It’s a really nice, modern language, if you wanted another option. IMO a lot nicer than Java, (and much, much better than JS). https://codelabs.developers.google.com/codelabs/build-your-first-android-app-kotlin/
Those are some differences. To those I would add that JS is dynamically typed, asynchronous, has first order and anonymous functions, and has very difference scoping rules. Plus, I’ve always cringed when I’ve heard JS described as OOP. Almost, but not quite …
Android Studio 3.1 features tout some quality changes which developers should consider. Android Studio 3.1 brings better lint support for the Kotlin code and C++ performance profiler features added to the Android Studio 3.1.