Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by Anuradha Nanda
16 articles
How to use nested array in android listview?
This example demonstrate about How to use a nested array in android listview.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml In the code, we have taken listview to show array values.Step 3 − Add the following code to src/MainActivity.javapackage com.example.myapplication; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.ArrayAdapter; import android.widget.EditText; import android.widget.ListView; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; public class MainActivity extends AppCompatActivity { ListView list; ...
Read MoreHow to print number of paragraphs in textview in android?
This example demonstrate about How to print number of paragraphs in textview in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. In the above code, we have taken textview to show paragraph and toast will show the information about number of paragraphs.Step 3 − Add the following code to src/MainActivity.javapackage com.example.myapplication; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; import android.widget.Toast; public class MainActivity extends AppCompatActivity { TextView ...
Read MoreHow to decode the string in android?
This example demonstrate about How to decode the string in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml In the above code, we have taken editext, button and textview’s. When user click on button after inserting value in edittext, it will do encode and decode.Step 3 − Add the following code to src/MainActivity.javapackage com.example.myapplication; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import android.util.Base64; import ...
Read MoreHow to sort an array elements in android?
This example demonstrate about How to sort an array elements in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. In the above code, we have taken text view to sorted array.Step 3 − Add the following code to src/MainActivity.javapackage com.example.myapplication; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.TextView; import java.util.ArrayList; public class MainActivity extends AppCompatActivity { TextView text; int temp; int[] ...
Read MoreHow to print current package name in android?
This example demonstrate about How to print current package name in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. In the above code, we have taken a text view to show the current package name.Step 3 − Add the following code to src/MainActivity.javapackage com.example.myapplication; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; import java.security.Security; import java.util.Locale; public class MainActivity extends AppCompatActivity { TextView textView; ...
Read MoreHow does the tech industry manipulate its customers?
Did you know all the articles you read about the reviews of a particular product: about its pros, cons, and ratings from some popular, so-called "authentic and genuine" tech blogs are actually, just paid ones?In fact, because of these people, the articles with the original product review are pushed to the very end of the priority line by the big tech companies, that can’t seem to get enough affirmation to their success. In some cases, there is no place left for constructive criticism. As you know, criticism also plays an important part in the improvement of technology and its impact on the consumer. ...
Read MoreWhat are the different kinds of advertising frauds?
Now, let me put it this way, according to the rules of Indian advertising you are not allowed to present false or misleading advertisements. By misleading ads we mean, ads with exotic language or without any relevant explanation. If the same thing would’ve been followed by the tech world then most of us would have been charged for malpractice, I am not taking any names again.Smart ConsumerismFor the readers, the tech circle life begins with some launches and after lots of thorough thought, it ends up with your choice of gadget in your hands. In all this process, somewhere in ...
Read MoreWhat are some hidden features of Google Drive?
To enjoy the facilities of Google Drive all you need is to have an email account with Google or have a Gmail account. Google Drive can also be accessed online through your Google account or simply set up a new account by using the Create Account link on the sign-in page. Given below are the best features offered by Google Drive that are too hard to miss.These are as followsBackup anything: The cloud storage service lets you store all your irreplaceable photos, files, and documents. In fact attachments from Gmail can be directly saved to the drive. One can backup up ...
Read MoreWhy is a smartphone called smart?
Why is a smartphone called smart? A very common question strikes our head every now and then when we hear- Smartphone? Well, why not? From internet browsing to road navigations and doing every possible thing online, it has really made our life easier. I don’t think the present smart phone addicted mankind can survive even a single day without its smartphones.What A Smartphone Can DoThese phones are no different than a mini computer. Very much similar to computers, these smartphones also runs on operating systems as well as there are different applications for performing specific tasks in it. Each app is ...
Read MoreHow to make embedded youtube videos look better on your website?
We can embed YouTube videos on our websites, however, the alignment might not be the liking of a lot of people. Some might want the window size to be slightly different, or the appearance to be otherwise. These are some additional adjustments that we can make to change the appearance:Step 1: After you get your desired video on your page, you have to make two precisely minor adjustments. The first task you should do is to adjust the height of the player to 24 pixels tall. So, now change 182 from the embed code to 24.Step 2: After the step 1 ...
Read More