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

Search In

Download Files Using DropBoxSDK in iOS

If You want to get the list of all the files that are uploaded on your DropBox then use the following code : method -(void)downloadAllData:(void (^)(NSMutableArray *, NSMutableArray *, BOOL)) block need to be called after the successful login to D

Could not find resource-id field in UI Automator viewer

There are many options to locate the element but the easiest way to locate an element is by its id. In webpages we can easily locate the element by its id but on mobile its very tricky to locate the element by id. I am automating an Android app usin

Extract metadata using ImageIO in java

Hello guys We are creating a file which have some information about file i.e create date, modify date, tags and description etc. called metadata of the file. Now, We are extract the Imagedata using javax.imageIO package requires ImageInputSt

Linear Search in DSA(Data Structure and Algorithms)

Linear search is simple search algorithm in which a sequential searching is done over all the items in a list. Every items are checked and if any match is found then that item is returned otherwise search will be continuued till the end of the dat

How to convert string to int without using library functions in c

here we are converting string values to the integer without using library functions. #include int stringToInt(char[] ); int main(){ char str[10]; int intValue; printf("Enter any integer as a string: "); s

Dynamic Memory Allocation using malloc() in C

The malloc is an acronym of "memory allocation". This function allocates the requested size of bytes to a variable and return a pointer of type void. Syntax: p=(type cast *)malloc(size) Here p is a pointer. Example: Calculate the sum to element

How to start with IOS Application testing via Phonegap?

As a beginner in iOS apps, the main focus should be understanding the scope and limitation of phonegap compared to native platforms. Especially for keyboard, calendar selection etc.you will not get same keyboards as we have in native apps. Then its

How do I debug this code of the 'TypeError: 'int' object is not callable' error in Python?

Hey guys! I want to write a program that finds the sum of cubed terms. i.e. 1**3 + 2**3 + n**3 I wrote down the following code:        // n = input('Give the value of n.') n = int (n) s = ((n(n+1))/2)**2 print ('Sum equals =', s

Efficient method to find maximum difference between two elements in C?

#include<stdio.h> int maxDiff(int a[], int n) { int maxDiff = -1; // Initialize Result int maxRight = a[n-1]; // Initialize max element from right side for (int i = n-2; i >= 0; i--) { if (a[i] > maxRight)

Simple code of php for making tree using asterisk

Simple code of php for making tree using asterisk It is easy to make tree using php in less no. of line of code. Here are few line of code that will help you to get desired output by using for loop with three variable i,j and k or this can be explai

1 75 720
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: