Thursday, 23 February 2017

Urdu Editor for iPhone



Urdu Editor for iPhone
Urdu Editor for iPhone

I had been using android for 2 years, but when I switched to iPhone, one thing I noticed is the lack of Urdu editing tool on iPhone platform. Being a iOS programmer I felt the need of basic Urdu editing utility for iPhone and made a very basic version of Urdu Editor.

Later, I enhanced the idea and added many fonts, size, border and color option. After sometimes of using it, I decided to release it for the public. I finalized and released it on apple store.


Urdu Editor on iPhone 7 and 7 Plus
Urdu Editor screenshots on iPhone 7 and 7 plus

This app is available for free on apple store to download.


 Urdu Editor for iPhone


Saturday, 17 September 2016

What is the future of AirPod?

Apple AirPod
Apple AirPods with Case
Apple introduced AirPod after killing the century old headphone jack. This is really a bold move by apple by repeating their courageous tradition of removing what doesn't make their products great. It stirred up internet anger and also raised some eyebrows. Large number people are angry, but few are quite impressed by the technology and its future with apple.

Lets read from a Quora user Jeffrey Kantor in his insightful answer there at Quora [Link]:

It may seem like just another bluetooth ear bud, but look again at the technologies embedded in the AirPod. It senses when it’s in your ear, uses accelerometers to detect motion. With a tap the beam-forming microphone accepts input to the Siri assistant which, like the Amazon Echo, is rapidly becoming a primary user interface to the internet. AirPods sync across all your Apple devices via iCloud placing the AirPod as a peer to the Mac, iPhone, iPad, Apple Watch.

It’s an iPhone in your ear. Instead of finger gestures, you simply talk to it with a familiar vocabulary. It uses your hearing instead of your eyesight to communicate with you.





The significance of this product to Apple is clearly evident. They have been working on this for some in order to develop a completely new W1 processor specifically for this purpose, and spent $3 billion USD to purchase Beats. It’s significant that Beats is now introducing multiple headphone models with the W1 processor installed, and presumably also capable of syncing with iCloud and all of your other Apple devices. Apple wouldn’t have invested this amount of resources for just another set of ear buds. AirPods is clearly a strategic investment for Apple.


Think about how it could evolve. In fact, how long will it be before you no longer need an iPhone at all? For example, need to call someone? Just tap your ear and ask Siri. Or ask Siri to play a song for you, schedule an appointment, or check your messages. Ask for directions and your AirPod could wirelessly communicate with the GPS in your Apple Watch to give you a map, whisper turn-by-turn directions in your ear, mention a local coffee shop, tell you when the next bus is due at your location, or that the Uber driver you requested is waiting at the corner. With accelerometers it can sense if you’re moving or standing, or nodding or shaking your head in response to a question. With AirPods you can hold your head up and walk down the street, ride a bicycle, or drive a car and not dangerously bury your face in an iPhone. It’s an intriguing vision of the future for mobile technologies comparable to Google glass in ambition but further along in execution.



Even the name of the device, AirPod, is ambitious. They could have named it something else, but choosing AirPod harks back to iPod… a device that changed the music industry. There should be no question that Apple has large ambitions for the AirPod.

Attribution: With thanks to Jeffrey Kantor in his insightful answer there at Quora [Link]

Tuesday, 28 June 2016

Payoneer Refund Policy

Payoneer has recently started asking for a Refund Policy if you want to continue receiving money from clients using their platform. Here’s the refund policy I follow:
  • The entire amount will be refunded if I can’t manage schedules after accepting a project.
  • I accept payment by milestones, there will be no refund for milestones completed (as agreed by the client).
  • If I can not finish the project within deadline, the client can ask for refund of the current milestone and they can end the contract

Friday, 22 May 2015

Doodle: Organized vs Unorganized desktops

Hello!

Here's another doodle.

It categorizes the people based on how they keep their desktop and folders organized. and there are others who love to keep their desktop like chaotic mess.  Both have their own arguments to defend the situation.

Check it out:


I, being a computer user keep the desktop and every folder on files system clean and organized, ie this let me find anything within few clicks and doesn't require me to remember everything, like where did I put the timeline of particular project.


Let us know in the comments how you prefer your desktop organization.

Tuesday, 19 May 2015

Doodle: popular types of pointer tracking: Mouse vs Trackpad

Hey guys,

Here's our first doodle entry.

There're many types of pointer tracking available on modern personal computer operating systems, like mouse, trackball, trackpad or touchpad, track point, joystick, graphic tablet, stylus etc. Two of them are very popular.

1. Mouse
2. Trackpad or Touchpad

Mouse being the most traditional and conventional pointing device is very popular among computer users, but the advancements of laptops and notebooks the trackpad has been becoming more popular and giving the users more independence and portability. User can switch between these any time by pressing the keyboard functional keys. The people who're used to any of these find themselves more comfortable using their desired device and sometimes the opposite device can be very frustrating.

We've categories these two types of people in our today doodle, check it out and let us know what do you use typically and are more comfortable with.

There're two types of people.


I being a software engineer and a mac user, find myself more comfortable with the type 1. Yes, I use the trackpad and its been a year or more. I do all kind of stuff with it, like Xcode interface builder, eclipse and android studio graphical interface, even the photoshop (not that much but still) with the trackpad.

I find it very handy with the mac environment. The two finger and three finger gesture, pinch and zoom are the features that has convinced me stop using mouse. I scroll through long document and webpages and pinch and zoom through pictures using two finger pinch. The three finger drag is also very cool, it gives a sense of control over the screen. But not as good as smartphone touch but it feels more closer to mouse.


