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

Search In

Multidex with Gradle

When our application and libraries references reaches their limits, then we get some errors that shows we reached the limit of built architecture. Like this trouble writing output: Too many field references: 131000; max is 65536. You may try using

How to convert image into base64 string using javascript

Here is the example that shows converting an image file to base 64 string code. It can be done by the canvas method. HTML5 provides the canvas tag that is used to draw a canvas. For converting an image file to base 64 string you need to create a can

PHP error after updating my php version to 5.4.0-3

Hello I'm get a strange PHP error after updating my php version to 5.4.0-3. I have this array: Array (     [host] => 127.0.0.1     [port] => 11211 ) When I try to access it like this I get strange warnings  print $memcachedConfig

How to set the expected payment date in Odoo?

If you want to set the expected payment data in Odoo follow the following code : if vals.get('expected_pay_date') and self.invoice_id: msg = _('New expected payment date: ') + vals['expected_pay_date'] + '.\n' + vals.get('internal_note'

How can use Bitmap in android

  In the below exampl e I have added a image with the help of Bitmap. Bitmap is eventually created and displayed on the screen. By using simply bitmap a pixels of rectangle, each pixel can be set to a given color  but exactly what color de

How to add Gradient effect to UIButton ?

Hello all ! For adding Gradient effect to the UIButton we can implement the following code :- CAGradientLayer *gradientLayer = [CAGradientLayer layer]; gradientLayer.frame = _customButton.layer.bounds; // _customButton is the outlet of UIButton

Left padding to the TextField

Whenever we use TextField then bydefault we don't get front space. Sometimes we want that our text should start after some gap so in that case we can use padding. In padding we can give space according to our need. There are two types of padding

Show date picker along with done button when selecting UITextField

If we want that when we tap on a UITextField then date picker should show, so we can use following code- [yourTextFieldOutlet setInputView:_datePicker];// _datePicker is the DatePicker type property Here we want to add done button on a DatePicker

How to present a UIViewController from top to bottom in iOS?

When we present the viewcontroller it slides from bottom to top but, if we want to change the slide position then we have to use the animation for the UIView. By using animation we just change the frames of UIView.  If we want to present the co

How to make payment and inherits account invoice object in OpenERP(Odoo-8)

In Odoo first we create existing own module and inherits the account invoice object in your own module. Than fetch all object like as a account.move , account.journal, account.period in your own module and update the account.journal and also invoice_

1 31 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: