SlideShare ist ein Scribd-Unternehmen logo
1 von 56
Downloaden Sie, um offline zu lesen
Keith Bauwise
CONTENTS



1. Opportunity: Samsung Apps

2. Developer Support

3. Innovative Samsung Technologies




Copyright © 1995-2012 SAMSUNG All rights reserved
CONTENTS



1. Opportunity: Samsung Apps

2. Developer Support

3. Innovative Samsung Technologies




Copyright © 1995-2012 SAMSUNG All rights reserved
Each with its own ecosystem
            Now
Readers Hub   Samsung Apps




            Music Hub                                Game Hub




                                                                Learning Hub
Media Hub
Monetization: InApp Purchase
In App Purchase offers an easy and effective way to monetize
while keeping users interested and involved in an app.




                                                    or
Monetization: AdHub
Mobile & Tablet PC Advertising
Monetize Applications with Easy-to-use Tools

 Mobile & Tablet Device                                   bada & Android OS




 Various Types of AD                                      Support for several
                                                             Click-to-actions

   Mobile     Mobile        TV
   In App      Web        In App
                                         Landing Page   App down      Call
Monetization: Try’n Play & Rent’n Play
Time-limited application trying or renting.
Apps can be used for certain period and extended.




* Application information may differ from the actual product appearance.

 11 / 문서의 제목
CONTENTS



1. Opportunity: Samsung Apps

2. Developer Support

3. Innovative Samsung Technologies




Copyright © 1995-2012 SAMSUNG All rights reserved
Samsung Ecosystem
        TECHNICAL                                    APP
        RESOURCES                                 MARKET
        SDKs / IDEs                            Samsung Apps
        Technical Contents                   Multiple Devices
        Developer Events                    Multiple Platforms




                                         REVENUE
              TECHNICAL                   MODELS
              SUPPORT                   Direct App Sales
              developer.samsung.com              AdHub
              Premium Support Service   In-App Purchase
Development Process




Develop       Test    Publish   Promote
developer.samsung.com
Development Process




Develop       Test    Publish   Promote
RTL (Remote Test Lab)
Development Process




Develop       Test    Publish   Promote
Submit App
Submit App




                                                    Certification Process



                                                      App Publication
Copyright © 1995-2012 SAMSUNG All rights reserved
Certification Process
Development Process




Develop       Test    Publish   Promote
MARKETING SUPPORT: PROMOTION
Boost sellers’ profit by providing a variety of promotion opportunities
through seasonal/theme promotions or seller promotions
     Seasonal/Theme Promotions                 Seller Promotions
MARKETING SUPPORT: BANNER/FEATURE
Select high quality apps to be bannered/featured to maximize
the degree of exposure of apps in the storefront.



                        50 개국
                         (1/19)




          24 / 문서의 제목
MARKETING SUPPORT: SOCIAL MEDIA
Get connected with Samsung Apps Fans or Followers for the latest
Samsung Apps news, events and any on-going promotions through SNS
marketing activities




      twitter.com/samsungapps




    youtube.com/samsungapps
CONTENTS



1. Opportunity: Samsung Apps

2. Developer Support

3. Innovative Samsung Technologies

                                    S Pen           ChatON


Copyright © 1995-2012 SAMSUNG All rights reserved
S Pen
Copyright © 1995-2012 SAMSUNG All rights reserved
WHAT IS S PEN?
A New type of input device
EMR (Electromagnetic Resonance) Solution
- Based on dual capacitive touch and EMR pen technology

Advantages of S Pen

         Precise and quick response
    1
         Supports pen pressure

         No power consumption
    2
         Lightweight hardware

         Side button, pen hovering
    3
          A new UX
APPLICATION AREA EXTENSION
Various possibilities with the S Pen in various app categories

Graphics                   Memo &                    Game
                           Planner




SNS                        Education                 B2B
NEW UX SCENARIO : BASIC
INTERACTION
Can replace existing touch input methods

                                    XX : 0.0
                                      : 130.0
                                        590.0   Y :Y1060.20
                                                 Y : 1160.20
                                                     960.20
                                                     850.36
                                                     750.36
                                                     650.36
                                                     550.36
                                                     450.36
                                                     350.36
                                                     250.36
                                                     150.36
                                                      : 0.0
  Activation,                                     Touch
                                                    Pen
 Coordinates,
   Pressure
New UX Scenario: Pen Hovering
Recognize pen events without contact




                          No contact

             Screen
New UX Scenario: Side Button
Recognize the side button with or without contact




 Side Button
 Recognition

                                      Call a
                                     Function
USING SDK
To get the new version of the S Pen SDK, please visit :
 - http://developer.samsung.com/android/spen.sdk
Contents of the SDK




          libspen22.jar                                   Sample
                                 Dev Guide
                                                      Application (with
                                                        source code)
USING SDK
Adding the JAR file to your project

           Java Build Path   Libraries      Add External JARs   libspen22.jar

                                         Libraries
           Java Build Path   libspen22.jar
                                                            Add External JARs…
CODE
Sample app
CODE
1. Add SCanvasView in layout xml




               Graphical layout
CODE
2. Packages to import
 Import com.samsung.spensdk.*
 Import com.samsung.sdraw.*
 Packages to use S Pen features
 import   android.view.View;
 import   android.view.View.OnClickListener;
 import   android.widget.Button;
 import   android.widget.RelativeLayout;

 import com.samsung.spensdk.SCanvasConstants;
 import com.samsung.spensdk.SCanvasView;

 public class MainActivity extends Activity {
CODE
3. Initialize controls

  @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.activity_main);

           mImageBtn = (Button) findViewById(R.id.buttonImage);
           mImageBtn.setOnClickListener(imageBtnClickListener);
           mSCanvas = (SCanvasView) findViewById(R.id.canvas_view);
          mPenBtn = (Button) findViewById(R.id.buttonPen);
          mPenBtn.setOnClickListener(mBtnClickListener);
          mPenBtn.setTextColor(Color.WHITE);
          mEraserBtn = (Button) findViewById(R.id.buttonEraser);
          mEraserBtn.setOnClickListener(mBtnClickListener);
          ...
CODE
4. Image button handler
 OnClickListener imageBtnClickListener = new OnClickListener() {
     @Override
     public void onClick(View v) {
     Intent intent = new Intent(Intent.ACTION_PICK);
        intent.setType("image/*");
        startActivityForResult(intent, SELECT_PICTURE_ACTIVITY_REQUEST_CODE);
     }
 };

 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent imag
 eReturnedIntent) {
    super.onActivityResult(requestCode, resultCode, imageReturnedIntent);

     if( (resultCode == RESULT_OK) &&
         (requestCode == SELECT_PICTURE_ACTIVITY_REQUEST_CODE) )
     {
          Uri selectedImage = imageReturnedIntent.getData();
           ...
           mSCanvas.setData(buffer);
      }
 }
CODE
5. Pen/Eraser button handler
 OnClickListener mBtnClickListener = new OnClickListener() {
   @Override
   public void onClick(View v) {
     int nBtnID = v.getId();
     // If the mode is not changed, open the setting view. If the mode is
          same, close the setting view.
     if(nBtnID == mPenBtn.getId()){
     if(mSCanvas.getCanvasMode()==SCanvasConstants.SCANVAS_MODE_
          INPUT_PEN){
          mSCanvas.toggleShowSettingView(SCanvasConstants.SCANVAS_SET
          TINGVIEW_PEN);
     }
     else{
          mSCanvas.setCanvasMode(SCanvasConstants.SCANVAS_MODE_INPUT_
          PEN);
          mSCanvas.showSettingView(SCanvasConstants.SCANVAS_SETTINGVI
          EW_PEN, false);
          updateModeState();
     }
     ...
CODE
6. Undo/Redo button handler


 private OnClickListener undoNredoBtnClickListener = new OnClickLis
 tener() {
     @Override
     public void onClick(View v) {
         if (v.equals(mUndoBtn)) {
             mSCanvas.undo();
         } else if (v.equals(mRedoBtn)) {
             mSCanvas.redo();
         }

          mUndoBtn.setEnabled(mSCanvas.isUndoable());
          mRedoBtn.setEnabled(mSCanvas.isRedoable());
      }
 };
CODE
7. Final app - output
ChatON
Copyright © 1995-2012 SAMSUNG All rights reserved
ChatON Main Features




  Multi & Cross Platform     Enhanced 1:1 &     Multimedia Content Sharing &
   Messaging Service           Group Chat                  Trunk




           Animation Message (AMS)     Anicon (Animated Emoticons)
The ChatON API
Open APIs allowing 3rd party apps to…
  Access ChatON services and user base
  Utilize ChatON features (messaging, etc.)




        ChatON Service                        3rd Party Apps
                                    API
The ChatON API: Server-side and Client-side




     ChatON Service                      3rd Party Apps
                            API



          Client-side API         Server-side API
Client-side API

          •Get buddy list           •Get my profile
Graph



          •Get profile picture
          •Add buddy

          •Open a chat room         •Sent multimedia message
Message




          •Send text message          •Sent multimedia message
          •Send text message with url with text
Utility




          •Check ChatON installation
          •Open ChatOn download page
1. Get Buddy List




Client-side API                                             Graph API
  GraphAPI.addBuddy(context, phoneNumber)
  The following steps describes how to add a buddy to my buddy list:
      1.Select AddBuddy
      2.Type in the buddy’s phone number
      3.Click “Add Buddy” button
      4.Add Buddy screen gets displayed
      5.Click “+” button to complete add buddy
CODE
public void clickHandler(View v) {
    if( mEditPhoneNumber == null ) {
                   return;
    }
    String phoneNumber = mEditPhoneNumber.getText().toString();

    switch(v.getId()) {
       case R.id.buttonAddBuddy:
            // call addBuddy API
            int nResult = GraphAPI.addBuddy(this, phoneNumber);
            if( nResult == ChatONAPI.RESULT_CODE_FAIL_EXCEPTION_ILLEGAL_ARGUMENT )
            {
               Toast.makeText(this, "PhoneNumber's length must be greater than or
equals to 1 and be less than or equals to 20", Toast.LENGTH_SHORT).show();
            }
            else if( nResult == ChatONAPI.RESULT_CODE_FAIL_API_NOT_AVAILABLE )
            {
               Toast.makeText(this, "API isn't availble. please check your ChatON
version.", Toast.LENGTH_SHORT).show();
            }
            break;
    }
}
1. Get Buddy List




Client-side API                                                 Message API
  MessageAPI.sendTextMessageWithURL(context, text, url)
  The following steps describes how to send a message and an URL to ChatON buddies:
       1. Select SendTextMessageWithURL
       2. Type in a message and an URL
       3. Click “Send Text Message With URL” button
       4. Buddy list screen appears to allow you to select target buddies or a chat room
       5. The typed in message will be delivered when the selection is completed
CODE
public void clickHandler(View v) {
    if( mEditSendText == null || mEditSendUrl == null ) {
    return;
    }
    String text = mEditSendText.getText().toString();
    String url = mEditSendUrl.getText().toString();
      if( TextUtils.isEmpty(text) || TextUtils.isEmpty(url) )
    {
        Toast.makeText(this, "Illegal Argument!!nPlease, check argument", Toast.LENGTH_SHORT).show();
        return;
    }
    switch(v.getId()) {
          case R.id.buttonSendTextUrl:
               if( text.length() > 0 ) {
                // call API
                int nResult = MessageAPI.sendTextMessageWithURL(this, text, url);
                 // check result
                switch(nResult) {
                   case ChatONAPI.RESULT_CODE_FAIL_EXCEPTION_ILLEGAL_ARGUMENT:
                        Toast.makeText(this, "Illegal Argument!!nPlease, check argument", Toast.LENGTH_SHORT).show();
                        break;
                   case ChatONAPI.RESULT_CODE_FAIL_EXCEPTION:
                        Toast.makeText(this, "Exception!!nPlease, check argument", Toast.LENGTH_SHORT).show();
                        break;
                   case ChatONAPI.RESULT_CODE_FAIL_TEXT_LIMIT_EXCEEDED:
                        Toast.makeText(this, "Message(Text + Url)'s length must be greater than or equals to 1 and be
less than or equals to 2000", Toast.LENGTH_SHORT).show();
                        break;
                   case ChatONAPI.RESULT_CODE_FAIL_API_NOT_AVAILABLE:
                        Toast.makeText(this, "API isn't availble. please check your ChatON version.",
Toast.LENGTH_SHORT).show();
                         break;
                    }
          }
          break;
      } // switch(v.getId())
}
1. Get Buddy List




Client-side API                                                                    Utility API
MessageAPI. UtilityAPI.isChatONInstalled(context)

public class IsChatONInstalledActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.is_chaton_installed);
    }

    public void clickHandler(View v) {

        switch(v.getId()) {
        case R.id.buttonIsChatONInstalled:
             // call API
             boolean isInstalled = UtilityAPI.isChatONInstalled(this);

            // check result
            if( isInstalled ) {
              Toast.makeText(this, "ChatON is installed !!", Toast.LENGTH_SHORT).show();
            }
            else {
               Toast.makeText(this, "ChatON is not installed !!", Toast.LENGTH_SHORT).show();
            }
            break;
        }
    }
}
USING SDK
To get the new version of the ChatON SDK, please visit :
 - http://innovator.samsungmobile.com/clientApi.do?platformId=16&pgId=03
Contents of the SDK


                                         ChatONAPI.jar




       Online Guide + Sample Application (with source code)
Using ChatON API
1. Request API Access Key




2. Download and include ChatONAPI.jar library




3. Include access key into AndroidManifest.xml

 <uses-permission android:name="com.sec.chaton.TOKEN_XXXXX" />

4. Code !
developer.samsung.com




Copyright © 1995-2012 SAMSUNG All rights reserved
Wrap-up


STUDENT DEVELOPER CHALLENGE


                  DEVELOPMENT PROCESS

DEVELOPER SUPPORT

          S PEN
                        CHATON
Keith Bauwise
   keith.b@partner.samsung.com
   developer@samsung.com
   http://developer.samsung.com

Weitere ähnliche Inhalte

Was ist angesagt?

Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfweerabahu
 
WIP Back To School Webinar - Appstores with Nexva
WIP Back To School Webinar - Appstores with NexvaWIP Back To School Webinar - Appstores with Nexva
WIP Back To School Webinar - Appstores with NexvaWIPconnector
 
WIP Back to School Webinars - Creating Your Own Haptic Effects
WIP  Back to School Webinars - Creating Your Own Haptic EffectsWIP  Back to School Webinars - Creating Your Own Haptic Effects
WIP Back to School Webinars - Creating Your Own Haptic EffectsWIPconnector
 
Im2 for android 2010 - 2012
Im2 for android 2010 - 2012Im2 for android 2010 - 2012
Im2 for android 2010 - 2012Andi Ridwan
 
pixelbug case studies - April 2013
pixelbug case studies - April 2013pixelbug case studies - April 2013
pixelbug case studies - April 2013Dany El Eid
 
Nolan Wright: Appcelerator's World-Class Ecosystem
Nolan Wright: Appcelerator's World-Class Ecosystem Nolan Wright: Appcelerator's World-Class Ecosystem
Nolan Wright: Appcelerator's World-Class Ecosystem Axway Appcelerator
 
Using the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidUsing the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidXavier Hallade
 
Happy clouds mobile app
Happy clouds mobile appHappy clouds mobile app
Happy clouds mobile appKristen Mozian
 
A lap around mango
A lap around mangoA lap around mango
A lap around mangoAndy Chiang
 
Introduction to Honeycomb APIs - Android Developer Lab 2011 Q3
Introduction to Honeycomb APIs - Android Developer Lab 2011 Q3Introduction to Honeycomb APIs - Android Developer Lab 2011 Q3
Introduction to Honeycomb APIs - Android Developer Lab 2011 Q3Paris Android User Group
 
Kandroid 4th Seminar Design The Life 22 Oct2009
Kandroid 4th Seminar   Design The Life 22 Oct2009Kandroid 4th Seminar   Design The Life 22 Oct2009
Kandroid 4th Seminar Design The Life 22 Oct2009sbroh
 
Morgan Gillis - Limo Foundation
Morgan Gillis - Limo FoundationMorgan Gillis - Limo Foundation
Morgan Gillis - Limo FoundationBen Allen
 
Android As A Mobile Platform V2
Android As A Mobile Platform V2Android As A Mobile Platform V2
Android As A Mobile Platform V2sbroh
 
Adapting Series 40 touch and type apps to the full-touch UI
Adapting Series 40 touch and type apps to the full-touch UIAdapting Series 40 touch and type apps to the full-touch UI
Adapting Series 40 touch and type apps to the full-touch UIMicrosoft Mobile Developer
 

Was ist angesagt? (16)

Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
 
WIP Back To School Webinar - Appstores with Nexva
WIP Back To School Webinar - Appstores with NexvaWIP Back To School Webinar - Appstores with Nexva
WIP Back To School Webinar - Appstores with Nexva
 
WIP Back to School Webinars - Creating Your Own Haptic Effects
WIP  Back to School Webinars - Creating Your Own Haptic EffectsWIP  Back to School Webinars - Creating Your Own Haptic Effects
WIP Back to School Webinars - Creating Your Own Haptic Effects
 
Quizzing
QuizzingQuizzing
Quizzing
 
Im2 for android 2010 - 2012
Im2 for android 2010 - 2012Im2 for android 2010 - 2012
Im2 for android 2010 - 2012
 
pixelbug case studies - April 2013
pixelbug case studies - April 2013pixelbug case studies - April 2013
pixelbug case studies - April 2013
 
Android action bar and notifications-chapter16
Android action bar and notifications-chapter16Android action bar and notifications-chapter16
Android action bar and notifications-chapter16
 
Nolan Wright: Appcelerator's World-Class Ecosystem
Nolan Wright: Appcelerator's World-Class Ecosystem Nolan Wright: Appcelerator's World-Class Ecosystem
Nolan Wright: Appcelerator's World-Class Ecosystem
 
Using the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidUsing the Presentation API and external screens on Android
Using the Presentation API and external screens on Android
 
Happy clouds mobile app
Happy clouds mobile appHappy clouds mobile app
Happy clouds mobile app
 
A lap around mango
A lap around mangoA lap around mango
A lap around mango
 
Introduction to Honeycomb APIs - Android Developer Lab 2011 Q3
Introduction to Honeycomb APIs - Android Developer Lab 2011 Q3Introduction to Honeycomb APIs - Android Developer Lab 2011 Q3
Introduction to Honeycomb APIs - Android Developer Lab 2011 Q3
 
Kandroid 4th Seminar Design The Life 22 Oct2009
Kandroid 4th Seminar   Design The Life 22 Oct2009Kandroid 4th Seminar   Design The Life 22 Oct2009
Kandroid 4th Seminar Design The Life 22 Oct2009
 
Morgan Gillis - Limo Foundation
Morgan Gillis - Limo FoundationMorgan Gillis - Limo Foundation
Morgan Gillis - Limo Foundation
 
Android As A Mobile Platform V2
Android As A Mobile Platform V2Android As A Mobile Platform V2
Android As A Mobile Platform V2
 
Adapting Series 40 touch and type apps to the full-touch UI
Adapting Series 40 touch and type apps to the full-touch UIAdapting Series 40 touch and type apps to the full-touch UI
Adapting Series 40 touch and type apps to the full-touch UI
 

Andere mochten auch

Andere mochten auch (16)

Forme implicite
Forme impliciteForme implicite
Forme implicite
 
Struttura e-formazione-delle-parole
Struttura e-formazione-delle-paroleStruttura e-formazione-delle-parole
Struttura e-formazione-delle-parole
 
Scd2012 ppt
Scd2012 pptScd2012 ppt
Scd2012 ppt
 
Sri lanka -_presentation_(ppt_3_mb)
Sri lanka -_presentation_(ppt_3_mb)Sri lanka -_presentation_(ppt_3_mb)
Sri lanka -_presentation_(ppt_3_mb)
 
Jon oh’s Big Azz Fantasy Dance Party
Jon oh’s Big Azz Fantasy Dance PartyJon oh’s Big Azz Fantasy Dance Party
Jon oh’s Big Azz Fantasy Dance Party
 
Il genere dei nomi
Il genere dei nomiIl genere dei nomi
Il genere dei nomi
 
Forme impersonali
Forme impersonaliForme impersonali
Forme impersonali
 
I colori
I coloriI colori
I colori
 
Concordanza dei tempi
Concordanza dei tempiConcordanza dei tempi
Concordanza dei tempi
 
Ipronomicombinati A2
Ipronomicombinati A2Ipronomicombinati A2
Ipronomicombinati A2
 
Il linguaggio della pubblicità
Il linguaggio della pubblicitàIl linguaggio della pubblicità
Il linguaggio della pubblicità
 
Usi del congiuntivo
Usi del congiuntivoUsi del congiuntivo
Usi del congiuntivo
 
I pronomi combinati B2/C1
I pronomi combinati B2/C1I pronomi combinati B2/C1
I pronomi combinati B2/C1
 
Testo argomentativo
Testo argomentativoTesto argomentativo
Testo argomentativo
 
Indefiniti
IndefinitiIndefiniti
Indefiniti
 
Html e css
Html e cssHtml e css
Html e css
 

Ähnlich wie Student Developer Challenge

Introduction To Mobile-Automation
Introduction To Mobile-AutomationIntroduction To Mobile-Automation
Introduction To Mobile-AutomationMindfire Solutions
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android DevelopmentProf. Erwin Globio
 
Improve Monitoring & Monetization of Your Mobile Apps
Improve Monitoring & Monetization of Your Mobile AppsImprove Monitoring & Monetization of Your Mobile Apps
Improve Monitoring & Monetization of Your Mobile AppsAmazon Web Services
 
iPhone/iPad Development with Titanium
iPhone/iPad Development with TitaniumiPhone/iPad Development with Titanium
iPhone/iPad Development with TitaniumAxway Appcelerator
 
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CA
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CAAppcelerator iPhone/iPad Dev Con 2010 San Diego, CA
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CAJeff Haynie
 
Miniature Studios Overview
Miniature Studios OverviewMiniature Studios Overview
Miniature Studios Overviewmemven
 
데브멘토 발표세미나
데브멘토 발표세미나데브멘토 발표세미나
데브멘토 발표세미나Seo Jinho
 
Mobile app development
Mobile app developmentMobile app development
Mobile app developmentManekTech
 
Swift Development
Swift DevelopmentSwift Development
Swift DevelopmentManekTech
 
iPhone App Development
iPhone App Development iPhone App Development
iPhone App Development ManekTech
 
InMobi Webinar - Maximizing monetization with InMobi Ad SDK400
InMobi Webinar -  Maximizing monetization with InMobi Ad SDK400InMobi Webinar -  Maximizing monetization with InMobi Ad SDK400
InMobi Webinar - Maximizing monetization with InMobi Ad SDK400InMobi
 
Kony Visualizer Puts Mobile Apps Features Control in Hands of Those Closest t...
Kony Visualizer Puts Mobile Apps Features Control in Hands of Those Closest t...Kony Visualizer Puts Mobile Apps Features Control in Hands of Those Closest t...
Kony Visualizer Puts Mobile Apps Features Control in Hands of Those Closest t...Dana Gardner
 
Ping tank, inc executive summary june 2016
Ping tank, inc   executive summary june 2016Ping tank, inc   executive summary june 2016
Ping tank, inc executive summary june 2016SGB Media Group
 
Google I/O 2016 replay - Android N Development
Google I/O 2016 replay - Android N DevelopmentGoogle I/O 2016 replay - Android N Development
Google I/O 2016 replay - Android N DevelopmentTowhidul Haque Roni
 
Tang doanh thu quang cao di dong
Tang doanh thu quang cao di dongTang doanh thu quang cao di dong
Tang doanh thu quang cao di dongDuc Canh Tran
 
Rapid mobile app development using Ionic framework
Rapid mobile app development using Ionic frameworkRapid mobile app development using Ionic framework
Rapid mobile app development using Ionic frameworkSwaminathan Vetri
 
Sogeti - Android tech track presentation - 24 february 2011
Sogeti - Android tech track presentation - 24 february 2011Sogeti - Android tech track presentation - 24 february 2011
Sogeti - Android tech track presentation - 24 february 2011Kenneth van Rumste
 

Ähnlich wie Student Developer Challenge (20)

Introduction To Mobile-Automation
Introduction To Mobile-AutomationIntroduction To Mobile-Automation
Introduction To Mobile-Automation
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Improve Monitoring & Monetization of Your Mobile Apps
Improve Monitoring & Monetization of Your Mobile AppsImprove Monitoring & Monetization of Your Mobile Apps
Improve Monitoring & Monetization of Your Mobile Apps
 
Snappar
SnapparSnappar
Snappar
 
iPhone/iPad Development with Titanium
iPhone/iPad Development with TitaniumiPhone/iPad Development with Titanium
iPhone/iPad Development with Titanium
 
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CA
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CAAppcelerator iPhone/iPad Dev Con 2010 San Diego, CA
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CA
 
Miniature Studios Overview
Miniature Studios OverviewMiniature Studios Overview
Miniature Studios Overview
 
데브멘토 발표세미나
데브멘토 발표세미나데브멘토 발표세미나
데브멘토 발표세미나
 
Mobile app development
Mobile app developmentMobile app development
Mobile app development
 
Swift Development
Swift DevelopmentSwift Development
Swift Development
 
iPhone App Development
iPhone App Development iPhone App Development
iPhone App Development
 
InMobi Webinar - Maximizing monetization with InMobi Ad SDK400
InMobi Webinar -  Maximizing monetization with InMobi Ad SDK400InMobi Webinar -  Maximizing monetization with InMobi Ad SDK400
InMobi Webinar - Maximizing monetization with InMobi Ad SDK400
 
Kony Visualizer Puts Mobile Apps Features Control in Hands of Those Closest t...
Kony Visualizer Puts Mobile Apps Features Control in Hands of Those Closest t...Kony Visualizer Puts Mobile Apps Features Control in Hands of Those Closest t...
Kony Visualizer Puts Mobile Apps Features Control in Hands of Those Closest t...
 
MAD ppt.ppt
MAD ppt.pptMAD ppt.ppt
MAD ppt.ppt
 
Ping tank, inc executive summary june 2016
Ping tank, inc   executive summary june 2016Ping tank, inc   executive summary june 2016
Ping tank, inc executive summary june 2016
 
Google I/O 2016 replay - Android N Development
Google I/O 2016 replay - Android N DevelopmentGoogle I/O 2016 replay - Android N Development
Google I/O 2016 replay - Android N Development
 
Tang doanh thu quang cao di dong
Tang doanh thu quang cao di dongTang doanh thu quang cao di dong
Tang doanh thu quang cao di dong
 
Rapid mobile app development using Ionic framework
Rapid mobile app development using Ionic frameworkRapid mobile app development using Ionic framework
Rapid mobile app development using Ionic framework
 
Sogeti - Android tech track presentation - 24 february 2011
Sogeti - Android tech track presentation - 24 february 2011Sogeti - Android tech track presentation - 24 february 2011
Sogeti - Android tech track presentation - 24 february 2011
 
Android Basics
Android BasicsAndroid Basics
Android Basics
 

Kürzlich hochgeladen

↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...noor ahmed
 
Russian Escorts Agency In Goa 💚 9316020077 💚 Russian Call Girl Goa
Russian Escorts Agency In Goa  💚 9316020077 💚 Russian Call Girl GoaRussian Escorts Agency In Goa  💚 9316020077 💚 Russian Call Girl Goa
Russian Escorts Agency In Goa 💚 9316020077 💚 Russian Call Girl Goasexy call girls service in goa
 
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...anamikaraghav4
 
2k Shot Call girls Laxmi Nagar Delhi 9205541914
2k Shot Call girls Laxmi Nagar Delhi 92055419142k Shot Call girls Laxmi Nagar Delhi 9205541914
2k Shot Call girls Laxmi Nagar Delhi 9205541914Delhi Call girls
 
Call Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service NashikCall Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call Girls In Goa 9316020077 Goa Call Girl By Indian Call Girls Goa
Call Girls In Goa  9316020077 Goa  Call Girl By Indian Call Girls GoaCall Girls In Goa  9316020077 Goa  Call Girl By Indian Call Girls Goa
Call Girls In Goa 9316020077 Goa Call Girl By Indian Call Girls Goasexy call girls service in goa
 
Call Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
Call Girl Nashik Amaira 7001305949 Independent Escort Service NashikCall Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
Call Girl Nashik Amaira 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Contact:- 8860008073 Call Girls in Karnal Escort Service Available at Afforda...
Contact:- 8860008073 Call Girls in Karnal Escort Service Available at Afforda...Contact:- 8860008073 Call Girls in Karnal Escort Service Available at Afforda...
Contact:- 8860008073 Call Girls in Karnal Escort Service Available at Afforda...Apsara Of India
 
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...noor ahmed
 
Book Call Girls in Panchpota - 8250192130 | 24x7 Service Available Near Me
Book Call Girls in Panchpota - 8250192130 | 24x7 Service Available Near MeBook Call Girls in Panchpota - 8250192130 | 24x7 Service Available Near Me
Book Call Girls in Panchpota - 8250192130 | 24x7 Service Available Near Meanamikaraghav4
 
Dakshineswar Call Girls ✔ 8005736733 ✔ Hot Model With Sexy Bhabi Ready For Se...
Dakshineswar Call Girls ✔ 8005736733 ✔ Hot Model With Sexy Bhabi Ready For Se...Dakshineswar Call Girls ✔ 8005736733 ✔ Hot Model With Sexy Bhabi Ready For Se...
Dakshineswar Call Girls ✔ 8005736733 ✔ Hot Model With Sexy Bhabi Ready For Se...aamir
 
👙 Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
👙  Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service👙  Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
👙 Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Serviceanamikaraghav4
 
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...ritikasharma
 
👙 Kolkata Call Girls Sonagachi 💫💫7001035870 Model escorts Service
👙  Kolkata Call Girls Sonagachi 💫💫7001035870 Model escorts Service👙  Kolkata Call Girls Sonagachi 💫💫7001035870 Model escorts Service
👙 Kolkata Call Girls Sonagachi 💫💫7001035870 Model escorts Serviceanamikaraghav4
 
Behala ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Ready ...
Behala ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Ready ...Behala ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Ready ...
Behala ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Ready ...ritikasharma
 

Kürzlich hochgeladen (20)

↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
 
CHEAP Call Girls in Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in  Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in  Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Call Girls Chirag Delhi Delhi WhatsApp Number 9711199171
Call Girls Chirag Delhi Delhi WhatsApp Number 9711199171Call Girls Chirag Delhi Delhi WhatsApp Number 9711199171
Call Girls Chirag Delhi Delhi WhatsApp Number 9711199171
 
Russian Escorts Agency In Goa 💚 9316020077 💚 Russian Call Girl Goa
Russian Escorts Agency In Goa  💚 9316020077 💚 Russian Call Girl GoaRussian Escorts Agency In Goa  💚 9316020077 💚 Russian Call Girl Goa
Russian Escorts Agency In Goa 💚 9316020077 💚 Russian Call Girl Goa
 
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
 
2k Shot Call girls Laxmi Nagar Delhi 9205541914
2k Shot Call girls Laxmi Nagar Delhi 92055419142k Shot Call girls Laxmi Nagar Delhi 9205541914
2k Shot Call girls Laxmi Nagar Delhi 9205541914
 
Call Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service NashikCall Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
 
Call Girls In Goa 9316020077 Goa Call Girl By Indian Call Girls Goa
Call Girls In Goa  9316020077 Goa  Call Girl By Indian Call Girls GoaCall Girls In Goa  9316020077 Goa  Call Girl By Indian Call Girls Goa
Call Girls In Goa 9316020077 Goa Call Girl By Indian Call Girls Goa
 
Call Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
Call Girl Nashik Amaira 7001305949 Independent Escort Service NashikCall Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
Call Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
 
Contact:- 8860008073 Call Girls in Karnal Escort Service Available at Afforda...
Contact:- 8860008073 Call Girls in Karnal Escort Service Available at Afforda...Contact:- 8860008073 Call Girls in Karnal Escort Service Available at Afforda...
Contact:- 8860008073 Call Girls in Karnal Escort Service Available at Afforda...
 
Call Girls New Ashok Nagar Delhi WhatsApp Number 9711199171
Call Girls New Ashok Nagar Delhi WhatsApp Number 9711199171Call Girls New Ashok Nagar Delhi WhatsApp Number 9711199171
Call Girls New Ashok Nagar Delhi WhatsApp Number 9711199171
 
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
 
Book Call Girls in Panchpota - 8250192130 | 24x7 Service Available Near Me
Book Call Girls in Panchpota - 8250192130 | 24x7 Service Available Near MeBook Call Girls in Panchpota - 8250192130 | 24x7 Service Available Near Me
Book Call Girls in Panchpota - 8250192130 | 24x7 Service Available Near Me
 
Dakshineswar Call Girls ✔ 8005736733 ✔ Hot Model With Sexy Bhabi Ready For Se...
Dakshineswar Call Girls ✔ 8005736733 ✔ Hot Model With Sexy Bhabi Ready For Se...Dakshineswar Call Girls ✔ 8005736733 ✔ Hot Model With Sexy Bhabi Ready For Se...
Dakshineswar Call Girls ✔ 8005736733 ✔ Hot Model With Sexy Bhabi Ready For Se...
 
Goa Call Girls 9316020077 Call Girls In Goa By Russian Call Girl in goa
Goa Call Girls 9316020077 Call Girls  In Goa By Russian Call Girl in goaGoa Call Girls 9316020077 Call Girls  In Goa By Russian Call Girl in goa
Goa Call Girls 9316020077 Call Girls In Goa By Russian Call Girl in goa
 
👙 Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
👙  Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service👙  Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
👙 Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
 
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
 
Call Girls South Avenue Delhi WhatsApp Number 9711199171
Call Girls South Avenue Delhi WhatsApp Number 9711199171Call Girls South Avenue Delhi WhatsApp Number 9711199171
Call Girls South Avenue Delhi WhatsApp Number 9711199171
 
👙 Kolkata Call Girls Sonagachi 💫💫7001035870 Model escorts Service
👙  Kolkata Call Girls Sonagachi 💫💫7001035870 Model escorts Service👙  Kolkata Call Girls Sonagachi 💫💫7001035870 Model escorts Service
👙 Kolkata Call Girls Sonagachi 💫💫7001035870 Model escorts Service
 
Behala ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Ready ...
Behala ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Ready ...Behala ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Ready ...
Behala ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Ready ...
 

Student Developer Challenge

  • 2. CONTENTS 1. Opportunity: Samsung Apps 2. Developer Support 3. Innovative Samsung Technologies Copyright © 1995-2012 SAMSUNG All rights reserved
  • 3. CONTENTS 1. Opportunity: Samsung Apps 2. Developer Support 3. Innovative Samsung Technologies Copyright © 1995-2012 SAMSUNG All rights reserved
  • 4. Each with its own ecosystem Now
  • 5.
  • 6.
  • 7. Readers Hub Samsung Apps Music Hub Game Hub Learning Hub Media Hub
  • 8. Monetization: InApp Purchase In App Purchase offers an easy and effective way to monetize while keeping users interested and involved in an app. or
  • 9. Monetization: AdHub Mobile & Tablet PC Advertising Monetize Applications with Easy-to-use Tools Mobile & Tablet Device bada & Android OS Various Types of AD Support for several Click-to-actions Mobile Mobile TV In App Web In App Landing Page App down Call
  • 10. Monetization: Try’n Play & Rent’n Play Time-limited application trying or renting. Apps can be used for certain period and extended. * Application information may differ from the actual product appearance. 11 / 문서의 제목
  • 11. CONTENTS 1. Opportunity: Samsung Apps 2. Developer Support 3. Innovative Samsung Technologies Copyright © 1995-2012 SAMSUNG All rights reserved
  • 12. Samsung Ecosystem TECHNICAL APP RESOURCES MARKET SDKs / IDEs Samsung Apps Technical Contents Multiple Devices Developer Events Multiple Platforms REVENUE TECHNICAL MODELS SUPPORT Direct App Sales developer.samsung.com AdHub Premium Support Service In-App Purchase
  • 13. Development Process Develop Test Publish Promote
  • 15. Development Process Develop Test Publish Promote
  • 17. Development Process Develop Test Publish Promote
  • 19. Submit App Certification Process App Publication Copyright © 1995-2012 SAMSUNG All rights reserved
  • 21. Development Process Develop Test Publish Promote
  • 22. MARKETING SUPPORT: PROMOTION Boost sellers’ profit by providing a variety of promotion opportunities through seasonal/theme promotions or seller promotions Seasonal/Theme Promotions Seller Promotions
  • 23. MARKETING SUPPORT: BANNER/FEATURE Select high quality apps to be bannered/featured to maximize the degree of exposure of apps in the storefront. 50 개국 (1/19) 24 / 문서의 제목
  • 24. MARKETING SUPPORT: SOCIAL MEDIA Get connected with Samsung Apps Fans or Followers for the latest Samsung Apps news, events and any on-going promotions through SNS marketing activities twitter.com/samsungapps youtube.com/samsungapps
  • 25. CONTENTS 1. Opportunity: Samsung Apps 2. Developer Support 3. Innovative Samsung Technologies S Pen ChatON Copyright © 1995-2012 SAMSUNG All rights reserved
  • 26. S Pen Copyright © 1995-2012 SAMSUNG All rights reserved
  • 27. WHAT IS S PEN? A New type of input device EMR (Electromagnetic Resonance) Solution - Based on dual capacitive touch and EMR pen technology Advantages of S Pen Precise and quick response 1 Supports pen pressure No power consumption 2 Lightweight hardware Side button, pen hovering 3  A new UX
  • 28. APPLICATION AREA EXTENSION Various possibilities with the S Pen in various app categories Graphics Memo & Game Planner SNS Education B2B
  • 29. NEW UX SCENARIO : BASIC INTERACTION Can replace existing touch input methods XX : 0.0 : 130.0 590.0 Y :Y1060.20 Y : 1160.20 960.20 850.36 750.36 650.36 550.36 450.36 350.36 250.36 150.36 : 0.0 Activation, Touch Pen Coordinates, Pressure
  • 30. New UX Scenario: Pen Hovering Recognize pen events without contact No contact Screen
  • 31. New UX Scenario: Side Button Recognize the side button with or without contact Side Button Recognition Call a Function
  • 32. USING SDK To get the new version of the S Pen SDK, please visit : - http://developer.samsung.com/android/spen.sdk Contents of the SDK libspen22.jar Sample Dev Guide Application (with source code)
  • 33. USING SDK Adding the JAR file to your project Java Build Path Libraries Add External JARs libspen22.jar Libraries Java Build Path libspen22.jar Add External JARs…
  • 35. CODE 1. Add SCanvasView in layout xml Graphical layout
  • 36. CODE 2. Packages to import Import com.samsung.spensdk.* Import com.samsung.sdraw.* Packages to use S Pen features import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.RelativeLayout; import com.samsung.spensdk.SCanvasConstants; import com.samsung.spensdk.SCanvasView; public class MainActivity extends Activity {
  • 37. CODE 3. Initialize controls @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mImageBtn = (Button) findViewById(R.id.buttonImage); mImageBtn.setOnClickListener(imageBtnClickListener); mSCanvas = (SCanvasView) findViewById(R.id.canvas_view); mPenBtn = (Button) findViewById(R.id.buttonPen); mPenBtn.setOnClickListener(mBtnClickListener); mPenBtn.setTextColor(Color.WHITE); mEraserBtn = (Button) findViewById(R.id.buttonEraser); mEraserBtn.setOnClickListener(mBtnClickListener); ...
  • 38. CODE 4. Image button handler OnClickListener imageBtnClickListener = new OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(Intent.ACTION_PICK); intent.setType("image/*"); startActivityForResult(intent, SELECT_PICTURE_ACTIVITY_REQUEST_CODE); } }; @Override protected void onActivityResult(int requestCode, int resultCode, Intent imag eReturnedIntent) { super.onActivityResult(requestCode, resultCode, imageReturnedIntent); if( (resultCode == RESULT_OK) && (requestCode == SELECT_PICTURE_ACTIVITY_REQUEST_CODE) ) { Uri selectedImage = imageReturnedIntent.getData(); ... mSCanvas.setData(buffer); } }
  • 39. CODE 5. Pen/Eraser button handler OnClickListener mBtnClickListener = new OnClickListener() { @Override public void onClick(View v) { int nBtnID = v.getId(); // If the mode is not changed, open the setting view. If the mode is same, close the setting view. if(nBtnID == mPenBtn.getId()){ if(mSCanvas.getCanvasMode()==SCanvasConstants.SCANVAS_MODE_ INPUT_PEN){ mSCanvas.toggleShowSettingView(SCanvasConstants.SCANVAS_SET TINGVIEW_PEN); } else{ mSCanvas.setCanvasMode(SCanvasConstants.SCANVAS_MODE_INPUT_ PEN); mSCanvas.showSettingView(SCanvasConstants.SCANVAS_SETTINGVI EW_PEN, false); updateModeState(); } ...
  • 40. CODE 6. Undo/Redo button handler private OnClickListener undoNredoBtnClickListener = new OnClickLis tener() { @Override public void onClick(View v) { if (v.equals(mUndoBtn)) { mSCanvas.undo(); } else if (v.equals(mRedoBtn)) { mSCanvas.redo(); } mUndoBtn.setEnabled(mSCanvas.isUndoable()); mRedoBtn.setEnabled(mSCanvas.isRedoable()); } };
  • 41. CODE 7. Final app - output
  • 42. ChatON Copyright © 1995-2012 SAMSUNG All rights reserved
  • 43. ChatON Main Features Multi & Cross Platform Enhanced 1:1 & Multimedia Content Sharing & Messaging Service Group Chat Trunk Animation Message (AMS) Anicon (Animated Emoticons)
  • 44. The ChatON API Open APIs allowing 3rd party apps to… Access ChatON services and user base Utilize ChatON features (messaging, etc.) ChatON Service 3rd Party Apps API
  • 45. The ChatON API: Server-side and Client-side ChatON Service 3rd Party Apps API Client-side API Server-side API
  • 46. Client-side API •Get buddy list •Get my profile Graph •Get profile picture •Add buddy •Open a chat room •Sent multimedia message Message •Send text message •Sent multimedia message •Send text message with url with text Utility •Check ChatON installation •Open ChatOn download page
  • 47. 1. Get Buddy List Client-side API Graph API GraphAPI.addBuddy(context, phoneNumber) The following steps describes how to add a buddy to my buddy list: 1.Select AddBuddy 2.Type in the buddy’s phone number 3.Click “Add Buddy” button 4.Add Buddy screen gets displayed 5.Click “+” button to complete add buddy
  • 48. CODE public void clickHandler(View v) { if( mEditPhoneNumber == null ) { return; } String phoneNumber = mEditPhoneNumber.getText().toString(); switch(v.getId()) { case R.id.buttonAddBuddy: // call addBuddy API int nResult = GraphAPI.addBuddy(this, phoneNumber); if( nResult == ChatONAPI.RESULT_CODE_FAIL_EXCEPTION_ILLEGAL_ARGUMENT ) { Toast.makeText(this, "PhoneNumber's length must be greater than or equals to 1 and be less than or equals to 20", Toast.LENGTH_SHORT).show(); } else if( nResult == ChatONAPI.RESULT_CODE_FAIL_API_NOT_AVAILABLE ) { Toast.makeText(this, "API isn't availble. please check your ChatON version.", Toast.LENGTH_SHORT).show(); } break; } }
  • 49. 1. Get Buddy List Client-side API Message API MessageAPI.sendTextMessageWithURL(context, text, url) The following steps describes how to send a message and an URL to ChatON buddies: 1. Select SendTextMessageWithURL 2. Type in a message and an URL 3. Click “Send Text Message With URL” button 4. Buddy list screen appears to allow you to select target buddies or a chat room 5. The typed in message will be delivered when the selection is completed
  • 50. CODE public void clickHandler(View v) { if( mEditSendText == null || mEditSendUrl == null ) { return; } String text = mEditSendText.getText().toString(); String url = mEditSendUrl.getText().toString(); if( TextUtils.isEmpty(text) || TextUtils.isEmpty(url) ) { Toast.makeText(this, "Illegal Argument!!nPlease, check argument", Toast.LENGTH_SHORT).show(); return; } switch(v.getId()) { case R.id.buttonSendTextUrl: if( text.length() > 0 ) { // call API int nResult = MessageAPI.sendTextMessageWithURL(this, text, url); // check result switch(nResult) { case ChatONAPI.RESULT_CODE_FAIL_EXCEPTION_ILLEGAL_ARGUMENT: Toast.makeText(this, "Illegal Argument!!nPlease, check argument", Toast.LENGTH_SHORT).show(); break; case ChatONAPI.RESULT_CODE_FAIL_EXCEPTION: Toast.makeText(this, "Exception!!nPlease, check argument", Toast.LENGTH_SHORT).show(); break; case ChatONAPI.RESULT_CODE_FAIL_TEXT_LIMIT_EXCEEDED: Toast.makeText(this, "Message(Text + Url)'s length must be greater than or equals to 1 and be less than or equals to 2000", Toast.LENGTH_SHORT).show(); break; case ChatONAPI.RESULT_CODE_FAIL_API_NOT_AVAILABLE: Toast.makeText(this, "API isn't availble. please check your ChatON version.", Toast.LENGTH_SHORT).show(); break; } } break; } // switch(v.getId()) }
  • 51. 1. Get Buddy List Client-side API Utility API MessageAPI. UtilityAPI.isChatONInstalled(context) public class IsChatONInstalledActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.is_chaton_installed); } public void clickHandler(View v) { switch(v.getId()) { case R.id.buttonIsChatONInstalled: // call API boolean isInstalled = UtilityAPI.isChatONInstalled(this); // check result if( isInstalled ) { Toast.makeText(this, "ChatON is installed !!", Toast.LENGTH_SHORT).show(); } else { Toast.makeText(this, "ChatON is not installed !!", Toast.LENGTH_SHORT).show(); } break; } } }
  • 52. USING SDK To get the new version of the ChatON SDK, please visit : - http://innovator.samsungmobile.com/clientApi.do?platformId=16&pgId=03 Contents of the SDK ChatONAPI.jar Online Guide + Sample Application (with source code)
  • 53. Using ChatON API 1. Request API Access Key 2. Download and include ChatONAPI.jar library 3. Include access key into AndroidManifest.xml <uses-permission android:name="com.sec.chaton.TOKEN_XXXXX" /> 4. Code !
  • 54. developer.samsung.com Copyright © 1995-2012 SAMSUNG All rights reserved
  • 55. Wrap-up STUDENT DEVELOPER CHALLENGE DEVELOPMENT PROCESS DEVELOPER SUPPORT S PEN CHATON
  • 56. Keith Bauwise keith.b@partner.samsung.com developer@samsung.com http://developer.samsung.com