Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Integreriting solarium in cakephp2.4

I have problem with start Solarium Client, I downloaded it by Composer. I install it in Vendor When i want getting document from solr i have to creet a Client instance $client = new Solarium\Client($config); I Get this ERROR Error: Class 'Solarium'

Multidex with Gradle

APK uses executable bytecode i.e Dalvik Executable (DEX) files to run an app. The dex file limits the total number of methods in a single dex file to 65,536, including Android sdk methods, library methods, and methods in our code. But sometimes it ex

How to use Delegation method in openERP/Odoo ?

The delegation method is performed the reference fields automatically set up on the parent model: For example you can take idea from below code- class Child0(models.Model): _name = 'delegation.child0' field_0 = fields.Integer() class

JavaScript Closure Need or Uses of JavaScript Closure

Why we need JavaScript Closure or uses of JavaScript Closure? In previous blog(Introduction to JavaScript Closure and Elements for Closure Pattern), we talked about the Closure and Elements. In this blog we are going to cover a ma

How to store data in shared Preference and to fetch the stored data

If you want to store and get data in and from Shared preferences, here is the code that can help you:- Step 1:- Create the Preference and store the values in created preferences:- Context context=getApplicationContext(); SharedPreferences shared

How to Create procurements based on quantity ordered in openerp-9

To Create procurements based on quantity ordered in openerp-9 If the quantity is increased and new procurements are created then use this code given below in .py file def _action_procurement_create(self): precision = self.env['decimal.prec

How to change the Image orientation in Android

To change the orientation of an image write the following code: BitmapFactory.Options o2 = new BitmapFactory.Options(); o2.inSampleSize = 2; // Get the original bitmap from the filepath to which you want to change orientation // fileName ist the fi

Get a rotated image

A very good stuff that allows you to get rotated image. Sometimes we rotate the UIImageView, it appears like image is rotated but in actual it's the UIImageView which is being rotated. If we try to fetch the image from rotated UIImageView it will ret

How to drag(pan) a view on iPhone screen using UIPanGestureRecognizer

To drag a view we can either use the touch methods of UIViewController or we can use UIPanGestureRecognizer. UIPanGestureRecognizer is much easier and simple to implement. This blog explains how to use it. Add pan gesture to the view (or any contro

GUI in Unity

GUI in Unity 3D is an interface for issuing commands to a computer utilizing device. The GUI class is the interface for Unity's GUI. There are many static functions used in the GUI. BeginGroup : It must be closed with the EndGroup. Box : For crea

1 29 76
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: