Changes

Line 35: Line 35:  
To allow the web developers to interact with the device's native functionality, we shall build a communication between the python and javascript part by using the sugar web architecture.Once that is done, we then need to add to the cordova-js project of cordova - which provides the common API's for sending messages and triggering error and success callbacks with native framework responses.
 
To allow the web developers to interact with the device's native functionality, we shall build a communication between the python and javascript part by using the sugar web architecture.Once that is done, we then need to add to the cordova-js project of cordova - which provides the common API's for sending messages and triggering error and success callbacks with native framework responses.
   −
[[File:Hybrid_design_approach_0.png|100x200|Figure1]]
+
[[File:Cordova applications run on different platforms.png|100x200|Figure1]]
    
Figure1 shows how the hybrid apps help the developers to port their applications to different platforms using the cordova platform.Similarly, it shall help the developers to ports their applications to the sugar platform also.
 
Figure1 shows how the hybrid apps help the developers to port their applications to different platforms using the cordova platform.Similarly, it shall help the developers to ports their applications to the sugar platform also.
112

edits