Apple’s iBeacon

With launch of iOS 7.0 Apple unveiled iBeacons. They are small range positioning systems based on Bluetooth Low Energy (BLE). This article thingy here, is to highlight the uses and increase its popularity (much deserved) among the consumers and developers alike.

With development of BLE i.e. Bluetooth 4.0 , battery usage has been significantly decreased (they claim it will last to 5-10 times as compared to Bluetooth 3.0). And Apple’s iBeacon is built upon the very same advantage.

iBeacon enables us to transmit and receive location of nearby (~50 meters) iBeacons (any device with Bluetooth 4.0 can be a iBeacon and yes, that includes Android devices also) which we can use to send Push Notifications. The reason I am drum-rolling here about the arrival of iBeacon is its capability to enhance user’s life multi-dimensionally.
Continue reading

Upload Video to Server Using Multiparts in iPhone

This blog will help you in recording and uploading video to server using multiparts in iPhone.

We have two methods for sending video data to server:-

1. Video data is encoded before sending data to server.
2. Video data is encoded after receiving complete data to server.

We can encode video data before sending data to server, but at the same time we have some drawbacks like time issues, lagging effects. Thats why we have preferred the second option, where we are recording the video and send video data to server using “multipart”. When data successfully received at server side, then encoding part would be done on server side only. This method will prevent the app from time and lagging effects.

In the case of multiple part messages, in which one or more different sets of data are combined in a single body, a “multipart” Content-Type field must appear in the entity’s header. The body must then contain one or more “body parts,” each preceded by an encapsulation boundary, and the last one followed by a closing boundary. Each part starts with an encapsulation boundary, and then contains a body part consisting of header area, a blank line, and a body area.

Continue reading

Emoji in iPhone and How to Enable it with Sample Code

Now a day, we all are using the messaging apps. There is a feature in this kind of app is sending the smileys to show the expression. We have facility to enable keyboard from setting but sometimes we need to create our own custom keyboard according to their preference and requirement.

To send the emoticans we just need to send the unicode characters with backslash. There is a unicode for each smiley.You can check the unicode from the given link: http://apps.timwhitlock.info/emoji/tables/unicode

Continue reading