getting started with android studio

LISTVIEW IN ANDROID

Hello, welcome to bunkerspoint ,this topic is based on list view in android with example. So what’s list view in android? In android developers official website it says,“A list view is an adapter view  that does not know the details, such as type and contents, of the views it contains. Instead list view requests views on demand from a ListAdapter  as needed, such as to display new views as the user scrolls up or down”.

In simple, a list view is a view that contains list items and display them in vertical scrollable, which allows user to scroll the list items up and down vertically. ListView uses adapter to bind data from it to display in ListView. Think of an adapter as a middleman between Adapter view and any other view such as ListView , GridView etc.

USING ADAPTER IN LISTVIEW

ListView is a subclass of AdadpterView and they can be populated by binding to an Adapter. An Adapter retrieves data and represents those data. There are some common adapters which are frequently used such as ArrayAdapter, BaseAdapter, CursorAdapter etc..


In this tutorial, we are going to make use of ArrayAdapter. We are going to see how to implement listView in android studio using ArrayAdapter.
After following this tutorial, you would have the following output.

Lets begin with creating activity_main.xml

Create a lisView inside the activity_main.xml and give it a id of listView.

<?xml version="1.0" encoding="utf-8"?>
<!-- Layout for the main screen -->
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/listview"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="16dp"
    android:paddingLeft="16dp”
    android:paddingRight="16dp"
    android:paddingTop="16dp" />

Create a new layout resource file and name it as list_items

<!--  Single List Item Design -->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/textview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:padding="10dp"
    android:textSize="16dp"
    android:textStyle="bold" >
</TextView>

In mainActivity.java add this code snippet.

package com.bunkerspoint.android.listView;

import android.os.Bundle;
 import android.support.v7.app.AppCompatActivity;
 import android.widget.ArrayAdapter;
 import android.widget.ListView;
 import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
     @Override
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.activity_main);
    ArrayList<String> arrayList = new ArrayList<>();
    arrayList.add("Manuj");
    arrayList.add("Pratik");
    arrayList.add("Yash");
    arrayList.add("Yatendra");
    arrayList.add("Yagnesh");
    arrayList.add("Mayur");
    arrayList.add("Manuj");
    arrayList.add("Raju");
    arrayList.add("Yadav");
    arrayList.add("Dhoni");


    ArrayAdapter<String>arrayAdapter = new      ArrayAdapter<String>(this,android.R.layout.simple_expandable_list_item_1,arrayList);
    // Get a reference to the ListView, and attach the adapter to the listView.
    ListView listView = (ListView) findViewById(R.id.listview_flavor);
    listView.setAdapter(arrayAdapter);
 }
}

The above code snippet creates a listView with list items as shown below.

HANDLE CLICK LISTENERS IN LISTVIEW

The above code snippet only shows the list item but listview are useless when we are not able to click those list items. So below code snippet will let you handle click events in listView so that you could be able to use it in your projects.

listView.setOnItemClickListener(new AdapterView.OnItemClickListener()
{
    @Override
    public void onItemClick(AdapterView<?> adapterView, View view, int position, long l) {

        String selectedItem=arrayList.get(position);
        Toast.makeText(getApplicationContext(), "Person Selected : "+selectedItem,   Toast.LENGTH_LONG).show();
    }
});

Place this code snippet in MainActivity.java inside the onCreate()methd.

Let me explain whats happening in the MainActivity.java.
So, we instantiated ArrayList of type String and named it as arrayList and then added the items in it.

Then we created a ListView and ArrayAdapter which taken in as String and named it as arrayAdapter and we set the adapter to listView by listView.setAdapter()method.

To handle click events in our listView, we used the onItemClickListener and said it what we want to do when a user clicks on any item. In this case we toast the items upon click.


In this post, you learnt about how to create a listView and use it to populate list items in it by using ArrayAdapters. The ArrayAdapter in this tutorial uses a string type and not custom implementation and also the ArrayAdapter uses Android Studio’s default (provided layout of simple_list_item_1) adapter. So if you want to learn more about how to implement a CustomAdapter then check it out at our website
https://blog.hiewpoint.com/category/android/

android-1635206_1280

Upload Your First App In Play Store

