Monday, December 23, 2013
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!
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!
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!
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.
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.
Subscribe to:
Posts (Atom)