Bad A

Embed Size (px)

Citation preview

  • 8/7/2019 Bad A

    1/42

    SWEETY (RIT2008052)

    HARSHIT SINGH(RIT200807) ASHISH SHARMA(RIT2008015)ASHISH KUMAR (RIT2008041)

  • 8/7/2019 Bad A

    2/42

    INTRODUCTIONy Bada is a mobile operatingsystem being

    developed by Samsung Electronics.

    y It is designed to cover both high-endsmartphones and lower-end feature phones.

    y Bada willrapidlyreplaceits proprietary feature

    phone platform, converting feature phones tosmartphones

  • 8/7/2019 Bad A

    3/42

    VISION OF BADAy Thevision of bada is Smartphone for

    Everyone.

  • 8/7/2019 Bad A

    4/42

    WHY BADA?y USER INTERACTIVE

    Samsung bada platform provides aneasy, simple,

    and intuitive UI without compromisingefficiency.

    To enhancecreativity and userinteractivity, itprovides flash control, web control, motion

    sensing, fine-tuned vibrationcontrol, and face

    detection. Also, it supportssensor-based, context-

    aware applications.Byusingvarioussensorssuchas accelerometers, tilt, weather, proximity, and

    activitysensors, application developerscaneasily

    implement context-awareinteractive applications.

  • 8/7/2019 Bad A

    5/42

    SERVICE ORIENTED

    y Samsung bada differentiatesits position bysupportingvariousservice-centric features

    such associalnetworking, device

    synchronization, content management,

    location-based services, and commerceservices allsupported by back-end bada

    servers. Theseground-breaking developer-

    friendly featuressupport developers to

    implementvariousservices with minimaleffort.

  • 8/7/2019 Bad A

    6/42

    OPEN AND CONFIGURABLE

    y Samsung bada enables developers to take full

    advantage of mobile devicecapabilities tocreatecompelling applications with ease.

    yApplicationscanuse device functions to makephonecalls, send messages, or access thecontact list.

    y Variousservice applicationscanshareinformationsuch as personal profiles, socialrelations, schedules, orcontents with a simpleuserconfirmationin order to provideserviceswith greater personalrelevance andcooperativeserviceextension.

    .

  • 8/7/2019 Bad A

    7/42

    B ADA ARCHITECTURESamsung bada has a four-layer architecture:

    I. Kernel

    II. DeviceIII. Service

    IV. Frameworklayers

  • 8/7/2019 Bad A

    8/42

    a) KERNEL

    Thekernellayercan be the Linuxkernel or areal-time OS kernel, depending on the

    hardwareconfiguration.

    b) DEVICE

    The devicelayer provides thecore functionsas a device platform, such assystem and

    security management, graphics and

    windowingsystem, data protocols and

    telephony, as well as audio-visual andmultimedia management.

  • 8/7/2019 Bad A

    9/42

    c) SERVICE

    Theservicelayer providesservice-centricfunctions that are provided by application

    engines and web-servicecomponents

    interconnecting with bada Server.

    d) FRAMEWORK

    The frameworklayercanexport the C++ open

    API. The frameworkconsists of an application

    framework and functionsexported by the

    underlyinglayers.

  • 8/7/2019 Bad A

    10/42

  • 8/7/2019 Bad A

    11/42

    USER INTERACTIVESamsung bada has threecategories of UI

    elements to build highlyinteractive and

    engaging applications:

    A. Common UI elements

    B. Adaptive UI elements

    C. Advanced interaction UI elements

  • 8/7/2019 Bad A

    12/42

    y These providerich UI controls, mapping

    capabilities, web integration, and Flash

    y It is also possible to automaticallyconvert UIsizes between WVGA and WQVGA

    y Multi-touch,vibration, motion, sensors, and

    facerecognition are just a few of the otheradvanced tools available to developers.

  • 8/7/2019 Bad A

    13/42

    NETWORKINGy The Networking portion of the bada API

    providessupport forcommunication betweendevices or between devices and servers.

    y Wi-Fi functionalityin bada supports bothinfrastructure and ad-hoc modes.

    y Other high-levelnetworking functionalityincludesBluetooth, whilelowerlevel toolsinclude both an HTTP toolkit and a socketstoolkit for maximum networkingcontrol.

  • 8/7/2019 Bad A

    14/42

    BADA TOOLSETy The bada toolset provides means to support

    I. UI BuilderII. Event ejector

    UI Builder - It isintegrated into the bada IDE,allows buildingsimple mock-up prototypeseasily and quickly.

    Event ejector - Thisisuseful forsimulating a broadvariety ofcontext data. Incomingcalls, textmessages or batterylevelcan be tested as wellas different sensorsuch aslocation.

  • 8/7/2019 Bad A

    15/42

    BADA EVENT EJECTOR

  • 8/7/2019 Bad A

    16/42

    The runtime app lifecycle

    y The applicationlifecycle defines the dynamic,

    runtime architecture ofevery application.

    y In bada, thelifecycleisverysimple. Your app

    existsin one of four possiblestates:Initializing, Running, Terminating, or

    Terminated.

  • 8/7/2019 Bad A

    17/42

    y Initializing OnAppInitializing()

    y Running OnForeground(); OnBackground();

    OnLowMemory(); OnBatteryLevelChanged();OnScreenOn(); OnScreenOff();

    y Terminating OnAppTerminating();

    y Terminated (no associated methods your

    app isno longerrunning)

  • 8/7/2019 Bad A

    18/42

  • 8/7/2019 Bad A

    19/42

    UI FRAMEWORKy Frameworks enableyour app to take

    advantage ofready-made behaviour.

    y Badas languageis C++, badas frameworks

    use C++ inheritance to share behaviourbetween the frameworks and your app .

    y The bada C++ frameworksuse derivation and

    virtual functions to shareresponsibilities

    between the frameworkitself, and apps thatuse the frameworks.

  • 8/7/2019 Bad A

    20/42

    CONTROL HIERARCHYy The bada UI classes provide a usefulset ofready-

    made Control types

    y All UI elements, includingFrame and Form,

    derive from the Controlclass.y Controls areactive and can respond to user events

    like touches, multi-touches, and gestures.

    y Asyou would expect, bada provides a

    comp

    reh

    ensivese

    t ofsta

    nda

    rd Co

    ntro

    ls,

    like

    buttons, pickers, and edit areas, as well as more

    specialised controlsincluding animations

  • 8/7/2019 Bad A

    21/42

  • 8/7/2019 Bad A

    22/42

    More about UI Controls

    y Bada provides a comprehensiveset of

    standard Controls, like buttons, pickers, andedit areas, as well as morespecialised

    controlsincluding animations, Flash movies,

    and overlay panels that enablecontrols to be

    layered .

  • 8/7/2019 Bad A

    23/42

    y Hereis a selection ofsome of thestandard

    Controls provided by bada, organised by thekind ofuserinteractions

  • 8/7/2019 Bad A

    24/42

    Simple button: Thisgroup ofcontrolsis for

    generic buttons, presenting theuser with tick

    boxchoices and in thecase of the Labelcontrol displayingnon-editable text orimages

  • 8/7/2019 Bad A

    25/42

    y

    These arecontrolswhich let theuserselect

    a colour, a date or time

    or, in thecase of a

    RadioGroup, make one

    choice from a list ofoptions. Theslider

    allows theuser to

    choose a value from a

    range.

  • 8/7/2019 Bad A

    26/42

    BADA ECOSYSTEMy Usersexpect to be able to find and download thesoftware

    they want using their device when theyre on the move.Usersshould beserved following a wish and usenotion.Whenusers wish to satisfy a current need theyshould beable to get and usecorrespondinginformation orservices

    as fast and simple as possible. They want the purchasingand installation process to besimple, which is where acentral onestop shop such as the SamsungApps storecomesin. Developers distribute their applicationsviaSamsungApps, onecentrallocation from which users ofbada devicescan purchase and download apps and make

    in-app purchases. Onesideeffect of this approach is thatthenetwork operatorno longer plays the gatekeeperroleto their devices, theusercan freely decide which apps toinstall.

  • 8/7/2019 Bad A

    27/42

    y A further positivesideeffect resulting from the appstoreinitiativesis that costs all of a sudden becomemuch more transparent. Network operatorsrecognised this trend and cameup with contractbundles with flat data rates orvolume packagesinorder to encourage the download of apps from stores.In the past, incomprehensible and non-transparentcost models discouraged users from using mobileservices or downloading mobile apps because theyfeared exaggerated costs. With new all-inclusive

    models, downloading apps and invoking mobileservices has become a lot moreuser friendly and thusaccepted.From this, weconclude that the future ofmobile apps ahead ofusshould be quite promising.

  • 8/7/2019 Bad A

    28/42

    y The bada platform incombination with

    SamsungApps represents anecosystem that

    addresses, exploits, and in fact shapessome ofthe differences.

  • 8/7/2019 Bad A

    29/42

    Smartphone PlatformyA smartphone platform to provide an

    execution environment for feature-rich

    applications and services

    y Samsung bada is a feature-rich smartphoneplatform to enable thecreation of avariety of

    applications, satisfying diverse and innovative

    applicationrequirements. The Samsung bada

    platform iscomposed ofvarious features andservices. Details of bada are as follows.

  • 8/7/2019 Bad A

    30/42

    y UISamsung bada has threecategories of UI elements to

    build highlyinteractive and engaging applications:Common UI elements, adaptive UI elements, andadvanced interaction UI elements. These providerichUI controls, mappingcapabilities, web integration,and Flash. It is also possible to automaticallyconvertUI sizes between WVGA and WQVGA. Multi-touch,

    vibration, motion, sensors, and facerecognition arejust a few of the other advanced tools available todevelopers.

  • 8/7/2019 Bad A

    31/42

    y GameThe Samsung bada API provides a rich set ofnamespaces and classes forgame development.Support for OpenGL/ES for 3D graphics, multi-touch, and accelerated controlsenableyou tocreaterich, exciting, and fungames. Some of themoreinteresting audio capabilitiesin bada let you

    mixsound effects with music, add 3D soundeffects, and EQ the audio, to name but a few.

    y MessagingSamsung bada provides a Messaging API,

    supporting push messages and exchanges.Applicationscan directlyuse basic messagingfunctionsin bada mobile phones.

  • 8/7/2019 Bad A

    32/42

    y Networking

    The Networking portion of the bada API providessupport forcommunication between devices or between devices and servers. Wi-Fi

    functionalityin bada supports both infrastructure and ad-hoc modes.Other high-levelnetworking functionalityincludesBluetooth, whilelowerlevel toolsinclude both an HTTP toolkit and a sockets toolkit formaximum networkingcontrol.

    y Web

    Rich Internet functionalityin bada starts with the Webnamespace that letsyou display HTML web pagesin badaapplications. Samsung bada includes the Dolphin browser withsupport for HTML 4.01 .

  • 8/7/2019 Bad A

    33/42

    y MediaFor managing media, the Media portion of the bada API supports a

    variety of audio, video, and image formats, includingrecording andstreaming. It also providesremote media file management tools, such as

    transcoding, remotestorage, and sharing.

    y Location Based Services (LBS)LBS in bada supportslocationrecognition and map-related functions.Other LBS featuresincluderouting functions to inform applications of theroute between two points, and POI search to inform applications oflocationinformationsuch asrestaurants and gasstations.

    y Social NetworkingThe SNS namespaceletsyou build socially aware applications. Itprovidesuser profiling, friend making, and board discussions forsocialnetworking. SNS also givesyou direct access to externalsocialnetworks,such as Twitter.

    y Commerce

    The Samsung bada platform API provides Commerce features to enablecommercial transactionsin applications, such as tradinggameitems andselling music, so developerscan provide free applications that turn aprofit from internalsales. The Commerce featuresincludecredit cardbilling.

  • 8/7/2019 Bad A

    34/42

    Bada SimulatorFeature-rich simulationInteractivity

    MultiPoint-touch, motion, accelerometer, tilt, and othersensors

    Changing orientation between portrait and landscape modesGraphics and media

    Hardware-assisted OpenGL ESCamera with WebCam(somelimitations oneffects)

    CommunicationIncomingcalls, receiving SMS, and WAP pushNetworkindicator and signallevel

    LocationNMEA data and coordinates from Google Map

    Device

    BatterylevelUSB orear-jackinsertion and removal

    Resource monitoringThread, heap, file, database, registry, timer, form and socket

    information.

  • 8/7/2019 Bad A

    35/42

    SERVICES OF BADAy The bada platform isnot limited to providing

    features only on devices, but also server

    associated features.

    y These arekey and unique featurescompared

    with other mobile platforms on the market .

  • 8/7/2019 Bad A

    36/42

    y Locationservice- Thelocationservice allows

    users to utilize featuressuch as displaying a

    map, geo-coding an address, finding points of

    interest (POI) and searchingroutes from oneplace to another.

  • 8/7/2019 Bad A

    37/42

    y Social Service it provides fully functioningsocialservicesincluding profile management, buddymanagement, privacy management, messagingand Social Network Service (SNS) Gateway.

    y The Socialservice allows applications to create,share and manageinformation from bada userprofiles. Applicationscan also manage buddies

    between bada users. Therelationships betweenbuddies arestored on theserver. bada apps thatuse the buddyservicecan makeuse of theserelationships.

  • 8/7/2019 Bad A

    38/42

    y Content Service- bada content service allows

    developers to create, read, update and delete

    (CRUD) contents on theserver.

    y Commerce Service - allowsend users to

    browse and purchaseitems through bada

    applications.

  • 8/7/2019 Bad A

    39/42

    y Single Sign On- Thissinglesign on (SSO)

    method utilizes an authentication token

    provided by theserver to validate and sign

    into all theservices that a user may have onthe bada server.

  • 8/7/2019 Bad A

    40/42

    ADVANTAGES OF BADA=

    y Open Source.

    y Dev has freedom to make appsinc++ ,

    flash,web runtime widgets.

    y Flash support.y Number of appsisincreasing.

    y Bada OsBased Mobile arecheap.

    y Support Of many Companies (Gameloft etc ).

    y Thesets havingBada has High end procc(Wave: 1Ghz).

  • 8/7/2019 Bad A

    41/42

    DISADVANTAGES

    OF BADA

    y TheexternalsensorAPI isnot open-ended,

    preventingnew types ofsensors or

    unexpected technology developments from

    being added in the future.

    y "Due to performance and privacyissues"Bada

    applicationscannot access the SMS/MMS

    inbox orreceiveincoming SMS/MMSnotifications.

  • 8/7/2019 Bad A

    42/42

    CONT.

    y TheBada application framework only allows

    oneBada application to run at a time.

    Multitasking applicationsis possible between

    thenative applications and oneBadaapplication.

    yApplication fragmentationrejecting a software

    developers to support the platform.