[mono-android] New Binding Generator

2012-04-09 Thread Jeff
Hi,

I'm having issues with the new binding generator.


BINDINGSGENERATOR : warning : failed to parse assembly C:\Program Files
(x86)\Reference
Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll:
System.TypeInitializationException: The type initializer for
'Mono.Cecil.Metadata.TableHeap' threw an exception. --->
System.ArgumentException: Value does not fall within the expected range.
BINDINGSGENERATOR : warning : failed to parse assembly C:\Program Files
(x86)\Reference
Assemblies\Microsoft\Framework\MonoAndroid\v2.2\Mono.Android.dll:
System.TypeInitializationException: The type initializer for
'Mono.Cecil.Metadata.TableHeap' threw an exception. --->
System.ArgumentException: Value does not fall within the expected range.
BINDINGSGENERATOR : warning : failed to parse assembly C:\Program Files
(x86)\Reference
Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll:
System.TypeInitializationException: The type initializer for
'Mono.Cecil.Metadata.TableHeap' threw an exception. --->
System.ArgumentException: Value does not fall within the expected range.
BINDINGSGENERATOR : warning : failed to parse assembly C:\Program Files
(x86)\Reference
Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Core.dll:
System.TypeInitializationException: The type initializer for
'Mono.Cecil.Metadata.TableHeap' threw an exception. --->
System.ArgumentException: Value does not fall within the expected range.
BINDINGSGENERATOR : warning : failed to parse assembly C:\Program Files
(x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.dll:
System.TypeInitializationException: The type initializer for
'Mono.Cecil.Metadata.TableHeap' threw an exception. --->
System.ArgumentException: Value does not fall within the expected range.
  BindingLibrary1 -> C:\Users\jboulang\documents\visual studio
2010\Projects\AndroidApplication1\BindingLibrary1\bin\Debug\BindingLibrary1.dll

Not really sure where to start looking.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/New-Binding-Generator-tp5623432p5623432.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] New Binding Generator

2012-04-09 Thread Jeff
I'm having that same problem.  It builds, no errors, but I get the above
errors in the Build Output window.  Then the dll generated from the build
has nothing relevant in it.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/New-Binding-Generator-tp5623432p5627672.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Status of Mono for Android?

2011-07-18 Thread Jeff Stedfast
On Mon, Jul 18, 2011 at 9:41 AM, dozer  wrote:

