Re: [mono-android] 4.0 RequestLocationUpdates crash

2011-12-21 Thread Stuart Johnson
ono (13081): --- End of managed exception stack trace --- E/mono (13081): java.lang.NullPointerException E/mono (13081): at android.app.PendingIntent.getActivity(PendingIntent.java:191) E/mono (13081): at MyApp.clsMyService.n_onCrea On 21/12/11 13:03, Stuart Johnson wrote: Since updating to V

[mono-android] 4.0 RequestLocationUpdates crash

2011-12-21 Thread Stuart Johnson
Since updating to V4.0, my app crashes when I call RequestLocationUpdates LocationManager _locationManager = (LocationManager)turboService.GetSystemService(Context.LocationService); _locationManager.RequestLocationUpdates(LocationManager.GpsProvider, 1000, 100, this); Any ideas? __

Re: [mono-android] HTML5 vs NativeDevelopment vs C#

2011-12-19 Thread Stuart Johnson
I'm working on a Monodroid app prototype thats a bit of a hybrid of C# and HTML5/Javascript. I'm using Monodroid to host a web control, in which my jQuery pages run. The outer Monodroid app does all the heavy lifting, and IO work, and the GUI is mostly jQuery. I'm hoping future releases of Mon

Re: [mono-android] ArrayAdapter & NotifyDataSetChanged not showing new items

2011-10-18 Thread Stuart Johnson
Android.Runtime.JavaList has fixed it, thank you. On 16/10/11 03:13, Jonathan Pryor wrote: > On Oct 15, 2011, at 10:44 AM, Stuart Johnson wrote: >> I have a List<> with an ArrayAdapter that shows the contents of that list. >> >> If I make a change to one of those

Re: [mono-android] ArrayAdapter & NotifyDataSetChanged not showing new items

2011-10-15 Thread Stuart Johnson
On 15/10/11 23:57, gabriel.b...@gmail.com wrote: > How do you made the Array Adapter work I'm having problems with the > Array adapter constructor. public class ArrayAdapter_MsgView : ArrayAdapter { public ArrayAdapter_MsgView(Context context, int textViewResourceId, IList items): b

[mono-android] ArrayAdapter & NotifyDataSetChanged not showing new items

2011-10-15 Thread Stuart Johnson
I have a List<> with an ArrayAdapter that shows the contents of that list. If I make a change to one of those items in the List<>, and do NotifyDataSetChanged() in the UI thread, I can see those changes. But if I .Add to the List<>, I cant see the new items. Any ideas?

[mono-android] Vote for features?

2011-10-08 Thread Stuart Johnson
Is there a way to vote for features? I really need the Javascript Interface ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] AndroidManifest.xml is being ignored

2011-09-04 Thread Stuart Johnson
gt; > > On 9/4/2011 4:29 AM, Stuart Johnson wrote: >> My AndroidManifest.xml is being ignored. I created it in the VS >> dialogue, and the permissions are not being granted on my app. If I look >> at the applications pr

[mono-android] AndroidManifest.xml is being ignored

2011-09-04 Thread Stuart Johnson
My AndroidManifest.xml is being ignored. I created it in the VS dialogue, and the permissions are not being granted on my app. If I look at the applications properties in Android, only INTERNET is granted. http://schemas.android.com/apk/res/android"; android:installLocation="internalOnly" a

Re: [mono-android] Writing to a file

2011-09-02 Thread Stuart Johnson
Thanks. On 02/09/11 14:19, Jonathan Pryor wrote: > On Sep 2, 2011, at 8:05 AM, Stuart Johnson wrote: >> String pwPath = >> Path.Combine(System.Environment.SpecialFolder.Personal.ToString(), "pw.txt"); > Environment.SpecialFolder is an enumeration, not a stri

[mono-android] Writing to a file

2011-09-02 Thread Stuart Johnson
I am trying to write data to a file, and I am unsure if I am doing to correctly. The following code results in: "Could not find a part of the path \"//Personal/pw.txt\"." String pwPath = Path.Combine(System.Environment.SpecialFolder.Personal.ToString(), "pw.txt"); StreamWriter stOut = new

Re: [mono-android] Could not create the Android package

2011-08-30 Thread Stuart Johnson
Oh wait, sorry folks, false alarm, it's working again. I added the default Icon.png back in which I deleted as well. I was still referencing that on the main activity. On 30/08/11 15:27, Stuart Johnson wrote: > I have since removed the offending 48px icon, and I cant deploy the &

Re: [mono-android] Could not create the Android package

2011-08-30 Thread Stuart Johnson
I have since removed the offending 48px icon, and I cant deploy the package again! Back to where I started again. I have deleted the obj & debug directory. What now? On 29/08/11 15:58, Stuart Johnson wrote: > Thanks, I decided to start all over with a new application, and then >

Re: [mono-android] Could not create the Android package

2011-08-29 Thread Stuart Johnson
you don't want to copy to the > executing directory. Ensure aapt is in Path. > > Hope this helps. > > Best Regards, > Sridharan Srinivasan > > > > On Mon, Aug 29, 2011 at 7:28 AM, Stuart Johnson wrote: >> Is there any way I can get more log

Re: [mono-android] Could not create the Android package

2011-08-28 Thread Stuart Johnson
Is there any way I can get more log data to find out what is wrong? I cant deploy my app to my phone or emulator. Failing that I am going to have to create a new app, and copy everything over file by file until I find the culprit. On 27/08/11 19:34, Stuart Johnson wrote: I have removed

Re: [mono-android] Could not create the Android package

2011-08-27 Thread Stuart Johnson
ackaging works again. - Greg On Sat, Aug 27, 2011 at 12:10 PM, Stuart Johnson mailto:stu...@logicethos.com>> wrote: I have been working fine all day, testing my application on the emulator. I added a some new activities, icons, and re-factored some code, all of which build fin

[mono-android] Could not create the Android package

2011-08-27 Thread Stuart Johnson
I have been working fine all day, testing my application on the emulator. I added a some new activities, icons, and re-factored some code, all of which build fine, yet now I can no longer create an android package. I have tried deleting the obj folder, restarting the emulator, restarting the

[mono-android] PreferenceActivity / OnSharedPreferenceChanged

2011-08-25 Thread Stuart Johnson
I'm trying to get PreferenceActivity show the current values, and I found this on Stack Overflow. http://stackoverflow.com/questions/531427/how-do-i-display-the-current-value-of-an-android-preference-in-the-preference-sum The comon approach is to use "OnSharedPreferenceChanged", but Monodroid do

Re: [mono-android] PreferenceActivity / OnSharedPreferenceChanged

2011-08-25 Thread Stuart Johnson
Thank you. On 25/08/11 16:46, Jonathan Pryor wrote: > On Aug 25, 2011, at 11:33 AM, Stuart Johnson wrote: >> I'm trying to get PreferenceActivity show the current values, and I >> found this on Stack Overflow.

[mono-android] PreferenceActivity / OnSharedPreferenceChanged

2011-08-25 Thread Stuart Johnson
I'm trying to get PreferenceActivity show the current values, and I found this on Stack Overflow. http://stackoverflow.com/questions/531427/how-do-i-display-the-current-value-of-an-android-preference-in-the-preference-sum The comon approach is to use "OnSharedPreferenceChanged", but Monodroid does