How can i make app with android studio

How can i make app with android studio
0

#1

I am new user so kindly help me that how can i make app from android studio and plz refer me a book


#2

To create an App using Android Studio you’ll use Java…
I know you said Android Studio… But if you want, you can easily create Android/iOS applications using Cordova (HTML5 + CSS + JavaScript + Cordova)!


#3

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.


#4

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.

And just because you seem to be less experienced, let me make it clear that Java and JavaScript are not the same language. The share some syntax because they are both descended from C, but there are some major, major differences. The similarity of names has more to do with marketing than anything else.

You don’t need Java to build native apps in Android, but it is the most common way to do it. With JavaScript you need something to make the bridge over to the Android environment. Things like Cordova can do that but it should be pointed out that that is a hybrid app, not fully native nor fully web based. React Native (using JavaScript) on the other hand builds actual native apps, so a little faster and fully integrated into the native environment.


#5

Yeah, also Oracle says the following which encapsulates their differences. It’s like comparing apples to oranges.

How is JavaScript different from Java?
The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform.

JavaScript does not create applets or stand-alone applications. In its most common form, JavaScript resides inside HTML documents, and can provide levels of interactivity to web pages that are not achievable with simple HTML.

Key differences between Java and JavaScript:
Java is an OOP programming language while Java Script is an OOP scripting language.
Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only.
Java code needs to be compiled while JavaScript code are all in text.
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.


#6

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/


#7

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 …


#8

I have recently published an ULTIMATE guide (7279 words) on How To Build An Android App From Scratch – No Experience Necessary!

It’s lengthy but it takes you from knowing absolutely nothing about Java through to a simple yet fully functional Android app that is actually useful.

In the guide, I cover a lot ranging from creating a basic User Interface to integrating the UI with the Java code. I also talk about taking the app further with third-party libraries and API’s.

The post is VERY comprehensive, explains everything in detail and teaches you step-by-step (with screenshots) how to build your first Android app from scratch.

I also include tons of useful resources (including books which I recommend) which you can use to take your knowledge further and build more comprehensive apps.

I have also included some pro tips which are based on my personal experience as a professional Java developer.

Enjoy!


#9

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.