Re: [mono-android] howto install / move apk on sdcard

2012-06-20 Thread michelw
ah ! mhh problem.. we want to deploy our apk on play store this week, next week maximum.. have you a date (beta or not) for 4.2.4? Regards Le 20/06/2012 22:43, Jonathan Pryor a écrit : On Jun 18, 2012, at 8:26 AM, michelw wrote: i put android:installLocation="preferExternal&q

[mono-android] need help with admob (putextra, interstitial..)

2012-06-19 Thread michelw
Hello i see the example https://github.com/jamesmontemagno/MonoDroid-Admob6/tree/master/AdMob6Sample I can have banner pub, cool :) But i don't see howto to PutExtra to have a better ads.. and i don't want banner, just an interstitial pub ! Someone have a better example than github to have

Re: [mono-android] howto install / move apk on sdcard

2012-06-19 Thread michelw
oh ok :( thanks a lot Le 18/06/2012 14:42, Mike Child a écrit : I believe it is because of this.android:minSdkVersion="7" Install to SD wasn't added until API 8(I think). I know it didn't exist in 7. Mike Child On Mon, Jun 18, 2012 at 8:26 AM, michelw wrote: He

[mono-android] howto install / move apk on sdcard

2012-06-18 Thread michelw
Hello, my application doesn't have the option "move to sdcard" after installation.. i put android:installLocation="preferExternal" in my AndroidManifest.xml.. ( ) Monodroid version 4.2.3 i forget something? Regards ___ Monodroid mailing list Monodr

[mono-android] how to open android gallery application in wallpaper mode

2012-06-06 Thread michelw
Hello, When i've download a pic into the SDCARD, i want to tell android gallery application with this pic to set a new wallpaper, but i've no idea how to do this anyone have a track, or keywords, to open the application with the image, the user can make his wallpaper i search / try with a

Re: [mono-android] how to refresh sdcard when i create a folder, add a pic

2012-06-05 Thread michelw
Hi i don't try Getfiles, i do this : SendBroadcast(new Intent(Intent.ActionMediaScannerScanFile, Android.Net.Uri.Parse("file://"+ NameOfFile))); And it's work fine for me Thanks :) Le 31/05/2012 19:17, Jonathan Pryor a écrit : On May 31, 2012, at 11:21 AM, michelw

[mono-android] how to refresh sdcard when i create a folder, add a pic

2012-05-31 Thread michelw
Hello, I search all this day to add a picture into sdcard, and i don't undestand how to refresh folder for android system. When i create a folder, or i download a pic, the folder / file is on the sdcard. The problem, i must reboot my device to see the new folder / file. I see i can : - Forc

Re: [mono-android] Bug with facebook application?

2012-05-31 Thread michelw
does. There are too few lines of code to understand it. The issues are not only likely in C# but might also be in the manifest or you miss required attributes. There are many possibilities. Atsushi Eno michelw wrote: Hello, in final i want, if it's possible, to share when it's po

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread michelw
29/05/2012 15:25, Matthew Leibowitz a écrit : This seems like a question for the Xamarin team. Although both ways should work on both the device and the emulator as they use the same framework... On Tue, May 29, 2012 at 3:23 PM, michelw <mailto:michel.wa...@gmail.com>> wrote: i

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread michelw
/data/XXX and the emulator has something like /data/XXX Also see if the *Environment.ExternalStorageDirectory *differs on the device and on the emulator. On Tue, May 29, 2012 at 2:57 PM, michelw <mailto:michel.wa...@gmail.com>> wrote: yes the pic exist! if (Fil

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread michelw
athOfCache + nameofpic) i've the pic on avd and hard device :). So, for me, there is a bug :( Le 29/05/2012 14:37, Matthew Leibowitz a écrit : Hmm... Does the image exist on the emulator? how did you get it on the emulator? On Tue, May 29, 2012 at 1:47 PM, michelw <mailto:michel.wa...

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread michelw
ens: var pathToImg = System.IO.Path.Combine(Config.PathOfCache, nameofpic); imageView.SetImageURI("file://" + pathToImg); Also see what the value of 'pathToImg' is... Matthew On Tue, May 29, 2012 at 11:58 AM, michelw mailto:michel.wa...@gmail.com>> wrote:

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread michelw
any slashes. You have four. I may be wrong, but two means relative path, three means use absolute path and four means use absolute path to the zero length directory name. eg: /[no_name]/file.jpg Try using Path.Combine and see its that helps. Matthew On May 29, 2012 11:45 AM, "michelw"

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread michelw
he zero length directory name. eg: /[no_name]/file.jpg Try using >Path.Combine and see its that helps. Matthew On May 29, 2012 11:45 AM, "michelw" <mailto:michel.wa...@gmail.com>> wrote: Hello, I've a problem with file:// i've pics on /da

[mono-android] strange problem with file:// only on avd

