Android Linkedin API with OAuth Authentication (Using Scribe-Java Library)

As Linkedin is one of the professional social media network, most of us needs to access there web services to collect data. In this post I would like to give simple examples on how to get logged in user information such as email, full name, friends list. And I’m planning to update this post with the sending messages and share posts. There is no official SDK provided by the Linkedin developer support....

February 24, 2015 · 2 min · 325 words · Dulan Dissanayake

Android Event Bus Implementations using Otto

As android developers we face difficulties on decoupling different parts in android application. To overcome this difficulties, the Square has introduced an event bus for android called Otto. In this post I will demonstrate how to use Otto event bus with IntentServices in Restful android client. This code can be more optimized. This publish-subscribe style can be used to decouple many other components except the Services. This is just a sample implementation to demonstrate Event Bus concept with IntentService, except ResultReceiver usage with Services....

February 16, 2015 · 3 min · 482 words · Dulan Dissanayake

Searching For Bluetooth Devices

Bluetooth is a wireless protocol for exchanging data over short distances from fixed and mobile devices, creating personal area networks (PANs).When any two devices need to talk to each other, they have to agree on a number of points before the conversation can begin.The Bluetooth protocol is used to communicate with mobile devices in wireless media.It is a well known and popular technology that is being used by many mobile device manufactures....

January 29, 2009 · 2 min · 262 words · Dulan Dissanayake

Finding GPS using J2ME

The Global Positioning System (GPS) is a satellite based navigation system made up of a network of 24 satellites placed into orbit by the U.S. Department of Defense. GPS was originally intended for military applications, but in the 1980s, the government made the system available for civilian use. GPS works in any weather conditions, anywhere in the world, 24 hours a day. There are no subscription fees or setup charges to use GPS....

December 3, 2008 · 4 min · 802 words · Dulan Dissanayake

XML Validation

XML is stand for EXtensible Markup Language and it is easy to use XML as a markup language. XML haven’t got any predefined tags as HTML. Therefor when we are using a XML content, we have to use a mechanism to read those tags and identify those tags separately. For this mechanism there are XML parsers. Specially we can use SAX parser and DOM parser. In most web browsers they have an inbuilt XML parser....

December 2, 2008 · 2 min · 344 words · Dulan Dissanayake