Re: [MonoTouch] Problem binding library

2014-01-03 Thread Matteo Polito
No, I have only compiled version of the library. So, nothing to do?

Thanks.

 Sent from my iPad

 On 02 Jan 2014, at 11:41 pm, Jeff Stedfast j...@xamarin.com wrote:
 
 It would appear that there are 2 public MD5 structs or methods in those 
 native libraries and the linker doesn't know which one to use. I'm not sure 
 how to solve that... do you have the source code for these native libraries?
 
 
 On Thu, Jan 2, 2014 at 4:44 PM, Matteo Polito map...@gmail.com wrote:
 Hi guys, I've a problem on binding GameCircle library by Amazon. They offer 
 the Unity plugin for they library, I want to use classes they made for Unity 
 on Monotouch. I've extracted unity plugin and now I want to use it on 
 Monotouch. I've created a project and hosted it on GitHub 
 (https://github.com/mapo80/GameCircle.Monotouch).
 
 There are two libraries: - AmazonInsightsSDK.a - GameCircle.a
 
 I'm using this linkWith parameters: [assembly: LinkWith 
 (AmazonInsightsSDK.a, LinkTarget.ArmV7 | LinkTarget.ArmV7s | 
 LinkTarget.Simulator, ForceLoad = true, IsCxx = true, 
 LinkerFlags=-lsqlite3.0 -lstdc++, Frameworks = AdSupport GameKit 
 MessageUI CoreTelephony SystemConfiguration Security ExternalAccessory 
 Foundation)]
 
 [assembly: LinkWith (GameCircle.a, LinkTarget.Simulator | LinkTarget.ArmV7 
 | LinkTarget.ArmV7s, ForceLoad = true, IsCxx = true, 
 LinkerFlags=-lsqlite3.0 -lstdc++, Frameworks = AdSupport GameKit 
 MessageUI CoreTelephony SystemConfiguration Security ExternalAccessory 
 Foundation)]
 
 When I reference dll on my iOS projects I obtain these errors:
 
 Compiling to native code /Developer/MonoTouch/usr/bin/mtouch -sdkroot 
 /Applications/Xcode.app/Contents/Developer --cache 
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache
  --nomanifest --nosign -sim 
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/bin/iPhoneSimulator/Debug/MonotouchAmazonGameCircleTestApp.app
  -r 
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleBinding/bin/Debug/Monotouch.AmazonGameCircleBinding.dll
  -r /Developer/MonoTouch/usr/lib/mono/2.1/System.dll -r 
 /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll -r 
 /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll -r 
 /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll -debug -nolink -sdk 
 7.0 -targetver 7.0 --abi=i386 
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/bin/iPhoneSimulator/Debug/MonotouchAmazonGameCircleTestApp.exe
  Xamarin.iOS 7.0.6 Business Edition using framework: 
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
  Process exited with code 1, command: 
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
  -lsqlite3.0 -lstdc++ -Wl,-pie -gdwarf-2 -arch i386 -isysroot 
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
  -Qunused-arguments -fobjc-legacy-dispatch -fobjc-abi-version=2 
 -mios-simulator-version-min=7.0 
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache/main.i386.o
  -force_load 
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache/AmazonInsightsSDK.a
  -force_load 
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache/GameCircle.a
  -o 
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/bin/iPhoneSimulator/Debug/MonotouchAmazonGameCircleTestApp.app/MonotouchAmazonGameCircleTestApp
  -framework CFNetwork -framework AVFoundation -framework Accelerate 
 -framework AddressBook -framework AudioToolbox -framework QuartzCore 
 -framework CoreBluetooth -framework CoreData -framework CoreGraphics 
 -framework CoreImage -framework CoreLocation -framework CoreText -framework 
 Foundation -framework GameKit -framework ImageIO -framework 
 MobileCoreServices -framework Security -framework SystemConfiguration 
 -framework CoreMedia -framework CoreMIDI -framework CoreVideo -framework 
 StoreKit -framework AssetsLibrary -framework Accounts -framework 
 CoreTelephony -framework EventKit -framework EventKitUI -framework 
 CoreMotion -framework GLKit -framework iAd -framework MapKit -framework 
 MediaPlayer -framework MessageUI -framework NewsstandKit -framework OpenGLES 
 -framework Social -framework Twitter -framework UIKit -framework PassKit 
 -framework SpriteKit -framework JavaScriptCore -framework 
 MultipeerConnectivity -framework AddressBookUI -framework SafariServices 
 -framework ExternalAccessory -framework AdSupport -framework QuickLook -lz 
 -liconv -u _mono_pmip -u _xamarin_init_nsthread -u 
 _xamarin_get_block_descriptor -u

