58
Take your Apps and Games Social with BBM and Scoreloop SDKs JAM824 Christopher Saunders David Patterson September 27 th , 2013

BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Embed Size (px)

DESCRIPTION

Slide presentation by Christopher Saunders (Application Development Consultant, BlackBerry) on BlackBerry Jam Asia 2013 in Hong Kong, September 27 2013 titled "Take Your Apps and Games Social with BBM and Scoreloop SDKs".

Citation preview

Page 1: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Take your Apps and Games Social with BBM and Scoreloop SDKs JAM824

Christopher Saunders

David Patterson

September 27th, 2013

Page 2: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Agenda

2

Why. How. What.

$$$

Page 3: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM: A Vibrant Social Network

60 Million+ Monthly Active Users

30 Million+ BBM Groups Users

60% of BBM users use BBM Daily

BBM growth is viral

3

BBM is your private social network for active, real conversations

It’s immediate.

You trust it.

You control it.

Page 4: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Advantages of BBM Social Platform

The BBM platform offers a number of benefits for developers:

Increased discoverability

Increased engagement and app stickiness

Increased monetization

4

Page 5: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Social Platform

A set of BBM specific APIs that allow developers to integrate their applications with BBM

Available in core Native, Cascades and WebWorks

Features include:

BBM Contact List & Invitations

User Profile Updates

Application Box Updates in User Profile

Invoke BBM through Invocation APIs

Invite to BBM, initiate chat, share content

5

Page 6: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Contact List and Invitations

Ability to Invite your BBM contacts to download an application (Integrated with BlackBerry World)

Obtain a list of BBM contacts that have the application installed and registered

Listen for changes to profiles of these contacts

Status change to -> “Wants to play SlingShot 5000 with someone”

Local app could prompt the user to start a multiplayer game

6

Best Practice: Make it easy for users to find the invite

button…but try to make it feel integrated into the application

Page 7: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Contact List and Invitations

7

Page 8: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Contact List and Invitations

8

Page 9: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Contact List and Invitations

9

Page 10: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Contact List and Invitations

10

Page 11: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Contact List and Invitations

11

Page 12: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Contact List and Invitations

12

Page 13: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

Ability to update the user’s BBM Profile information

Personal Status Message

Avatar

Availability

App that makes the change shows up in the context of the update in the BBM Updates tab

13

Best Practice: Make the updates relevant for example:

“Checked into Starbucks at location X” instead of “I’m

using Foursquare”

Page 14: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

14

Page 15: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

15

Page 16: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

16

Page 17: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

17

Page 18: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

18

Page 19: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

19

Page 20: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

20

Page 21: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

21

Page 22: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

User Profile Updates

22

Page 23: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Application Box Updates in User Profile

23

BBM Connected apps are listed in a users BBM Profile

Clicking items launch the apps (or BlackBerry World)

Add items within your app’s Profile Box

Achievements, high scores, current track, important news

Best Practice: Take advantage of Profile Box Items…coming

soon is ability to launch your app and pass it context!

Page 24: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Social Platform APIs

BlackBerry 10

C BlackBerry Platform Services (bps) APIs

Add to existing applications using bps

Qt style APIs

Integration with Cascades applications

WebWorks APIs

AIR APIs

BlackBerry OS 5-7

Java APIs

WebWorks APIs

24

Page 25: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM Social Platform APIs

Use the BBM SP seamlessly between BlackBerry 10 and BlackBerry OS 5-7!

25

BBM Social Platform

IMPORTANT – Use the same SKU in App World!!!

Page 26: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM SP Registration

First step for any BBM Social Platform application

User must allow the registration

User can enable/disable BBM SP access at any time

Register on app startup or before using BBM SP feature

In 10.2, registration progress dialog removed!

26

Page 27: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM SP Invite to Download

27

m_messageService = new

bb::platform::bbm::MessageService(m_context,

this);

m_messageService->sendDownloadInvitation();

Page 28: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM SP Profile Boxes

//Create a profile box with item

bb::platform::bbm::ProfileBox* m_profileBox m_profileBox = new

bb::platform::bbm::ProfileBox(m_context, this);

m_profileBox->requestRegisterIcon(iconId[id],

bb::platform::bbm::ImageType::Png, iconArray);

m_profileBox->requestAddItem(QString("New High Score: 2!"),

QString(iconId[id]),

QString("cookie").append(iconId[id]));

28

Page 29: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM SP Profile Page

//Grab the user's Profile.

bb::platform::bbm::UserProfile m_userProfile = new

bb::platform::bbm::UserProfile(m_context, this);

//Update the user's personal message.

m_userProfile->requestUpdatePersonalMessage("New Message");

29

Page 30: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

BBM SP Contacts

Obtain a list of BBM contacts that have the application installed and registered

Listen for changes to profiles of these contacts

Status change to -> “Wants to play SlingShot 5000 with someone”

Local app could prompt the user to start a multiplayer game

30

Page 31: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Invoking BBM

31

Use the Invocation Framework to

Invoke the BBM Client to…

• Start chat with specific contact(s)

• Start chat, user chooses contact(s)

• Set BBM Avatar Image

• Invite Contact to BBM

• Share Text with contact

• Starts chat with pre-populated

message

• Share Image with contact

• Share Custom File

Page 32: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Start BBM Chat

InvokeActionItem {

title: "Start BBM Chat“

query {

invokeActionId: "bb.action.BBMCHAT"

uri: "pin:2100000A"

}

}

32

Application Specifies Contact

Page 33: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Start BBM Multi Person Chat

InvokeRequest request;

request.setTarget("sys.bbm.conferencehandler");

request.setAction("bb.action.BBMCONF");

request.setMimeType("vnd.bb.bbm/contactlist");

//Can specify contacts here.

InvokeManager invokeManager;

InvokeTargetReply *reply = invokeManager.invoke(request);

33

Page 34: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Start BBM Multi Person Chat

QVariantMap map;

QVariantList contactList;

QVariantMap contact1;

contact1["pin"] = "2100000A";

contactList.append(contact1);

map["contacts"] = contactList;

QVariantMap root;

root["conference"] = map;

request.setData(bb::PpsObject::encode(root));

34

Specifying Contacts

Page 35: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Start Group Chat

35

User Selects Contact App Selects Contact

OR

Page 36: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Share Text Over BBM

InvokeActionItem {

title: "Share Text Over BBM"

query {

mimeType: "text/plain"

invokeTargetId: "sys.bbm.sharehandler"

invokeActionId: "bb.action.SHARE" data: "This is some text to share."

}

onTriggered: {

data = "This is some new text."

}

}

36 User Selects Contact

Page 37: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Share Text Over BBM

37 User Selects Contact Text/Data Can Be Empty

Page 38: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Social Gaming in a Nutshell

• Leaderboards

• BBM Integration

• Online User Profiles

• Achievements

• Challenge player

• In-Game Currencies

• Virtual Goods

• Default UI

38

Page 39: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Scoreloop

39

Scoreloop connects games and the people who

play them

Scoreloop is Cross platform including BlackBerry 10, Android, iOS, WP, Marmalade, Unity

Active Games: over 3,500

Total users: 350M

Daily Active Users: 3.5M

Monthly Active Users: 39M

Over 10B high scores

Page 40: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

The Games App

The Games App is a preloaded application on the home screen of BlackBerry 10. It is the best position to promote your games!

As a central gaming experience on BlackBerry it enhances social and viral discovery of Scoreloop enabled games.

40

Page 41: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Games App Feature Overview

Connect with other BlackBerry 10 gamers

Find friends on BBM

Discover your friends’ games

See friends' gaming activities

Compare gaming skills with friends

41

Page 42: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Feature: See & Compare

See friends’ gaming activities.

Compare gaming skills with friends.

42

Page 43: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Feature: Find

Find friends on BBM.

Other options available to find friends.

Choose from friends already playing and invite others.

43

Page 44: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Feature: Connect

Connect with other BlackBerry 10 gamers.

Invite by email and add your BBM contacts.

Receive achievement and challenge news updates from friends and stay engaged.

44

Page 45: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Feature: Discover

Discover your friends’ games.

Find the most popular games, your friends’ favorites and all new social games.

Download games directly from BlackBerry World.

45

Page 46: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

The Scoreloop SDK

1) Integrate with the Games app for ultimate visibility on BlackBerry 10

2) Make your game better with social features

Scoreloop SDK lets game developers integrate a

set of social gaming features into their games.

46

Page 47: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Scoreloop Feature Overview

User profile

Leaderboard

Achievements

Challenges

Data storage

Default UI

47

Page 48: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Feature: User Profile

Build a gaming identity that persists across games.

48

Page 49: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Feature: Challenge

Challenge friends directly from within games. Choose an opponent, play a game and submit a score. Wait for the other player to finish his game.

Re-match to continue playing with the same friend.

49

Page 50: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Feature: Leaderboard

See global Leaderboards & your friends’ ranking.

Compare gaming scores and achievements and compete with BBM friends to see who is the best gamer.

50

Page 51: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Feature: Default/Custom UIs

Create a custom UI for challenges and leaderboards or use the default UI to make it fast and easy.

51

Page 52: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Publish now to BlackBerry 10

52

Page 53: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

For More Information…

developer.blackberry.com/cascades

Page 54: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

For More Information…

developer.blackberry.com/cascades

Page 55: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

For More Information…

developer.blackberry.com/cascades

Page 56: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

For More Information…

Devblog.blackberry.com

Page 57: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

57

Unity Game

Page 58: BlackBerry Jam Asia 2013 - Take Your Apps and Games Social with BBM and Scoreloop SDKs

Thank you.

JAM824

Christopher Saunders

David Patterson

September 27th, 2013