Nokia Dev Con 2011, INAICTA, jakarta, oct 5, 2011Social App Development with Qt
about andri yadia (at) dycode (dot) com@andri_yadi
4 years in a row
start my own company & code for food
8 years in mobile development
a movie freak
the ceo
about arif setiawanarif (at) dycode (dot) com@ken121f
master degree in computerengineeringhardcore c/c++ developer
Nokia platform team lead
raise your hand    if you’re  developers!
first of all, it’s “qute”not “qiu ti” nor “qi te”
C++   platform-independent
multi platform native-app development                 native appsaccess operating system & its function directly          ...
multi platform native-app development       Qt framework       same code works on all platforms,       covers many usecase...
all you need isQt SDK 1.1.3             released on Sept 29, 2011
Qt Meta-object Language (QML)Qt Quick                          declarative programmingQt User Interface Creation Kit   no ...
mobility 1.0            Qt mobilitybearer management API                         mobility 1.1contacts                     ...
social media apps
users need & want to pay social apps
social media apps
social apps on Ovi
social media appsbuild new social platform and/orleverage existing ones
OAuth
OAuth 1.0 under the hood               complicated!              kqoauth is your                  friend
consumer                providershow provider’s auth.                            user grants page in embedded      browser...
consumer                   provider/dialog/oauth?
client_id={APP_ID}&
response_type=token&
                               ...
if you think that’s still toohard, there’s thin wrapper
       qfacebook
(http://gitorious.net/qfacebook)
consumer                 provider/oauth2/authenticate?
client_id={CLIENT_ID}&
         user grantsresponse_type=token&
red...
demo
Movreak movie grid   Movie detailcity                                      Share button
Harmattan ShareUI
QML                                 twitter                             HTTP             signal & slot   Twitter Wrapperkq...
QML             C++ (kqOAuth) user tap sign in to         request       Twitter           authorization   show auth page  ...
let’s see the code
where to go from hereNokia developer - http://developer.nokia.com/Qt – http://developer.nokia.com/Develop/Qt/latest Qt SDK...
Social App Development with Qt
Social App Development with Qt
Social App Development with Qt
Social App Development with Qt
Social App Development with Qt
Upcoming SlideShare
Loading in …5
×

Social App Development with Qt

1,614 views

Published on

The slide presented on Nokia Developer Day 2011, Oct 5 2011, Jakarta.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,614
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
28
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Social App Development with Qt

  1. 1. Nokia Dev Con 2011, INAICTA, jakarta, oct 5, 2011Social App Development with Qt
  2. 2. about andri yadia (at) dycode (dot) com@andri_yadi
  3. 3. 4 years in a row
  4. 4. start my own company & code for food
  5. 5. 8 years in mobile development
  6. 6. a movie freak
  7. 7. the ceo
  8. 8. about arif setiawanarif (at) dycode (dot) com@ken121f
  9. 9. master degree in computerengineeringhardcore c/c++ developer
  10. 10. Nokia platform team lead
  11. 11. raise your hand if you’re developers!
  12. 12. first of all, it’s “qute”not “qiu ti” nor “qi te”
  13. 13. C++ platform-independent
  14. 14. multi platform native-app development native appsaccess operating system & its function directly operating systems (Symbian, MeeGo, android, MacOS, Windows)
  15. 15. multi platform native-app development Qt framework same code works on all platforms, covers many usecases (GPS, camera) operating systems (Symbian, MeeGo, android, MacOS, Windows)
  16. 16. all you need isQt SDK 1.1.3 released on Sept 29, 2011
  17. 17. Qt Meta-object Language (QML)Qt Quick declarative programmingQt User Interface Creation Kit no C++ skill required Qt Creator IDE
  18. 18. mobility 1.0 Qt mobilitybearer management API mobility 1.1contacts cameralocation document gallerymessaging feedbackmultimedia Landmarks, map, navigationpublish & subscribe organizersensorsservice framework mobility 1.2system information it’s all about NFC, final for MeeGo
  19. 19. social media apps
  20. 20. users need & want to pay social apps
  21. 21. social media apps
  22. 22. social apps on Ovi
  23. 23. social media appsbuild new social platform and/orleverage existing ones
  24. 24. OAuth
  25. 25. OAuth 1.0 under the hood complicated! kqoauth is your friend
  26. 26. consumer providershow provider’s auth. user grants page in embedded browser authorization parse access_token redirect to dummy value from URL URL with access_tokensave access_token to persistent storage
  27. 27. consumer provider/dialog/oauth?
client_id={APP_ID}&
response_type=token&
 user grantsredirect_uri={DUMMY_URL}&
 authorization scope={SCOPE} http://{DUMMY_URL}/ parse access_token #access_token={ACCESS_TO value from URL KEN}&expires_in={EXPIRE} save access_token to persistent storage
  28. 28. if you think that’s still toohard, there’s thin wrapper
 qfacebook
(http://gitorious.net/qfacebook)
  29. 29. consumer provider/oauth2/authenticate?
client_id={CLIENT_ID}&
 user grantsresponse_type=token&
redirect_uri={DUMMY_URL} authorization http://{DUMMY_URL}/ parse access_token #access_token={ACCESS_T value from URL OKEN} save access_token to persistent storage
  30. 30. demo
  31. 31. Movreak movie grid Movie detailcity Share button
  32. 32. Harmattan ShareUI
  33. 33. QML twitter HTTP signal & slot Twitter WrapperkqOAuth qjson Qt SDK Twitter demo architecture
  34. 34. QML C++ (kqOAuth) user tap sign in to request Twitter authorization show auth page access token receivedsave access_token to persistent storage
  35. 35. let’s see the code
  36. 36. where to go from hereNokia developer - http://developer.nokia.com/Qt – http://developer.nokia.com/Develop/Qt/latest Qt SDK download – http://developer.nokia.com/Develop/Qt/Toolsall about NFC - http://developer.nokia.com/Develop/NFC/kqOAuth - http://gitorious.org/kqoauthqjson - http://gitorious.org/qjson

×