Software / Technology Tips

Copying larger databases from asset in Android

Copying large database from assets in Android Sometimes to make database and populating data. in it may take heavy time like 5 minutes or more, which is a lot so in such cases we can make our database in seperate application and copy it in Project ,which is done quickly. private void copyDataBase() throws IOException…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to create custom attributes in .Net

Attribute: “An attribute is a piece of additional declarative information that is specified for a declaration.“  Attributes are needed to write codes in a better style, in a better way. Its may not be mandatory to use attributes in your coding but it should be used for a better architecture. It can be used to…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Problem in Filemaker API with PHP 5.3.5

These problem occur because of PHP 5.3.5 no more supports many calling functions. To solve some of this problem you need to check every extension included in your php.ini file such as curl, soap etc is enabled or not. Then you can hide the Deprecated and strict errors using the following code – ***** error_reporting( E_ALL…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Retrieve value list from a Filemaker layout using Filemaker API

We know we can get value list from a layout with help of getValueList() method. But it has a drawback, let me explain it here: -This method returns value list in an array from the first field. It does not bother about whether second field is associted with the value list or not. -And also…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to set Cache in DNN application/ site

It is very important to set cache timing for your applications. In DNN application/ site you can set cache in host setting page. To do that you need to login with the application/ site with host login and go to “Host Settings” page. Hit the “Advance Settings” tree and then click on “Performance Settings” link.…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Custom Macro which searches and opens a file from project or given directories

Problem statement: If we want to open a file included in a visual studio project we need  to open the “Solution explorer” and navigate to that particular file. If the project has many files included in it and the files are not organized with proper filters/groups then finding the file may take considerable time.This tip…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Access native functionality from html content in webview using Titanium.

Webview is used to show the html content. Using titanium we can easily access native functionality from the html content. The code to do so is described below. Lets say we have a span in our html content and onclick of that we will add a native label to the window. //Defines the current window…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Creating Macros in Excel

Macros are nothing but short cuts for creating repetative tasks in Excel. Following are the steps outlined to create a new macro. 1. Click on Start>Programs>Microsoft office>Microsoft Excel to open the application. Then, go to Start>New to open a new spreadsheet. Go to File>Save as and save the new file as Book1.xls 2. Go to…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Applying multiple styles HTML elements and significance of “!important ” attribute in forcing styles

There can be multiple CSS classes and inline style applied to a single html element. By the default CSS rule, if same style attribute is set with different values on top of a single element, the closest attribute value will dominate in the out put at the browser end. !important is a special attribute that…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to create a new document using Kentico CMS API

In Kentico CMS all information related to the documents are saved inside the database in many joined tables. The tables used for storing document records are as follows : CMS_Tree – This table stores the information about the tree structure of the website document content and contains one record for all culture versions for the…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!