Tirthraj Pandey

Tirthraj Pandey

Professional Android App and Full Stack Web Developer, Blogger, Entrepreneur And Founder of Legend Blogs. I am always trying to learn new things or new possible ways to do things.

Passing data to Activity and Fragment in Android

Sometimes we need to send some valuable data to another activity or fragment, So, when passing data to an activity or a fragment in Android, the Bundle is used to contain the data and ship it to the activity or fragment to be launched.

How do I programmatically 'restart' an Android app

Sometimes we need to restart our Android app between the code execution, In that case, we have to use some set of code to perform this action. Now we will learn How do I programmatically restart an Android app?.So, simply use the PendingIntent to do this

Exception handling in php
php

Exception handling in php

Exception handling is used to change the normal flow of the code execution if a specified error (exceptional) condition occurs. This condition is called an exception. PHP has an exception model similar to that of other programming languages.