[MonoTouch] Problem binding library

2014-01-02 Thread Matteo Polito
Hi guys, I've a problem on binding GameCircle library by Amazon. They offer
the Unity plugin for they library, I want to use classes they made for
Unity on Monotouch. I've extracted unity plugin and now I want to use it on
Monotouch. I've created a project and hosted it on GitHub (
https://github.com/mapo80/GameCircle.Monotouch).

There are two libraries: - AmazonInsightsSDK.a - GameCircle.a

I'm using this linkWith parameters: [assembly: LinkWith
(AmazonInsightsSDK.a, LinkTarget.ArmV7 | LinkTarget.ArmV7s |
LinkTarget.Simulator, ForceLoad = true, IsCxx = true,
LinkerFlags=-lsqlite3.0 -lstdc++, Frameworks = AdSupport GameKit
MessageUI CoreTelephony SystemConfiguration Security ExternalAccessory
Foundation)]

[assembly: LinkWith (GameCircle.a, LinkTarget.Simulator |
LinkTarget.ArmV7 | LinkTarget.ArmV7s, ForceLoad = true, IsCxx = true,
LinkerFlags=-lsqlite3.0 -lstdc++, Frameworks = AdSupport GameKit
MessageUI CoreTelephony SystemConfiguration Security ExternalAccessory
Foundation)]

When I reference dll on my iOS projects I obtain these errors:

Compiling to native code /Developer/MonoTouch/usr/bin/mtouch -sdkroot
/Applications/Xcode.app/Contents/Developer --cache
/Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache
--nomanifest --nosign -sim
/Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/bin/iPhoneSimulator/Debug/MonotouchAmazonGameCircleTestApp.app
-r
/Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleBinding/bin/Debug/Monotouch.AmazonGameCircleBinding.dll
-r /Developer/MonoTouch/usr/lib/mono/2.1/System.dll -r
/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll -r
/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll -r
/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll -debug -nolink -sdk
7.0 -targetver 7.0 --abi=i386
/Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/bin/iPhoneSimulator/Debug/MonotouchAmazonGameCircleTestApp.exe
Xamarin.iOS 7.0.6 Business Edition using framework:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-lsqlite3.0 -lstdc++ -Wl,-pie -gdwarf-2 -arch i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
-Qunused-arguments -fobjc-legacy-dispatch -fobjc-abi-version=2
-mios-simulator-version-min=7.0
/Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache/main.i386.o
-force_load
/Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache/AmazonInsightsSDK.a
-force_load
/Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache/GameCircle.a
-o
/Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/bin/iPhoneSimulator/Debug/MonotouchAmazonGameCircleTestApp.app/MonotouchAmazonGameCircleTestApp
-framework CFNetwork -framework AVFoundation -framework Accelerate
-framework AddressBook -framework AudioToolbox -framework QuartzCore
-framework CoreBluetooth -framework CoreData -framework CoreGraphics
-framework CoreImage -framework CoreLocation -framework CoreText -framework
Foundation -framework GameKit -framework ImageIO -framework
MobileCoreServices -framework Security -framework SystemConfiguration
-framework CoreMedia -framework CoreMIDI -framework CoreVideo -framework
StoreKit -framework AssetsLibrary -framework Accounts -framework
CoreTelephony -framework EventKit -framework EventKitUI -framework
CoreMotion -framework GLKit -framework iAd -framework MapKit -framework
MediaPlayer -framework MessageUI -framework NewsstandKit -framework
OpenGLES -framework Social -framework Twitter -framework UIKit -framework
PassKit -framework SpriteKit -framework JavaScriptCore -framework
MultipeerConnectivity -framework AddressBookUI -framework SafariServices
-framework ExternalAccessory -framework AdSupport -framework QuickLook -lz
-liconv -u _mono_pmip -u _xamarin_init_nsthread -u
_xamarin_get_block_descriptor -u _monotouch_get_locale_country_code -u
_monotouch_log -u _monotouch_start_wwan -u _monotouch_timezone_get_data -u
_monotouch_timezone_get_names -u _monotouch_IntPtr_objc_msgSend_IntPtr -u
_monotouch_IntPtr_objc_msgSendSuper_IntPtr -u
_monotouch_release_managed_ref -u _monotouch_create_managed_ref -u
_CloseZStream -u _CreateZStream -u _Flush -u _ReadZStream -u _WriteZStream
/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/libmonoboehm-2.0.a
/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/libmonotouch-debug.a
duplicate symbol _MD5 in:

