Tech

Implement Content Provider in Android

Karan Balkar
Hey everyone! As developers, we often need to create applications that can share data with other applications residing on the Android device. A content provider is similar to a database where one can query it, edit its content, as well as add or delete content using insert, update, delete, and query methods. As mentioned on the developer's page, Content providers manage access to a structured set of data. They encapsulate the data, and provide mechanisms for defining data security.

Display circular ProgressBar in Android

Karan Balkar
Hello friends! In the past we have discussed about creating and displaying a basic ProgressBar in Android. A ProgressBar, as the name suggests is basically used to indicate the progress of an operation. By default the progress bar is a spinning wheel (an indeterminate indicator). However, one can also create a circular ProgressBar by applying certain custom attributes. More such styles can be found over here. In order to create a circular progress bar we need to add a new XML file in the drawable folder.

Learning Kivy: Clipboard and Text Input

Karan Balkar
Hey everyone! It's time for another cool Kivy tutorial. In this one I will explain how to use the Clipboard core module to copy text from a Text Input widget. The text thus copied will be applied to a Button, displayed in our layout. Kivy provides a core class for accessing the Clipboard. It is used mainly to copy some data so that it can be used somewhere else. On the other hand, the Text Input widget provides a box of editable plain text.

Implement Lightbox using jQuery plugin

Karan Balkar
Hi guys! Lightbox is a well-known JavaScript technique used to display images or any web content using modal dialogs. Not too long ago, the lightbox plugin was written in jQuery that allowed developers to modify the code and come up with new plugins that carry out the same task. Colorbox is one such jQuery plugin that we can use to implement a lightbox. Through this post, I will try to implement a sample HTML page that displays a lightbox using the Colorbox plugin.

Turn Off Recycle Bin Option Oracle

Karan Balkar
Hello everyone! Starting from Oracle version 10g, a new feature known as RecycleBin was introduced to recover dropped tables. Dropped tables go "into" the recyclebin, and can be restored (undropped) from the recyclebin. By default the RECYCLEBIN option is ON. Hence you can recover the tables dropped, by using the FLASHBACK table command as follows! Pre-requisites: Oracle database 10g Express Edition with *SQLPlus Open *SQLPlus and run the following commands! DROP TABLE YOURTABLENAME; FLASHBACK TABLE YOURTABLENAME TO BEFORE DROP; Check parameter RECYCLEBIN using the below command

Learning Kivy : TabbedPanel

Karan Balkar
Hello everyone! Today's Kivy tutorial talks about one of the existing complex UX widgets called TabbedPanel. The TabbedPanel widget manages different widgets in tabs. It consists of a header area for the actual tab buttons and a content area for showing the current tab content. Before you begin implementing this widget you need to understand the concept of a TabbedPanelHeader. What is a TabbedPanelHeader? An individual tab is called a TabbedPanelHeader.

Learning Kivy : Canvas

Karan Balkar
Hey everyone! In my previous Kivy tutorial I talked about the Carousel widget and the AsyncImage class that one can use to display and load images respectively. Today I would be talking about the Graphics module of the Kivy framework! 1. Graphics (kivy.graphics) From the Kivy documentation, the Graphics package assembles all low level functions to draw an object.The entire package is compatible with OpenGL ES 2.0 and has a lot of rendering optimizations.

Learning Kivy : Carousel and AsyncImage

Karan Balkar
Hello everyone! Today I will talk about two interesting Widgets of the Kivy framework. Both these widgets can be used to display/load images in a particular manner. 1. Carousel As mentioned in the Kivy docs, the Carousel widget provides a mobile-friendly carousel view where one can swipe between slides. One can add any content to the carousel and use it horizontally or vertically. The carousel can display pages in loop. One can also navigate to the next slide or the previous slide using the Carousel properties.

Learning Kivy : Accordion

Karan Balkar
Hey everyone! Working on Kivy has been an amazing learning experience. Kivy has made user interface development a lot easier. Today, I will talk about Accordion, one of the interesting widgets that Kivy has to offer to developers out there. What is an Accordion ? Accordion is basically a Widget in the form of a menu where in the options are stacked either horizontally or vertically. An Accordion will contain one or many AccordionItem instances such that each item when touched opens up displaying it's underlying content.

Getting Started With Kivy

Karan Balkar
Kivy is a popular cross platform open source library for developing applications involving different user interfaces. Currently, Kivy runs on Linux, Windows, Mac OSX, Android and iOS. Let’s start by downloading Kivy for Windows from here : Kivy for Windows. Unzip the downloaded file to find the kivy.bat file shown below: Copy the path to this folder. Now right click My Computer -> Properties -> Advanced System Settings -> Environment Variables Select Path under System variables and click on Edit.