BuddyFix - Location based Social   networking App on bada           @sameerballewar          Follow us @buddyfix           ...
Agenda• bada   Ecosystem• Introduction   of BuddyFix project• BuddyFix   features demo
bada EcosystemFull support for smartphone ecosystem3
bada EcosystemFull support for smartphone ecosystem    Developer                           Customer3
bada EcosystemFull support for smartphone ecosystem                  bada                Platform    Developer            ...
bada EcosystemFull support for smartphone ecosystem                  bada            Developer                Platform    ...
bada EcosystemFull support for smartphone ecosystem                  bada            Developer              Application   ...
bada Developer SiteProvides all tools & documents needed for development                 developer.bada.com4
bada Developer SiteProvides all tools & documents needed for development                            developer.bada.comSAMP...
BuddyFix
BuddyFix• Location   based social networking application
BuddyFix• Location     based social networking application• Internally   developed by Samsung UK team
BuddyFix• Location     based social networking application• Internally   developed by Samsung UK team• Utilises         so...
olut ion      ResH VGA
BuddyFix 2.0• Location     based social networking application• Internally   developed by Samsung UK team• Utilised       ...
BuddyFix 2.0• Location     based social networking application• Internally   developed by Samsung UK team• Utilised       ...
BuddyFix 2.0• Location     based social networking application• Internally   developed by Samsung UK team• Utilised       ...
Facebook Friends
Facebook Friends   Send SMS/MMS
The bada Server                  •   Handling bada services in unified APIs                  •   Hiding the details of spec...
Location Services• MapService: display   and operate the map• GeocodingService: translate   coordinates to readable addres...
Social Services• BuddyService: manages     buddy relationship• ProfileService: searches   and updates different types of us...
Goal of Designing BuddyFix•   Easy to use - number of clicks/operation•   Fast to run - using less memory, WYSIWYG•   Long...
Easy to use   Last message   Entire conversation
Fast to runvoidFormManager::ChangeForm(Form* pNewForm){   __pFrame->AddControl(*pNewForm);   __pFrame->SetCurrentForm(*pNe...
Long battery lifevoid FormManager::ActivateTimers(){   AppLogDebug("Activate all Timers for power optimisation");   __pLoc...
Easy to implementAppData* AppData::GetInstance(void){  if(!__instanceFlag)  {         __pInstance = new AppData();        ...
Better UXAppRegistry* pAppRegistry = Application::GetInstance()->GetAppRegistry();int value = -1;result r = pAppRegistry->...
Thank you!• Download   BuddyFix today from:http://sourceforge.net/p/buddyfix/home/Home/
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Upcoming SlideShare
Loading in …5
×

Samsung Buddy Fix

1,543 views

Published on

Presentation by Sameer Ballewar from Samsung on their open source social and location application crea

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,543
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Samsung Buddy Fix

    1. 1. BuddyFix - Location based Social networking App on bada @sameerballewar Follow us @buddyfix Mobile Manifest - 14 July
    2. 2. Agenda• bada Ecosystem• Introduction of BuddyFix project• BuddyFix features demo
    3. 3. bada EcosystemFull support for smartphone ecosystem3
    4. 4. bada EcosystemFull support for smartphone ecosystem Developer Customer3
    5. 5. bada EcosystemFull support for smartphone ecosystem bada Platform Developer Customer Feature-rich Platform3
    6. 6. bada EcosystemFull support for smartphone ecosystem bada Developer Platform Support Developer Customer Feature-rich Full technical support Platform developer.bada.com3
    7. 7. bada EcosystemFull support for smartphone ecosystem bada Developer Application Platform Support Store Developer Customer Feature-rich Full technical support Online marketplace Platform developer.bada.com www.samsungapps.com3
    8. 8. bada Developer SiteProvides all tools & documents needed for development developer.bada.com4
    9. 9. bada Developer SiteProvides all tools & documents needed for development developer.bada.comSAMPLE IDE UI SIMULATOR VIDEO BLOG API CODE BUILDER TUTORIAL REFERENCE 4
    10. 10. BuddyFix
    11. 11. BuddyFix• Location based social networking application
    12. 12. BuddyFix• Location based social networking application• Internally developed by Samsung UK team
    13. 13. BuddyFix• Location based social networking application• Internally developed by Samsung UK team• Utilises social, location, profile, privacy, messaging, and content services on bada
    14. 14. olut ion ResH VGA
    15. 15. BuddyFix 2.0• Location based social networking application• Internally developed by Samsung UK team• Utilised social, location, profile, privacy, messaging, and content services on bada
    16. 16. BuddyFix 2.0• Location based social networking application• Internally developed by Samsung UK team• Utilised social, location, profile, privacy, messaging, and content services on bada• Integrated simple Facebook and SMS/MMS location sharing
    17. 17. BuddyFix 2.0• Location based social networking application• Internally developed by Samsung UK team• Utilised social, location, profile, privacy, messaging, and content services on bada• Integrated simple Facebook and SMS/MMS location sharing• Code available on Sourceforge under Apache License 2
    18. 18. Facebook Friends
    19. 19. Facebook Friends Send SMS/MMS
    20. 20. The bada Server • Handling bada services in unified APIs • Hiding the details of specific integrations • Authenticate bada apps with 3rd party servers • Forwarding calls to 3rd party servers • No need to worry about load balancing, backup solutions or downtime
    21. 21. Location Services• MapService: display and operate the map• GeocodingService: translate coordinates to readable address and vice versa• RouteService: find route between two coordinates• DirectoryService: provide POI information for given geographic area - e.g. check-in
    22. 22. Social Services• BuddyService: manages buddy relationship• ProfileService: searches and updates different types of user profile• SNSGateway: provides easy integration for Twitter, Facebook and MySpace• MessagingService: provides free messaging services via the bada server
    23. 23. Goal of Designing BuddyFix• Easy to use - number of clicks/operation• Fast to run - using less memory, WYSIWYG• Long battery life - update data only when it needed• Easy to implement - central event dispatcher (e.g. FormManager class + singleton)• Better UX - offline data/persistent database• More to be found by you ...
    24. 24. Easy to use Last message Entire conversation
    25. 25. Fast to runvoidFormManager::ChangeForm(Form* pNewForm){ __pFrame->AddControl(*pNewForm); __pFrame->SetCurrentForm(*pNewForm); pNewForm->Draw(); pNewForm->Show(); if (__pPreviousForm != null) __pFrame->RemoveControl(*__pPreviousForm); __pPreviousForm = pNewForm;}void FormManager::OnUserEventReceivedN(RequestId formId, Osp::Base::Collection::IList* pArgs){ result r = E_SUCCESS; switch(formId) { ... case MAP_VIEW_FORM: __pMapViewForm = new MapViewForm(); __pMapViewForm->Construct(__pLocationManager); ChangeForm(__pMapViewForm); break; case SETTING_FORM: __pSettingForm = new SettingForm(); __pSettingForm->Construct(__pLocationManager, __pMessagingManager, __pProfileManager); ChangeForm(__pSettingForm); break; ...}
    26. 26. Long battery lifevoid FormManager::ActivateTimers(){ AppLogDebug("Activate all Timers for power optimisation"); __pLocationManager->ActivateLocRequestTimer(); AppData::GetInstance()->ActivateDBUpdateTimer();}voidFormManager::DeactivateTimers(){ AppLogDebug("Deactivate all Timers for power optimisation"); __pLocationManager->DeactivateLocRequestTimer(); AppData::GetInstance()->DeactivateDBUpdateTimer();}void BuddyFix::OnForeground(void){ AppLogDebug("BuddyFix::OnForeground"); __pFormMrg->ActivateTimers();}voidBuddyFix::OnBackground(void){ AppLogDebug("BuddyFix::OnBackground"); __pFormMrg->DeactivateTimers();}
    27. 27. Easy to implementAppData* AppData::GetInstance(void){ if(!__instanceFlag) { __pInstance = new AppData(); __pInstance->Construct(); __instanceFlag = true; } return __pInstance;}void FormManager::OnUserEventReceivedN(RequestId formId, Osp::Base::Collection::IList* pArgs){ result r = E_SUCCESS; switch(formId) { ... case SEND_MESSAGE_FORM: __pSendMessageForm = new SendMessageForm(); __pSendMessageForm->Construct(__pMessagingManager); ChangeForm(__pSendMessageForm); break; case ADD_RECIPIENT_FORM: __pAddRecipientForm = new AddRecipientForm(); __pAddRecipientForm->Construct(L"IDF_AddRecipientForm"); ChangeForm(__pAddRecipientForm); break; ... } ...}
    28. 28. Better UXAppRegistry* pAppRegistry = Application::GetInstance()->GetAppRegistry();int value = -1;result r = pAppRegistry->Get(Osp::Base::Integer::ToString(SettingForm::PROFILE_EXPOSURE_LEVEL), value);if (!IsFailed(r)) __pProfileManager->SetUserInfoPrivacyLevel((ProfileExposureLevel)value);resultAppData::LoadApplicationDataFromDatabase(void){ result r = __pDatabaseManager->OpenDatabase(); if (IsFailed(r)) { AppLogDebug("Failed to open the database, result %s", GetErrorMessage(r)); __pDatabaseManager->CloseDatabase(); return r; } r = __pDatabaseManager->ReadAll(); if (IsFailed(r)) AppLogDebug("Failed to read data from the database, result %s", GetErrorMessage(r)); return r;}buddyTable +------------+---------------+----------------+------------+-// | userId | buddyName | longitude | latitude | +------------+---------------+----------------+------------+-// | dz7yp3ifya | BuddyName | -1.79675333333 | 51.498485 | +------------+---------------+----------------+------------+-//
    29. 29. Thank you!• Download BuddyFix today from:http://sourceforge.net/p/buddyfix/home/Home/

    ×