How to achieve right to left animation to start the activity

Do these modifications to your animation files: enter.xml:

  exit.xml:

  You’ll have your second activity sliding in from right to the left. For a better understadnig on how to play around with the fromXDelta and toXDelta values for the animations, here is a very basic illustration on the values: This way you […]

person shubham sharmaaccess_time March 6, 2017launch Read More

How to zip a whole folder using PHP

Zip a whole folder:

  Zip a whole folder + delete all files except “important.txt”:

 

person shubham sharmaaccess_time March 3, 2017launch Read More

What’s My User Agent?

Your User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Your IP Address is: 103.82.80.117 Browser Information: JavaScript Enabled: Yes Cookies Enabled: Yes Device Pixel Ratio: 1 Screen Resolution: 1366px x 768px Browser Window Size: 1349 px x 638 px Local Time: 4:42 pm Time Zone: -5.5 hours User […]

person shubham sharmaaccess_time February 23, 2017launch Read More

Push Notification Firebase

Add google-services.json file   Add file into maifest.xml

  Create Files Config.php

    In activity

 

  To receive Brodcast  

 

person shubham sharmaaccess_time February 17, 2017launch Read More

Android Spinner set Selected Item by Value

The spinner provides a way to set the selected valued based on the position using the setSelection(int position) method. Now to get the position based on a value you have to loop thru the spinner and get the position. Here is an example

If you are using an ArrayList for your Spinner Adapter then […]

person shubham sharmaaccess_time February 15, 2017launch Read More

REGEX LISTS

Get Image src REGEX

Ends With

person shubham sharmaaccess_time February 14, 2017launch Read More

Test a URL response status

 

person shubham sharmaaccess_time February 8, 2017launch Read More

.htaccess file guid

htaccess is a very ancient configuration file that controls the Web Server running your website, and is one of the most powerful configuration files you will ever come across. .htaccess has the ability to control access of the WWW‘s HyperText Transfer Protocol (HTTP) using Password Protection, 301 Redirects, rewrites, and much much more. This is […]

person shubham sharmaaccess_time February 8, 2017launch Read More

What is htaccess

Htaccess (HyperText Access) is a simple configuration file that allows designers, developers and programmers alike to alter the configuration of the Apache Web Server in order to provide additional functionality. Such functionality can include redirecting users, URL re-writes and providing password-protected directories; but it can do so much more. So let’s begin … Creating and […]

person shubham sharmaaccess_time February 8, 2017launch Read More

How to create custom 401, 403 and 500 error pages?

EError pages are served up via .HTACCESS, if you are using Apache you would use the ErrorDocument directive and add the status and URL to it. So it would look like this in your .htaccess file:

  You could use the following function below. This will dynamically add what is needed to the HTACCESS […]

person shubham sharmaaccess_time February 3, 2017launch Read More