[mono-android] Xcode broke my m4a

2013-01-24 Thread Steven Pack
Hi all, I bought m4a last year, but it's been over a year. I recently installed Xcode and now MonoDevelop says: Mono for Android is not installed The Mono for Android SDK is required to develop applications for Android. Either a recent upgrade of Xcode has removed the SDK or it has never been

[mono-android] Facebook ignores intent extras

2012-11-19 Thread Steven Pack
Hi All, I thought sharing to FB, Twitter, email etc. would be as simple as creating an intent. However, I've found Facebook just completely ignores intent extras. The following code will popup the chooser, and choosing sms/email/twitter all works as expected, with the subject and body in the ap

[mono-android] Exception in PreferenceManager.GetDefaultSharedPreferences

2012-10-25 Thread Steven Pack
Hi All, I'm getting the exception below from some of my testers phones. It's a call to a static Android method, and I don't actually see an exception message, just a call stack (the logger calls ToString() on the exception). My only idea is that I'm using Application.Context  in the call and

Re: [mono-android] Detecting and responding to image clicks in a list view item.

2012-08-07 Thread Steven Pack
not and the UI hasn't updated That's supposed to work right? As long as the adapter and Headwords are pointing to the same reference? What's the most efficient way to sync the list and the adapter? ________ From: Jonathan Pryor To: Steven Pack

[mono-android] Detecting and responding to image clicks in a list view item.

2012-08-06 Thread Steven Pack
Hi all, long time no post. I have a listview. and the items are defined as a textview with a cross image over on the right. Like this: http://schemas.android.com/apk/res/android";     android:orientation="horizontal"     android:layout_width="fill_parent"     android:layout_height="wrap_conte

Re: [mono-android] Securing external assets

2012-03-06 Thread Steven Pack
That looks interesting. Have you used it with monodroid? I'm currently using Mono.Data.Sqlite - do they play together? From: Alex Soto To: Steven Pack ; Discussions related to Mono for Android Sent: Wednesday, 7 March 2012 9:54 AM Subject: Re:

[mono-android] Securing external assets

2012-03-06 Thread Steven Pack
Hi All, My app is an offline dictionary. The dictionary is sqllite and shipped as an asset. On first use, the asset is extracted to the SD card if present, to internal storage if not. Depending on the version, the .apks range from 7mb to 21mb, with the extracted dictionaries being 10mb to 70mb

[mono-android] Cannot sign app - certificate chain not found

2012-02-27 Thread Steven Pack
Hi all, I am following the "Preparing Package for Android Marketplace" page but am getting nowhere with the certificate signing. This is on OSX Lion. First, I generated my key: keytool -genkey -v -keystore xxxdict-keystore2.keystore -alias -mackey2 -keyalg RSA -keysize 2048 -validity 1 En

[mono-android] First release to Android Market

2012-02-26 Thread Steven Pack
Hi All, Thanks to all your help, I'm almost ready to upload to the Android Market. I'm keen for anyone's experience on things to look out for. What sort of unexpected errors came back from the wild with your first app? What would you do differently for release 1? Also, I haven't generated the

Re: [mono-android] Build script on mac

2012-02-18 Thread Steven Pack
wrong ones. Steve From: Jonathan Pobst To: Steven Pack ; Discussions related to Mono for Android Cc: Jonathan Pryor Sent: Sunday, 19 February 2012 6:21 PM Subject: Re: [mono-android] Build script on mac This is the Monodroid list, so it was assumed you were trying to build a Mo

Re: [mono-android] Build script on mac

2012-02-18 Thread Steven Pack
Users/me/Dev/mono/projects/TheDictionary/TheDictionary.sln".-- FAILED ________ From: Jonathan Pryor To: Steven Pack ; Discussions related to Mono for Android Sent: Sunday, 19 February 2012 2:38 AM Subject: Re: [mono-android] Build script on mac On Feb 18, 2012, at 7:09 AM

[mono-android] Build script on mac

2012-02-18 Thread Steven Pack
Hi All, I just started a build script for my app. I really just want to modify my .csproj files as required and compile exactly the way MonoDevelop does. I've seen references to mdtool and xbuild, basically saying "use mdtool until xbuild is good, which it will be soon". mdtool wasn't in my pat

Re: [mono-android] GridView not releasing view objects

2012-01-30 Thread Steven Pack
I actually like the sound of that 'heuristic'. I can very easily bring down my app in the emulator by exceeding the GREF limit with normal usage. One function allocates about 500 at a time (updating a list view using a sub-classed ArrayAdapter) and after a few clicks it goes down. On the devic

Re: [mono-android] Mono_UnhandledException in emulator

2012-01-03 Thread Steven Pack
uggestions); lvSuggestions.Adapter = adapter; } On 3/01/12 2:27 PM, "Jonathan Pryor" wrote: >On Dec 30, 2011, at 10:46 PM, Steven Pack wrote: >> I regularly get an unhandled exception in the emulator when I >>instantiate a custom ArrayAdaptor. The

[mono-android] Mono_UnhandledException in emulator

2011-12-30 Thread Steven Pack
Hi Xamaranians, I regularly get an unhandled exception in the emulator when I instantiate a custom ArrayAdaptor. The top level of the call stack shows: "Mono_UnhandledException": System.Diagnostics.Debugger.Mono_UnhandledException (Parameters=) in /home/jon/Development/xamarin/mono/mcs/class/

[mono-android] ExecutionEngineException: SIGILL

2011-12-27 Thread Steven Pack
Hi All, I'm still trying to remove the runtime abort stacktrace from my app. I definitely had threading bugs, which would cause a crash (not that they should have crashed the whole runtime). However, in the latest version, I think I've removed them finally, but I got a crash today with an Executio

Re: [mono-android] Thread Exceptions Without Stacktrace

2011-12-18 Thread Steven Pack
OK, I have two clues: 1. My last crash included a few snippets of stack trace with GetUninitializedOBject in it. See below: 2011-12-18 21:56:27.458 I 23015/mono: Stacktrace: 2011-12-18 21:56:27.458 I 23015/mono: at System.Runtime.Serialization.FormatterServices.GetUninitializedObject (System.

[mono-android] Stacktrace-less crash in 4.0.1 (I think)

2011-12-15 Thread Steven Pack
Hi All, I got the dreaded stack-traceless NullReferenceException again on Monodroid 4.0.1Š At least I think I that's what I'm onŠ MonoDevelop About window says: Mono for Android: 4.0.1.234125318 Build information: Release ID: 20805000 Git revision: c4deb930539ae87247b0bc43919dfcb98df215

Re: [mono-android] Mono for Android 4.0.1 Available

2011-12-13 Thread Steven Pack
Good news! Does that GC stability include a fix for the empty stack traces when mono crashes? On 14/12/11 6:56 AM, "Jonathan Pryor" wrote: >Good News Everyone! > >We are happy to announce a new version of Mono for Android is available! > >Some changes included in 4.0.1: > > - GC stability and

[mono-android] Resuming Image

2011-12-13 Thread Steven Pack
>Hi All, > >I have a splash screen which shows up nicely on first run. However, if my >app has been killed, when it resumes, it doesn¹t show the splash. Rather, >it shows a slightly mangled version of one on of the activities. > >The activity in question has a custom title (see below), but when it

[mono-android] Local html in assets folder

2011-12-13 Thread Steven Pack
>Hi, > >The Android docs and samples have the following for loading local html: > >var webView = new WebView (this); >this.SetContentView (webView); > >webView.LoadUrl ("file://android_asset/index.html"); > >Not suprisingly, I get the error that the file does not exist. I al

Re: [mono-android] 4.0 Upgrade Issues MonoDevelop 2.8.4.1 / MacOS X Snow Leopard

2011-12-07 Thread Steven Pack
gt;Content-Type: text/plain; charset=us-ascii > >On Dec 6, 2011, at 6:52 AM, Steven Pack wrote: >>1. Deploy to emulator or device (Release Mode) >>Waiting for packaging processing to complete >>Getting package list from device >>Installing package >>1613 KB/s (10733

[mono-android] 4.0 Upgrade Issues MonoDevelop 2.8.4.1 / MacOS X Snow Leopard

2011-12-06 Thread Steven Pack
Hi All, Just tried the 4.0 upgrade... No dice. 1. Deploy to emulator or device (Release Mode) Waiting for packaging processing to complete Getting package list from device Installing package 1613 KB/s (10733084 bytes in 6.496s) pkg: /data/local/tmp/com.xxxdictionary.android-Signed.apk

Re: [mono-android] Startup Performance

2011-11-25 Thread Steven Pack
onodroid >runtime is initialized. > >http://docs.xamarin.com/android/tutorials/Creating_a_Splash_Screen > >Jonathan > > >On 11/25/2011 7:08 PM, Steven Pack wrote: >> Thanks Chris. My issue with startup performance is from when I tap the >> application to when I get my first chance

Re: [mono-android] Startup Performance

2011-11-25 Thread Steven Pack
Thanks Chris. My issue with startup performance is from when I tap the application to when I get my first chance to run code. Once I get my first OnCreate() call on my SplashActivity, I do utilize background threads and and IoC container, but it's loading the runtime that's the problem. I know the

[mono-android] Startup Performance

2011-11-24 Thread Steven Pack
It's a problem. Splash screen helps, but it really gives a bad impression for a user (and client!). Any tips for how to minimise startup time? ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailm

[mono-android] IntentFilter to match Intents from hrefs of the form blah

2011-11-20 Thread Steven Pack
Hi All, I have an activity defined thus: [Activity (Label = "My App")] [IntentFilter (new[]{Intent.ActionView}, DataScheme="", DataHost="", DataPath="/")] public class MyActivity : Activity {} It contains a text view, which I populate with HTML thus: Android.Text.ISpanned spannedContent

Re: [mono-android] Sharing code between iOS, Android and Windows Phone

2011-11-07 Thread Steven Pack
Pack Subject: Re: [mono-android] Sharing code between iOS, Android and Windows Phone Hi On 2011.11.07 08:16, Steven Pack wrote: > > > > Hi All, > > > > > > > I'm using Xamarin, specifically because I'd like to share as much cod

[mono-android] Sharing code between iOS, Android and Windows Phone

2011-11-06 Thread Steven Pack
Hi All, I'm using Xamarin, specifically because I'd like to share as much code as possible between the platforms. I've noticed I can only reference library projects that target "Mono for Android x.x". I'd hoped to be able to simply create a Mono class library and only use the classes supported by