Upload
shwetarathi-rathi
View
1.568
Download
0
Embed Size (px)
DESCRIPTION
This project allows the mobile app developers to integrate their app with various social ID providers so that users are not required to fill the registration form.
Citation preview
Social Media Development Tools
Submitted ByShweta RathiMCA 6th Sem
Company profile Introduction
Social login Social Sharing
LoginRadius SDK For Android Prerequisite Architecture How to implement Android SDK Basic Process Workflow Screenshots Key Learnings References
Outline
Nortal Nyaconcepts is the legal entity for the canada based product startup LoginRadius in India.Ranked 26th among Canada’s Top 100 Startups.
This is a Product based company.They are also official partners with Mozilla foundation ans microsoft corp.
Company profile
1.Social Login : Let your users log into your website with
their exixting accounts on facebook,google,linkedin etc.
Introduction
2.Social Sharing :
Let Your users share your web content on over 90 social networks and target the right people directly through their networks.
Objective: To develop a library that provides Social login fuctionality to mobile App users that helps the app developers to integrate the app with various social networks.
LoginRadius SDK for Android
With a single download, the ADT Bundle includes everything you need to begin developing apps:
Eclipse IDEAndroid SDKEmulator
Prerequisites
What is Android : Android is a mobile operating system based on Linux with a Java programming interface.
Dalvik Virtual MachineEnd user ApplicationCode LibraryLinux Based kernal OSMultimedia Support
About Android
DVM (Dalvik Virtual machine) : Android is optimized for a system that needs to conserve resources like memory, battery life, hardware usage.
JVM vs DVM
More EfficientRegister based
Android Run Time
3-Tier Architecture
Presentation Layer (User Interface)
Application Layer(LoginRadius SDK For Android )
Storage Layer(Retrieve Data via LoginRadius)
Before getting started with LoginRadius SDK for Android You need to create an App with Loginradius.
Create an App:
1.Login into Loginradius website with one of the ID providers.2.It will take you to your account Dashboard. There you need to Create a New Site for your domain.
Steps to implement Android SDK:
1.Add this SDK in your app project2.Add the libraries android-support-v4.jar and gson-1.7.1.jar.3.Paste the few lines of code in AndroidManifest.xml file.
<activity android:name="com.LoginRadius.lr_android_sdk.UIinterface" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name=" android.intent.category.LAUNCHER" /> </intent-filter> </activity>
4. Implements LRInterface and define method showuserprofile (LoginRadiusDataObject.ExtentedUserLoginRadiusProfile up){ }
5. call the LoginRadius Constructor.
LoginRadius lr = new LoginRadius(‘Current Activity Object’,“your API_Key”,”Your API_Secret”,’Current Activity Object’);
Implementation of LoginRadius Android SDK
Basic Process Flow
Screenshots
User Interface
Login Interface
Successfully login
PHP BasicsCMS(content management system)LoginRadius Java SDKMobile Platform(Android 4.2.2)Testing
Key Learnings
developer.android.com https://sites.google.com/site/oauthgoog/oauth-practices/mobile-ap
ps-for-complex-login-systems/samplecode http://code.google.com/p/android-query/ http://chrisrisner.com/Category/Android http://www.brighthub.com/mobile/google-android/articles/82805.a
spx http://android-er.blogspot.in/2012/04/androidosnetworkonmainthre
adexception.html
References