Tips and tricks

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.

Display ProgressBar in Android

Karan Balkar
Hey everyone! A ProgressBar is basically a visual indicator of progress in some operation. Implementing a ProgressBar helps in the understanding of processes running on threads separate from the main User Interface (UI) and the communication between threads. As mentioned on the Android developer's page, a progress bar can also be made indeterminate. In indeterminate mode, the progress bar shows a cyclic animation without an indication of progress. This mode is used by applications when the length of the task is unknown.