Summer of Code/2015/Kiran P S/Developing Cordova Plugins for Sugar Cordova Container< Summer of Code | 2015
What is your name?
Kiran P S
What is your email address?
What is your Sugar Labs wiki username?
What is your IRC nickname on irc.freenode.net?
What is your first language? (We have mentors who speak multiple languages and can match you with one of them if you'd prefer.)
Where are you located, and what hours (UTC) do you tend to work? (We also try to match mentors by general time zone if possible.)
Location: Cochin, Kerala, India
Time Zone: UTC + 5:30 (Indian Standard Time)
Working hours: no fixed timings, I can find 8 hours between 10 AM(morning)- 1 AM(night)
Have you participated in an open-source project before? If so, please send us URLs to your profile pages for those projects, or some other demonstration of the work that you have done in open-source. If not, why do you want to work on an open-source project this summer?
My opensourced projects and contributions to other project can be found on my github account
About my project
What is the name of your project?
Developing Cordova Plugins for Sugar Cordova Container
Describe your project in 10-20 sentences. What are you making? Who are you making it for, and why do they need it? What technologies (programming languages, etc.) will you be using?
the following plugins will be developed for sugar platform
This plugin displays and hides a splash screen during application launch.
it will be using two methods
This plugin implements a File API allowing read/write access to files residing on the device.
It adds the following three window events
- battery status
- battery critical
- battery low
This plugin helps you to access to the external server using HTTP request
Implements Indexed Database API support for Apache Cordova apps based on IndexedDBShim implementation.
This plugin allows your application to use the Dropbox Sync API
Cordova plugin that allows WebSockets to be used
This plugin provides the ability to record and play back audio files on a device.
it will be using following methods
- media.getCurrentPosition: Returns the current position within an audio file.
- media.getDuration: Returns the duration of an audio file.
- media.play: Start or resume playing an audio file.
- media.pause: Pause playback of an audio file.
- media.release: Releases the underlying operating system's audio resources.
- media.seekTo: Moves the position within the audio file.
- media.setVolume: Set the volume for audio playback.
- media.startRecord: Start recording an audio file.
- media.stopRecord: Stop recording an audio file.
- media.stop: Stop playing an audio file.
This plugin allows you to upload and download files.
it will be using following methods
- upload: sends a file to a server.
- download: downloads a file from server.
- abort: Aborts an in-progress transfer.
The plugin supports scheduling local notifications in various ways with a single interface. It also allows you to update, clear or cancel them. There are different interfaces to query for local notifications and a complete set of events to hook into the life cycle of local notifications
What is the timeline for development of your project? The Summer of Code work period is from May 19 - August 22; tell us what you will be working on each week. (As the summer goes on, you and your mentor will adjust your schedule, but it's good to have a plan at the beginning so you have an idea of where you're headed.) Note that you should probably plan to have something "working and 90% done" by the midterm evaluation (27 June); the last steps always take longer than you think, and we will consider cancelling projects which are not mostly working by then.
|May 19 - May 23||Develop splashscreen plugin|
|May 24 - May 30||Develop websocket plugin|
|May 31 - June 6||Develop file plugin|
|Jun 7 - June 13||Develop battery-status plugin|
|Jun 14 - June 20||Develop http-request plugin|
|Jun 21 - June 27||Develop indexedBD plugin|
|Mid Term Evaluation|
|Jun 28 - July 4||Develop dropbox plugin|
|July 5 - July 11||Develop media plugin|
|July 12 - July 18||Develop local notification plugin|
|July 19 - July 25||Develop file transfer plugin|
|July 26 - August 1||testing|
|August 2 - August 8||optimize code|
|August 9 - August 15||optimize code & fix bugs|
|August 16 - August 22||Fix Bugs|
|August 23 - August 24||Document the project|
Convince us, in 5-15 sentences, that you will be able to successfully complete your project in the timeline you have described. This is usually where people describe their past experiences, credentials, prior projects, schoolwork, and that sort of thing, but be creative. Link to prior work or other resources as relevant.
I have created a cordova plugin for sugar and also created(ported) a game for sugar, both of are listed below. Other opensource projects are also listed below
Mobile Apps / Mobile Web - PhoneGap(cordova), Ionic Framework, OnsenUI
Database - MongoDB, MySQl, sqlite, diskdb
Tools - Vim, Tmux, zsh, Git, Grunt, Docker , Yeoman, Qt, Inkscape
OS - Linux(Ubuntu, Archlinux), Android, Windows
Relevant Projects in Past:
- Hextrix app for sugar platform (html5, javscript, css3, cordova)
- Sugar cordova plugin sample (javscript, python, cordova)
- English Malayalam Dictionary (python, pygtk)
- Battery plugin for tmux
- Command line app that shows live cricket score (python)
- Offline contact app (Node-webkit, AngularJS, diskdb)
- App to scroll pages using face ( cpp, opencv )
You and the community
If your project is successfully completed, what will its impact be on the Sugar Labs community? Give 3 answers, each 1-3 paragraphs in length. The first one should be yours. The other two should be answers from members of the Sugar Labs community, at least one of whom should be a Sugar Labs GSoC mentor. Provide email contact information for non-GSoC mentors.
Puneet: Through the purpose of this project, we aim to complete the vision of encompassing the web apps with the diverse abilities to leverage into the device specific features. The native code parts would be tried to be wrapped around into a plugin interface which shall be exposed as a part of standard cordova library which the cross platform web apps can use. This shall eventually lead to integration of thousands of web apps out there, enabling each one to use the native abilities of the sugar environment and play around with it to make it more user-friendly and development centric. Hope to reach the goal of diversifying the sugar environment by strengthing the cordova plugin base.
What will you do if you get stuck on your project and your mentor isn't around?
If mentor is not around i will depend on stackoverflow, google, IRC
How do you propose you will be keeping the community informed of your progress and any problems or questions you might have over the course of the project?
I will update the status on my blog or github project pages
Screenshot of sugar development environment Home view
Describe a great learning experience you had as a child.
Computer was my favorite subject, that time i didn't had computer in my house. we had only one computer period in a week. I always waited for that day to come and never took leave on that day.