Let us know in the comments what points do you have in mind to support your way of pointer tracker. 

Tuesday, 10 March 2015

MacBook 2015 for programmers?

There's so much to love about the new all-metal MacBook released in March 2015. Its the redesigned version of late 2009 MacBook, which was silently discontinued by introducing the Macbook Air. The new Macbook targets all the educational and consumer markets. It has many cool features as follow:

  • All metal: Its the first ever macbook to come with all metal. So aren't the existing all-metal? no, they're not, the hinge mechanism has some plastic in it, as well as a plastic cover.
  • Retina: It has stunning 12-inch retina display.
  • Colors: yesss, we love them, the first ever MacBook to come in three colors, Silver, Gold, Space Grey.
  • Better Stereo Speaker: Unlike Macbook Air that has speaker hidden in vents near the hinge, the speakers in MacBook are above the keyboard, which throws music right at you.
  • USB-C port: basically a new all in one port for charging, video sharing and data transfer.
  • Others: Full size keyboard, New trackpad.




Now the questions comes that is it suitable for programmers?

Short answer: NO.

Long answer: well, the gorgeous MacBook can broadly be categorized as a portable tablet-like mac computer such as an iPad with a fancy metal unibody macbook casing and a keyboard. Regarding the specs, its an entry-level macbook that stands at bottom of the macbook family, even beneath the Macbook Air. (upto 1.3GHz dual-core VS upto 2.2GHz Core i7 ) comparison link: Apple - Macbook vs Macbook air

Its mainly targeted to mid-range "mac" users, with personal use (eg, office work, music, movies, internet surfing etc), users who wants their nootbook to be more portable (like a tablet?). As stated earlier, educational institutes and consumers are its main audience.

Considering the USB-C port introduced in MacBook, it would create a lot of gap for the tools/mobiles which connects to machine using standard USB 2.0 ports for debugging or programming. Although its expandable, which gives you one USB port, but as a programmer you would be wanting more ports, plus who wants to carry an extra converter. USB-C VGA Multiport Adapter costs US$79.00.

MacBook features VS programming at a glance:


  • No ports, kills the programmers' environment. A programmer needs as much ports as possible.
  • No fan, may be overheat, while doing programmers' tasks. (MBP starts fan noise when eclipse compile the android app)
  • Processor, 1.3GHz dual-core, low power processor not enough for programming. Slower than Air.
  • Cost, too much, Want one? Yes. would Buy one? No.
  • Wifi only, you can't just intact the Ethernet or any other networking cable, what if you need to directly connect to an interface? (converter needed here)

  • Other general changes:

  • The glowing apple logo in back of the screen won't glow anymore, its been replaced with a shiny metal logo.
  • The fancy new MacBook is shipped with 480p FaceTime camera, unlike others having 720p.
  • The MagSafe is gone, and has been replaced with USB-C port. What is MagSafe?

  • So if you're a normal user, who want to use MacBook for personal use, like reading email, writing blogs, doing office work, surfing the internet, watching movies, listening making music. Yes, MacBook suits you if you've no money issues.

    And If you're a power user like, programmer, then probably itsn't for you.

    Want to add something to this, let's know in the comments.

    Sunday, 16 December 2012

    Android Studio ListView with Speech Bubble

    Hi,

    Android Speech Bubble
    example
    Today I'm going to discuss how to make a ListView with speech bubble same as native android message app or some other apps out there. First of all we need to discuss the making of a row layout with speech bubble.

    How to make Speech Bubble?

    Well that is the most interesting part of the development. I've already posted a blog post about how to make 9 patch image of speech bubble, you can find that post here.


    Here we will discuss how to use them in our application. You will copy them into your project in relevant hdpi, ldpi, xhdpi and mdpi folders accordingly. Now we come to the coding part.

    We need to make simple ListActivity with ListView. There are lot of tutorials available:
    and lot more. You can find customization of the ListView there too. Here I'll discuss the Adapter part of the ListView only.

    What is Adapter in Android?

    Android documentation says:
    "An Adapter object acts as a bridge between an AdapterView and the underlying data for that view. The Adapter provides access to the data items. The Adapter is also responsible for making a View for each item in the data set."

    So an adapter is responsible to provide data, view as well as count of rows to AdapterView.

    Good to remember: ListView, Gallery, GridView, ExpandableListView, Spinner etc are subclasses of AdapterView. So an adapter made for ListView can be used for other controls too and vice versa, with some minor modification.

    We will customize the Adapter for that we need to have an xml layout and a java class extending BaseAdapter.

    XML Layout for row

    Here is the layout for the row:


    In the above layout, we have defined a LinearLayout containing a TextView. We have set its background to one of the image we made as 9 patch (speech_bubble_green.9.png) and now we will use it in Adapter, so that we can use this layout in ListView.

    Adapter for the ListView

    Now we come to the java part and make an Adapter, here's how to customize the getView() method of the adapter to implement some sender and receiver side messages representation:

    In the above code, we are first checking if the current message is ours ie. isMine() then we are aligning it to the right side and setting green background to it, and if its not ours then we are aligning the TextView to left side and setting orange background to it, that's all, we set this adapter to a ListView as traditional way and get a nice looking SMS messages ListView for android app.


    Where to go now?  (Gimme Code)
    Well you can find the full source code here. I've included the photoshop psd for the bubbles in relavent hdpi, ldpi, xhdpi and mdpi, if anyone want to edit them and use them for their project.

    Suggestion and comments are welcome :)