Admob Native Android SDK Integration with Phonegap/Cordova without Plugins
Just like we’ve Google’s AdSense program for all web publishers to generate revenue off their content, for mobile app developers there’s Google’s AdMob ads platform to monetize and promote their web...
View ArticleConvert (Split) PDF Files into Images with ImageMagick and GhostScript
ImageMagick is an excellent open source set of software tools that helps with converting, editing, displaying and composing image files. Almost all programming languages have extensions or libraries to...
View ArticleManipulate and Extract/Burst PDF Files Into Images, Text and Other Components...
Docsplit is a command line utility written in Ruby (can be used as a Ruby library too) that can be used for splitting apart documents like PDF (Portable Document Format) into their components like...
View ArticleParse and Read Excel Files (xls/xlsx) With JavaScript
Recently there was a requirement in one of my projects to parse Excel files (with xls/xlsx extensions) in the browser (using javascript ofcourse). So I looked around a bit on the internet and found...
View ArticleLaravel Render a View and Store the Contents in a Variable
Sometimes one may want to load a View with some PHP data passed to it and store it in a variable inside the Controller’s action. This rendered view data might be later passed to another view which is...
View ArticleBasic Steps Taken to Diagnose and Fix a Compromised or Heavy Resource...
Recently one of my servers most probably got hacked (compromised). As I logged into my linode manager it said 200% bandwidth usage and it was growing at about 1gb per 1-2 mins (checked with iftop). So...
View ArticleMini HTML/CSS/JS Code Playground (with Editors and Sandbox) in Less than 200...
Sometime back this thread on HackerNews gained quite some traction. Basically, it’s a small project called MiniCodeEditor which is a tiny and minimal version of an online code playground like CSSDeck....
View ArticleWhy clearRect Might Not be Clearing the Canvas Pixels
Sometimes the clearRect(x, y, width, height) method on the canvas context might not erase the previous graphics drawn. This usually happens when we’re drawing paths using methods like lineTo(), arc(),...
View ArticleChange Active State of Links in Sticky Navigation on Scroll
Based on the design decisions made by you on your website (or webapp), you might probably end up having a sticky navigation, one that keeps on showing up in the view port as you scroll up or down. In...
View ArticleMac OS X Setting Up Initial Tools for a Web Developer
About an year ago I bought a Macbook Pro Retina and completely switched from Ubuntu (older PC) to Mac. In this guide (for starters) I’ll quickly show how to install and setup various important...
View ArticleFixing Laravel Basic Auth Failure
Today, as I deployed my Laravel application, I received an email from my client mentioning that the basic authentication wasn’t working on the production server. I tested promptly and indeed it wasn’t....
View ArticlePHPExcel Set URL Font Styles (Color and Underline)
When creating excel files using PHPExcel, on setting a hyperlink the cell value’s styling is generally not affected. This happens on purpose to give us more control on how we want to format our...
View ArticleUnderstanding and Implementing Android Lists with ListView,...
There are times when you want to display data as a list. For example a list of emails, a list of messages, a list of tweets, a list of post titles, a list of photos with their titles and other meta...
View ArticleAndroid Dividing Your ListView Into Sections with Group Headers
ListView is commonly used to display a set of data in a list. For example a list of emails, messages, tasks or contacts. I’ve written an article on how to work with lists in android before, which you...
View ArticleUnderstanding Android Spinners and Populating Them with a Set of Items
Spinners in Android are like select dropdowns (HTML) of web development. Once tapped, it shows a list of options in a dropdown menu from which one can select a value. It is very simple to add it as a...
View ArticleBuilding a Single Integrated Registration and Login System on Android with...
In this article we’ll build a login screen which will be somewhat similar to whatsapp’s login screen. So the login and registration screens will actually be the same and the unique identifier for each...
View ArticleQuick Tip: Android Change Action Bar SearchView Hint (Placeholder) and Text...
There are times when you’ll want to change the hint (placeholder) color and the text color of a SearchView widget. Here’s a small snippet that’ll allow us to do it: Based on the placement of the...
View ArticleAdding Search Functionality to Your Android Application Activity with...
If you’re building an android application, then most likely you’ll need to implement a search in it to let the user search through a set of data that could be emails, messages, chats, photos, files,...
View ArticleAndroid Realtime (Instant) Search with Filter Class and Filterable Interface...
Android has an excellent Fitler class that helps us filter data from an entire data set based on some pattern (for example a string) provided. Filters are usually created by classes implementing the...
View ArticleUnderstanding GridView in Android with Custom Adapters by Building an Image...
GridView is a ViewGroup just like ListView that allows us to display items in a two-dimensional scrolling grid. Just like a ListView the data into a GridView is populated by an Adapter (ListAdapter)...
View Article