Skip to main content

Posts

Newest Posts:

Three ways to open new Activity in Android

The idea that come to my mind to write this post was to help some beginners in Android to let them know how to link two or more activities in Android. I am going to mention 3 ways in which you can do this.




This post is gonna be a very basic one but my main motive in it was that beginners sometimes don't know about this and they ask some dumb questions on StackOverflow. So here I am getting started with it. But first you need to have at-least two activities in your project. Suppose they are Activity1 and Activity2. The java files associated with them are: Activity1.java and Activity2.java. Here I am assuming that you want to navigate from Activity1 to the Activity2

We will move from the easiest one to the difficult one and I'll explain why that method is used.

The simple oneSo this method is the simplest one. You need to do is this: startActivity(new Intent(Activity1.this, Activity2.class)); This is used when you simply want to navigate to other activities A bit complex one…

Latest Posts

My Youtube channel

Chat bots using Kommunicate

Custom fonts on Blogger Blog?

Happy New Year 2019!

How to use the all new Google Font?

Why Intel HAXM cannot be installed in android studio?

Check if virtualization is enabled in your PC

Adding back to top button to Blogger blog

Activate your Windows 8 or 8.1 for free!!!

Applying for Google AdSense

BUILDING A WEBSITE, FREE AND PAID (PART - 2)

Image

BUILDING A WEBSITE, FREE AND PAID (PART - 1)

Image

WELCOME