Skip to main content

X Byte Lab

Happy Blogging

Comments

Post a Comment

Popular posts from this blog

Add to home screen on custom button click

In the last post I had shared with you how to make the browser show a "Add to Home Screen" dialog box in Mobile devices. It is possible in both Android, iOS and even on Latest desktop browsers too. This feature is available in modern web browser and it helps us to install the PWA in user's device. In this post we will learn how to show Add to Home Screen prompt when user clicks a button. The dialog box like the image below will popup on user's screen once they click the button designed to do that task. Below is the  Add to home screen popup dialog box . To popup add to home screen dialog box all we need to do is - Trash the  beforeinstallprompt Call  deferredPrompt.prompt() when a custom button is cliked Who wants to waste time in reading. So here's the code for you. NOTE : manifest.json and service-worker.js file needs to be available in the same directory. Refer to last post to learn how to do that. Check and download source co...

How to Convert MBR to GPT without Data Loss?

How to Convert MBR to GPT without Data Loss? Why Convert MBR to GPT? Nowadays, many Windows users have come up with the question of "how to convert MBR to GPT without data loss". Also, in many technical blogs and forums, this question can be heard frequently as well. Why do they want to convert MBR to GPT? Let's see the  difference between MBR and GPT  as follows. The MBR hard disk can only support 2TB hard disk at most, but GPT can support 256TB. The users can only create four primary partitions or three primary partitions and one extended partition at most. The GPT can support 128 primary partitions at most. Some booting main boards can not support GPT as their system drive, such as MAC. Some Windows operating systems can not work with GPT hard disk, such as Windows 2000, XP, Windows 2003 32bit. How to Convert MBR to GPT without Data Loss? Diskpart The Diskpart Command can achieve the goal by the following steps. Step 1:  click "Start...

Windows 10 will be released to all WP8 Lumia phones

Windows 10 will be released to all WP8 Lumia phones 25 march, 2015 Tags:  Microsoft ,  Nokia ,  Windows Phone ,   Firmware update, windows phone 10  We have some wonderful news to all Lumia owners around the world. Today Microsoft announced via its Twitter account that all Windows Phone 8-based Lumia smartphones will be treated to the upcoming Windows 10 OS next year.   The next iteration of Windows was announced recently and it will unify the Windows OS and make it compatible to phones, tablets and PCs with just one installation. Windows 10 is coming sometime next year and it is currently in development.   It's really good news to see Microsoft updating even three-year old phones with less RAM to the latest Windows OS. We know Microsoft's decision to ditch all WP7 phones when switching to WP8 was a huge blow to the fans and the Windows Phone OS popularity itself. But apparently Microsoft has learned a valuable lesson sinc...