> Hi again!
>
> Well, it's good to see that Xamarin gets the responsebility for Mono*
> environment!
>
> However, I just tried to download mono for android again from the download
> page (http://android.xamarin.com/DownloadTrial) and it's actually just the
> same installation as I got from the mono-android.net site a week ago...
> This
> does still have the limitation I talked about in my initial post, so I'll
> just have to wait until a version that covers some of the basic Android
> functionality before I use it.
>
>
This is correct - the version available from the website right now is still
the same version that has been available from Novell for the past 2 months
or so. We'll be making new releases of Mono for Android (and MonoTouch) with
bug fixes soon.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Status of Mono for Android?

2011-07-18 Thread Jeff Stedfast
On Mon, Jul 18, 2011 at 9:45 AM, Steve Sharrock  wrote:

> +1. Does Xamarin have a new email list to replace this one? In other words,
> to which list will Jonathan Pryor respond?
>

This is still the official list and Jonathan Pryor should be on this list
(if he's not on it already, I suspect he will be shortly).

Jeff
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] what does it look like

2011-07-18 Thread Jeff Stedfast
Applications built using Mono for Android look exactly the same as other
apps written for Android. They do not use Windows.Forms, they use the native
GUI toolkit found on Android.

Hope that helps,

Jeff

On Mon, Jul 18, 2011 at 10:19 AM, Sayed Arian Kooshesh
wrote:

> can someone post some pics of sample apps. do they all come with the
> std microsoft looking forms ?
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Runtime reliability?

2011-07-26 Thread Jeff Stedfast
This was something we discussed fixing last week. I think Kumpera committed
a few fixes related to this (to at least spew an exception to the console or
something) instead of just abort()ing. My memory is a bit vague, but I think
the situation will be improving in the next MonoTouch and Mono-for-Android
releases.

>From what I remember, Miguel was saying this was a common problem and we
definitely aim to fix as many of these cases as we can.

Jeff

On Tue, Jul 26, 2011 at 9:06 AM, Jonathan Pryor  wrote:

> On Jul 26, 2011, at 8:30 AM, Wally McClure wrote:
> > To add to this, I have also seen issues where something happens in the
> try part of the try-catch and nothing is caught.
>
> The explanation for this is straightforward: the mono runtime aborted. No
> exception is thrown for most of mono's abort conditions.
>
> Eventually, running within the debugger should allow you to get the stack
> trace for when mono aborts, but that doesn't help if you're not debugging.
> However, it's entirely plausible that mono will log the stack trace/etc. to
> `adb logcat`; it would be interesting if someone could verify this.
>
> As always, if you do get a repro for this, please file a bug.
>
>  - Jon
>
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Emulator is not recognized on MonoDevelop Mac

2011-07-29 Thread Jeff Stedfast
There will be a Mono 2.10.3 release pushed to the Alpha channel hopefully
today for people to test. If all works well, we'll push it to the Stable
channel.

Jeff
On Jul 29, 2011 8:55 AM, "malexandroni"  wrote:
> I can confirm the problem is the Mono Framework 2.10.2. I have updated to
the
> latest MonoDroid plugin under MonoDevelop, Add-in Manager and it still
> didn't work.
>
> Then I downloaded Mono 2.10.1.3 from
> http://ftp.novell.com/pub/mono/archive/2.10.1/download and when I
installed
> it, all went fine again.
>
> Marcio Alexandroni.
>
> --
> View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Emulator-is-not-recognized-on-MonoDevelop-Mac-tp4644131p4646889.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Emulator is not recognized on MonoDevelop Mac

2011-07-29 Thread Jeff Stedfast
Hi g4b0,

To get the latest Mono-for-Android Add-in for MonoDevelop, launch
MonoDevelop and in the "MonoDevelop" menu (assuming you are on Mac?), select
"Add-in manager...". In the Add-in manager dialog window, click the
"Updates" tab and it should be available. If it isn't, switch to the
"Gallery" tab and select the "Repository" drop-down menu and select "Manage
repositories". In the dialog that pops up, make sure you have the "Beta"
channel checked. Once you do that, close the "Manage repositories" dialog
and in the "Add-in Manager" dialog hit the refresh button to the right of
the "Repository" drop-down menu. This will refresh the add-in list below.
Once that is done, you should be able to find the latest Mono for Android
Add-in under "Mobile Development". If you select that, there will be an
"Install" button at the bottom-right side of the dialog.

My guess, though, is that you're problems may be the async socket connect
bug which will require a Mono.framework update to 2.10.3 (which should
hopefully be out today).

Hope that helps,

Jeff

On Fri, Jul 29, 2011 at 3:05 AM, g4b0  wrote:

> How can we get the "latest and greatest MonoDevelop Add-in"?
>
> Now I'm runnung:
>
> MonoFramework-MRE-2.10.2_5.4.macos10.novell.x86
> MonoDevelop-2.6.b3 (lots of error, but still running)
> monoandroid-eval-1.0.1.10321
>
> I'm having the same problem with the IDE not viewing the emulator. My
> workaround is:
>
> 1) Build the app
> 2) Run the app in debug mode (running emulator not found) -> Cancel
> 3) Go into terminal
> 4) cd /Users/g4b0/Projects/HelloMonodroid/Hellomonodroid/binDebug
> 5) adb uninstall HelloMonodroid.Hellomonodroid
> 6) adb install HelloMonodroid.Hellomonodroid-Signed.apk
>
> It works, but I can't work in this manner...
>
> How can we solve? We are intrested in buying the license, but we have to
> first solve this problem.
>
> MonoTouch works fine.
>
> Thanks a lot
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Emulator-is-not-recognized-on-MonoDevelop-Mac-tp4644131p4646044.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Question

2011-08-02 Thread Jeff Stedfast
Hi Tim,

I'm no expert but...

On Tue, Aug 2, 2011 at 11:30 AM, Tim Kelly wrote:

> Jon,
>
> Thanks for the thoughts.  I can scrap automatic updates and post a Toast
> saying there's an update available and they need to go get it.
>
> Xamarin is now on my least favorite words to say like Linux which I
> never say or hear anyone say correctly.  So for me, it's MonoDroid and
> I'll leave the monkey pronunciation to management because that's more
> inline with their species anyway.
>
> We cache data back and forth, so we plan on doing what you suggest as
> soon as a connection is available.  So, it will be all the offline sales
> we'd loose or would loose if someone purged user data.
>
> How about this Business requirement?  Is there a way to lock a device?
> What really happens, according to management is, they fire a sales
> person and they wipe the phone/tablet.  I can 'hot glue' the reset hole
> to make it difficult physically but with that done, how would you lock
> the software?
>

Apple's iPhones and iPads can be remotely wiped from their MobileMe site
which the company's management can setup & own. This would be a lot simpler
than the solution proposed below.


>
> Here's my thoughts.  Have a background thread running that keeps
> starting and bring to the top a user interface that has an image with a
> place to enter a password?  If they click off, can't I just bring it
> back in front?



Jeff
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Program stops

2011-08-04 Thread Jeff Stedfast
Hi Tim,

Do you have a sample test case that illustrates this bug that you could
attach to http://bugzilla.xamarin.com? If this is a bug in Mono for Android,
and it sounds like it very well could be, we'd be very interested in fixing
this bug.

Jeff

On Thu, Aug 4, 2011 at 10:33 AM, Tim Kelly wrote:

>  Has anyone noticed that after a while a program just stops running in the
> emulator?   Not sure if this behavior happens on a real device.  This has me
> concerned and thinking maybe there's underlying issues.
>
> ** **
>
> Anyway, I have an application that creates a service.  This service creates
> a thread, sleeps and loops writing to the log and doing other proof of
> concept work.  After about an hour or so it just stops working.  The log
> file is never written to again nor are any of the proof of concepts
> working.  If you click on the menu/settings on the Droid emulator and look a
> Applications running, the program and service is still running.  You can
> click on the application and the interface comes up, just the service is
> dead.
>
> ** **
>
> Now just for the heck of it, I programmed the same service in Eclipse with
> Java with the exact same functions.  When this program runs, it runs
> forever, just like you'd expect.
>
> ** **
>
> So why both applications you might ask?  I'm bench testing MonoDroid and
> Java based on business requirements for management.  I'd like to use C# so
> we have a cross platform solution but I have to ensure MonoDroid works.***
> *
>
> ** **
>
> ** **
>
> So, I'm concerned that if we deploy an application that it will stop
> running requiring reboots.  If it's an emulator problem that's explainable,
> but if not then using MonoDroid will be out of the question???  And this
> behavior in Java on the emulator is not seen.
>
> ** **
>
> ** **
>
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Mono for Android for Students?

2011-08-05 Thread Jeff Stedfast
Hi Neal,

I've updated the website to say supp...@xamarin.com instead of
mono-andr...@novell.com, thanks for the catch!

As far as Student licenses, I don't know the details but I know we want to
offer that. Your best bet would be to email supp...@xamarin.com to ask about
it. Hopefully Joseph can help you out.

Jeff

2011/8/4 Neal Gompa 

> Hello,
>
> I was wondering if Xamarin will still offer Student licenses[1]? The page
> still says we should email Novell. Since Novell no longer handles it,
> shouldn't that page be updated?
>
> [1]: http://android.xamarin.com/Store/Student
>
> --
> Neal Gompa (Conan Kudo [ニール・ゴンパ])
> Quality Assurance, Platform Integration
> Enano CMS Project
> http://enanocms.org
>
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] installed mono4android cant find addin in monodev

2011-08-09 Thread Jeff Stedfast
Hi Carlos,

I'm not in front of a Windows machine so this may be totally wrong, but I
*think* Mono for Android by default gets installed to something like:

C:\Program Files (x86)\MSBuild\

Or maybe it's w/o the X86, I don't remember. It's been a while since I've
used Mono for Android on Windows :-(

Hope that helps,

Jeff

On Tue, Aug 9, 2011 at 2:27 PM, carlos ramos  wrote:

> now that i mention that.. i have no idea where mono4droid is on my drive
>
> On Tue, Aug 9, 2011 at 12:49 PM, carlos ramos 
> wrote:
> > i only see monodev maintenance and xml schemas in
> > tools>preferences..mono4android was installed in programs(86)
> >
> > On Tue, Aug 9, 2011 at 11:48 AM, Andreia Gaita 
> wrote:
> >> Hi,
> >> Go to the MonoDevelop preferences and check if the Mono for Android SDK
> >> paths are correctly set. If MD can't find the Mono for Android eval, the
> >> addin won't show up.
> >> andreia
> >>
> >> On Tue, Aug 9, 2011 at 5:28 AM, ccr  wrote:
> >>>
> >>> im shore i followed the windows installation correct
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://mono-for-android.1047100.n5.nabble.com/installed-mono4android-cant-find-addin-in-monodev-tp4680706p4680706.html
> >>> Sent from the Mono for Android mailing list archive at Nabble.com.
> >>> ___
> >>> Monodroid mailing list
> >>> Monodroid@lists.ximian.com
> >>>
> >>> UNSUBSCRIBE INFORMATION:
> >>> http://lists.ximian.com/mailman/listinfo/monodroid
> >>
> >>
> >> ___
> >> Monodroid mailing list
> >> Monodroid@lists.ximian.com
> >>
> >> UNSUBSCRIBE INFORMATION:
> >> http://lists.ximian.com/mailman/listinfo/monodroid
> >>
> >>
> >
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Remove email

2011-08-12 Thread Jeff Stedfast
Hi Indelex,

The easiest way for you to unsubscribe is to go to
http://lists.ximian.com/mailman/listinfo/monodroid and enter in your email
address and the password you selected. If you don't know your password, you
can request it send a reminder.

I hope that helps,

Jeff

On Fri, Aug 12, 2011 at 10:48 AM, INDELEX  wrote:

> Please remove my email address from your list!
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>


-- 
Rate my reply: http://www.nicereply.com/xamarin/jstedfast
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Image Button on Custom List

2012-01-15 Thread Jeff Lindborg
I had to solve a similar issue as well as provide a typical
“descripition with detail” type list presentation with pictures on the
left/right or a button to the right – so I sat down and made a few
layouts and a couple generic classes that I use in several projects
I’m working on for various list presentation needs.  Short version is
you can create lists using a generic “cell data” class you fill in
with the title/description/image/events for click, long click, button
click etc… which makes it reasonably easy to create several different
list styles (which I have to do often).

Anyway, I don’t have a GitHub account so I just zipped up a simplified
example of how I went about it and popped it on my web site here:
http://www.ciscounitytools.com/CodeSamples/MonoForAndroid/ListSample/ListSamples.htm

might be what you’re looking for…
-Jeff


On Fri, Jan 13, 2012 at 6:36 AM, Fencer04 [via Mono for Android]
 wrote:
> For some reason my post wasn't sent to the mailing list so I'm going to send
> it again. Sorry if some of you have already seen it. I don't know why it
> wasn't sent out the first time.
>
> 
>
> I want to create a custom list similar to the one created here:
> http://redth.info/2010/10/12/monodroid-custom-listadapter-for-your-listview
>
> I want to have an image button on the right side that would have it's own
> click event that is separate from the ListViews click event, is that
> possible?
>
> 
> If you reply to this email, your message will be added to the discussion
> below:
> http://mono-for-android.1047100.n5.nabble.com/Image-Button-on-Custom-List-tp5140507p5142704.html
> To start a new topic under Mono for Android, email
> ml-node+s1047100n4298622...@n5.nabble.com
> To unsubscribe from Mono for Android, click here.
> NAML


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Image-Button-on-Custom-List-tp5140507p5146920.html
Sent from the Mono for Android mailing list archive at Nabble.com.___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] any way to record audio in PCM/ulaw directly?

2012-01-15 Thread Jeff Lindborg
Working with a server that requires the WAV file format for audio greetings
to be in PCM 16 bit - horsing around with the MediaRecorder, MediaPlayer
this weekend I can get it to playback the PCM files just dandy and I can
record files and play them back on the Android device but I cannot get PCM
as the output format for recording - the output format options are limited
to just a couple so far as I can tell.  I've seen numerous examples on the
Android dev formums but most are just using 3gp and having problems with the
recording/playback of that (which is not my issue).

I see there's an AudioRecord class but I haven't had much luck using it and
the docs/examples are thin - it looks like it might provide a way to
manually read audio buffers in and save them off with some elbow grease but
I haven't had much luck figuring out the audio format constants it's looking
for in the construtor for PCM/mono and such.

Anyone know of a straight forward way to go about this?

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/any-way-to-record-audio-in-PCM-ulaw-directly-tp5147157p5147157.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid