Posts

Start guide for android studio

Image
Start guide for android studio Android Studio is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA .On top of IntelliJ's powerful code editor and developer tools, Android Studio offers even more features that enhance your productivity when building Android apps. Download android studio and install. https://developer.android.com/studio 1. Start a new Android Studio project.  Click on ‘Start a new Android Studio project’. You will be moved on to a screen that asks additional details of the project.  2. Give the application name under ‘Application name:’ 3. Target Android Devices screen Here, we are adjusting the settings of the devices our Android app will run on. For each major update of the Android OS, the API level is incremented. Having a lower API level will target a higher number of devices.    4. Selecting a preloaded Activity screen In this section of the project configuration, select an Activity to be

How to setup Python Environment in your PC

Image
පයිතන් කෝඩ් කරන්න setup එක හදාගනිමු. Startup to code python. අද blog එකෙන් මේ ගැන කතාකරමු. When we run java we need a jdk. As we run java we we need a setup for run python. Step 01: Download python setup from this download link or google it directly. https://www.python.org/downloads/ Step 02: Download an IDE to code. Download pycharm IDE ,it is a great environment for python coding. Or else you can use eclipse or another python IDE [ Intergrated Developement Environment ] https://www.jetbrains.com/pycharm/download/#section=windows Step 03 : Install python setup and IDE to your pc.This process will take several minutes. Step 04: Now you can open pycharm and open a new python project then open a new python file in it. Watch the video with sinhala on my youtube channel to see how it done . https://youtu.be/iWJeQHTvciQ [Instagram] https://www.instagram.com/_sathsa_ra/ [LinkedIn ] https://www.linkedin.com/in/thathsara-hewage🇱🇰-sathsara-43046b191

How Stack works : with java

Image
Stack එකක් කියන්නෙ මොකක්ද ?  මේ blog post එකෙන් ඒ ගැන කතා කරමු. What is a stack? Allows access to only one data item; the last item inserted If you remove this item, then you can access the next-to-last item inserted what happens in a stack? In a stack all insertions and deletions are made at one end (Top). Insertions and deletions are restricted from the Middle and at the End of a Stack Adding an item is called  Push Removing an item is called  Pop Elements are removed from a Stack in the reverse order of that in which the elements       were inserted into the Stack The elements are inserted and removed according to the Last-In-First-Out (LIFO) principle. Here is the java program to learn the work of a stack StackX.java ########################################################## //tutorials_by_sathsara //www.sathsaratutorials.blogspot.com //On_17th_july_2020 package stack; public class StackX {         private int maxSize ;        //set the siz

How to make a calculator using HTML, css, javaScript

Image
Hypertext Markup Language is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets and scripting languages such as JavaScript. Let's learn through this video how to develop a web based simple calculator using these things.   HTML, css, javaScript භාවිතයෙන් සරල කැල්කියුලේටර්   එකක් develope කරන හැටි Watch the video now :  https://youtu.be/DHEjJW_Tx0U Check out my youtube channel : https://www.youtube.com/channel/UCLD_EGJOhzPx4qu1OhOfeJg  Outcome : Here is the code : <html> <head>     <script>         function insert(num)         {             document.form.textView.value = document.form.textView.value + num         }         function equal()         {             var exp = document.form.textView.value;                         if(exp)             {                 document.form.textView.value = eval(exp)             }         }

C programming ඉගෙනගන්න ඔයත් ආසද ?

Image
IT field එකේ වැඩ්ඩෙක් වෙන්න , හොද ආදායමක් ලැබෙන රැකියාවක් කරන්න දැන් දක්ෂයන්ට ලොකු තැනක් තියෙනවා. ඉතින් ඔයත් අනාගතයේ මේ තැන් වලට යන්න හීනයක් තියෙනවා නම් අදම තොරතුරු තාක්ෂණය ඉගෙනගන්න පටන් ගන්න. පරිගණක ක්‍රමලේඛන භාෂාවන් ඉගෙනගන්න එක ඒ අතරේදී ඔයාට අනිවාර්යයෙන්ම කරන්න වෙනවා. ඉතින් ලේසිම සරලම language එකකින් වැඩේ පටන් ගන්න. software engineer කෙනෙක් , IT engineer කෙනෙක් , android developer කෙනෙක් , web developer කෙනෙක් වෙන්න පලමු පියවර තියන්න. C programming ඉගෙනගන්න එකතු වෙන්න SathsaRa youtube channel එක සමග. මෙතනින් youtube channel එකට යන්න. https://www.youtube.com/channel/UCLD_EGJOhzPx4qu1OhOfeJg Code කරන අතරතුරදී ඔයාලගෙ ප්‍රශ්න එකතු වෙලා විසදගන්න  අපේ telegram channel එකට join වෙන්න. https://t.me/ProgrammingLoversBySathsara SathsaRa facebook page එක follow කරලා අලුත්ම update කලින්ම දැනගන්න. https://www.facebook.com/Sathsara-103481964575191 Thank You !

C programming for beginners -Episode 02 | How to use printf

Image
C programming for beginners - Episode 02 | How to use printf In this tutorial we are going to discuss , how to use printf statement in C programming.  මේ tutorial එකෙන් අපි කතා කරමු කොහොමද print statement එක භාවිතා කරන්නේ කියලා.විඩියෝ එක youtube එකෙන් බලන්න ඔන්න පහල links තියෙනවා.      [ Using printf statement & C basics ] Here is the exercise we are going to discuss on this video tutorial. Watch now the previous tutorial - Episode 01 https://youtu.be/3wMaA8QSmfU Watch now this tutorial video on my channel: Subscribe to my channel:    https://www.youtube.com/channel/UCLD_EGJOhzPx4qu1OhOfeJg මේ දේවල් ටික අපි කතා කරනවා මේ video එකේදී විස්තරාත්මක්ව සරලව. 01)    Print these things with one printf statement.                                         I.              HELLO WORLD                                       II.         Hello World              I love programming Iii.     Hello            World    

C programming for beginners - Episode 01 | C programming Environments

Image
C programming for beginners - Episode 01 |   C programming Environments Hey guys we are going to start learning programming with C language. In this episode 01 I have explained where we can code C? , What are the C programming environments?  C ප්‍රෝගැමින් කරන්න environments කිහිපයක්ම තියෙනවා.ප්‍රධාන වශයෙන්ම linux මත පදනම් වෙලා C code කරන්නේ .නමුත් ඔයාට ආධුනිකයෙක් විදියට පාවිච්චි කරන්න පුලුවන් coding web site එකක් ගැන මම මේ video එකේ අගදී පැහැදිලි කරනවා. watch now the C programming for beginners Episode-01 video from youtube. https://youtu.be/3wMaA8QSmfU subscribe my channel on youtube : https://www.youtube.com/channel/UCLD_EGJOhzPx4qu1OhOfeJg C programming is a general-purpose, procedural, imperative computer programming language developed in 1972 by Dennis M. Ritchie at the Bell Telephone Laboratories to develop the UNIX operating system. C is the most widely used computer language. It keeps fluctuating at number one scale of popularity along with Java