A blog for computer science passionates.

Thursday, 30 November 2017



Hello everyone,

This time I am going to represent AI ( Artificial Intelligence ). Because now a days AI is
most demanding thing for current technology and trends. And big companies such as,
Google, Facebook, Microsoft etc. accept AI and take the big advantage from AI. AI is a
real future in the technological field. AI is very broad topic. We all are aware with AI, it is related to our daily life. But we never think about it.
Now, the thing is
What we think about, Artificial Intelligence?
Robots?
Fig 1. Robot

No, it is not just enough for robots or robotics, Robotics is different thing than AI. Yes
we can say robotics is a part of AI. But it is not fully AI.
 

AI is machine intelligence i.e. A Machine that represents it’s intelligence and it is
made by Human. That’s why Artificial Intelligence. Machine represents intelligence
like human but human beings and animals and other creatures have natural intelligence.
And machines have artificial intelligence. AI works on predefined tasks that is defined by
men when they designed it and set some algorithms. So, machine works as per it’s
algorithms and programming.

Research Areas for AI
Today, AI is hot topic for research. Different area for research in AI is, Robotics, Natural
Language Processing, Fuzzy Logic, Neural Network, etc. 

At present, all the above mentioned topics are very hot and popular today for research in
AI.

In these above domain, Robotics and machine learning both are hot favorite for
researchers.

Robotics is touching the sky i.e. it is available in all necessary areas in the
world at present, because now a days some country use robots in different areas such as,
robot for medical area, robot for business areas like automobile, finance, education etc.,

robot as home appliances etc. As we all know about sophia a humanoid. It gets the all
necessary privilege as human being. 

And Machine Learning is also a part of AI. It is the learning strategies for machine
through different algorithms.

In Natural Language Processing we have lots of natural languages to communicate but this time human communicate with computer. So, we need natural language processing and in which there are different applications such as, Speech recognition etc.
Neural Network as human we have brain and through our nervous system we can send a message to our brain, same as in AI neural network works as our nervous system.

This is the brief introduction of Artificial Intelligence. In next Article I will tell you more about AI.

Scope of AI  
Lots of scope for AI in current technology world. I mean at present in technology field lots of scope for AI. as I describe here Robotics, Machine Learning, Deep Learning, Speech recognition, Game Development, Computer Vision, Expert system etc. are the different scopes of AI.

What should you learn to work with AI?
To work with AI, you should learn Algorithms, Data structure, and some programming languages such as, C, LISP, Prolog, Now a days as per the current trends C++, Java or Python etc. Even Maths, specially Discrete Maths or you can say Maths with Logic, Science such as Biology, Physics etc. this mentioned things are necessary for learning AI.

Now, How to learn AI or from where to learn AI?
Some Institutes such as,
  • IIT Bombay
  • IIT Madras
  • IISc Banglore etc.
  • Hydrabad University
  • University of Edinburgh
  • University of Georgia etc.
Some Online Course,
After learning AI, you can get the Job as,
  • Game Developer
  • Computer Scientists
  • Robotics Scientists etc.
Now, you will get AI is most important thing to learn today....

So, Enjoy with AI....

Saturday, 25 November 2017



Hello Friends,
I am going to tell you about today’s trend in Android App. Development. As you all are aware with the android and its’ development speed. i.e.  We all know about the speed of technology. If I say that within every 20 seconds there is a new technology arrives in the market, you can’t say no.
So, let’s start with the today’s Android App. Development (Advance Android App. Development).
First of all, We should start with Android App. Designs,
Designing is necessary for all app. Or it is an essential part of any app. Just because the user of app maybe don’t know about the coding and even they use your app from front side. To provide user friendly environment to your users you should take enough care about designing.
When we are going to design an app at that time lots of things one can keep in mind such as, user’s behavior the app. So, let’s start app. designing.
To designing an App. We have different types of layouts and widgets for different types of devices. Even we can create own widgets i.e. widgets is known as custom widgets.
Some factors are there on which, we have to think while designing app.
  1. Design User Interface for each and every screen. i.e. UI should be flexible enough to set its‘ view for every screen. Such as, for each size of mobile and tablets our UI should remain same.
  2. Design should be responsive.
  3. Title for each different screen with its’ own toolbar.
  4. App design should be like that if users are physically disabled, they can use our app. effectively.
Now, in this article I introduce Material design in front of you. You might have already known about material design. Material design was introduced when Lollipop version API 22 introduced. And it became successful. Google developed Material Design in the year 2014. When Material Design came, it gave lots of new Themes, Widgets, Animations, Drawables etc. and even you can customize themes, animations etc.
In this tutorial I am going to tell you, how to develop material design theme for your app.? How to work with different widgets using this custom theme such as, Navigation drawer, CardLayout, RecyclerView etc.? 
In this article we are going to learn about some basic steps to develop material design theme.
So, Let’s start,

Step – 1: Download Android Studio (if you have not)
Step – 2: Here, I want to tell you about some color terminologies,
  • colorPrimary – Generally, This color is displayed on toolbar as background.
  • colorPrimaryDark – This color is displayed at status bar (Notification bar)as background.
  • windowBackground – This color is displayed as our app background color.
  • textColorPrimary – This is the color of your text that you use for your app title.
  • colorAccent – This color is used when we use different widgets or UI controls such as, EditText, CheckBox etc.
     

Fig. 1 Color Description
  • There are some more color  terminologies, we will discussed later on.  
Step – 3: Create new project, go to File > New > New Project. This will open create new project dialog box. and create new project.
Step - 4: Choose Empty Activity from Activity List.
Step - 5: Now we are going to,
create material design
  • Go to the res > values open colors.xml file. and add different colors that you want to add to your app. here, I use my colors. that I want to use in my app.
<?xml version="1.0" encoding="utf-8"?><resources>    <color name="colorPrimary">#ff8888</color>    <color name="colorPrimaryDark">#ff8877</color>    <color name="colorAccent">#ff3388</color>    <color name="windowBackground">#ffffff</color>    <color name="textColorPrimary">#000000</color></resources>
Now, after saving this file, open res > values > styles.xml file. and add the code.

<resources>
    <style name="MyDemoTheme" parent="Theme.AppCompat.Light.DarkActionBar">        <item name="windowNoTitle">false</item>        <item name="windowActionBar">true</item>        <item name="colorPrimary">@color/colorPrimary</item>        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>        <item name="colorAccent">@color/colorAccent</item>
    </style>
</resources>
  • Now, after saving this file, open androidmanifest.xml file. and add the code. and edit <application>.
android:theme="@style/MyDemoTheme"

  • Now, check the entire AndroidManifest.xml file. It looks Like.
<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android"    package="com.trivediheena.materialdesignappdemo">
    <application        android:allowBackup="true"        android:icon="@mipmap/ic_launcher"        android:label="@string/app_name"        android:supportsRtl="true"        android:theme="@style/MyDemoTheme">        <activity android:name=".MaterialDemoActivity">            <intent-filter>                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />            </intent-filter>        </activity>    </application>
</manifest>
Now you can see the output like below screen.  after setting all the colors. your material them is somewhere ready.


Fig. 2 Final Output


So, Friends it is really easy to create material design theme. In the next article I will show you how to use navigation drawer and other widgets with material design. Try the above code you will get all the things and understand easily.
Happy coding...


Hello world,

I use the above words, just same as when we start any programming language at that time we do Hello World program. I start this blog, and this is my first post for this blog to tell you about the aim or goal for this blog.

The aim and goal for this blog is clear that I just want to introduce the world of computer science in front of all computer science passionate.