Samsung Bada Developers' Day Session 1
Total Page:16
File Type:pdf, Size:1020Kb
SamsungbadaDevelopers'Day Session1bada2.0:thenextwave *Justreleased *More3000APIs *Enrichedfunctions,ExtendedcoverageforFlashandwebdevelopers,Enhancedd evelopmenttoolsfordevelopers,Expandedbusinessopportunitiestosellers *Multitasking,WIFIdirect,NFC,PushNotifications,OpenAL,JavascriptFramew ork,HTML5,Extendedflashfunctions *DevelopmentTools:Emulator,Profiler,PerformanceAnalyzer *Business:InAppAds,InAppPurchase,SamsungApps *7Wavedeviceslaunchedtillnow *badadevicesmorepopularinEurope,Asia *badadevicesnotyetlaunchedinUS *bada2.0devicesWave3,WaveM,WaveY *NewUXServices:HomeScreen,LivePanel,ChatOn,FindMyMobile,SamsungApp s *badaAppdownloadtop5countriesFrance,India,Germany,China,Spain *badadeveloperprogram *Indialargestmembersatbadadevelopersite,2ndlargestinSDKdownload,3 rdlargestinAppSelling Session2bada2.0Device,UXandService *Stylishusers,Socialconnections,Myfirstsmartphone *GloballaunchfromOct2011 *Wave3,WaveX,WaveY(Entrysmartphoneforpeople) *badaphonesweresold5MLastyear,thisyear10M+ *SamsungAppsTryandplay(limitedperiodtrial),Rentandplay(payonlyfo rtheperiodyouuse),AppRecommendation Session3bada2.0SDKfeatures *EnhancedUIControlsColorpicker,Datetimepicker,ContextMenu,ListView ,SearchBar,ExpendableEditArea,FormandTabBar,Gallery *Clipboard,voiceenabled,WebApp *BasicsForm(Basic)ContainsHeader,TabBar,Footer *Keyframebasedanimation *Layoutusinglogicalorder *Dynamic/Relativelayoutbasedonresolutionofthescreen *WebcontrolsupportsCSS3,HTML5,JavascriptandJSON(Improvedfrombada1) *AbilitytouseThemes *Facerecognition,Expressions,Eyepositionetc.,canbetrackedandusediny ourapplication *AppAssociation(Openall*.pdffilesusingthisApp),Fileassociation(Myap pasking"whocanopena*.pdffile?"andgettinghandle) *SecureIOEncryptdataEitherafile,orDBorregistry(Protectfilesfro mworkingontherphones/misused) *WiFidirectsupportExposedasAPIaswelluseinsideyourapps *NFC:NearFieldCommunication *Emulatorinsteadofsimulator *Profilerforoptimizationofyourapp *ForWebDevelopers:WebFrameworkisprovided *badaUI+Javascript/HTML5WAC2.0 *PushNotificationsupport(UI+API)viaSamsungPushPlatform *InAppAdIntegratedwithbadaSDK2.0(Viaacustomcontrolnoneedtowri teanycodeforaddingtheAD,Justinsertthecontrolandhandletheevent) *AdGatewayhandlesAdNetworkselection,reportingetc., Session4GrandPlanofSamsungApps *SamsungAppslaunched@Sep09,2010onwardsforbada,alsosupportsAndroidA pps(Free/paid) *Certificationprocessismandatorytoensurequalityofapps *ServiceChannels:Web,OnDevice(Phone),PCClient,TVStore *SamsungAppsSellerOfficeRegister(Free),SubmitApps,Certification,User scanseeyourapps/downloadfromanyofthechannelsabove *Certificationtakesroughly7days3steps:ContentReview,Device/Functio nTest,Confirmation *Criteriaforcertification:Usability,Capability,SocialNorms/Policies *NewfeaturesinSamsungAppsTry'nPlay/Rent'nPlay,SmartRecommendations (BasedonwhatIhavealreadyinstalled),PushNotificationsfromSamsungApps Session5badaDeveloperProgram *badaevangelistsIncreaseawarness,EducateDevelopers,Encouragedevelopmen t *GlobalNetwork:US,UK,China,Korea,Poland,Ukraine,India *Onlinetechnicalsupportdeveloper.bada.com *beginningwithbada,platformhighlights,forothermobileplatformdevelopers ,library,samplecodes,forums(multiplelanguages),Events/News *OthersitesSamsungApps,developer.samsung.com *PremiumSupportServicesInviteonlyfreeofflinesupport *Remotetestlabtestyourapponrealbadadevicesovertheinternet *OfflinesupportDeveloperdays,conferences,education *Twitter@samsungbada Session6PortingiOSAppstobada *iOSusesObjectiveC,badausesC++ *IDEbadausesEclipse *iOSframeworkCocoatouch,MediaLayer,CoreService,CoreOS *badaframework(Equivalent) CoreOSSecurity,IO,Net,Locales,CAPIs(stlib,pthread(POSIX)) CoreServicesCommerce(InAppPurchases),App,Telephony,Base,Net,M essaging,XML,IO(DB,SQLitecompatible) MediaLayerGraphics(InclOpenGLES),Media,Content,Text CocoaTouchUI,UIX,Social,Locations(includingMap),Multitasking, Net(IncludingWiFiandBluetooth),Ad,Messaging(IncludingPushNotification), IO *LifeCyclemain()iniOS>Executeinbada,UIApplicationMain()>inituali ze(),Event>Event,AppgoestobackgroundiniOS>Inbadaitisclosed *EventHandlingDelegateVsListener *iOSUIintobadaiOS:Window,VIew,TabBar,NavigationBar,StatusBar...b ada:Footer,Form,Frame,IndicatorBar,Header,Controls *UIControlMapsUISegmented=RadioGroup,CheckButton...UILable=Label,UI Button=Button,UITextField=EditField,UISwitch=CheckButton,UISlider=Sli der,UIProgressView=Progress,Animation=Animation,UIActivityIndicator=Opt ionMenu,TableView=ListView,GroupedListView,IconListView,ImageView=Galler y,WebView=Web,MapView=Map,TextView=TextBox,ScrollView=ScrollPanel,D atePicker=EditDate,PickerView=ColorPickeretc., *InterfacebuilderAddEventHandlersCodeGeneratedautomatically *Refertodeveloper.bada.com/Articles/DevtipsandlookforiOSVsbadatechnica lblogandiOSPortingGuide Session7Flash&Webapp *Flash&ActionScript *FlashInputText,MultiTouch,LayoutManagement,CanvasDrawing *badaFlashAnimations,Accelerometer,GeoLocatuon,LiveContentStreaming,C ontentDRM *FlashfilefsCommand2() *FlashControlSendDataToActionScript() *AdaptingFlashtobadaCreateabadaprojectSelect"FlashBasedApplicati on"SelectyourSWFAppisdone,readytobeuploaded/soldviaSamsungApp s *LockscreeninThemeDisplayedwhenadeviceislockedYourSWFfilecanpl ayhere *Lockscreenprogrammingcapabilities:GetDeviceinfo,AccessMediaGallery,Co ntrolMediaPlayer,AccessCallLogs,Use3G/WiFinetwork *LockscreencustomizationcanbedonebySamsungThemeDesigner(Itisnotpart ofSamsungbadaSDK,needstobedownloadedseparately) *HTML5,css,javascriptandotherwebstandardsarenowsupported,Sellablevi aSamsungApps *badaWebFrameworks:CoreFramework,Application,UIFramework,MiddlewareFra mework *CoreFramework:ProvidesOOConstruct,SupportsAjaxabstraction,Allmethods underOsp.Core,Utilities:HTMLhelper,stringhelperetc., *ApplicationFramework:Eventnotifications,Multitaskingsupport,AppControl ,Localization,I18N *UIFramework:ProvidesUImetamodel,Createandmanagecontrols,createandm anagelayouts,Handleorientation *Layouts:Grid,Box,Relative *MiddlewareFramework:Accesstonativeservices,SupportforWAC2.0(Wholesale ApplicationConsole)deviceAPIs,Accelerometer,FileSystem,Camera,Contact, Messaging,Calendar,FileSystem,Task,DeviceStatus,DeviceInteractionetc., allUsagecontrolledbyprivileges *WebAppSecurityNetworkaccesscontrol,OSPScheme,PackageSecurity(Javas criptcodeisencrypted),UserDataSecurity *WebAppDevelopmentToolsSameasC++(IDE,Emulator,JSDebugger,Performan ceAnalyzeretc.,) *developer.bada.com/Library/DocumentationSearchfor"WebAppProgramming".