How to log in to lynda on a mobile device using library card

This guide will show you how to log in to lynda using the lynda.com mobile app.

Before you start

  • You will need a your library card number and pin.
  • You will need a compatible smartphone or tablet running iOS 7.0+ (iPhone & iPad), Android (2.3.3 and up) or Windows 8 with an internet connection.
  • You need to download and install the lynda.com app from your relevant app store (App store, Google Play or Windows store). More information about the lynda.com mobile app.

Please note: the process below was performed on a iPhone 5S smartphone, but it should be the same for other apple, android or windows devices.

Instructions

  1. From the app screen on your device click on the lynda.com icon

    0

    Fig 1 – lynda.com mobile app icon

     

  2. Click on the menu button (usually in the top left)

    menu

    Fig 2 – Menu on the iphone app

     

  3. Select Login from the menu

    1

    Fig 3 – Select ‘Log in’ from the menu

     

  4. Select Organization tab from the login page.

    2

    Fig 3 – Select ‘Organization’ tab

     

  5. From the organization login screen go to the section Web portal and type your library’s portal url like ‘mississauga.ca’ in the text box. Review few list of library portal as listed below.

    1. Toronto Public Library – www.torontopubliclibrary.ca
    2. Mississauga Library – www.mississauga.ca
    3. Brampton Library – www.bramlib.on.ca
    4. Richmond Public Library – rpl.yourlibrary.ca
    5. Pickering Library  – www.picnet.org
    6. Ottawa Public Library – biblioottawalibrary.ca
    7. London Public Library – www.londonpubliclibrary.ca
    8. Oshawa Public Library – www.oshawalibrary.on.ca
    9. Hamilton Public Library – www.hpl.ca


    3

    Fig 4 – Web portal log in box

  6. Tap on Log in. You will then be taken to the Web Portal ‘Single Sign-on’ page (as shown below).

    4

    Fig 5 – Web Portal Single Sign-on page

     

  7. Enter your usual library card number & pin.
  8. Tap Login. You will now be asked to open lynda.com app installed on your device.
    5

    Fig 1 – Open in “lynda.com” alert

  9. Tap on “Open” and you will be logged into your account using your library card access for lynda.com.
  10. Hooray! Now enjoy and start learning new skills.

Implementation of notification service in iPhone

Today I will explain you how we can implement notification service in the iPhone application.

In my previous post i had tried to distinguish how one can use Reachability example provided from Apple sample code to check internet connection availability in their application. Now it is time to get network change notification in our iPhone app. AKA when ever network connectivity state will be changed we will get the update notification from iOS in our application.

You just need to do few lines of code for making this happen in your application. so let’s start it step by step.

  1. Follow first two steps from my last post regarding checking internet connection in iPhone.
  2. Add below listed code in your ApplicationAppDelegate.m file in the function where I have shown in the code.
///Import at the beginning of your implementation file
#import "Reachability.h"

//// Where you need it
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    

    // Observe the kNetworkReachabilityChangedNotification. When that notification is posted, the
    // method "reachabilityChanged" will be called.
    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(reachabilityChanged:) name: kReachabilityChangedNotification object: nil];

    r = [[Reachability reachabilityWithHostName:kReachableDomain] retain];

    [r startNotifier];

    // Add the view controller's view to the window and display.
    [self.window addSubview:viewController.view];
    [self.window makeKeyAndVisible];
    [viewController showSplash];

    return YES;
}
  1. Now we have gone through half of the way, we have registered notification handler using above code. Please notice the above code, we assigned a “reachabilityChanged:” function as a notification receive handler. So we must implement it in same application delegate class.
  2. To implement NSNotification receiver add below listed code in your class file.
//Called by Reachability whenever status changes.
- (void) reachabilityChanged: (NSNotification* )note
{
    Reachability* curReach = [note object];
    NSParameterAssert([curReach isKindOfClass: [Reachability class]]);

    NetworkStatus internetStatus = [curReach currentReachabilityStatus];

    if ((internetStatus != ReachableViaWiFi) && (internetStatus != ReachableViaWWAN))
    {
        UIAlertView *myAlert = [[UIAlertView alloc] initWithTitle:@"No Internet Connection" message:@"You require an internet connection via WiFi or cellular network for getting data from website" delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil];
        [myAlert show];
        [myAlert release];
        //[self applicationDidEnterBackground:application];
    }

    [curReach release];
}
  1. That’s it. Now when ever user change the internet connection type or disable it then your application will get notification of it.

I hope you enjoyed the way we have implemented NSNotification for checking internet connectivity.

Check internet Connection in iPhone apps

Here I am going to explain you how we can check internet connectivity in iPhone applications.

I have used reachability sample application provided from Apple. You can grab the sample code of Reachbility application from Apple’s developer website. After that just folow below listed steps to make it working in your application.

  1. Add the SystemConfiguration.framework to your project by going in the Edit Project.
  2. Add the files Reachability.h and Reachability.m from the Reachability sample code to your project.
  3. Add the following code in the implementation file where you need to test the Internet connection.
///Import at the beginning of your implementation file
#import "Reachability.h"

//// Where you need it
Reachability *r = [Reachability reachabilityWithHostName:@"www.google.com"];
NetworkStatus internetStatus = [r currentReachabilityStatus];

if ((internetStatus != ReachableViaWiFi) && (internetStatus != ReachableViaWWAN)){
  /// Create an alert if connection doesn't work
  UIAlertView *myAlert = [[UIAlertView alloc]
          initWithTitle:@"No Internet Connection"
          message:@"You require an internet connection via WiFi or cellular network for location finding to work."
          delegate:self
          cancelButtonTitle:@"Ok"
          otherButtonTitles:nil];
  [myAlert show];
  [myAlert release];
} else{
  /// Whatever you want
}