Monday, December 23, 2013

How to use your free BlueHost SSL Certificate:

http://adnankhan12.wordpress.com/2013/09/01/how-to-use-your-free-bluehost-ssl-certificate/

UDID and must not use the uniqueIdentifier method of UIDevice

http://adnankhan12.wordpress.com/2013/06/15/udid-and-must-not-use-the-uniqueidentifier-method-of-uidevice/

Loading an image from a url with MonoTouch

Loading an image from a url with MonoTouch on the iPhone

To load an image into a UITableViewCell use the code below to load image from url.
NSUrl nsUrl = new NSUrl(weburl);
NSData imgdata = NSData.FromUrl(nsUrl);
var myImage = new UIImage(imgata);
cell.ImageView.Image= myImage;

http://adnankhan12.wordpress.com/2012/12/08/loading-an-image-from-a-url-with-monotouch/

java.lang.UnsatisfiedLinkError: Couldn’t load mono: findLibrary returned null

Some times you will see this error message “java.lang.UnsatisfiedLinkError: Couldn’t load mono: findLibrary returned null” after you deploy your android app.

The reason for this is that when you publish your app you have selected supported ABIs armeabi-v7a, armeabi and x86  and if user install your app on ARMv6 device it gives this error.

 There is no workaround that I have found in Mono Develop to stop this error.

Just fyi!

MonoTouch How to Fix- Deploy to device fails with System.Exception: AMDeviceInstallApplication returned some error

http://adnankhan12.wordpress.com/2012/11/28/monotouch-how-to-fix-deploy-to-device-fails-with-system-exception-amdeviceinstallapplication-returned-some-errro/

Configure your Amazon EC2 Windows Firewall to access Amazon SES Email Service

You will need to open windows firewall port on your EC2 machine.
1. Right click on my computer and select Manage
2. Expand to “Windows Firewall with Advanced Security”
3. Click on “Outbound Rules”
4. On the right side click on “New Rules”
5. Window will for “New Outbound Rule Wizard”
6. Select Port  & Click Next
7.  Next Enter Port for SES Amaozn: 25, 587, 2587
8 . Click Next
9. Name your AmazonSES_SMTP
10. Click OK
Note: Before you test make sure you also have configured your EC2 Security Group setting to open above ports:  25, 587, 2587

That’s All!

How to add primary key constraint on oracle table

This is how you will add primary key constrain on exiting oracle table.

ALTER TABLE MY_TABLE_NAME ADD (CONSTRAINT PK_MY_TABLE_NAME PRIMARY KEY (COLUMN1, COLUMN2));

 Note: MY_TABLE_NAME is your some table name.  PK_MY_TABLE_NAME can you your pk_somename.