<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by JIBRAN on Medium]]></title>
        <description><![CDATA[Stories by JIBRAN on Medium]]></description>
        <link>https://medium.com/@jibraniqbal?source=rss-15e48dde34da------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lEAMeoDBTl6yVKXFTz1KBA.jpeg</url>
            <title>Stories by JIBRAN on Medium</title>
            <link>https://medium.com/@jibraniqbal?source=rss-15e48dde34da------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 00:58:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jibraniqbal/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Pixl — Android Image Manipulation Library]]></title>
            <link>https://jibraniqbal.medium.com/pixl-android-image-manipulation-library-c27e9b902232?source=rss-15e48dde34da------2</link>
            <guid isPermaLink="false">https://medium.com/p/c27e9b902232</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[libraries]]></category>
            <category><![CDATA[image-processing]]></category>
            <dc:creator><![CDATA[JIBRAN]]></dc:creator>
            <pubDate>Sat, 24 Oct 2020 14:46:49 GMT</pubDate>
            <atom:updated>2020-10-24T14:46:49.373Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q5E-u8rIEXhD55LK" /><figcaption>Photo by <a href="https://unsplash.com/@angelacompagnone?utm_source=medium&amp;utm_medium=referral">Angela Compagnone</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Pixl — Android Image Manipulation Library</h3><p>There was a time when I was working on a simple image editing application, but couldn’t find the library or basic APIs from android which can manipulate Contrast, Brightness, and Sharpness of an image, unlike iOS. though I found many implementations in the wild(StackOverflow, GitHub) available supporting Java, but they were sluggishly slow because Java VM **cough cough**, but after extended research, I found a perfect thing named “RenderScript”, which harness the ability to do pixel-level processing on native instead VM. but I found it very hard because there were zero to none documentation and very bad ones.</p><p>In the end, I implement it by trial and error using a talk on YouTube and a handy Github RenderScript resource.</p><p>So I decided to make a library and can provide three basic image manipulation ( Contrast, Brightness, and Sharpness )</p><p>I will stop talking and here is the code.</p><h3>Installation</h3><p>Add Jitpack to your project build.gradle file</p><pre>allprojects {<br>	repositories {<br>		...<br>		maven { url &#39;https://jitpack.io&#39; }<br>		jcenter()<br>	}<br>}</pre><p>}</p><p>Then add this dependency to your app build.gradle file.</p><pre>dependencies {<br>        implementation &#39;com.jibraniqbal.pixl:pixl:0.0.1&#39;<br>}</pre><h3>Usage</h3><p>You can see the example with brightness, contrast, saturation with Seekbar, given the value 0–100%</p><p>To support API-19 add this to your build.gradle</p><pre>android {<br>	defaultConfig {<br>		...<br>		renderscriptTargetApi 19<br>    		renderscriptSupportModeEnabled true<br>	}<br>}</pre><p>Initialization</p><pre>val pixl = Pixl(context)</pre><p>Brightness</p><pre>brightnessSeek.setOnSeekBarChangeListener(object : SeekBar.OnSeekBarChangeListener {<br>        override fun onProgressChanged(p0: SeekBar?, p1: Int, p2: Boolean) {<br>            val input = originalBrightnessImage<br>            val output = Bitmap.createBitmap(input.width, input.height, input.config)<br>            pixl.setBrightness(input, output, p0?.progress?.toFloat() ?: 0f)<br>            postImage(brightnessImage, output)<br>        }<br>        override fun onStartTrackingTouch(p0: SeekBar?) {}<br>        override fun onStopTrackingTouch(p0: SeekBar?) {}<br>    })</pre><p>Contrast</p><pre>contrastSeek.setOnSeekBarChangeListener(object : SeekBar.OnSeekBarChangeListener {<br>        override fun onProgressChanged(p0: SeekBar?, p1: Int, p2: Boolean) {<br>            val input = originalContrastImage<br>            val output = Bitmap.createBitmap(input.width, input.height, input.config)<br>            pixl.setContrast(input, output, p0?.progress?.toFloat() ?: 0f)<br>            postImage(contrastImage, output)<br>        }<br>        override fun onStartTrackingTouch(p0: SeekBar?) {}<br>        override fun onStopTrackingTouch(p0: SeekBar?) {}<br>    })</pre><p>Saturation</p><pre>saturationSeek.setOnSeekBarChangeListener(object : SeekBar.OnSeekBarChangeListener {<br>        override fun onProgressChanged(p0: SeekBar?, p1: Int, p2: Boolean) {<br>            val input = originalSaturationImage<br>            val output = Bitmap.createBitmap(input.width, input.height, input.config)<br>            pixl.setSaturation(input, output, p0?.progress?.toFloat() ?: 0f)<br>            postImage(saturationImage, output)<br>        }<br>        override fun onStartTrackingTouch(p0: SeekBar?) {}<br>        override fun onStopTrackingTouch(p0: SeekBar?) {}<br>    })</pre><p>The code is also available here with an example application.</p><p><a href="https://github.com/jibraniqbal666/Pixl">jibraniqbal666/Pixl</a></p><p>Give the feedback and post issue on GitHub if you have any.</p><p>Resources:</p><p>YouTube — <a href="https://www.youtube.com/watch?v=eebG8SMYD20">https://www.youtube.com/watch?v=eebG8SMYD20</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c27e9b902232" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why, Elementary OS, A Personal Experience.]]></title>
            <link>https://jibraniqbal.medium.com/why-elementary-os-a-personal-experience-f1e6e191b2af?source=rss-15e48dde34da------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1e6e191b2af</guid>
            <category><![CDATA[review]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[elementary-os]]></category>
            <dc:creator><![CDATA[JIBRAN]]></dc:creator>
            <pubDate>Sun, 03 Feb 2019 18:38:01 GMT</pubDate>
            <atom:updated>2019-02-03T18:38:01.359Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mxJZMz1YWtF3AAmI8f72Qw.png" /><figcaption>Elementary OS Juno</figcaption></figure><p>It’s been almost 2 years when I started using a Linux distribution as my primary OS, by reading that previous sentence you might have already guessed my first distribution of choice, no doubt, it was Ubuntu 14.04 LTS, and we all have been there.</p><p>It was a hard and painful experience for a person who was an avid user of Windows, primarily the best version of it Windows 7, but I made a choice to get the freedom from not sharing data and giving a premium for basic applications like a word processing application (MS Word). That is why I moved to Linux because I had no choice, some people wanted my privacy and some of them my money *Cough Cough* Apple. and then I installed Ubuntu 14.04 LTS on my potato laptop.</p><p>After almost 1.5 years I was still installing different distros officially called distro hopping, to get the suitable distro for all my need but such as normal document writing for the hectic assignments of my computer science degree with a couple of crazy development projects. I tried many popular variants as listed below.</p><ol><li>Ubuntu — Debian based, Tried all Desktop Environment, Mate, Gnome, Xfce are on my favourites.</li><li>Linux Mint — Ubuntu based, Tried All Desktop Environment, Cinnamon is favourite.</li><li>Manjaro — Arch based, Deepin</li><li>Antergos —Arch based, Gnome</li><li>Pure OS — Debian based, Purism</li><li>Arch Linux — Xfce</li></ol><p>after trying every distribution, there was something that doesn’t feel right until I discovered <a href="https://elementary.io/">Elementary OS</a>. I really didn’t know why I have not tried this freaking great OS.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FGmlDMFfcNy7tu%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Flol-reaction-gif-no-GmlDMFfcNy7tu&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FGmlDMFfcNy7tu%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="301" frameborder="0" scrolling="no"><a href="https://medium.com/media/3d56ddffc6777f180a46b7a37b3b5bcc/href">https://medium.com/media/3d56ddffc6777f180a46b7a37b3b5bcc/href</a></iframe><p>Then I stopped distro hopping. I found everything I needed, with this beautiful OS, Everything was in the right amount, It Just felt great for my Potato Laptop. Even my TrackPad was working good than other distribution where I had to compile the driver, and tinkering with synaptic files to set it the pressure sensitivity, I think I was just lucky.</p><p>Let&#39;s get to the point of why this OS.</p><blockquote><strong>I believe that this is the most Minimalistic OS, with the mission of</strong></blockquote><blockquote><strong>“ why less is more”</strong></blockquote><blockquote><strong>which appeals to the most even you are a power user or a simple user.</strong></blockquote><h3>Minimalism in OS</h3><p>Providing the only things that simple user wants, still giving great power to Power User, such as seamless experience in doing things such as</p><ol><li>Installing Application</li><li>Out-of-box Experience</li><li>Look and Feel</li></ol><h3><strong>Installing Application</strong></h3><p>Elementary OS’s AppCenter is one of the finest things about the OS, for a new user, it is a breeze to installing the software, because of their list of curated apps, that is none the less small, but are welcoming to the user, rather than freaking out the new user by telling them the nightmarish sentences like “ Go To Terminal ” ( P.S. I Love Terminal. ), I know there are alternatives like Software in GNOME and in almost all other distribution, but installing things are not a breeze as AppCenter, these installer gets stuck that panics the user, that something went wrong, even though it was just a graphic’s glitches or late responses of interface, at least on my potato laptop, but still bad for newer people, but when you go to the perspective of Power User, who installs the application, using compiling the source, or uses APT, the experience is same awesome as other distros, because at last, it is Linux, and you do the heck you want with it. I believe but after you get used to the Linux GUI interface, a Linux user always needs to discover the power of “A Terminal”.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FQdFeImLAY3jEs%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FQdFeImLAY3jEs%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FQdFeImLAY3jEs%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/fd5bb2e39a54a3aa1be8d107b54d7bbd/href">https://medium.com/media/fd5bb2e39a54a3aa1be8d107b54d7bbd/href</a></iframe><h3>Out-of-box Experience</h3><p>Elementary OS provide one of the best out of the box experience with the applications that matter, most of the Windows, specifically Mac OS users, will feel right at home, there is nothing that needs to be configured, the experience has the right amount of apps that you need which includes</p><ol><li>Music</li><li>Epiphany (Browser)</li><li>Mail</li><li>Photos</li><li>Code ( One of the best out of the box code writing app )</li><li>Camera</li><li>Video and Many More…</li></ol><p>Yes, the other distribution also adds these apps, and they are great as well but I believe that these above apps are maybe not very rich featured, but very refined, complete apps and as minimal as these apps could be.</p><h3>Look, Feel and Performance</h3><p>Let’s first see at the look and feel, Elementary OS is based on Pantheon DE (Desktop Environment), which is quietly beautiful, minimal and also have all the rings and bells. I don’t know to me it feels like these UI interaction and aesthetics are inspired by MacOS, but I also believe it might be better than MacOS overall because you are getting a better UI experience and you can customize it as well as per your liking.</p><p>On other distribution specifically Debian based ones, I often experience certain problems that led to unresponsive UI such as copying any big data, or in heavy usage, but it might be the problem of my potato laptop, which even don’t have an SSD. but I never experienced these problems in Elementary OS.</p><p>On the performance parts, the distro is quite the same as other distribution because at last it is still based on Ubuntu, so it inherits all the goods side of that distribution.</p><h3>Bonus: ShortComings</h3><ol><li>One of the biggest annoyances that you can not update from older OS release like Loki to the newest Juno, to get the new release you must wipe the old one to get new.</li><li>It breaks all the GTK apps UI, Elementary people made it clear that their desktop is not GNOME, so they really don’t care about it.</li></ol><p>In summary, I believe that Elementary OS is one of the refined and best out-of-the-box experience for the newer and also the old user. If you have never tried Linux or you have never tried this distribution, please give it a try, it will be worth it.</p><p>Download it from here <a href="https://elementary.io/">https://elementary.io</a></p><p>After installing here are my favourite apps, that you may like.</p><p><a href="https://appcenter.elementary.io/com.github.djaler.formatter">Formatter</a> — A man needs to format its SD card and Drives.</p><p><a href="https://appcenter.elementary.io/com.github.artemanufrij.imageburner">Image-Burner</a> — A distro hopper needs to make bootable USB</p><p><a href="https://appcenter.elementary.io/com.github.calo001.fondo">Fondo</a> — A curated list of Unsplash wallpapers.</p><p><a href="https://appcenter.elementary.io/com.github.artemanufrij.screencast/">Screen-cast</a> — Record your screen like never before.</p><p>and <a href="https://appcenter.elementary.io/">Many More</a>.</p><p>PS. I got inspired by</p><p><a href="https://twitter.com/CassidyJames">Cassidy James</a> — Cofounder &amp; UX Architect Elementary.</p><p><a href="https://twitter.com/killyourfm">Jason Evangelho</a> — <a href="https://twitter.com/hashtag/Linux?src=hash">Linux</a> advocate, <a href="https://twitter.com/Forbes">@Forbes</a> writer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1e6e191b2af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[why android app locks sucks? A Journey of finding best app lock.]]></title>
            <link>https://jibraniqbal.medium.com/why-android-app-locks-are-terrible-a162f2e81bfa?source=rss-15e48dde34da------2</link>
            <guid isPermaLink="false">https://medium.com/p/a162f2e81bfa</guid>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[google-play]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[JIBRAN]]></dc:creator>
            <pubDate>Fri, 22 Jun 2018 18:05:21 GMT</pubDate>
            <atom:updated>2018-06-22T20:45:39.207Z</atom:updated>
            <content:encoded><![CDATA[<p>sucks? the answer of this questions may lie in how they are being developed, why we need system embedded app for this particular application because Android Open Source Project does not have the any implementation of it.</p><p>first lets see the most downloaded and popular app lock on Play Store named AppLock(<a href="https://play.google.com/store/apps/details?id=com.domobile.applock">https://play.google.com/store/apps/details?id=com.domobile.applock</a>) by DoMobile Lab.</p><p>this particular application has 4.4 rating and 100 millions downloads,</p><p>I have tried this app many times but eventually got disappointed, but it is not the only app that lock apps terrible, they are hundreds</p><h3>few major problems with app locks particularly with this app</h3><ul><li>while switching app you need to type password every time, because they don’t have feature to make applications unlocked until you lock your device.</li><li>you will get unwanted lock screen while using the apps that you have locked. e.g below i have locked Instagram, I launched app didn’t unlock it but in recent you can see Instagram loaded.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iF0E0EFZQ2gs9TO4Cg3bzw.jpeg" /></figure><ul><li>showing app data from recent, a person can still see many things from recent apps.</li></ul><h3>Bad and Only Implementation of this type of Apps as a developer</h3><ul><li>the app locker listens to the apps and their activities that are started, using activity and package manager by getting accessibility permission by user.</li><li>if the particular app is launching which is locked by app locker, the app locked draw a lock screen (using on draw apps permission) onto that app which hide the apps, and will be dismissed if you write the correct password.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ii-rWuev19OWwpUFD5jEXw.png" /></figure><p>Instagram locked using material app locker.</p><h3>why system embedded app locks are better</h3><ul><li>they will have full control of launching apps so the system can control leaks in recent by not even launching app.</li><li>drawing lock screen does not mean locking it, we can have control system wide app launcher and restrict even launching that app.</li><li>system will know when to pop lock screen end of annoying pop up of lock screen while using app.</li></ul><h3>Example of System Wide App Lock examples</h3><ul><li>“Lock and Mask apps” and “Secure Folder&quot; in Samsung (go to advance features in setting).</li><li>“Protected Apps” in Lineage OS.</li></ul><h3>Protected Apps in Lineage OS</h3><p>By far best implementation of the thing, i have been talking about, it has all the perks and the feature and security, you will never leak data from recent and by other means.</p><h4>Features</h4><ul><li>control all the app launches systemwide and show lock screen before launching app.</li><li>can’t be uninstalled because it is System Feature.</li><li>only be disabled from settings by entering the correct password</li><li>not going to show lock screen while launching setting, just when you launch protected apps to change or disable app lock.</li></ul><h4>Disadvantage</h4><ul><li>Lineage OS is a custom OS, not everyone has time to install it, and i was just showing it as an example.</li><li>app can only be locked by pattern.</li><li>not available in Lineage OS 15.1 but will going to be available soon.</li></ul><h3>Most Underrated and best App Locker for Human</h3><p>after testing a wide variety of apps</p><p><a href="https://play.google.com/store/apps/details?id=me.ibrahimsn.applock">https://play.google.com/store/apps/details?id=me.ibrahimsn.applock</a></p><p>this is the best application i could find in play store, and it is improving.</p><p>EDIT : this is my first article here, i am open to suggestions ☺</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a162f2e81bfa" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>