<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Tech Notes</title><description>Practical notes on Java, Angular, cloud, security and building software with AI.</description><link>https://tech.sarathdr.com</link><language>en-gb</language><item><title>Same address, new home</title><link>https://tech.sarathdr.com/posts/same-address-new-home</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/same-address-new-home</guid><description>tech.sarathdr.com is no longer hosted on Medium. Every post has moved across, old links still work, and there&apos;s more to come.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>Meta</category><category>Writing</category></item><item><title>Track Clicks Outside a Component with a React Custom Hook</title><link>https://tech.sarathdr.com/posts/track-click-outside-a-component-in-react-custom-hook</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/track-click-outside-a-component-in-react-custom-hook</guid><description>A custom React hook that detects clicks outside a component. Useful for building components such as modals and dropdowns.</description><pubDate>Thu, 10 Oct 2019 17:21:48 GMT</pubDate><category>React</category></item><item><title>Android Transition Examples</title><link>https://tech.sarathdr.com/posts/android-transtion-examples</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/android-transtion-examples</guid><description>A sample project showing the Android transition framework: scenes, built-in animations and transitions defined in XML.</description><pubDate>Thu, 14 Jan 2016 14:12:31 GMT</pubDate><category>Android</category></item><item><title>Integrate a Native Library into an Android Gradle Project — Sample Project</title><link>https://tech.sarathdr.com/posts/integrate-native-library-to-android-gradle-project-sample-project</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/integrate-native-library-to-android-gradle-project-sample-project</guid><description>Step-by-step setup for building and loading an NDK native library in an Android Studio Gradle project, with a sample project.</description><pubDate>Thu, 11 Jun 2015 18:07:58 GMT</pubDate><category>Android</category></item><item><title>Download Emails from Gmail as a CSV File — PHP</title><link>https://tech.sarathdr.com/posts/download-emails-from-gmail-as-csv-file-php</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/download-emails-from-gmail-as-csv-file-php</guid><description>A fun proof of concept that uses OAuth 2.0 and IMAP to download the emails from a Gmail folder as a CSV file in PHP.</description><pubDate>Fri, 06 Feb 2015 14:51:03 GMT</pubDate><category>PHP</category><category>Google</category></item><item><title>Generate the Cordova JAR File from a PhoneGap Project Using Ant</title><link>https://tech.sarathdr.com/posts/generate-codova-jar-file-from-phonegap-project-using-ant</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/generate-codova-jar-file-from-phonegap-project-using-ant</guid><description>Build cordova.jar from the CordovaLib project with Ant, so you can use Cordova as a library in Android Studio.</description><pubDate>Mon, 08 Dec 2014 18:11:14 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>Find Geographic Coordinates from an Address or Postcode with the Google Maps API</title><link>https://tech.sarathdr.com/posts/google-map-javascript-client-to-find-the-geographic-co-ordinates-from-address-or-post-code</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/google-map-javascript-client-to-find-the-geographic-co-ordinates-from-address-or-post-code</guid><description>A small JavaScript client that uses the Google Geocoding API to find the latitude and longitude of an address or postcode.</description><pubDate>Fri, 17 Oct 2014 15:30:51 GMT</pubDate><category>JavaScript</category><category>Google</category></item><item><title>Learn Python — Quick Notes</title><link>https://tech.sarathdr.com/posts/learn-python-quick-notes</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/learn-python-quick-notes</guid><description>Quick reference notes for Python beginners: printing, strings, lists, dictionaries, loops, functions, dates and classes.</description><pubDate>Wed, 17 Sep 2014 15:59:18 GMT</pubDate><category>Python</category></item><item><title>Update the Android Main UI from a WebView — PhoneGap Plugin</title><link>https://tech.sarathdr.com/posts/update-android-main-ui-from-webview-phonegap-plugin</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/update-android-main-ui-from-webview-phonegap-plugin</guid><description>A simple PhoneGap plugin that lets JavaScript in a WebView update the native Android UI, such as the action bar.</description><pubDate>Fri, 20 Jun 2014 14:41:17 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>Get Recent Callers — Android PhoneGap Plugin</title><link>https://tech.sarathdr.com/posts/get-recent-callers-android-phonegap-plugin</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/get-recent-callers-android-phonegap-plugin</guid><description>A simple PhoneGap plugin that fetches recent callers from an Android phone, with setup steps.</description><pubDate>Fri, 20 Jun 2014 13:52:39 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>Symfony 2 Deployment with Rsync — Like Symfony 1.4 Deployment</title><link>https://tech.sarathdr.com/posts/symfony-2-deployment-with-rsync-similar-to-symfony-1-4-deployment</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/symfony-2-deployment-with-rsync-similar-to-symfony-1-4-deployment</guid><description>A simple script that deploys a Symfony 2 project with rsync, using the same project:deploy workflow as Symfony 1.4.</description><pubDate>Wed, 05 Mar 2014 18:19:58 GMT</pubDate><category>Symfony</category></item><item><title>PhoneGap Android — Contact Image Problem with Android 4.4</title><link>https://tech.sarathdr.com/posts/phonegap-android-contact-image-problem-with-android-4-4</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/phonegap-android-contact-image-problem-with-android-4-4</guid><description>Android 4.4 KitKat won&apos;t display contact photo URIs in a WebView. A workaround that reads the image natively and returns it as Base64.</description><pubDate>Sat, 08 Feb 2014 13:02:25 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>jPlayer Not Working in the HTC One Android 4.3 Browser</title><link>https://tech.sarathdr.com/posts/jplayer-is-not-working-with-htc-one-android-4-3-version-browser</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/jplayer-is-not-working-with-htc-one-android-4-3-version-browser</guid><description>A workaround for jPlayer&apos;s media load bug on some Android browsers: add a short delay before calling media.load().</description><pubDate>Wed, 29 Jan 2014 17:27:40 GMT</pubDate><category>Android</category><category>JavaScript</category><category>Mobile</category></item><item><title>Regular Expression to Validate Mobile Numbers Starting with + (Plus) — PHP</title><link>https://tech.sarathdr.com/posts/regular-expression-to-validate-mobile-phone-numbers-starting-with-plus-php</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/regular-expression-to-validate-mobile-phone-numbers-starting-with-plus-php</guid><description>A PHP regular expression that validates mobile numbers with or without a leading + sign.</description><pubDate>Mon, 02 Dec 2013 10:00:01 GMT</pubDate><category>PHP</category><category>Mobile</category></item><item><title>Methods Called from a WebView Need the @JavascriptInterface Annotation — Android Development</title><link>https://tech.sarathdr.com/posts/javascriptinterface-methods-calling-from-webview-needs-to-be-annotated-adroid-development</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/javascriptinterface-methods-calling-from-webview-needs-to-be-annotated-adroid-development</guid><description>Since Android 4.2, native methods called from JavaScript in a WebView must be annotated with @JavascriptInterface.</description><pubDate>Sun, 01 Dec 2013 23:34:57 GMT</pubDate><category>Android</category><category>PhoneGap</category><category>JavaScript</category></item><item><title>Simple Pagination Script for PHP</title><link>https://tech.sarathdr.com/posts/simple-pagination-script-for-php</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/simple-pagination-script-for-php</guid><description>A ready-to-use PHP pagination function. Copy it into your project and adapt it as needed.</description><pubDate>Fri, 23 Aug 2013 17:24:56 GMT</pubDate><category>PHP</category></item><item><title>Useful ADB (Android Debug Bridge) Commands</title><link>https://tech.sarathdr.com/posts/useful-adb-android-debug-bridge-commands</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/useful-adb-android-debug-bridge-commands</guid><description>A quick reference for common adb commands: install and uninstall apps, filter logs by tag and broadcast an install referrer.</description><pubDate>Thu, 15 Aug 2013 14:30:14 GMT</pubDate><category>Android</category></item><item><title>Use Absolute URLs for JavaScript Files — Symfony 1.4</title><link>https://tech.sarathdr.com/posts/change-the-javascript-files-url-to-absolute-url-symfony-1-4</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/change-the-javascript-files-url-to-absolute-url-symfony-1-4</guid><description>Make Symfony 1.4 output absolute URLs for JavaScript files, both in view.yml and when adding them dynamically.</description><pubDate>Tue, 09 Jul 2013 09:02:56 GMT</pubDate><category>Symfony</category><category>JavaScript</category></item><item><title>Set the HTTP Authentication Header from a Client — PHP / cURL</title><link>https://tech.sarathdr.com/posts/set-http-authentication-header-from-client-php-curl</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/set-http-authentication-header-from-client-php-curl</guid><description>Protect a REST API with HTTP Basic authentication in PHP, and call it with the right header or with cURL.</description><pubDate>Thu, 13 Jun 2013 17:39:53 GMT</pubDate><category>PHP</category></item><item><title>RSA Public Key Encryption in an Android App with Server-Side Decryption in PHP</title><link>https://tech.sarathdr.com/posts/android-app-java-rsa-public-key-encryption-and-php-server-side-decryption</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/android-app-java-rsa-public-key-encryption-and-php-server-side-decryption</guid><description>Encrypt data in an Android app with an RSA public key (Bouncy Castle) and decrypt it on a PHP server with phpseclib.</description><pubDate>Mon, 10 Jun 2013 22:31:53 GMT</pubDate><category>Android</category><category>PHP</category><category>Security</category></item><item><title>Function to Generate the 12 Month Names in an Array — PHP</title><link>https://tech.sarathdr.com/posts/function-to-generate-12-months-in-an-array-php</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/function-to-generate-12-months-in-an-array-php</guid><description>A small PHP function that returns the names of all 12 months in an array.</description><pubDate>Fri, 07 Jun 2013 17:44:10 GMT</pubDate><category>PHP</category></item><item><title>The Glass Computer — Google Glass</title><link>https://tech.sarathdr.com/posts/the-glass-computer-google-glass</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/the-glass-computer-google-glass</guid><description>An introduction to Google Glass: its features, the technologies behind it, its hardware, and its pros and cons.</description><pubDate>Wed, 29 May 2013 17:00:40 GMT</pubDate><category>Android</category><category>Google</category><category>Mobile</category></item><item><title>Nokia Lumia 925 — Released in the UK on 13 June</title><link>https://tech.sarathdr.com/posts/nokia-lumia-925-release-in-the-uk-on-june-13</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/nokia-lumia-925-release-in-the-uk-on-june-13</guid><description>An overview of the Nokia Lumia 925 — design, camera and screen — and how it compares with the Samsung Galaxy S4.</description><pubDate>Thu, 23 May 2013 15:12:40 GMT</pubDate><category>Mobile</category></item><item><title>Eclipse Crashes When You Export an APK on a Mac — Solution</title><link>https://tech.sarathdr.com/posts/eclipse-crashes-while-you-export-apk-in-mac-solution</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/eclipse-crashes-while-you-export-apk-in-mac-solution</guid><description>Eclipse kept crashing while exporting a signed APK on my Mac. Two steps that stop it happening.</description><pubDate>Wed, 15 May 2013 16:58:19 GMT</pubDate><category>Android</category><category>Mac</category></item><item><title>The 4G Network Across the UK in a Nutshell</title><link>https://tech.sarathdr.com/posts/4g-network-across-uk-in-a-nutshell</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/4g-network-across-uk-in-a-nutshell</guid><description>A quick guide to 4G in the UK in 2013: what it is, which phones and cities support it, speeds, and EE&apos;s launch prices.</description><pubDate>Fri, 10 May 2013 16:26:42 GMT</pubDate><category>Mobile</category></item><item><title>Convert a Database Cursor to a JSON Array — Android App Development</title><link>https://tech.sarathdr.com/posts/convert-database-cursor-result-to-json-array-android-app-development</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/convert-database-cursor-result-to-json-array-android-app-development</guid><description>Java code that converts an Android SQLite cursor into a JSON array, handy for PhoneGap plugins that run raw queries.</description><pubDate>Fri, 12 Apr 2013 11:20:06 GMT</pubDate><category>Android</category><category>JavaScript</category><category>Databases</category></item><item><title>Get to Know the Samsung Galaxy S4 — UK Release 26 April — Review</title><link>https://tech.sarathdr.com/posts/get-to-know-samsung-galaxy-s4-uk-release-26-april-review</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/get-to-know-samsung-galaxy-s4-uk-release-26-april-review</guid><description>A review of the Samsung Galaxy S4: key features, its new software tricks, and how it compares with the Galaxy S3 and iPhone 5.</description><pubDate>Mon, 08 Apr 2013 15:17:16 GMT</pubDate><category>Mobile</category></item><item><title>Hide Icons on the Mac Desktop</title><link>https://tech.sarathdr.com/posts/hide-icons-in-mac-desktop</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/hide-icons-in-mac-desktop</guid><description>Two Terminal commands to hide all the icons on your Mac desktop, and one to bring them back.</description><pubDate>Wed, 03 Apr 2013 14:42:17 GMT</pubDate><category>Mac</category></item><item><title>iPhone PhoneGap Plugin for In-App Auto-Renewable Subscriptions</title><link>https://tech.sarathdr.com/posts/iphone-phonegap-plugin-for-in-app-auto-renewable-subscription</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/iphone-phonegap-plugin-for-in-app-auto-renewable-subscription</guid><description>Set up auto-renewable in-app subscriptions in iTunes Connect and add them to a PhoneGap iPhone app with StoreKit, step by step.</description><pubDate>Wed, 27 Mar 2013 13:19:00 GMT</pubDate><category>PhoneGap</category><category>iPhone</category></item><item><title>Useful Android Apps and Links for App Development</title><link>https://tech.sarathdr.com/posts/useful-android-apps-and-links-for-app-development</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/useful-android-apps-and-links-for-app-development</guid><description>Handy apps and links for Android developers: AirDroid, AIDE, an HTML editor, a referral tester, sample projects and tutorials.</description><pubDate>Tue, 26 Mar 2013 16:12:02 GMT</pubDate><category>Android</category></item><item><title>Get the Network Connection Name — Android App Development</title><link>https://tech.sarathdr.com/posts/get-network-connection-name-android-app-development</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/get-network-connection-name-android-app-development</guid><description>Retrieve the name of the current network connection in Android, and call it from JavaScript in a PhoneGap app.</description><pubDate>Thu, 21 Mar 2013 17:25:22 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>iPhone In-App Purchase Receipt Verification — Sandbox</title><link>https://tech.sarathdr.com/posts/iphone-in-app-purchase-receipt-verification-sandbox</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/iphone-in-app-purchase-receipt-verification-sandbox</guid><description>Get the receipt data when an iPhone in-app purchase completes, and verify it with Apple from a PHP server, including in the sandbox.</description><pubDate>Tue, 19 Mar 2013 01:34:17 GMT</pubDate><category>iPhone</category><category>Security</category></item><item><title>ADB Logcat Command to Filter by Tag Name — Android App</title><link>https://tech.sarathdr.com/posts/adb-logcat-command-to-search-by-tag-name-android-app</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/adb-logcat-command-to-search-by-tag-name-android-app</guid><description>Filter Android logcat output by tag from the command line with adb logcat -s.</description><pubDate>Thu, 07 Mar 2013 18:12:19 GMT</pubDate><category>Android</category></item><item><title>WordPress Malware Attack on JavaScript Files</title><link>https://tech.sarathdr.com/posts/wordpress-malware-attack-on-javascript-files</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/wordpress-malware-attack-on-javascript-files</guid><description>Malware appended code to every JavaScript file on my WordPress site. A small shell script that removes it.</description><pubDate>Fri, 04 Jan 2013 15:45:08 GMT</pubDate><category>JavaScript</category><category>WordPress</category><category>Security</category></item><item><title>Linux Command to Show the Size of Folders</title><link>https://tech.sarathdr.com/posts/linux-command-to-show-the-size-of-the-folders</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/linux-command-to-show-the-size-of-the-folders</guid><description>A one-line Linux command that shows the size of every subfolder in the current directory.</description><pubDate>Fri, 04 Jan 2013 12:20:58 GMT</pubDate><category>Linux</category></item><item><title>Remove All SVN Folders Recursively from a Project on a Mac</title><link>https://tech.sarathdr.com/posts/remove-all-svn-folders-recursively-from-a-project-folder-in-mac</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/remove-all-svn-folders-recursively-from-a-project-folder-in-mac</guid><description>A single command that recursively removes every .svn folder from a project directory.</description><pubDate>Wed, 19 Dec 2012 11:39:15 GMT</pubDate><category>Mac</category><category>SVN</category></item><item><title>PhoneGap Contact View Plugin for iPhone — Open the Native Contact View in a Cordova App</title><link>https://tech.sarathdr.com/posts/phonegap-contact-view-plugin-for-iphone-triggers-native-contact-view-iphone-cordova-app</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/phonegap-contact-view-plugin-for-iphone-triggers-native-contact-view-iphone-cordova-app</guid><description>A PhoneGap plugin for iPhone that opens the native contact picker from JavaScript, with installation steps.</description><pubDate>Mon, 03 Dec 2012 16:16:00 GMT</pubDate><category>PhoneGap</category><category>iPhone</category></item><item><title>PhoneGap Share Plugin for iPhone — Share to Facebook, Twitter, Email and SMS</title><link>https://tech.sarathdr.com/posts/phonegap-share-plugin-for-iphone-share-facebook-twitter-email-and-sms</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/phonegap-share-plugin-for-iphone-share-facebook-twitter-email-and-sms</guid><description>An iPhone version of my PhoneGap share plugin for Twitter, email and SMS, with native Facebook sharing added later.</description><pubDate>Fri, 30 Nov 2012 14:00:01 GMT</pubDate><category>PhoneGap</category><category>iPhone</category><category>Social</category></item><item><title>Clear the Facebook Share Cache — Facebook Development</title><link>https://tech.sarathdr.com/posts/clear-fabook-share-cache-facebook-development</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/clear-fabook-share-cache-facebook-development</guid><description>Facebook caches shared pages. Use the Sharing Debugger to refresh your page&apos;s metadata and images.</description><pubDate>Tue, 27 Nov 2012 18:39:26 GMT</pubDate><category>Social</category></item><item><title>Twitter JSON API URL Changed</title><link>https://tech.sarathdr.com/posts/twitter-json-api-url-changed</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/twitter-json-api-url-changed</guid><description>Twitter retired its old JSON timeline URL. Here are the old and new endpoints.</description><pubDate>Mon, 26 Nov 2012 15:38:02 GMT</pubDate><category>JavaScript</category><category>Social</category></item><item><title>Social Share Plugin for Android Cordova 2.2.0 — Email, SMS, Facebook and Twitter</title><link>https://tech.sarathdr.com/posts/social-share-plugin-for-android-cordova-2-2-0-email-sms-facebook-twitter-share</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/social-share-plugin-for-android-cordova-2-2-0-email-sms-facebook-twitter-share</guid><description>An updated version of my Android social share plugin that works with Cordova 2.2.0, with the new configuration steps.</description><pubDate>Mon, 26 Nov 2012 14:43:58 GMT</pubDate><category>Android</category><category>PhoneGap</category><category>Social</category></item><item><title>Get Contacts with Images from an Android Phone and Sort Them by Name — Android PhoneGap App</title><link>https://tech.sarathdr.com/posts/get-contacts-from-android-phone-with-image-and-sort-by-name-android-phonegap-app</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/get-contacts-from-android-phone-with-image-and-sort-by-name-android-phonegap-app</guid><description>Fetch contacts with their photos in an Android PhoneGap app, group them by first letter and sort them by name.</description><pubDate>Wed, 01 Aug 2012 18:13:39 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>Get the Operator ID (MCC + MNC) from the SIM Card — Android App</title><link>https://tech.sarathdr.com/posts/get-operator-id-mnc-mcc-from-sim-card-android-app</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/get-operator-id-mnc-mcc-from-sim-card-android-app</guid><description>Read the mobile operator ID (mobile country code plus mobile network code) from the SIM card in Java.</description><pubDate>Sun, 29 Jul 2012 23:56:39 GMT</pubDate><category>Android</category></item><item><title>Mountain Lion Installation Issues for Developers</title><link>https://tech.sarathdr.com/posts/mountain-lion-installation-developer-s-issues</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/mountain-lion-installation-developer-s-issues</guid><description>After upgrading to OS X Mountain Lion, gcc, make and svn stopped working. Installing Xcode&apos;s command line tools fixed it.</description><pubDate>Fri, 27 Jul 2012 12:53:51 GMT</pubDate><category>Mac</category></item><item><title>Severe Attacks on WordPress Websites — ertyuiop.itsaol</title><link>https://tech.sarathdr.com/posts/severe-attacks-on-wordpress-websites-ertyuiop-itsaol</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/severe-attacks-on-wordpress-websites-ertyuiop-itsaol</guid><description>A warning about the ertyuiop.itsaol attack, which injects code into WordPress PHP files and serves different content to search engines.</description><pubDate>Fri, 27 Jul 2012 11:30:13 GMT</pubDate><category>WordPress</category><category>Security</category></item><item><title>Get the Mobile Number from the SIM Card — Android App Development</title><link>https://tech.sarathdr.com/posts/get-mobilenumber-from-sim-card-android-app-development</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/get-mobilenumber-from-sim-card-android-app-development</guid><description>How to read the mobile number (MSISDN) from a SIM card in Android, and why it isn&apos;t always available.</description><pubDate>Wed, 25 Jul 2012 23:21:23 GMT</pubDate><category>Android</category><category>Mobile</category></item><item><title>Using the Native Media Player with a Progress Bar — Android PhoneGap App</title><link>https://tech.sarathdr.com/posts/using-native-media-player-for-android-app-with-progress-bar-android-phonegap-app</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/using-native-media-player-for-android-app-with-progress-bar-android-phonegap-app</guid><description>Play MP3 files with a progress bar in an Android PhoneGap app using the PhoneGap Media API.</description><pubDate>Wed, 25 Jul 2012 00:42:26 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>Get the Device Model Name — Android App</title><link>https://tech.sarathdr.com/posts/get-device-brand-name-android-app</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/get-device-brand-name-android-app</guid><description>A quick tip: retrieve the model name of an Android device from android.os.Build.</description><pubDate>Sun, 22 Jul 2012 10:30:03 GMT</pubDate><category>Android</category></item><item><title>Steps to Convert a Web App into an Android PhoneGap App</title><link>https://tech.sarathdr.com/posts/steps-to-convert-a-web-app-into-android-phonegap-app</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/steps-to-convert-a-web-app-into-android-phonegap-app</guid><description>The settings you need to turn a mobile web app into an Android PhoneGap app: whitelist, loading the URL, splash screen and error handling.</description><pubDate>Sat, 21 Jul 2012 22:59:07 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>Handle the Back Button and Close the App — Android PhoneGap App</title><link>https://tech.sarathdr.com/posts/handling-back-button-and-close-application-android-app-phonegap</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/handling-back-button-and-close-application-android-app-phonegap</guid><description>Close an Android PhoneGap app when the back button is pressed on the home page, and go back in history everywhere else.</description><pubDate>Thu, 12 Jul 2012 22:25:40 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>Prevent Landscape Orientation in iPhone Web Apps</title><link>https://tech.sarathdr.com/posts/prevent-landscape-orientation-of-iphone-web-apps</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/prevent-landscape-orientation-of-iphone-web-apps</guid><description>Show a &quot;rotate your device&quot; overlay and lock scrolling when an iPhone web app is turned to landscape.</description><pubDate>Wed, 11 Jul 2012 23:26:37 GMT</pubDate><category>iPhone</category></item><item><title>Android PhoneGap Plugin for Social Sharing — Email, Facebook, Twitter and SMS</title><link>https://tech.sarathdr.com/posts/android-phonegap-plugin-for-social-share-email-facebook-twitter-and-sms</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/android-phonegap-plugin-for-social-share-email-facebook-twitter-and-sms</guid><description>A PhoneGap plugin that opens Android&apos;s native share, email and SMS screens with predefined text, with setup steps.</description><pubDate>Sun, 08 Jul 2012 23:24:19 GMT</pubDate><category>Android</category><category>PhoneGap</category><category>Social</category></item><item><title>Open Your App&apos;s Page in the Google Play Store App</title><link>https://tech.sarathdr.com/posts/open-google-play-app-page-in-native-market-app</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/open-google-play-app-page-in-native-market-app</guid><description>Use a market:// link so your app&apos;s page opens directly in the Google Play Store app on Android phones.</description><pubDate>Fri, 15 Jun 2012 17:28:50 GMT</pubDate><category>Android</category><category>Google</category></item><item><title>Prevent Landscape Orientation in Android Apps</title><link>https://tech.sarathdr.com/posts/prevent-landscape-orientation-for-android-apps</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/prevent-landscape-orientation-for-android-apps</guid><description>One line of code to lock an Android activity to portrait orientation.</description><pubDate>Wed, 13 Jun 2012 00:21:39 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>How to Handle the URL Not Reached Error in Android PhoneGap</title><link>https://tech.sarathdr.com/posts/how-to-get-url-not-reached-error-in-anodroid-phonegap</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/how-to-get-url-not-reached-error-in-anodroid-phonegap</guid><description>Stop an Android PhoneGap app from closing when the server or network is unavailable by handling onReceivedError and showing an offline page.</description><pubDate>Fri, 01 Jun 2012 13:55:19 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>Check Network Connectivity Before Each App Action</title><link>https://tech.sarathdr.com/posts/handle-network-connectivity-check-before-each-app-event</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/handle-network-connectivity-check-before-each-app-event</guid><description>Check network connectivity before every action in an Android PhoneGap app, using a native class exposed to JavaScript.</description><pubDate>Sun, 27 May 2012 22:53:04 GMT</pubDate><category>Android</category></item><item><title>Open Links Inside the WebView — Android PhoneGap Configuration</title><link>https://tech.sarathdr.com/posts/open-links-inside-the-webview-android-phonegap-configuration</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/open-links-inside-the-webview-android-phonegap-configuration</guid><description>Links in my Android PhoneGap app kept opening in the browser instead of the WebView. The fix is one line in cordova.xml.</description><pubDate>Sun, 20 May 2012 21:56:57 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>Clear the Application Cache in an Android PhoneGap App</title><link>https://tech.sarathdr.com/posts/android-phonegap-clear-application-cache</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/android-phonegap-clear-application-cache</guid><description>Stop stale JavaScript files in an Android PhoneGap WebView by clearing the cache before loading your URL.</description><pubDate>Sat, 28 Apr 2012 20:38:06 GMT</pubDate><category>Android</category><category>PhoneGap</category></item><item><title>iPhone Safari Back Button Cache Problem</title><link>https://tech.sarathdr.com/posts/iphone-safari-back-button-cache-problem</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/iphone-safari-back-button-cache-problem</guid><description>iPhone Safari restores pages from its back-forward cache, which can stop scroll handlers working. Here&apos;s how I fixed it with the pageshow event.</description><pubDate>Thu, 12 Apr 2012 22:29:43 GMT</pubDate><category>iPhone</category></item><item><title>jQuery Slider for iPhone and Android with the jQuery Cycle and Swipe Plugins</title><link>https://tech.sarathdr.com/posts/jquery-slider-for-iphone-and-android-with-jquery-cycle-and-swipe-plugins</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/jquery-slider-for-iphone-and-android-with-jquery-cycle-and-swipe-plugins</guid><description>Add touch swipe support to a jQuery Cycle slider for iPhone and Android, with a small tweak to the jQuery Swipe plugin.</description><pubDate>Fri, 30 Mar 2012 14:12:30 GMT</pubDate><category>Android</category><category>iPhone</category><category>JavaScript</category></item><item><title>jPlayer Workaround for Android</title><link>https://tech.sarathdr.com/posts/jplayer-problem-work-around-in-android</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/jplayer-problem-work-around-in-android</guid><description>jPlayer doesn&apos;t work properly on some Android phones unless you set solution: &quot;flash,html&quot; in its options.</description><pubDate>Tue, 27 Mar 2012 10:18:36 GMT</pubDate><category>Android</category><category>JavaScript</category></item><item><title>Regular Expressions Useful for Google Analytics</title><link>https://tech.sarathdr.com/posts/regular-expression-useful-for-google-analytics</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/regular-expression-useful-for-google-analytics</guid><description>Regular expressions for Google Analytics goals: require a string in the URL, exclude a string, or both at once.</description><pubDate>Tue, 20 Mar 2012 16:58:49 GMT</pubDate><category>Google</category><category>SEO</category></item><item><title>Useful SVN Commands</title><link>https://tech.sarathdr.com/posts/useful-svn-commands</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/useful-svn-commands</guid><description>A quick reference of everyday SVN commands: checkout, update, commit, ignore, resolving tree conflicts and branching.</description><pubDate>Mon, 19 Mar 2012 14:37:25 GMT</pubDate><category>SVN</category></item><item><title>Move a Database Column to a Different Position</title><link>https://tech.sarathdr.com/posts/move-a-database-column-position</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/move-a-database-column-position</guid><description>A MySQL ALTER TABLE query that moves a column to a new position within a table.</description><pubDate>Fri, 16 Mar 2012 18:07:15 GMT</pubDate><category>Databases</category></item><item><title>WordPress Hacked — Redirects to gigop.americanunfinished.com</title><link>https://tech.sarathdr.com/posts/wordpress-hacked-redirect-to-gigop-americanunfinished-com</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/wordpress-hacked-redirect-to-gigop-americanunfinished-com</guid><description>How to spot and clean the malware that injects eval(base64_decode(...)) into every PHP file and redirects search traffic to gigop.americanunfinished.com.</description><pubDate>Mon, 12 Mar 2012 16:18:50 GMT</pubDate><category>WordPress</category><category>Security</category><category>SEO</category></item><item><title>Generate XML from a Two-Dimensional Array — PHP</title><link>https://tech.sarathdr.com/posts/generate-xml-form-two-dimensional-array</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/generate-xml-form-two-dimensional-array</guid><description>PHP code that generates an XML file from a two-dimensional array with a known structure.</description><pubDate>Fri, 07 Oct 2011 14:15:30 GMT</pubDate><category>PHP</category></item><item><title>Symfony Doctrine Pagination Script</title><link>https://tech.sarathdr.com/posts/symfony-doctrine-pagination-script</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/symfony-doctrine-pagination-script</guid><description>Paginate Doctrine query results with filters in Symfony 1.x using sfDoctrinePager, a navigation helper and some simple CSS.</description><pubDate>Fri, 23 Sep 2011 13:00:29 GMT</pubDate><category>PHP</category><category>Symfony</category></item><item><title>Get the Symfony Web Root URL Without the Script Name</title><link>https://tech.sarathdr.com/posts/get-symfony-web-root-url-without-script-name</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/get-symfony-web-root-url-without-script-name</guid><description>Build the URL of Symfony&apos;s web root folder, without the front controller script name, to link to files such as images.</description><pubDate>Fri, 22 Jul 2011 14:16:48 GMT</pubDate><category>PHP</category><category>Symfony</category></item><item><title>Install Symfony Plugins Manually</title><link>https://tech.sarathdr.com/posts/install-symfony-plugins-manually</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/install-symfony-plugins-manually</guid><description>When PEAR won&apos;t cooperate, you can install a Symfony 1.x plugin by hand. Here are the steps, using sfPhpExcelPlugin as an example.</description><pubDate>Sun, 17 Jul 2011 00:58:02 GMT</pubDate><category>Symfony</category></item><item><title>Symfony Doctrine — Useful Commands</title><link>https://tech.sarathdr.com/posts/symfony-doctrine-useful-commands</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/symfony-doctrine-useful-commands</guid><description>A quick reference of Symfony 1.x Doctrine commands for generating apps, building models and databases, and deploying.</description><pubDate>Sat, 09 Jul 2011 00:01:35 GMT</pubDate><category>Symfony</category></item><item><title>Doctrine Query to Find the Rank of a Column Value</title><link>https://tech.sarathdr.com/posts/doctrine-query-to-find-out-rank-of-a-column-value</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/doctrine-query-to-find-out-rank-of-a-column-value</guid><description>A Symfony Doctrine query that finds the rank of a row based on a column value, such as a user&apos;s rank by marks.</description><pubDate>Wed, 29 Dec 2010 19:13:20 GMT</pubDate><category>Symfony</category><category>Databases</category></item><item><title>Google’s Priority Inbox Is Amazing</title><link>https://tech.sarathdr.com/posts/google-s-priority-inbox-is-amazing</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/google-s-priority-inbox-is-amazing</guid><description>First impressions of Gmail&apos;s new Priority Inbox, which shows starred and important messages in their own section.</description><pubDate>Sat, 04 Sep 2010 22:20:37 GMT</pubDate><category>Google</category></item><item><title>SEO Tips</title><link>https://tech.sarathdr.com/posts/seo-tips</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/seo-tips</guid><description>A short presentation covering the basics of search engine optimisation.</description><pubDate>Wed, 01 Sep 2010 14:47:29 GMT</pubDate><category>SEO</category></item><item><title>SendTools — A New Tool to Upload and Share Files</title><link>https://tech.sarathdr.com/posts/send-tools-new-tool-to-upload-and-share-files</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/send-tools-new-tool-to-upload-and-share-files</guid><description>SendTools is a simple website for uploading files and sharing them with friends on social networks.</description><pubDate>Thu, 29 Jul 2010 16:21:31 GMT</pubDate><category>Web Development</category></item><item><title>PHP Code to Fetch Twitter Feeds</title><link>https://tech.sarathdr.com/posts/php-code-to-fetch-twitter-feeds</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/php-code-to-fetch-twitter-feeds</guid><description>Fetch recent tweets with PHP and cURL and display them on a web page, with links made clickable.</description><pubDate>Thu, 29 Jul 2010 16:01:15 GMT</pubDate><category>PHP</category><category>Social</category></item><item><title>Gmail Contact Grabber — PHP Class</title><link>https://tech.sarathdr.com/posts/gmail-contact-grabber-php-class</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/gmail-contact-grabber-php-class</guid><description>A simple PHP class that fetches the contacts from a Gmail account using Google&apos;s ClientLogin API.</description><pubDate>Sat, 19 Jun 2010 02:59:17 GMT</pubDate><category>PHP</category><category>Google</category></item><item><title>Batch Watermarking Using Photoshop</title><link>https://tech.sarathdr.com/posts/batch-watermarking-using-photoshop</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/batch-watermarking-using-photoshop</guid><description>Record a Photoshop action that adds your watermark to one image, then apply it to a whole folder with File → Automate → Batch.</description><pubDate>Tue, 05 Aug 2008 12:38:50 GMT</pubDate><category>Web Development</category></item><item><title>URL and Email Parsing</title><link>https://tech.sarathdr.com/posts/url-and-email-parsing</link><guid isPermaLink="true">https://tech.sarathdr.com/posts/url-and-email-parsing</guid><description>A small online tool that extracts email addresses and URLs from any block of text.</description><pubDate>Thu, 17 Jan 2008 08:49:16 GMT</pubDate><category>Web Development</category></item></channel></rss>