Amazon Echo Dot Deep Learning

Introduction of Amazon Echo. Feature of Amazon Echo. Type of Generation. Hardware Layer. Software Layer. Business Layer. Introduction of Amazon Echo Amazon Echo is known in-development as Doppler or Project D and shortened and referred to as Echo and it is a smart speaker developed by Amazon. The device consists of a tall cylinder speaker…

Table view with text field in swift 3.0

  Why I am creating this, every registration view I want to create the lot of the text fields and valid it each and every text field and I have to face the alignment problems. But, here I am not yet receiving any alignment problem and easy to get the values. Meanwhile, when keyboard hidden appeared easy move…

Show the upper case letter

NSString *string = @”How many Captial are in Sentence”; NSMutableArray *getCount = [[NSMutableArray alloc]init]; for(int j = 0;j<string.length;j++){ int asciiCode = [string characterAtIndex:j]; if(asciiCode >= 65 && asciiCode <90){ [getCount addObject: [NSString stringWithFormat:@”%c”, asciiCode]]; } NSLog(@”ASCII Value: %d”,asciiCode); } NSLog(@”getCount:%d”,[getCount count]);

Backward Search in Objective-c

NSString *string = @”Here is an example string HELLO “; NSRange rangeToSearch = NSMakeRange(0, [string length] – 1); // get a range without the space character NSRange rangeOfSecondToLastSpace = [string rangeOfString:@” ” options:NSBackwardsSearch range:rangeToSearch]; NSString *spaceReplacement = @” text that i want “; NSString *result = [string stringByReplacingCharactersInRange:rangeOfSecondToLastSpace withString:spaceReplacement];

Match the Array and Array with Dictionary using Javascript

“fruits” is an array variable. It contains 4 fruits name. “list” is an array variable but contains the 4 number of dictionary. Checking whether a value exists in an array or not which using below code to achieve this. var fruits = [‘apple’, ‘banana’, ‘mango’, ‘guava’]; var list = [ {name:’apple’, category: “fruit”, price: 1.22 },…

Share Video/ image / text through an iOS app in whatsapp

We provide several ways in which your iPhone application can interact with WhatsApp: through custom URL schemes, share extension and through the Document Interaction API. Video : NEXT LINE OF CODE IS OPTIONAL AND NOT RECOMMENDED, BUT YOU CAN USE IT TO TEST TO SEE IF THEY HAVE THE WHATSAPP INSTALLED if ([[UIApplication sharedApplication] canOpenURL:…

Create Basic Toast in Android Studio

1. Create a Blank Activity. 2. Naming the activity “HomeActivity.java”. 3. User Interface (drag and drop component are there) Named as “activity_home.xml”. 4. Drag and drop the “NEW BUTTON” on the screen and double click the button to set the button title and @id. 5. Declare the button variable and set the Event listener before…

Custom array using to sort the Array based on the Distance

1. Create Swift file and paste it the below code import Foundation import CoreLocation final public class Places : NSObject { var title: String? var cllocation: CLLocation var regionRadius: Double var location: String? var type: String? var distance : Double? var coordinate : CLLocationCoordinate2D init(title:String , cllocation: CLLocation , regionRadius: Double, location: String, type: String…

Create Interactive local notification and simple notification.

1. Create NSObject file to implement the notification functions. 2. Register the notification based on the resolutions.(iOS 7 /iOS 8 and above) 3. Separate the notification (interactive /local). 4. Cancel the notification 5. Cancel the particular notifications. 6. Handle the notification when receiving. Create NSObject file. File named as “Notification”. // Notification.h file #import <Foundation/Foundation.h>…

UIColor Category file in Swift (extension)

Aspect of Class Initializers. The Swift language has two different types of initializers They are followed by : — designated initializers. — convenience initializers. Designated initializers used for initialization. Its getting the parameter to set the value in the method variable. init(sender: String, recipient: String) { self.sender = sender self.recipient = recipient timeStamp = NSDate()…

String Compare in C#

The “System.IO” namespace contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support. The “System” namespace contains fundamental classes and base classes that define commonly-used value and reference data types, events and event handlers, interfaces, attributes, and processing exceptions. The “System.Text” namespace contains classes…

Get the Max date from the Array using KVC (Key-value coding)

Key-value coding is a mechanism for accessing an object’s properties indirectly, using strings to identify properties, rather than through invocation of an accessor method or accessing them directly through instance variables. In essence, key-value coding defines the patterns and method signatures that your application’s accessor methods implement. Get the Max date from the Array using…