Re: [MonoTouch] Problem binding library

2014-01-02 Thread Matteo Polito
No, I have only compiled version of the library. So, nothing to do?

Thanks.

 Sent from my iPad

Il giorno giovedì 2 gennaio 2014, Jeff Stedfast ha scritto:

 It would appear that there are 2 public MD5 structs or methods in those
 native libraries and the linker doesn't know which one to use. I'm not sure
 how to solve that... do you have the source code for these native libraries?


 On Thu, Jan 2, 2014 at 4:44 PM, Matteo Polito 
 map...@gmail.comjavascript:_e({}, 'cvml', 'map...@gmail.com');
  wrote:

  Hi guys, I've a problem on binding GameCircle library by Amazon. They
 offer the Unity plugin for they library, I want to use classes they made
 for Unity on Monotouch. I've extracted unity plugin and now I want to use
 it on Monotouch. I've created a project and hosted it on GitHub (
 https://github.com/mapo80/GameCircle.Monotouch).

 There are two libraries: - AmazonInsightsSDK.a - GameCircle.a

 I'm using this linkWith parameters: [assembly: LinkWith
 (AmazonInsightsSDK.a, LinkTarget.ArmV7 | LinkTarget.ArmV7s |
 LinkTarget.Simulator, ForceLoad = true, IsCxx = true,
 LinkerFlags=-lsqlite3.0 -lstdc++, Frameworks = AdSupport GameKit
 MessageUI CoreTelephony SystemConfiguration Security ExternalAccessory
 Foundation)]

 [assembly: LinkWith (GameCircle.a, LinkTarget.Simulator |
 LinkTarget.ArmV7 | LinkTarget.ArmV7s, ForceLoad = true, IsCxx = true,
 LinkerFlags=-lsqlite3.0 -lstdc++, Frameworks = AdSupport GameKit
 MessageUI CoreTelephony SystemConfiguration Security ExternalAccessory
 Foundation)]

 When I reference dll on my iOS projects I obtain these errors:

 Compiling to native code /Developer/MonoTouch/usr/bin/mtouch -sdkroot
 /Applications/Xcode.app/Contents/Developer --cache
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache
 --nomanifest --nosign -sim
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/bin/iPhoneSimulator/Debug/MonotouchAmazonGameCircleTestApp.app
 -r
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleBinding/bin/Debug/Monotouch.AmazonGameCircleBinding.dll
 -r /Developer/MonoTouch/usr/lib/mono/2.1/System.dll -r
 /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll -r
 /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll -r
 /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll -debug -nolink -sdk
 7.0 -targetver 7.0 --abi=i386
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/bin/iPhoneSimulator/Debug/MonotouchAmazonGameCircleTestApp.exe
 Xamarin.iOS 7.0.6 Business Edition using framework:
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
 Process exited with code 1, command:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -lsqlite3.0 -lstdc++ -Wl,-pie -gdwarf-2 -arch i386 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
 -Qunused-arguments -fobjc-legacy-dispatch -fobjc-abi-version=2
 -mios-simulator-version-min=7.0
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache/main.i386.o
 -force_load
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache/AmazonInsightsSDK.a
 -force_load
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/obj/iPhoneSimulator/Debug/mtouch-cache/GameCircle.a
 -o
 /Users/matteo/Desktop/Monotouch.AmazonGameCircleBinding/Monotouch.AmazonGameCircleTestApp/bin/iPhoneSimulator/Debug/MonotouchAmazonGameCircleTestApp.ap
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com javascript:_e({}, 'cvml',
 'MonoTouch@lists.ximian.com');
 http://lists.ximian.com/mailman/listinfo/monotouch



___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Bindings for PDFTRON, FastPDFKit or PSPDFKIT?

2012-08-02 Thread Matteo Polito
Here you can find more informations about iTextSharp:
http://itextpdf.com/itext.php.
Bye,
Matteo.

