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

Search In

Can't use HTTPS to download from website with early Android versions

I have an Android app which downloads simple text files from my website using HTTPS. I have been testing it on emulators for every version from API18 onwards, and on real devices running API18 and API28. It works fine for API21 and above, but for API

Truncating Collection description text in Shopify

I am trying to add "Read more" and "Read less" buttons to collection descriptions for my Shopify store how can I add Html with liquid conditions? Currently, {{ collection.description }} is the only thing on collection.description

How to create custom keyboard in android

In this tutorial we will learn how to create custom keyboard in android. We can customise keyboard by adding extra buttons, change keyboard theme, set image as keyboard background etc. Here in this example we are going to add two extra buttons, one

How to check access and use superuser in OpenERP(Odoo)?

Step-1 Install sales module. Step-2 After that sales module. In below example, I have customized sales module. You can directly use the below sales module in your addons and run in Odoo server. from openerp.osv import fields, osv from openerp.to

How to assign current date to a date field in odoo v8

If you want to create date fields to assign current date in .py file in openerp, you can use the below code for this from datetime import date from openerp.osv import fields, osv from openerp.tools.translate import _ class account_invoice(osv.osv_m

How to create a custom UITableViewCell separator in iOS

In UITableView every UITableViewCell contains a separator line by default. If you need to create your own custom separator line then use below code inside cellForRowAtIndexPath method. UIView* separatorLineView = [[UIView alloc] initWithFrame:CGRect

How to check Push Notification enabled in iOS

For your iOS application if you want to check Push Notification status then you can check it by using the below code:- in iOS 7 UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes]; if (types == UIRemo

How to search name field in OpenERP

To install account module and searching by name in account module in customers invoice form and get results in particular name use this code in account_invoice file in account module in openerp. Code given below:- def name_search(self, cr, user, n

How to set and get href attribute in jQuery?

Sometimes we need to set and get value of href attribute of <a> tag from jQuery. We can do this very easily by using element.attr() function in jQuery. Example: for example you declare an <a> as below: <a id="element_url" href="#"&g

How to get view controllers from navigation controller in swift

Hi Readers! Please find below the code that you can use to get view controllers stack from Navigation Controller in swift. var vc:NSMutableArray = ((navigationController?.viewControllers as! AnyObject) as! NSArray).mutableCopy() as! NSMutableArray

1 92 408
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: