[mono-android] Unable to deploy to Toshiba Thrive Tablet (Honeycomb 3.1)

2012-01-23 Thread efontana
I just got a new Toshiba Thrive 32gb via Woot. I installed the Toshiba USB Driver, every time I try to deploy I always get errors (with or without Fast Deployment) The error occurs during installation of Mono Runtime http://pastebin.com/v81F83iU 01-23 19:40:13.410 D/AndroidRuntime( 776): 0

Re: [mono-android] Unable to deploy to Toshiba Thrive Tablet (Honeycomb 3.1)

2012-01-23 Thread efontana
Figured it out, no SD card, had to change to "Prefer Internal" - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Unable-to-deploy-to-Toshiba-Thrive-Tablet-Honeycomb-3-1-tp5207586p5209864.html Sent from the Mon

Re: [mono-android] taking a pic

2012-01-25 Thread efontana
This works for me; (one for Gallery one for Camera) private void pickFromGallery() { Intent i = new Intent(Intent.ActionGetContent); i.SetType("image/*"); _activity.StartActivityForResult(i, PICK_FROM_FILE); } private void pickFromCamera() {

Re: [mono-android] taking a pic

2012-01-25 Thread efontana
void cropPicture(Intent data) { Intent intent = new Intent("com.android.camera.action.CROP"); intent.SetType("image/*"); List list = PackageManager.QueryIntentActivities(intent, 0).ToList(); List cropOptions = new List(); if (list.Count == 0) { Toa

[mono-android] where is android.media.audiofx.Visualizer class in MFA ?

2013-09-03 Thread efontana
Can someone tell me where I can find this class in MFA ? http://developer.android.com/reference/android/media/audiofx/Visualizer.html - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/where-is-android-media

Re: [mono-android] where is android.media.audiofx.Visualizer class in MFA ?

2013-09-03 Thread efontana
Even more confusion, this seems to indicate that it is there, http://docs.go-mono.com/?link=T%3aAndroid.Media.Audiofx.Visualizer but there is no symbol entry in the Object Browser. - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-andr

[mono-android] Eval unusable, how about real devices?

2011-09-01 Thread efontana
I'm a registered MonoTouch owner, I want to port my app to Android, I tried the Eval for MonoDroid. It's totally unusable, even on my new i7 with 8 gigs of ram, the emulator is abysmal. So, my question is, if you use a *Real* device, what's the time like for a code change, deploy execute and hi

Re: [mono-android] Eval unusable, how about real devices?

2011-09-07 Thread efontana
I bought an LG Thrive GoPhone ($150 on Amazon) for doing my development, it works great, performance is acceptable. BTW: Pretty cheap and you don't need to buy a GoPhone card or anything additional, I just enabled the USB Debugging and was up and running. -- View this message in context: http://

[mono-android] Can we use Android-x86 emulator?

2011-09-07 Thread efontana
This thing rocks, can we use it with Mono for Android? http://androiddevnotes.com/2011/03/08/129952152.html How do you get Visual Studio to see it as a device? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Can-we-use-Android-x86-emulator-tp4778369p4778369.ht

Re: [mono-android] Can we use Android-x86 emulator?

2011-09-07 Thread efontana
Well, that's too bad, that thing boots instantaneously compared to the painful emulator, I do have a real device, but I like to work remotely and the Emulator allows for that, except the real one is unusable, compared to the iPhone simulator. -- View this message in context: http://mono-for-andro

Re: [mono-android] Slow/poor performance

2011-09-13 Thread efontana
I'm also getting this error about the jarsigner: Microsoft (R) Build Engine Version 4.0.30319.1 [Microsoft .NET Framework, Version 4.0.30319.235] Copyright (C) Microsoft Corporation 2007. All rights reserved. Build started 9/13/2011 1:55:51 PM. Project "C:\Users\eric\Downloads\splash\SplashApp.c

Re: [mono-android] Slow/poor performance

2011-09-13 Thread efontana
4:14 you need to remove all these things from the csproj: 14:14 ..\debug.keystore 14:14 ..\debug.keystore 14:14 android 14:14 androiddebugkey 14:14 android 14:15 That was it! Thanks. 14:16 np Thanks to jpobst that fixed the problem. -- View this message in context: ht

Re: [mono-android] OnActivityResult not being called

2011-09-14 Thread efontana
Wow! I ran into this myself not 20 minutes ago, to make it work, you have to do this, I had left off the SingleTop and the OnActivityResult was being called immediately. // I found this fix from: http://lblasa.wordpress.com/2011/06/16/android-onactivityresult-after-startactivityforresult-getting-c

Re: [mono-android] OnActivityResult not being called

2011-09-14 Thread efontana
Also, I used this version: i.SetClass(this, typeof(Activity2)); This passes the parent of the Activity in, which you aren't doing, which is probably why it isnt working for you. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/OnActivityResult-not-being-called-tp4

Re: [mono-android] OnActivityResult not being called

2011-09-14 Thread efontana
I just copied and pasted your code, and it works for me, OnActivityResult is being called for for Activity 40. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/OnActivityResult-not-being-called-tp4802915p4803160.html Sent from the Mono for Android mailing list archi

Re: [mono-android] OnActivityResult not being called

2011-09-14 Thread efontana
The Real question is, how do you get the "picked" ringtone inside OnActivityResult I tried string extra = data.GetStringExtra(Android.Media.RingtoneManager.ExtraRingtonePickedUri); where data is the Intent passed into OnActivityResult, I get back null? How do you retrieve the selected t

Re: [mono-android] OnActivityResult not being called

2011-09-14 Thread efontana
// Interesting, this works: Android.Net.Uri uri = (Android.Net.Uri)data.Extras.Get(Android.Media.RingtoneManager.ExtraRingtonePickedUri); // This returns null string uriString = data.Extras.GetString(Android.Media.RingtoneManager.ExtraRingtonePickedUri); -- View this message in context: ht

Re: [mono-android] Need a custom list item example

2011-09-15 Thread efontana
http://redth.info/2010/10/12/monodroid-custom-listadapter-for-your-listview -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Need-a-custom-list-item-example-tp4807108p4807130.html Sent from the Mono for Android mailing list archive at Nabble.com.

Re: [mono-android] How to send a custom Data Class to next Activity?

2011-09-16 Thread efontana
This technique illustrates just how bad the Android API is. Why the hell can't you new up your own Intent, why do they have to do it for you? Otherwise, you'd pass your own data into the Constructor and you wouldn't need some stupid key-value pair hack to pass data back and forth. This API surel

Re: [mono-android] How to send a custom Data Class to next Activity?

2011-09-16 Thread efontana
Correction: Meant to say Activity not Intent -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-send-a-custom-Data-Class-to-next-Activity-tp4805844p4810639.html Sent from the Mono for Android mailing list archive at Nabble.com. __

[mono-android] How to programmatically set TableRow background?

2011-09-16 Thread efontana
I'm trying to build up some TableRows programmatically and I want it to be like this XML: Note I want to set the above two attributes? How do you create the IAttributeSet? // What am I missing? TableRow row = new TableRow(this, p); -- View this message in context: http://mono-for-androi

Re: [mono-android] How to programmatically set TableRow background?

2011-09-16 Thread efontana
Feel like an idiot: (answered my own question) row.SetBackgroundResource(Resource.Drawable.shape); -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-programmatically-set-TableRow-background-tp4811634p4811680.html Sent from the Mono for Android mailing

[mono-android] Help creating layout like the Contacts?

2011-09-16 Thread efontana
Can someone help generate the ListView layout like this (from the Contacts) Specifically, I'm looking how to do the grid lines? http://mono-for-android.1047100.n5.nabble.com/file/n4811992/device-2011-09-16-164918.png -- View this message in context: http://mono-for-android.1047100.n5.nabble.c

Re: [mono-android] Help creating layout like the Contacts?

2011-09-16 Thread efontana
This is roughly the layout, but I don't know how to do the grid lines? http://schemas.android.com/apk/res/android"; android:id="@+id/widget28" android:layout_width="fill_parent" android:layout_height="wrap_content" >

Re: [mono-android] ZXing port to mono for Android

2011-09-27 Thread efontana
https://github.com/JohnACarruthers/zxing.MonoDroid -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/ZXing-port-to-mono-for-Android-tp4840736p4845023.html Sent from the Mono for Android mailing list archive at Nabble.com. __

Re: [mono-android] IWindowManager

2011-09-27 Thread efontana
I think you want: mWindowManager = context.GetSystemService(Context.WindowService) as IWindowManager; if (mWindowManager != null) do something... -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/IWindowManager-tp4845524p4845585.html Sent from the Mono for Andro

Re: [mono-android] ZXing port to mono for Android

2011-09-27 Thread efontana
If you do use this, watch out with large megapixel cameras, you'll want to use this, otherwise it could take minutes to decode the bitmap. I fixed it by doing the following: private byte[] convertArray(int[] array) { byte[] newarray = new byte[array.Length * 3]; for (int i = 0; i < array.Lengt

Re: [mono-android] ZXing port to mono for Android

2011-09-27 Thread efontana
Well, first you use the camera intent: Intent intent = new Intent(Android.Provider.MediaStore.ActionImageCapture); string xp = System.IO.Path.Combine(Android.OS.Environment.ExternalStorageDirectory.Name, "Android/data/*com.yourdoman.her*e/file/capturedBadge.jpg"); Java.IO.File xfile

Re: [mono-android] Missing Static Methods

2011-09-29 Thread efontana
Is there anything wrong is just doing it this way? int color = System.Drawing.ColorTranslator.FromHtml("#afe0f4").ToArgb(); seems sorta Hackish to do the JNI thing? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Missing-Static-Methods-tp4817432p4854447.html Sen

Re: [mono-android] getting my mac going

2011-10-04 Thread efontana
You'll need the USB drivers for Mac http://www.motorola.com/Support/US-EN/Support-Homepage/Software_and_Drivers/USB-and-PC-Charging- Drivers -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/getting-my-mac-going-tp4868613p4868637.html Sent from the Mono for Android

Re: [mono-android] getting my mac going

2011-10-04 Thread efontana
Sorry I assumed it showed me windows only links because I came in from a Windows box using IE. I sorta assumed it would have shown mac links. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/getting-my-mac-going-tp4868613p4868868.html Sent from the Mono for Android m

Re: [mono-android] Activity Result

2011-10-06 Thread efontana
You spelled it wrong, first of all, it's an override, protected override void OnActivityResult(int requestCode, Android.App.Result resultCode, Intent data) Is the signature, yours is just a method, that nobody knows how to call. If you use visual studio it's easy. -- View this message in c

Re: [mono-android] Activity Result

2011-10-06 Thread efontana
The Case is wrong, it's *On*ActivityResult not *on*ActivityResult Your not overriding the method. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Activity-Result-tp4877124p4877350.html Sent from the Mono for Android mailing list archive at Nabble.com. _

Re: [mono-android] Using the device camera and getting a result - OnActivityResult is NEVER called?!?!

2011-10-14 Thread efontana
This code works for me, and OnActivityResult is called: void useCamera() { Intent intent = new Intent(Android.Provider.MediaStore.ActionImageCapture); string xp = System.IO.Path.Combine(Android.OS.Environment.ExternalStorageDirectory.Name, "Android/data/com.myprereg.leads/file/ca

Re: [mono-android] Using the device camera and getting a result - OnActivityResult is NEVER called?!?!

2011-10-14 Thread efontana
protected override void OnActivityResult(int requestCode, Android.App.Result resultCode, Intent data) { base.OnActivityResult(requestCode, resultCode, data); } -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Using-the-device-camera-and-getting-a-resu

Re: [mono-android] Using the device camera and getting a result - OnActivityResult is NEVER called?!?!

2011-10-14 Thread efontana
Also, this helped me before: Wow! I ran into this myself not 20 minutes ago, to make it work, you have to do this, I had left off the SingleTop and the OnActivityResult was being called immediately. // I found this fix from: http://lblasa.wordpress.com/2011/06/16/android-onactivityresult-after-

Re: [mono-android] Something Positive to Report - Barcode Scan

2011-10-20 Thread efontana
You can get the code from here: https://github.com/JohnACarruthers/zxing.MonoDroid I've been using it for awhile now. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Something-Positive-to-Report-Barcode-Scan-tp4919739p4921261.html Sent from the Mono for Android

Re: [mono-android] physical menu button

2011-10-20 Thread efontana
Look here: https://github.com/conceptdev/Monospace11/blob/master/Android/Activities/BaseActivity.cs -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/physical-menu-button-tp4922127p4922259.html Sent from the Mono for Android mailing list archive at Nabble.com. _

Re: [mono-android] Json Deserialization fails

2011-10-21 Thread efontana
Why not use NewtonSoft JSON library? https://github.com/martinbowling/Newtonsoft.Json - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Json-Deserialization-fails-tp4924572p4924650.html Sent from the Mono for

[mono-android] Problem with app on HoneyComb Emulator Crash - Splashscreen

2011-11-01 Thread efontana
I just built a 4.0 Honeycomb emulator and tried to start my app which works fine with the 2.1 emulator and now I get this: (The splash screen shows, then dies) 1-01 18:41:05.912 W/NetworkManagementSocketTagger( 76): setKernelCountSet(10004, 0) failed with errno -2 11-01 18:41:08.903 I/MonoDroi

Re: [mono-android] Problem with app on HoneyComb Emulator Crash - Splashscreen

2011-11-01 Thread efontana
My splash screen follows the technique from here: http://docs.xamarin.com/android/tutorials/Creating_a_Splash_Screen - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Problem-with-app-on-HoneyComb-Emulator-Cras

Re: [mono-android] Problem with app on HoneyComb Emulator Crash - Splashscreen

2011-11-01 Thread efontana
Oops, I knew it was 4.0 but didn't make the transition to the Ice Cream. Thanks. - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Problem-with-app-on-HoneyComb-Emulator-Crash-Splashscreen-tp4955993p4956004.h

[mono-android] UrbanAirship bindings?

2011-12-27 Thread efontana
I've been using UrbanAirship for my iPhone development with MonoTouch, I'd like to use it with my Android app now. Question is, is there some magic way to import the .jar file and use it from c#? http://urbanairship.com/docs/android-client-push.html Any pointers? Thanks. - iPhone and Andro

Re: [mono-android] UrbanAirship bindings?

2011-12-27 Thread efontana
I saw that, my problem is I don't know how to access the class(es) inside? - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/UrbanAirship-bindings-tp5103064p5103308.html Sent from the Mono for Android mailing l

[mono-android] VS2010 editing .axml files

2011-12-27 Thread efontana
I swore that when I previously edited .axml files within VS2010 i was getting the intellisense completion when editing tags like etc. does this work for other folks? - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabb

Re: [mono-android] VS2010 editing .axml files

2011-12-28 Thread efontana
The odd thing was is simply started working again, after a long delay. very strange. - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/VS2010-editing-axml-files-tp5103576p5105251.html Sent from the Mono for And

[mono-android] Unable to build Mono for Android Samples?

2011-12-28 Thread efontana
I tried to build the API demo, getting these errors: -- Build started: Project: ApiDemo, Configuration: Debug Any CPU -- C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\Graphics\Compass.cs(51,20): error CS0117: 'Android.Hardware.SensorManager' does not contain a definition f

Re: [mono-android] Unable to build Mono for Android Samples?

2011-12-28 Thread efontana
I'm fully up-to-date on all software. - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Unable-to-build-Mono-for-Android-Samples-tp5105395p5105397.html Sent from the Mono for Android mailing list archive at Nab

Re: [mono-android] Unable to build Mono for Android Samples?

2011-12-28 Thread efontana
That was it! I guess I picked the wrong link! - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Unable-to-build-Mono-for-Android-Samples-tp5105395p5105414.html Sent from the Mono for Android mailing list archiv

[mono-android] An examples using the SearchDialog?

2011-12-28 Thread efontana
Anyone converted and used this: http://developer.android.com/guide/topics/search/search-dialog.html - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/An-examples-using-the-SearchDialog-tp5105626p5105626.ht

Re: [mono-android] An examples using the SearchDialog?

2011-12-28 Thread efontana
Any chance you can zip up the project and post it? - iPhone and Android Developer www.ericfontana.com -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/An-examples-using-the-SearchDialog-tp5105626p5105768.html Sent from the Mono for Android mailing list archive