Il giorno martedì 31 luglio 2012, René Ruppert ha scritto:

 Does it provide efficient rendering of PDF pages, text selection and
 annotations?

 René

 Am 31.07.2012 um 09:12 schrieb Matteo Polito 
 map...@gmail.comjavascript:_e({}, 'cvml', 'map...@gmail.com');
 :

 Why do you want to use them? There is iTextSharp!! ;)

 https://github.com/mapo80/iTextSharp-Monotouch

 Matteo.

 2012/7/30 René Ruppert rene.rupp...@gmail.com javascript:_e({}, 'cvml',
 'rene.rupp...@gmail.com');

 Hi,

 has anybody created (full) bindings for PDFTRON, FastPDFKit or PSPDFKIT?

 Thanks!

 René

 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com javascript:_e({}, 'cvml',
 'MonoTouch@lists.ximian.com');
 http://lists.ximian.com/mailman/listinfo/monotouch




___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Bindings for PDFTRON, FastPDFKit or PSPDFKIT?

2012-08-01 Thread Matteo Polito
Here you can find more informations about iTextSharp:
http://itextpdf.com/itext.php.

It's used to modify pdf files. If you need to show pdf files you have to
use an other library like ones you suggest.

Bye,
Matteo.

2012/7/31 René Ruppert rene.rupp...@gmail.com

 Does it provide efficient rendering of PDF pages, text selection and
 annotations?

 René

 Am 31.07.2012 um 09:12 schrieb Matteo Polito map...@gmail.com:

 Why do you want to use them? There is iTextSharp!! ;)

 https://github.com/mapo80/iTextSharp-Monotouch

 Matteo.

 2012/7/30 René Ruppert rene.rupp...@gmail.com

 Hi,

 has anybody created (full) bindings for PDFTRON, FastPDFKit or PSPDFKIT?

 Thanks!

 René

 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch




___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Monotouch.Dialog Bug

2012-05-02 Thread Matteo Polito
Hi guys,

I think there is a bug on Monotouch Dialog. If I want to show a tableview
with a custom UITableViewCell and RootElement with more than one Section
and IndexSource this is what happen:

[image: Immagine in linea 1]

Is visible a white box on the right side. I've tried to remove it but seems
that it has the same size of IndexSource and I can't remove it!!!
I attach the source file to try this problem. To run it copy on Monotouch
Dialog Sample application.

Could someone help me?

Thanks


DemoOwnerDrawnElement.cs
Description: Binary data
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Monotouch and iTextSharp

2012-04-25 Thread Matteo Polito
Hi guys,

many months ago I've sent to this mailing list an help request to know if
someone has used iTextSharp on monotouch, but unfortunately no answer!!
In my current project I need to use AcroFields, so I have decided to
compile and run this great library on Monotouch and I succeded.

I've uploaded all the library on GitHub. Here the repository:
https://github.com/mapo80/iTextSharp-Monotouch

To compile the library I've commented all the code about Barcode generation
because there's reference to System.Drawing.Drawing2D. If someone needs
barcode generation, can work on this version to find a way to add this
feauture.

To compile the library I've used *mono source code (System.Drawing)* and *
Bitmap.cs* (
https://github.com/JohnACarruthers/zxing.MonoTouch/blob/master/Bitmap.cs)
from zxing.MonoTouch.

In the solution there is an iPhone project to test the library. I've run
application on my iPhone 3gs and everything seems to be ok.

I hope this can help someone!!! Naturally feel free to improve code!!! :D

Monotouch rocks!!! :D

Bye,
Matteo.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Fwd: Monotouch and iTextSharp

2012-04-25 Thread Matteo Polito
Thanks!! Must be done more tests.

I've used iTextSharp 5.2.1, the last available!!

Bye.

Il giorno mercoledì 25 aprile 2012, Marcelo Marques Inácio 
marceloina...@hotmail.com ha scritto:
 God bless you!

 Good work!





 De: monotouch-boun...@lists.ximian.com [mailto:
monotouch-boun...@lists.ximian.com] Em nome de Matteo Polito
 Enviada em: quarta-feira, 25 de abril de 2012 11:12
 Para: MonoTouch@lists.ximian.com
 Assunto: [MonoTouch] Monotouch and iTextSharp



 Hi guys,



 many months ago I've sent to this mailing list an help request to know if
someone has used iTextSharp on monotouch, but unfortunately no answer!!

 In my current project I need to use AcroFields, so I have decided to
compile and run this great library on Monotouch and I succeded.



 I've uploaded all the library on GitHub. Here the repository:
https://github.com/mapo80/iTextSharp-Monotouch



 To compile the library I've commented all the code about Barcode
generation because there's reference to System.Drawing.Drawing2D. If
someone needs barcode generation, can work on this version to find a way to
add this feauture.



 To compile the library I've used mono source code (System.Drawing) and
Bitmap.cs (
https://github.com/JohnACarruthers/zxing.MonoTouch/blob/master/Bitmap.cs)
from zxing.MonoTouch.



 In the solution there is an iPhone project to test the library. I've run
application on my iPhone 3gs and everything seems to be ok.



 I hope this can help someone!!! Naturally feel free to improve code!!! :D



 Monotouch rocks!!! :D



 Bye,

 Matteo.




___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Monotouch and iTextSharp

2012-04-25 Thread Matteo Polito
Thanks!! Must be done more tests.

I've used iTextSharp 5.2.1, the last available!!

Bye.

Il giorno mercoledì 25 aprile 2012, Marcelo Marques Inácio 
marceloina...@hotmail.com ha scritto:
 God bless you!

 Good work!





 De: monotouch-boun...@lists.ximian.com [mailto:
monotouch-boun...@lists.ximian.com] Em nome de Matteo Polito
 Enviada em: quarta-feira, 25 de abril de 2012 11:12
 Para: MonoTouch@lists.ximian.com
 Assunto: [MonoTouch] Monotouch and iTextSharp



 Hi guys,



 many months ago I've sent to this mailing list an help request to know if
someone has used iTextSharp on monotouch, but unfortunately no answer!!

 In my current project I need to use AcroFields, so I have decided to
compile and run this great library on Monotouch and I succeded.



 I've uploaded all the library on GitHub. Here the repository:
https://github.com/mapo80/iTextSharp-Monotouch



 To compile the library I've commented all the code about Barcode
generation because there's reference to System.Drawing.Drawing2D. If
someone needs barcode generation, can work on this version to find a way to
add this feauture.



 To compile the library I've used mono source code (System.Drawing) and
Bitmap.cs (
https://github.com/JohnACarruthers/zxing.MonoTouch/blob/master/Bitmap.cs)
from zxing.MonoTouch.



 In the solution there is an iPhone project to test the library. I've run
application on my iPhone 3gs and everything seems to be ok.



 I hope this can help someone!!! Naturally feel free to improve code!!! :D



 Monotouch rocks!!! :D



 Bye,

 Matteo.




___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Itextsharp

2011-08-26 Thread Matteo Polito
Hi,

Someone has tried to use itextsharp on monotouch? Does it work?

Matteo.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Invo

2011-08-11 Thread Matteo Polito
Hi,

why if I execute this code my app freeze? To use again my app I need to
close and reopen it. I've used this code(threadpool and ManualResetEvent)
because I need to execute a method on thread but I need to wait its
completion.

var resetEvent = new ManualResetEvent(false);
ThreadPool.QueueUserWorkItem(
arg =
{
this.InvokeOnMainThread(delegate
{
UIAlertView _AlertView = new UIAlertView(Test, Test, null, OK, null);
_AlertView.Show();
});
resetEvent.Set();
});
resetEvent.WaitOne();


Do you know why?

Someone can help me?
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] direct to sql server

2011-07-18 Thread Matteo Polito
Hi, how have you solved it? Can you explain? Thanks.

Il giorno lunedì 18 luglio 2011, Wally McClure
theevilprogram...@hotmail.com ha scritto:





 I forgot to followup on this.  Thanks Robert, adding the assemblies did help 
 out and resolved the issue.
 Wally

 Date: Sat, 16 Jul 2011 13:47:05 +0200
 From: robe...@gmx.net
 To: monotouch@lists.ximian.com
 Subject: Re: [MonoTouch] direct to sql server

 On 16.07.2011 05:04, Wally McClure wrote:
 
  I'm trying to connect a monotouch application directly to a sql
  server database.  I've added in what I think are the necessary
  namespaces into the project.  Unfortunately, when I connect to a sql
  server database, when I connect in the simulator to a sql server
  2008r2 database, I get an exception stating that codepage 1252 is not
  supported.  I haven't had seen this in m4a in the .NET 4 client
  profile, so I'm a little surprised by it.  Any ideas or suggestions
  on it?  BTW, I know that a direct connection is not something
  everyone should do on a mobile device, however, this is a special
  case. Wally

 Try to add more i18n assemblies with the iPhone settings options
 of your project.

 Robert
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch
   

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch