The documentation is prety extensive and when followed you can successfully get it running in both your simulator and device. However, you are in for two surprises!!!
ThE uSeFuL
Usefulness is comparative...
Monday, April 11, 2022
Sunday, January 20, 2019
Create peer-to-peer connections over Wi-Fi (Android)
This post is an extension of the conceptual explanation found on the same at P2Feed. They also felt that documentation provided by Google was not comprehensive enough. There are number of libraries/starter projects developed by other developers for the same but if you are interested in whats happening under the hood and want to have full control of your peer-to-peer connection with no cost, please do keep on reading. This article assumes that you have already read the Android Developer Documentation on Wifi direct and is here for more clarity.
Sunday, January 7, 2018
Setting an attributed string to an UITextView
Setting an attributed string to an UITextView can be pretty straight forward. See code sample below,
yourTextView.attributedText = Your attributed string
However, I noticed that the scroll position of the UITextView changes upon executing the above line of code.
yourTextView.attributedText = Your attributed string
However, I noticed that the scroll position of the UITextView changes upon executing the above line of code.
Monday, December 11, 2017
Selecting text in mobile Safari using voice over
Follow the 7 easy steps below to select text in Safari using voice over.
1. Listen to voice over reading the text you want to select (navigate the website the usual way). Voice over might read more than what you actually want. You'll be ok as long as the text you want to select is included.
2. Use the rotor (Do a gesture like as if you are using a drawing compass to draw a circle. Use two fingers.) to switch to words
3. Do the opposite of pinching
1. Listen to voice over reading the text you want to select (navigate the website the usual way). Voice over might read more than what you actually want. You'll be ok as long as the text you want to select is included.
2. Use the rotor (Do a gesture like as if you are using a drawing compass to draw a circle. Use two fingers.) to switch to words
3. Do the opposite of pinching
Thursday, June 8, 2017
View console on Postman
Lately, I was trying out pre-request scripts on Postman. We all know as the script gets larger and larger it would be handy to have place to print out the values as you debug. This is how you could achieve that on postman.
1. Open Postman and go to View -> Show postman console.
2. That's it!!!
1. Open Postman and go to View -> Show postman console.
2. That's it!!!
Tuesday, April 11, 2017
Grand Peak Ella, Sri Lanka reviewed
Location: It is close to the Ella railway station and three attractions in the area (if you are up for hiking). They are the Nine Arch Bridge, Mini Adams Peak, and Ella Rock.
Saturday, April 1, 2017
Making your mobile app respond to voice commands (iOS vs Android)
Making you app to understand voice command was not an easy task before the introduction of Siri (iOS) and Google assistant. Both are now opened for developers. However, as usual Apple's Siri is not fully open to the developers when compared to the capabilities of "Google Assistant".
Monday, October 3, 2016
Distribute builds via Xcode server
Image 01
This is an inbuilt feature of the Xcode server, therefore additional configuration is not required.
Wednesday, February 24, 2016
Saving custom objects in NSUserDefaults - Swift
Following is how I implemented "remember me" feature in a recent app I did in swift. I'm saving the user details in NSUserDefaults upon requesting to remember.
Sunday, August 30, 2015
Clean derived data - Xcode
With Xcode 4 came the concept of a workspace that allows multiple projects to be grouped together. Each workspace gets a unique set of symbol indexes, build products, window layouts, etc., otherwise referred to by Xcode as derived data. Since a single project can belong to more than one workspace this derived data is not contained under the individual project directory. This post explains how you could clean derived data.
Subscribe to:
Posts (Atom)