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

Search In

get Added accounts email from device Android

Blow code get list of Emails account from AccountManager. AccountManager manager = (AccountManager) mActivity.getSystemService(mActivity.ACCOUNT_SERVICE); Account[] list = manager.getAccounts(); if (list.length > 0) {

Laravel 5.0 Getting Old Values In the form

Many times we need to show our old values in a form after an error or validation stops our form from submitting. Laravel has a very nice way of retaining old values and populating it back into our form. I myself used it in a drop down, where I want

How to import customize module in openERP?

If you want to import customize module in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → import decimal_precision as dp from osv import fields, osv, orm from tools.translate import _ import one2many_sorted cl

SQL CHECK Constraint

It limits the value range which is mentioned in column. Example of check constraint CREATE TABLE Persons ( PId int NOT NULL, LastName varchar(255) NOT NULL, FirstName varchar(255), Address varchar(255), City varchar(255), CONSTRAINT chkPerson CHECK

How to Compute the quantity invoiced If case of a refund in openerp(odoo)-9

To Compute the quantity invoiced If case of a refund in openerp to Compute the quantity invoiced. If case of a refund, the quantity invoiced is decreased. Note that this is the case only if the refund is generated from and function given below to us

stop GCM notification

sometime its necessary to stop or unregister notification services in your app like from your setting screen then you can use these codes. you have to create a static handler in your gcm register class static Handler myHandler; and in your parti

How we can use this._super() to call the original method in OpenERP/Odoo ?

If you want to use this._super() to call the original method in OpenERP/Odoo When overriding a method using inheritance below is the example. For example code look like below. say_hello: function () { setTimeout(function () { this._sup

How to Split Datatable into multiple Datatables

Split Datatable into multiple Datatables private List<DataTable> CloneCustomerDataTable(DataTable dtClone, int numberOfRecords) { List<DataTable> dttables = new List<DataTable>(); int count = 0; DataTabl

Make String with different colors in Android

We will use SpannableString to add different colors to a string and will use the setSpan(Object what, int start, int end, int flags) method of SpannableString to change the color for defined range of characters in that string. Here is the code: //

Known bug of Temporary Table in MYSQL

Known Bug We cannot use temporary table twice in same query. http://dev.mysql.com/doc/refman/5.0/en/temporary-table-problems.html However if you have not required above condition then Temporary table is best to use rather than creating real one Ad

1 494 596
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: