[mono-android] Make loading screen ?

2011-06-24 Thread david.chhang
Hello ! I want to make a loading screen, so I follow a java tutorial but I don't know how can I use thread with Monodroid. This is the java code : private void traitementDesDonnees() { new System.Threading.Thread(new Runnable(){ public override void run(){

Re: [mono-android] A new activity with parameters of old activity

2011-06-23 Thread david.chhang
Thank you very much, it works !!! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/A-new-activity-with-parameters-of-old-activity-tp4514263p4517805.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] A new activity with parameters of old activity

2011-06-22 Thread david.chhang
Thanks a lot, but it doesn't resolve the problem, there is an error here : bouton.Click += new EventHandler(bouton_Click); The error is : (in french...sorry) Aucune surcharge pour 'bouton_Click' ne correspond au délégué 'System.EventHandler' I try to translate : Any overload for 'bouton_Click' ma

Re: [mono-android] A new activity with parameters of old activity

2011-06-22 Thread david.chhang
thanks. But, I want to adapt to use with text field and button. So I want to keep value of the texts field and pass to another activity when I click on the button OK. I try it but it doesn't work : public class Activity0 : Activity { protected override void OnCreate(Bundle bundle)

[mono-android] A new activity with parameters of old activity

2011-06-22 Thread david.chhang
Hello ! I want to know how to pass to another activity with variables's values of the first activity. Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/A-new-activity-with-parameters-of-old-activity-tp4514263p4514263.html Sent from the Mono for Android mailin

[mono-android] Problem with version of "System.XML"

2011-06-08 Thread david.chhang
Hi I have a Framework in C# which i use in an Android application. I have to rewrite some classes to adapt with the Android Environment. But, I have a class which use the version 3.5 of "System.XML", and monodevelop have only the 2.0.5.0. When I compile, I have an error : In French : "Le type 'Sy

[mono-android] How can I access to my local network with the emulator

2011-06-07 Thread david.chhang
Hello ! I want to access to a webservice hosted on the local network, but the emulator can't access to the local network and I think it is the reason why I have an web exception "NameResolutionFailure" when I call a service. So, is there a way to access to local network ? -- View this message in

Re: [mono-android] NameResolutionFailure exception

2011-06-06 Thread david.chhang
Anyone has a solution ? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/NameResolutionFailure-exception-tp4439588p4458772.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing list M

Re: [mono-android] NameResolutionFailure exception

2011-06-01 Thread david.chhang
Me, in fact, i do an internship in a company which use a web service. I must use the Framework already exist to make a Android application. So, I already make a console program in C# to access to the web services, and it works. So, now, I adapt my program to Android and I add the web references wi

Re: [mono-android] NameResolutionFailure exception

2011-06-01 Thread david.chhang
I try some test and I discover that the method in the web service use Invoke and cause the NameResolutionFailure. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/NameResolutionFailure-exception-tp4439588p689.html Sent from the Mono for Android mailing list archi

Re: [mono-android] NameResolutionFailure exception

2011-06-01 Thread david.chhang
I try to explain clearlier... I want to access to a web service, I have a library called "Tools" and I add my web reference called "WSTest". Now, I want to call a method in my web service. So, I do this : Tools.WSTest.Service s = new Tools.WSTest.Service(); s.version() //Return a string with the

Re: [mono-android] NameResolutionFailure exception

2011-05-31 Thread david.chhang
Me too, I want to use webservice, but it worked in visual studio, now, I adapt my code to work with Android, but maybe I have to configure something to access to internet. I put the manifest called "INTERNET", but it doesn't work. -- View this message in context: http://mono-for-android.1047100.n

[mono-android] NameResolutionFailure exception

2011-05-30 Thread david.chhang
Hi! I want to do a web request but I have an error message due to an exception catched. It says : "NameResolutionFailure". So, I think the program can't connect to internet to get the informartion. Is there something to change or another think ? -- View this message in context: http://mono-for-

Re: [mono-android] SPAM-LOW: Re: Know if a file already exists in the internal storage ?

2011-05-27 Thread david.chhang
Yes, thanks ! it works with "Environment.SpecialFolder.Personal" ! There are all files installed by the application. And I can have the path. It is perfect. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Know-if-a-file-already-exists-in-the-internal-storage-tp4428

Re: [mono-android] Know if a file already exists in the internal storage ?

2011-05-27 Thread david.chhang
Isn't it the path for an external storage ? Here, I want to know the path for the files in the internal storage. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Know-if-a-file-already-exists-in-the-internal-storage-tp4428476p4431703.html Sent from the Mono for Andro

Re: [mono-android] Know if a file already exists in the internal storage ?

2011-05-27 Thread david.chhang
Yes, I already try it...but i don't know the path of the file. I put the name of the file but it doesn't work. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Know-if-a-file-already-exists-in-the-internal-storage-tp4428476p4431270.html Sent from the Mono for Android

[mono-android] Know if a file already exists in the internal storage ?

2011-05-26 Thread david.chhang
Hi ! Is it possible to know if a file exists on the internal storage ? is there a method to do this ? Or, maybe, Can I have the path of the file and use the method File.Exists(string path) ? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Know-if-a-file-already

[mono-android] Problem to access assets files

2011-05-24 Thread david.chhang
Hi, I just want to access to a .txt file in the assets folder. this is my code : protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); var tv = new TextView(this);

Re: [mono-android] Problem with configuration manager

2011-05-24 Thread david.chhang
ok thanks ! I find another solution to access to my configuration file, I create my own configuration manager. thanks a lot -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Problem-with-configuration-manager-tp4418578p4421261.html Sent from the Mono for Android mail

Re: [mono-android] Problem with configuration manager

2011-05-23 Thread david.chhang
What is the android SharedPreferences system ? Me, I have a Framework which access to the configuration file because, in this file (which I created), there is an url of a webservice. So, i have to find a way to access to the information in the configuration file. I don't know if you understand lik

[mono-android] Problem with configuration manager

2011-05-23 Thread david.chhang
Hi, I want to develop an Android application with Monodevelop, and i want to access to a app.config file. So, I put the System.configuration.dll in the references and add using System.Configuration. When I compile the program, it works, but when the application launch, it doesn't work... this is