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

Search In

How to make AlertDialog in android ?

Here I have created AlertDialog function in android. We can use alertdialog for choice to continue or discontinue. AlertDialog can be used to display the dialog message with OK and Cancel buttons. Android AlertDialog is the subclass of Dialog class.

How to Override to confirm the sale order, if defined and if the transaction is done in openerp

If define Payment Transaction in sale order in sale module then first override the function and inherit to the view from sale and add fields acquirer_name in sale order model and set default draft method and use this function in your own module. Use

How to override the function and confirm the sale order when transaction is done in openerp

To override the function first install the sale module and override the class sale.order and set draft and use feedback function as show in given below code def feedback(self, cr, uid, data, acquirer_name, context=None): tx = None r

How to seamlessly enable location/gps without redirected to the location service window

Most of the apps requires the user to manually enable the gps setting which causes confusion with the user as they are redirected to the location services window outside the app. The below code will help you to seamlessly enable location/gps without

Integrate Facebook SDK in ios

Hi, Download Facebook SDK from following link- https://developers.facebook.com/docs/ios Add SDK to your project. This code will help you login and get user data as well fetch friend list from specific account. FBManager - Create a file and wri

Learn 4 Easy Steps to Integrate Standard PayPal Gateway in PHP

PayPal is an American Company Founded in 1998 by Palo Alto of California "United States". It provides services to users of online payment globally such as money transfer and traditional payment methods like checks and money orders.  

Lets move from Dialogs to BottomSheetDialogs in Android

Android Support Library 23.2, Google has given support for Bottom Sheets. AS per Material Design, Bottom Sheets are elements displayed only as a result of a user-initiated action, used to reveal more content from the bottom upwards. Th

Android Activity life cycle

In the below example I have created Activity life cycle. Activity start's with a call on onCreate() callback method. There is a sequence of callback methods that start's an activity and a sequence of callback methods. See the below example for detail

How to authenticate with Fingerprint in android applications ?

From android marshmallow api 23 android supports fingerprint authentication support. Fingerprint api support android version 6.0 or greater. Fingerprint authentication contains following process : 1. Check weather a user enabled keyguard or not in

How to get currency in param in Odoo?

If you want to get currency in param in Odoo then follow the following code in your .py file. incl_tax = prod_taxes.filtered(lambda tax: tax not in line_taxes and tax.price_include) if incl_tax: return incl_tax.compute_all(price

1 3 10
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: