Your SlideShare is downloading. ×
0
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Samsung Buddy Fix
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Samsung Buddy Fix

1,315

Published on

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

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,315
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
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
  • Transcript

    • 1. BuddyFix - Location based Social networking App on bada @sameerballewar Follow us @buddyfix Mobile Manifest - 14 July
    • 2. Agenda• bada Ecosystem• Introduction of BuddyFix project• BuddyFix features demo
    • 3. bada EcosystemFull support for smartphone ecosystem3
    • 4. bada EcosystemFull support for smartphone ecosystem Developer Customer3
    • 5. bada EcosystemFull support for smartphone ecosystem bada Platform Developer Customer Feature-rich Platform3
    • 6. bada EcosystemFull support for smartphone ecosystem bada Developer Platform Support Developer Customer Feature-rich Full technical support Platform developer.bada.com3
    • 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. bada Developer SiteProvides all tools & documents needed for development developer.bada.com4
    • 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. BuddyFix
    • 11. BuddyFix• Location based social networking application
    • 12. BuddyFix• Location based social networking application• Internally developed by Samsung UK team
    • 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. olut ion ResH VGA
    • 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. 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. 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. Facebook Friends
    • 19. Facebook Friends Send SMS/MMS
    • 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. 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. 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. 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. Easy to use Last message Entire conversation
    • 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. 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. 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. 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. Thank you!• Download BuddyFix today from:http://sourceforge.net/p/buddyfix/home/Home/

    ×