Hello, welcome to bunkers point. In this post we are going to show you how to upload your app to play store in detail.
So let’s get started,
First you’ll need to register a developer account in Google play console. It will cost you a 25$ for registering as a developer in play console. Don’t worry it’s a one time payment. After that you could upload as many apps you want.

REGISTER FOR A GOOGLE PLAY DEVELOPER ACCOUNT:

⦁ Sign up for a google developer account using google account.
⦁ Accept the Developer Distribution Agreement.
⦁ Pay the registration fees.
⦁ And finally complete your account details.

GENERATE A SIGNED APK/BUNDLE:

Usually, you would have built the debug apk which could simply be built by selecting and clicking on Build Apk .This is a debug apk which developers build so that they could test their apps but if you want to upload the app to play store then you need to generate a signed apk/aab .

STEPS TO CREATE APK:

  • .Goto Build and select Generate signed Apk/Aab
  • Select APK and Click next.
PLAY STORE
  • Select create new keystore path and store it wherever you want
  • Enter the keystore password,key alias ,fill certificate details and click Ok.
  • Select destination and then select the build type as release , as google play store does not accept the apk/aab as type debug and check mark the signed versions v1 or v2 or both.
  • Click Finish and your done.

Android studio will now build the apk and you could locate or analyze the apk/aab after build is done.
One important thing you have to do as soon as your build is ready, always backup your keystore somewhere safe as it will be required at the time of updating your app. If you lose your keystore then nobody could help you , not even Google. As Google Play secures the app with key so it is necessary that you provide a key at the time of updating your app otherwise you will not be able to update the app in Play Store. If you don’t want to handle the key by yourself then no worries ,Google Play Console now has a feature that lets Google manage the app singing key .
The above steps were to create a signed apk but Google has launched Bundles .Now in Google Play Store ,app bundles can be uploaded instead of apk. Bundles helps in reducing the app size to about 50% and bundles are faster than apks.

STEPS FOR CREATING ANDROID APP BUNDLE:

  • .Goto Build and select Generate signed Bundle/APK
  • Select Android App Bundle and click Next.
  • Select create new keystore path and store it wherever you want
PLAY STORE
  • Enter the keystore password,key alias ,fill certificate details and click Ok.
  • Select the destination and then select build type as release as google play store does not accept the apk/aab as type debug and check mark the signed versions v1 or v2 or both.
  • Click Finish and your done.

UPLOADING THE APK/BUNDLE TO GOOGLE PLAY CONSOLE:

⦁ After registering to the Google Play Console, goto the All applications and select create application.

PLAY STORE


⦁ Enter your app Title and click ok.
⦁ Now you need to enter details of your app for store listing, Pricing and distribution, content rating.


⦁ And then in app releases , click on manage under production and then drag or copy your APK or AAB and wait for uploading.
⦁ If you don’t want to handle the key then you could opt in the app signing key and continue ,else opt out.
⦁ After everything is done ,your app will be under review and checks and when no issues found ,your app will be published in Google Play Store.


Note: You need to provide description,images,logo etc for your app.You’ll come to know it at the time of uploading the app. I’m pretty much sure you’ll be able to handle these things easily. If any doubt don’t hesitate to ask.

And don’t forget to comment,share and like. Thanks for reading.

CrossPlatformmobileappthumb

Top Cross-Platforms Development Software For Android And IOS

If you are a new developer and wondering which software to use? which will be convenient…….? Well, it’s simple. 

Given below are top software which you can use to use in both android development and ios development.

React-Native

React-Native allows user to build apps using java script only. It uses the same design as React. These apps that users built are not web apps but the regular android and ios apps. Instead of using java and Kotlin it uses java script and React. It produces apps which are in distinguishable from native, it means it is more productive than native. Currently React Naïve only supports android an ios apps but it holds the potential to support other platforms in future.

Pros

  • Doesn’t waste time recompiling.
  • Can use native code any time you want.
  • Builds apps for both android using one language only.
  • Any updates in code of apps doesn’t require any re-release of app.

Cons

  • Resources are not available as much java or Kotlin.
  • Community is too young for any beginner to learn.
  • Updates of SDK for android or ios takes long time to synchronize with react native.
  • Need to frequently install packages.

Xamarin 

                Xamarian is C# based it uses one language for all type of applications such as Windows, ios and Android. It targets all platforms with its single shared code based. Xamarian has native interfaces, native access native performance type which apps do not only work and look like they also behave like it. Capabilities such as art kit android multi-window mode develop Mac or PC it uses usual visual studio and world-class IDE’s.

Pros

  • It comes with sample apps for you to quickly and easy to start with.
  • It supports functionality and quality monitoring over 1000 devices simultaneously.
  • Xamarian platform allows you to share code.

Cons

  • The free version of Xamarian has limited features which lead to some compatibility issues.
  • There are some issues with libraries of the free version.

Appcelerator

               Appcelerator is java language based single code software .which can be used for application development for both android and ios. It comes with features such as drag and drop. It singles shared code system where you can use one code for many platforms. Titanium development in it helps in native programming development.

Pros

  • It is ideal for beginners.
  • It gives access information over 5000 API’s.
  • It gives powers to more than 75000 phones simultaneously.
  • It easily creates complex effects like dynamic animations.
  • It immediately provides support for new OS release type.

Cons

  • It has many support issues which have been reported quite often.
  • Lacks support for windows phones and IDE’s are slower and lagging.

Abode phone gap

Abode phone gap build is a cloud-based service built on top of the phone gap frame work. It allows you to write code HTML, CSS and JavaScript to perform a wide range of mobile applications while not losing its native features.

Pros

  • It is easy to configure extensive documentation and online support all the time.
  • It has hardware features such as GPS/location, camera and much more.
  • It offers abode AIR app and online training courses.
  • It supports in-app purchases across like the app store, google play store.
  • It helps us in saving with code reusability functions in it or all windows, ios, and android.

Cons

  • It is not used for advanced level coding.
  • Critical performance cannot be relied upon.
  • It is not suitable for intense graphics programming.
  • It has restrictive plug-ins for free version users.

Sencha Ext JS

         It purely based on java script is used to make the interactive framework for web apps and apps it has the library which easily integrates into reacting, angular, FOSS and other frameworks. It used to create data-intensive cross-platform apps that can leverage hardware acceleration techniques.

Pros

  • It features built-in native looking themes it already has in store.
  • Its backend data works with different types of software.
  • It’s a solution for rapidly developing its design.
  • It has 115+ components that help with the development of apps.

Cons

  • Its native themes are limited.
  • Commercial license featuring is not so easy to be done.

RhoMobile Suite

Rho mobile suite is java script based it uses its single code based system for developing cross-platform apps. This suite is based o Rhodes open source framework is a set of development tools for creating data-centric, cross-platform, native mobile consumer and enterprise application.

It has created a cohesive end to end development solutions for multiple device OS it’s an attractive proposition against its expensive purchases in it.

Pros

  • It has offline support data accessibility and synchronization into apps.
  • It has auto synchronization of back end data.
  • It comes along with a free eclipse plug-in it.
  • Allows a developer o generate, develop and test applications in it.

Cons

  • One of the biggest disadvantages of it is RFID (Radio-Frequency Identification) which it restricts. 

Native script

           Native script is an open source framework for developers to develop both android and ios. Native script is a hybrid type of software which has both JavaScript and TypeScript languages in it .developers can access native API’s and it is used in enhancing its existing features.

Pros

  • Developers can easily reuse the available plug-in npm directly in native script projects.
  • Ability to access core API’s directly makes it so easy to integrate custom modules.
  • It offers flexibility even though it is a free tool.
  • It supports hundreds of plugins to extend functionality.

Cons

  • The resources are not extensive you may not be able to find useful examples.
  • Documentation of each of its features may or may not be available.
  • It requires a good deal of set up to start it.
  • Styling and layouts are inconsistent.

Kony  

    Kony runs purely on java script .it used mostly in Windows and Mac systems. Low-code platform that allows seamlessly integrates and displays it develops native and hybrid and web apps from a single IDE using javascript it has a cloud-based preview.

Pros

  • Capabilities to check their real-time crashes.
  • Ideal for designing and testing apps.
  • It supports all kind of management augmented reality types of software.

Cons

  • Limited support for other languages except for English.
  • The manual is confusing instructions are not well explained.
  • Due to the scarcity of documentation and resource support it puts the developer in a peculiar situation.

Mono cross

Monocross is a C# .NET model viewer-controller framework where the model and controller are shared across platforms and the view is implemented for every specific platform or target architecture it used to make web-apps and normal apps and can also be used to share the business logic and data code.

Pros

  • It has easy third-party API integration.
  • Fast porting makes it easier for it to keep up with the platform changes.
  • It supports quite a diverse range of API’s .it makes mono cross completely utilize the device completely.
  • Monocross only require C# and .NET to develop apps.

Cons

  • The documentation and support are few in numbers so the developer found it difficult when they encounter an error.
  • The resources are hardly available.
  • It has not been updated in a few years.
  • Beginners find it most difficult in learning.

Apache Cordova

It was originally created or framework in mobile application it was rebranded as one of the open source tools which are comprised of the debugger, testing tools, and popular web technologies. The device’s capabilities have debunked in the recent past with the inclusion of a wide range of plugins and instant messaging allows them to share update frequently.

Pros

  • The code can be reused for all across various platforms.
  • It targets multiple platforms with a single code database.
  • The code works in all types of software such as Windows, Ios, Blackberry and Android.
  • It gives developers access to the latest features of apache by cutting the middle man.

 Cons

  • Cordova is a UI and framework agnostic (it leaves all the work of designing and logistics to a developer).
  • Considering a framework it does a bit more hand-holding.
  • Performance error may occur due to graphics intensive apps.

Flutter

Flutter is an open-source mobile application development SDK created by Google. They are used for development of android application and ios application. It runs on Dart virtual machine which features just-in-time execution engine. It uses single code base for creation both Android and iOS apps. It has many features such as Hot reload, equipped with native ARM and it has highly effective portable GPU rendering UI to work on latest interfaces. It is still in developing phase so there is not much information available about it but it may become one of the top development tools in cross-platforms. It sure is worth to keep an eye on it


The above-given tools are not ranked in order .they are some of the top tools than others they have reviewed and rated better than other tools available in the market. If someone wants to classify them they can only be categorized as a type or for its specific purposes the rest depends on you.

java vs kotlin

WHY CHOOSE JAVA OVER KOTLIN FOR BEGINNERS

Hello, welcome to Bunkerspoint. In this post we are going to discuss in detail about java and kotlin.

Programmers who want to become Android Developers are in a dilemma to choose Android Studio with Java or Kotlin. Since Google announced Kotlin as the official language for Android Development, many of the beginners arises with a question that whether to start with  java or kotlin for Android Development.

JAVA VS KOTLIN:

Java is a very popular procedural programming language  used for software development, application development and much more. It is object-oriented, secure and platform independent ,on the other hand Kotlin is a modern functional programming language. It is object oriented and has full support for java interoperability. It runs on the JVM and uses java libraries and tools. Kotlin was developed for Android Developers as the need of modern language in Android Development.

So you’ll be thinking that Kotlin offers great features for android developers as it was designed for the needs of Android Developers  so why shouldn’t i learn Kotlin and develop android apps written in Kotlin but if you are a absolute beginner in Android Development then learn java first.

WHY LEARN JAVA FIRST:

When you start learning Android Development you’ll need guides ,tutorials etc. Since java is an old popular language and its community is large you’ll get more help from java android tutorials, resources etc. whereas Kotlin community is still growing so kotlin android tutorials ,resources etc. would be less and you may not get that much help.

  • Java has large number of resources and libraries.
  • Has a lot of core features.
  • It is open source.
  • Java has a lot of open source Frameworks and Classes which helps developers.

Kotlin also have same features but for beginners java would be perfect because of large community and resources to learn and make most of it.

WHEN TO SWITCH FROM JAVA TO KOTLIN:

After building few projects in Android Studio using java ,do switch from Java to Kotlin and build some projects in Kotlin to understand the difference between both the languages. Even more you would also come to know which language better suits you for developing android apps.

CONCLUSION

Java over Kotlin is  a suggestion for beginners but intermediate/professional developers may have already switched from java to kotlin because kotlin is less verbose compared to java , null safety unlike java has null pointer exception and much more. Every language has its merits and demerits.Developers would choose a language based on the performance and need of a particular language.

WhatsApp Image 2019-04-02 at 6.38.13 PM (1)

Create A Basic Hello World App Using Button

In this tutorial we will see how to make a Hello world app with android studio. Its a very simple project then what special in it ? Well, we are going to create it using a button. In today’s tutorial we’ll teach you how to use button, explain you how a button works and how can you implement it in your app.

Step 1: open your android studio app.

Step 2: click on a new project -> give any name as you like.

Step 3: choose an empty activity, and then click next.

Step 4: don’t change any other settings such as save location, package name or api level.

Step 5: let the project load the modules and sync itself.

Step 6: copy the following code in main_activity.java file.

<?xml version="1.0" encoding="utf-8"?>
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     tools:context=".MainActivity"
     android:orientation="vertical"
     android:layout_margin="12dp">
 
 
 
     <TextView
         android:id="@+id/button_click"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="click below"
         android:paddingLeft="12dp"
         android:paddingBottom="12dp"
         android:textAlignment="center"
         />
 
     <Button
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:onClick="active_click"
         android:text="click here" />
 
 
 </LinearLayout>

In the above written code, what I have done is changed the default “android.support.constraint.ConstraintLayout” to LinearLayout for no special reason but because I prefer it to keep things in straight order. I have kept orientation in vertical order .it will help our views and text in linear order or it may appear in horizontal order.

  Then we removed all the text inside the Text view and set the layout_width and height to match parent and added the text “click below”. And we have kept the layout in such a way that they don’t get cramped.

Now here come the important part, we have created an id for text view because when the button will be clicked the it shouldknow where operation should take place so we need to assign an id to it. Then  we create a button view with text  “click here” and give it action to perform called ”active_Part” by calling onclick method.

Step 7: copy the following code in main_activity.java file.

package com.example.bunkers_demo;
 
 import android.support.v7.app.AppCompatActivity;
 import android.os.Bundle;
 import android.view.View;
 import android.widget.TextView;
 
 public class MainActivity extends AppCompatActivity {
     String click="Hello world";
 
     @Override
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.activity_main);
 
     }
 
 
     public void active_click(View view){
 
         display(click);
     }
     public void display(String view) {
         TextView displayThis = (TextView) findViewById(R.id.button_click);
         displayThis.setText(String.valueOf(view));
     }
 
 }

When the button is clicked it calls active_click method and it displays the value of variable present inside “click”. But you need to create a variable of String type of any name (I have kept mine as “click”) and set the value as ” Hello world” but how does it know where to display for that you will create a function called “display” of String type view. It uses the value stored in variable”click”and display the in id button_click using find view by id method in it. It displays the text view value id then we use setText method so that the updated value of string type updates the text in text view outside the app.

Step 8: after following the steps above you app will look like this.

 

So with this we have learn’t what a button is, how it works and how can it be implemented in your app, you can go to android studio and make changes to see how it works and understand better. We have kept it simple so that it can only display a word but we can design it to perform arithmetic calculations. But that’s for different lesson stay tuned and visit our website for more solutions.

getting started with android studio

Getting Started With Android Development

Are you one among those who want to learn android development? If yes then we’ll guide you with how to get started with android development.

Before installing android studio check that your OS meets some of the basic requirements.

Basic Requirements:

1. The first and the foremost thing you’ll need a computer or laptop, that’s obvious but you’ll need a system with good / best performance because system with low performance would definitely waste your precious time and your time is very important.

2. You could see the system requirements here, Which guides you with the minimum ram, space etc (Head down to the last page).

3. You’ll need to install Android Studio. Click here to read our post on installing android studio.

3. A stable internet connection as Android Studio needs to be updated whenever required and moreover you need tutorials (if you are learning it online) on android studio, you’ll have doubts that needs to be cleared and by the way I’ll tell you no developer in the world could develop an app without getting guides from the internet, Yes no developer could do that.

4. after installing, Open Android Studio and then click on the start a new android studio project.

android studio ss 1

Now let’s build your very first android app (hello world app).

Under the Application name, rename it as Hello World and click next.

android studio ss 2

The below dialog box appears after clicking next.

android studio ss 3

In the above dialog box you need to select for which device you want to build the app.

For now you check the phone and tablet checkbox and then, select the targeted APIs and click next.

android studio ss 4

Then click on the empty activity and click next.

android studio ss 5

Then add the activity name and click finish.

Tada it’s done. You can build and run your device and you would see the message printed as Hello World.

Now there are two ways you could run and see your apps.

1. By using emulators which you could download in the android studio itself and

2. By using real android device and connecting it via USB to your laptop/PC.

Using emulators requires a good ram (at least 8 GB to perform well). So I suggest to use android devices to run your apps if you have lower end devices.

HOW TO RUN YOUR APP IN ANDROID DEVICE:

To run your apps on your device, you’ll first need to switch the developer mode on in your device and then connect it via USB and then click run, and now you could run your apps on your device.

But what if you don’t have any android device, then you could download android emulators available online and it would be faster than the android studio’s emulator. I would recommend you to download the Genymotion emulator, it’s very good and fast.


To know more about android emulators visit Bunkerspoint

Android Studio

Installing Android Studio On Windows/Mac /Linux (Ubuntu)

Struggling with installing Android Studio on your device? In this post we will guide you with installing android studio on  three different OS which covers windows / mac / Ubuntu.

Installing Android Studio has become easier than ever since its   new update  released  in January 2019.

FOLLOW THESE STEPS FOR INSTALLING ANDROID STUDIO

Installation in Windows

  • Click on install.
  • Check on requirements before installation.
  • Install the Android Studio if you have downloaded in .exe(recommended) then double click to launch it, if not.
  • If you have installed in .zip file type, then copy android studio folder and copy it into program files folder open android > bin, then launch studio64.exe(for 64-bit users) or launch studio32.exe(for 32-bit users).
  • After launching the android ,click next  and agree to its terms as you go.
  • If you are first time user then check on the second option “do not import any settings”
  • After installation, it will ask you to download SDK press OK to install all JDK tools or components to install
  • For beginners, it’s better to keep setting as Standard better not to choose custom until you have more experience with standard well it can be changed later
  • After installation and extraction are done you are good to go and click on Finish with this you are done.
  • When you have updates Android Studio will inform you with pop-up notifications or you can choose help>check update.

   Installation in Mac

  • Click on install.
  • Check on requirements before installation.
  • After downloading Android Studio, launch the DMG file of Android Studio.
  • Select Android Studio file then drag and drop it inside the applications folder.
  • Select whether to import previous settings or not if you are first time user then it’s better to check to“ not import any settings”.
Installing Android Studio On Windows/Mac /Linux (Ubuntu)
Installing Android Studio On Windows/Mac /Linux (Ubuntu)
  • Agree to all its terms and continue the installations as it goes.
  • It’s best to keep the settings at Standard for beginners, it can be changed later.
  • Install all the SDK tools or SDK components shown by Android Studio.
  • When the installation is done you are pretty much good to use the Android Studio.
  • For automatic updates, Android Studio will show pop-ups or click on android studio>check for updates.

   Installing Android Studio in ubuntu(linux) 

  • Click on install.
  • Check on requirements before installation.
  • After downloading the .zip file unzip the folder in an appropriate location such as /user/local/ if you are a single user If you are shared user then choose /opt/.
  • To launch Android Studio navigate to terminal android-studio/bin / in the directory, then launch studio.sh file.
Installing Android Studio On Windows/Mac /Linux (Ubuntu)
Installing Android Studio On Windows/Mac /Linux (Ubuntu)
  • Select whether to import previous settings or not if you are first time user then it’s better to check to“ not import any settings”.
  • Agree to all its terms and continue the installations as it goes.
  • Tools > create a new entry is to be used if you want Android Studio to appear in your android studio list applications.
  • It’s best to keep the settings at Standard for beginners, it can be changed later.
  • Install all the SDK tools or SDK components shown by Android Studio.
  • When the installation is done you are pretty much good to use the Android Studio.
  • For automatic updates, Android Studio will show pop-ups or click on help>check for update.

Required commands for 64-bit machines in Linux

For 64-bit users, you need 32-bit libraries that can be done using the following commands

For 64-bit Fedora devices the command is

sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

For other 64-bit ubuntu devices

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

Following the few simple steps above you can install Android Studio with ease but depending upon ram or internet speed it may take time from 20 minutes to 1 hour or more if you have a slow internet connection.

A tip for you guys who are beginners, Please try to make sure you have basic requirements in OS for installation, if not after installation you may encounter many problems like time for executing, that is even a simple android code may take up to 15 minutes if you don’t have.

Good luck, with this you are good to run your android studio and start your  first project.

Thank you for reading this post. Follow us on Instagram and Facebook.


To know more tips and tricks you can follow articles on this category :
https://blog.hiewpoint.com/off-topic/

To know about web development and WordPress follow
https://blog.hiewpoint.com/web/

To know about Android development and Android Studio follow
https://blog.hiewpoint.com/android/

Android Q

What Is Android And Android Development


What is Android:

Android is an mobile operating system developed by Google which runs android applications and it is based on Linux kernel and many open source software.


Android Open Source Project(AOSP):

 The AOSP is a guide to development of the Android platform. This platform consists of  Linux Kernel, Libraries, Dalvik Runtime, Frameworks and Applications.

As mentioned in www.source/android.com  As an open source project, Android’s goal is to avoid any central point of failure in which one industry player can restrict or control the innovations of any other player. To that end, Android is a full, production-quality operating system for consumer products, complete with customizable source code that can be ported to nearly any device and public documentation that is available to everyone

Anyone could contribute code to AOSP and  also anyone could use the open source code, this allows the developer to learn  from other projects. There are tons of libraries available to use in your projects, it helps the developer in getting rid of  boiler plate codes in its projects. A library includes everything needed to build an app.Think library as a pieces of code already written that helps the developer to develop their mobile apps easily. Android uses Linux kernel to develop an android operating system on it. The Dalvik rutime acts like Java virtual machine which is designed for Android. The Application Frameworks are set of Api’s that allows developers to quickly and easily  write apps. It consists of tools for designing UI like Buttons,textField etc


Android Software Development Kit(SDK):

   The Android SDK enables the developers to create applications for Android platform. The sdk tools consists of libraries, visual editors, sample projects, debuggers, documentation, API and much more. Whenever a new android version is released along with it a new SDK tools are released to be used by developers which are downloaded with the help of sdk manager. Each android version has its own sdk platforms. In order to build an app you must specify an SDK platform as per your build target.


Different Android versions:

  1. Android 1.5: Android Cupcake
  2. Android 1.6: Android Donut
  3. Android 2.0: Android Eclair
  4. Android 2.2: Android Froyo
  5. Android 2.3: Android Gingerbread
  6. Android 3.0: Android Honeycomb
  7. Android 4.0: Android Ice Cream Sandwich
  8. Android 4.1 to 4.3.1: Android Jelly Bean
  9. Android 4.4 to 4.4.4: Android KitKat
  10. Android 5.0 to 5.1.1: Android Lollipop
  11. Android 6.0 to 6.0.1: Android Marshmallow
  12. Android 7.0 to 7.1: Android Nougat
  13. Android 8.0 to Android 8.1: Android Oreo
  14. Android 9.0: Android Pie


What is Android Development:

Android development is the process by which android applications are developed. Android applications can be developed using Java ,Kotlin,C++ languages.


Android Developer Tools:

Google provides Android software development kit  and Gradle tooling kit to start compiling and running your android apps


Where to develop android applications:

   Google provides the official IDE ,Android Studio to develop android applications. It is the most used IDE for developing android apps. Before Android Studio, Eclipse was used by many android developers to develop android apps, but now most of the developers has shifted from Eclipse to Android Studio. There are other many IDE’s available to develop android applications but most of the developers prefers Android Studio as it has its benefits in using it. Also there are other cross platform IDE’s to develop mobile applications for two leading mobile OS, Android and IOS ,that means single code for both mobile OS. Sounds cool right? But we would recommend you to start first with the official IDE’s to develop applications like Android Studio for android applications and etc.


Okay now, If you made up your mind to start developing in Android Studio then you would think whether to start Android Studio with Java or Kotlin. Previously it was only Java and C++  but now it is also Android with Kotlin.

We recommend you to start Android Studio with Java first. For more article visit our site: Bunkers Point.

do check on that for more information on it.