2012-05-29 Thread michelw
Hello, I've a problem with file:// i've pics on /data/data/appname.appname/app_cache/_pic.jpg var pathofpic = "/data/data/appname.appname/app_cache/_pic.jpg" i use imageView.SetImageURI(Android.Net.Uri.WithAppendedPath(Android.Net.Uri.Parse("file://"), Config.PathOfCache + na

[mono-android] Bug with facebook application?

2012-05-25 Thread michelw
Hello, in final i want, if it's possible, to share when it's possible, a text + a pic, or if it's not possible, a texte + a link of pic (facebook -> text + pic, twitter text + link) In my first test (monodroid 4.0.6), i just do this : Intent share = new Intent(Intent.ActionSend); share.SetTy

Re: [mono-android] Same Problem with 4.2.2 and 4.2.1

2012-05-25 Thread michelw
 : I get this error sometimes. A clean and rebuild and a vs restart solves it. Also, shut down adb before the vs restart. On May 25, 2012 10:04 AM, "michelw" <michel.wa...@gmail.com> wrote: Hello I've

Re: [mono-android] Same Problem with 4.2.2 and 4.2.1

2012-05-25 Thread michelw
, Matthew Leibowitz a écrit : I get this error sometimes. A clean and rebuild and a vs restart solves it. Also, shut down adb before the vs restart. On May 25, 2012 10:04 AM, "michelw" <michel.wa...@gmail.com> wrote:

[mono-android] Same Problem with 4.2.2 and 4.2.1

2012-05-25 Thread michelw
Hello I've the same problem with monodroid 4.2.1 and 4.2.2 (i must use only 4.0.6 :() When i try to deploy to my hard device a simple Hello World, the default application when i create a new monodroid project, i've this error: I remov

Re: [mono-android] big problem with update 4.2.1 (crash of visual)

2012-05-15 Thread michelw
i remove mono on the device, but it's the same problem Le 15/05/2012 14:37, michelw a écrit : Hi I've a problem when i try to use a hard device to test my application since this update, visual crash at the beginning of deploying the application! I've no logs, nothing! (c

[mono-android] big problem with update 4.2.1 (crash of visual)

2012-05-15 Thread michelw
Hi I've a problem when i try to use a hard device to test my application since this update, visual crash at the beginning of deploying the application! I've no logs, nothing! (command line too, no log about this problem) On avd, it's ok.. i reboot my windows... Someone have this problem? a

Re: [mono-android] GridView / listview, pics from sdcard, problem MALLOC

2012-05-14 Thread michelw
Hi, I try this and for me it's works fine imageView.SetImageURI(Android.Net.Uri.WithAppendedPath(Android.Net.Uri.Parse("file://"), CachePath)); Regards Le 11/05/2012 21:48, Jonathan Pryor a écrit : On May 11, 2012, at 6:22 AM, michelw wrote: I've a problem (too mall

[mono-android] GridView / listview, pics from sdcard, problem MALLOC

2012-05-11 Thread michelw
Hi, I've a problem (too malloc) when i read pics from sdcard in my gridview. public override View GetView (int position, View convertView, ViewGroup parent) { ImageView imageView; if (convertView == null) { imageView = null;

Re: [mono-android] VM full error

2012-04-12 Thread michelw
198 W/InputManagerService( 53): Got RemoteException sending setActive(false) notification to pid 893 uid 10030 Le 12/04/2012 18:48, Jonathan Pryor a écrit : On Apr 12, 2012, at 12:24 PM, michelw wrote: 04-12 16:22:13.907 E/dalvikvm-heap( 800): 843000-byte external allocation too l

Re: [mono-android] VM full error

2012-04-12 Thread michelw
Hi, 04-12 16:22:13.907 E/dalvikvm-heap( 800): 843000-byte external allocation too large for this process. 04-12 16:22:13.907 E/( 800): VM won't let us allocate 843000 bytes My VM crash with pic >= ~ 850 Ko only. Le 12/04/2012 18:19, Jonathan Pryor a écrit : On Apr 11, 2012, at

[mono-android] How to detect right / left on a listview

2012-03-27 Thread michelw
Hello. I've two class for motion detection in my program. First: class GestureListener : Java.Lang.Object, GestureDetector.IOnGestureListener who can detect left, right, up, down... etc.. Second: public class GestureTouchListener : Java.Lang.Object, View.IOnTouchListener Who can detect only

Re: [mono-android] multithread on a listview

2012-03-27 Thread michelw
ic a écrit : It is not clear from your description but here is my guess: You know that you can touch UI elements only from within UI thread? Try with RunOnUiThread method. -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of mi

[mono-android] multithread on a listview

2012-03-27 Thread michelw
Hello. I've a listview with pics, and unique id for each pic. I've a separate thread who change the pics. If this thread change one pic per pic, no problem. If this thread launch a separate thread to change the pic, and if i do a thread.sleep(100) before launch each separate thread, no probl