Our Android Application, 100K+ Downloads Download
Close ads ->
Close ads ->
-->

Random Posts

Follow US

Build An Application For Your Website (Android Studio)

How to install and build an application for your website using android studio in Linux and Windows
Share it:

Downloads :

Important Download , Downloading This Could Make Things More Easy


Watch this video and follow it :


After thinking a lot i decided to start some thing new and help full for by extraordinary visitors . In this tutorial i am going to introduce android studio to you .

About My New Post :
  • Build an application for your website
  • Setting navigation for your application
  • Design your applications with your own icons
  • Add share option
  • Floating email option
 Later i would write tutorials on making an amazing splash screen to your application and to add in build update notifier in your application and many more things in my coming tutorials .

What You Require :
  • A computer with android studio installed
  • An android phone + Data cable ( For viewing your project , you could also use AVD , GENYMOTION etc )
  • On the first place you need a piece of mind and interest in it
How To Install Android Studio :

In Linux (Ubuntu) 
  • Download Android Studio ,  it will be placed at Downloads section .
  • Extract the zip file .
  • Now lets start with terminal .
  • Now lets navigate to Downloads .
  • Type cd Downloads and press enter .
  • Type ls and press enter .
  • Type cd android-studio and press enter .
  • Type ls and press enter .
  • Type cd bin and press enter.
  • Type ls and press enter .
  •  Type sudo chmod 777 -R ./studio.sh and press enter .
  • Type ./studio.sh and press enter .
  • Finish up the setup .
  • Now android studio is ready to use in your Linux computer .
In Windows :
  • Just download Android Studio-32 bit ,
    Android Studio-64 bit
  • Launch the .exe file you downloaded .
  • Follow the setup wizard to install Android Studio and any necessary SDK tools .
  • Now android studio is ready to use in your Windows computer .
 Now lets start our project
  • Start a new Android Studio project .
  • Select your application name and package name and in the domain type your website link , click next .
  •  Select the minimum SDK , click next .
  •   Select the navigation layout , click next .
  • Click finish .
  •  Now your project builds and after all those Gradle sync and all copy the below codes to the specified folders and be careful don't make any mistakes .
  • Now in android open app -> java -> com.appname.app -> MainActivity
  • Select the entire codes and replace it with the code below . 
  • Change all the links of my website to yours and you can do it in the MainActivity.java , All Links Including The WhatsApp , YouTube , Etc . Replace Them With Your Links .
  • Now open app -> manifest -> AndroidManifest.xml
  • Select the entire codes and replace it with the codes below .
  • Now Let's Move To The Layout Part .
  • Open -> app -> res -> Layout -> activity_main.xml .
  • Select the entire codes and replace it with the codes below .
  • Now open app_bar_main.xml .
  • Select the entire codes and replace it with the codes below .
  • Now open content_main.xml .
  • Select the entire codes and replace it with the codes below .
  • Now open nav_header_main.xml .
  • Select the entire codes and replace it with the codes below .
  • Now Let's Move To The menu Part .
  • Open app -> res -> menu -> activity_main_drawer.xml .
  • Select the entire codes and replace it with the codes below .
  • Now open main.xml .
  • Select the entire codes and replace it with the codes below .
  • Now you are done with all the Programming part .
  • To change the icon of the application go to app -> res -> mipmap . And left click and click view source file and change all the ic_launcher with any of your icon but the name must be same (ic_launcher) .
  • Remember All Pictures Should Be In PNG Format .  
  • Now Build The Apk .
  Your Application Is Ready .......

IMPORTANT NOTES :

  • Rename com.appname.app (package name) to that you have used .
  • Place The Necessary Drawable Files In The Drawable Of Your Applications File
Download Drawable Files (icons , images etc)

Downloads :

Important Download , Downloading This Could Make Things More Easy



Part 3 - Set Up An In-Build Update Checker For Your Application ( Link To The Post - Click Here )
Share it:

ANDROID STUDIO

Post A Comment:

4 comments:

  1. super and its really good . i was looking for something like this . please continue with your android studio projects........

    ReplyDelete
    Replies
    1. Thanks A Lot For Your Words . And I am happy to know that you got what you where looking for . Enjoy ....

      Delete
  2. Wow........ Can you publish splash screen tutorial faster .... please .....

    ReplyDelete
    Replies
    1. Sure I Would Make It As Fast As Possible

      Delete