Re: [mono-android] Looking for a contractor...

2012-02-08 Thread Paul Johnson
Hi Steve, Anyone interested? Doesn't matter where you live.. I certainly would be - email me off list if you want to talk. I'm based in the UK. Paul ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximia

[mono-android] Attaching devices via the USB port

2012-02-09 Thread Paul Johnson
Hi, I'm about to submit a research proposal through my work but before that need to check on a potential limitation of mono for android. Is there a way that I can read information in through the USB port? I know there has to be a way to communicate through it as the likes of Samsung's KIES a

[mono-android] Limitation with monodroid or Android?

2012-02-10 Thread Paul Johnson
Hi, I seem to have found a limitation with DateTime but I'm not sure where to point the finger. In my TimeOfDeath app[1], if you enter in a date before 1980, the date is not recognised and is instead reverted to the current year. The code works fine for years going from 2012 to 1980, but not

[mono-android] Conditional compilation

2012-02-11 Thread Paul Johnson
Hi, Are there an internal #def within monotouch and monodroid that can be used for conditional compilation. What I'm after is to be able to do something like this (very simple example) using System; #ifdef MONOTOUCH using System.Drawing; using MonoTouch.Foundation; using MonoTouch.UIKit; #els

[mono-android] Alternate designer to droiddraw and eclipse

2012-02-12 Thread Paul Johnson
Hi, Does anyone know of another designer than eclipse or droiddraw? eclipse enjoys adding code which is invalid (match_parent is a good example) and droiddraw will generate code which is completely invalid! Any advise as to an alternative would be greatly appreciated! Paul __

[mono-android] System.Drawing under m4a?

2012-02-13 Thread Paul Johnson
Hi, I'm part way through porting an iOS app to Android and have found a large number of references to System.Drawing in the iOS code. When I checked what references I can add, System.Drawing is missing for Android. Is this supposed to be the case and if it is, is there anything similar to System.D

[mono-android] match_parent?

2012-02-13 Thread Paul Johnson
Hi, Is it just that it is currently missing or is there another reason why parent_match isn't recognised with m4a? Thanks Paul ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/mono

Re: [mono-android] match_parent?

2012-02-14 Thread Paul Johnson
Hi, On 14/02/2012 02:47, Jonathan Pobst wrote: Are you targeting Android 2.2 or greater? match_parent was added in Android 2.2 (API Level 8) Targetting 2.2 but match_parent isn't being recognised by m4a Paul ___ Monodroid mailing list Monodroid@lis

[mono-android] Using ListView to dynamically create a table & design Q

2012-02-15 Thread Paul Johnson
Hi, I'm trying to use as few views as possible for a particular application and was thinking of using ListView to create a table when the view and a pageID are presented. The setup for the generic page is this (each line represents a screen line, [] represents a non-widget view) [TabHost]

Re: [mono-android] Android SE

2012-02-17 Thread Paul Johnson
Hi. On 14/02/2012 21:49, chris@Terrago wrote: I have recently run across some information on an adaptation of the android OS based on SE Linux called Android SE (Secure Edition) http://selinuxproject.org/page/SEAndroid here is a link . Although it appears to still be in a somewhat experimental s

[mono-android] Adding a listview to a tabview

2012-02-17 Thread Paul Johnson
Hi, I'm trying to re-use the same view for a number of different sets of data by using a list view, but this is being held within a tabview layout. I've got by tabview code working fine (I've lifted it from another application of mine), have adapted the layout to include the new listview widget a

[mono-android] Errors on the listview tutorial page - where to report them?

2012-02-19 Thread Paul Johnson
Hi, There are a number of errors on the Xamarin website for listview. Do they need to be reported via bugzilla or can I just put them here and hope they get picked up? As it stands, the page is OK, but the code examples are pretty useless. Paul ___

[mono-android] iOS and Android widget mapping question

2012-02-19 Thread Paul Johnson
Hi, Is there a list anywhere of which iOS widgets map to which Android widgets more or less? For example UITableView (iOS) is more or less ListView for Android. Thanks Paul ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMAT

[mono-android] ScrollWheel in C#?

2012-02-19 Thread Paul Johnson
Hi, Does anyone know if there is a monodroid port of this? http://code.google.com/p/android-wheel/source/browse /#svn%2Ftrunk%2Fwheel%2Fsrc%2Fkankan%2Fwheel%2Fwidget I really don't fancy porting almost 50K of Java to C# Paul ___ Monodroid mailing

Re: [mono-android] ScrollWheel in C#?

2012-02-20 Thread Paul Johnson
Hi Oscar I tried to port most of the code some weeks ago, but i found some problems porting most data types needed to show most of Wheels and i´ve "freezed" it. (as now, i´ve a wheel with integers that can be moved) If you want i could share my unfinished work. Might be useful... Can you pop i

[mono-android] TabView not responding as it should

2012-02-23 Thread Paul Johnson
Hi, I have a tabview app in development which on the face of it looks to work, but it isn't. The event for changing the tab works, but the new view isn't showing. If I click on another tab, that fires. If I go back to the first tab, nothing fires. The code below explains it... [Activity]

[mono-android] CalendarView

2012-02-26 Thread Paul Johnson
Hi, Has anyone got a simple example on how to generate a calendar using calendarview or something similar? Thanks Paul ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] Retrieving an image from Assets

2012-02-26 Thread Paul Johnson
Hi, On 27/02/2012 02:54, tcorrigan5 wrote: Anyone having any insights to this? I have no trouble accessing a text file (an .html file, actually) using the same code. Also the file name does show up in the array returned by Assets.List(). http://stackoverflow.com/questions/1933015/opening-an-

[mono-android] API8 calendar view

2012-02-27 Thread Paul Johnson
Hi, I know CalendarView isn't supported before API11 (IIRC) and I've seen a number of ways of doing it with a gridview (in Java). Is there an example on how to implement something close to CalendarView for API8 in C#? Can't seem to see anything. Thanks Paul

[mono-android] Creating a list of TextViews

2012-02-29 Thread Paul Johnson
Hi, I have hacked together a calendar which consists of 35 TextViews for the dates (all called textDatex where x = 1 to 35). I'm trying to read them into a List variable so that I can address them quickly and set the text simply using a for loop. The problem is getting them into the List<>. Is the

Re: [mono-android] Samsung Galaxy

2012-02-29 Thread Paul Johnson
Hi, On 29/02/2012 11:16, tsukrov wrote: Can it be caused by this issue: *Warning: Samsung shipped a broken kernel with Android 2.1, which is not able to support JIT compilation. If you possess a Galaxy-class device with Android 2.1...* Yes. I found that pretty much anything I did would not work

Re: [mono-android] Creating a list of TextViews

2012-02-29 Thread Paul Johnson
Hi Jon, On 29/02/2012 20:43, Jonathan Pryor wrote: foreach (int id in new[]{ Resources.Id.textDate1, Resources.Id.textDate2, Resources.Id.textDate3, /* ... */ }

[mono-android] Interesting bug found...

2012-03-01 Thread Paul Johnson
Hi, As you all know yesterday was the 29th Feb. While C# acknowledge this with no problems, monodroid thought is was the 1st but then got confused with itself! Paul ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http

Re: [mono-android] Interesting bug found...

2012-03-01 Thread Paul Johnson
Hi, On Mar 1, 2012, at 12:09 PM, Paul Johnson wrote: As you all know yesterday was the 29th Feb. While C# acknowledge this with no problems, monodroid thought is was the 1st but then got confused with itself! Can you elaborate? I'd like to know if this was a Mono problem, an Android pr

[mono-android] Nothing being passed back from a webservice

2012-03-01 Thread Paul Johnson
Hi, This is probably down to me being a klutz, but can anyone spot why nothing is being returned? The Console.WriteLine is showing that something is being added to the list. I'm guessing a scope problem... (calling routine) case 1: List race = new List();

[mono-android] ProgressDialog seems barfed with 4.0.5 beta2

2012-03-03 Thread Paul Johnson
Hi, I'm having problems with ProgressDialog - when I use it, I get Java runtime error. Currently, I have this View currentview = FindViewById(Resource.Id.relLayout); Context c = currentview.Context; startProgressDialog(c); private void startProgressDialog(Context c) { ProgressDialog p

[mono-android] Playing video

2012-03-05 Thread Paul Johnson
Hi, Does anyone have some simple to follow code on how to play video (either streamed or static)? I have found this (http://lists.ximian.com/pipermail/monodroid/2011-February/002853.html) which looks just the job. Unfortunately, there is a problem in that I can't set the CallBack (it looks

[mono-android] Internet working on the emulator, dies on the phone - why?

2012-03-06 Thread Paul Johnson
Hi, I have an app that consumes a webservice to generate dynamic content. It works fine under the emulator but dies instantly on a real phone when the webservice is requested. The manifest allows access to the internet and the deploy for the app is set to SDK and User Assemblies. Any ideas on why

[mono-android] Using PutExtra on an Intent (not sure if I've hit a bug...)

2012-03-08 Thread Paul Johnson
Hi, I'm trying to pass over a string using Intent.PutExtra but nothing is being received at the other end. Code for sending is simple enough res = "Hello, Vienna Calling" Intent i = new Intent(this, typeof(receiving_function)); i.PutExtra("foo", res); StartActivity(i); In the receiving metho

Re: [mono-android] Using PutExtra on an Intent (not sure if I've hit a bug...)

2012-03-08 Thread Paul Johnson
Hi, Not sure if it's a typo or your error, but you are outputting "foo" rather than "res". Other than that, your code looks like it should be working. Um, "foo" is the token and res is the content, therefore at the other end isn't it retrieve the content given by the token? Or do I need to

Re: [mono-android] mono for android suggestion

2012-03-13 Thread Paul Johnson
Hi, It's there for the next release, 4.2. Added per your suggestion. :) Is there an ETA for 4.2? Paul ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

[mono-android] Making an app wake up

2012-03-14 Thread Paul Johnson
Hi, Is there a way to make an app go to sleep but listen out for a webservice event and then wake up and say send an SMS to itself? Paul ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/l

[mono-android] Testing for a network connection

2012-03-21 Thread Paul Johnson
Hi, I'm trying to resolve an issue with an app I'm porting from iPhone to Android and I'm going through everything bit by bit. The problem is that whenever the app attempts to the outside world, it falls over dead. Works fine on the emulator, dies on a phone. One thing I'm looking at is the

[mono-android] Equivalent of wget?

2012-03-21 Thread Paul Johnson
Hi, I'm trying to grab files from a server using this code but it dies. Any ideas why? public void grabAFile(string url, Context c) { WebClient webClient = new WebClient(); webClient.DownloadFileCompleted += delegate(object s, AsyncCompletedEventArgs e)

Re: [mono-android] Testing for a network connection

2012-03-21 Thread Paul Johnson
Hi, The problem is that whenever the app attempts to the outside world, it falls over dead. Can you elaborate? Does the Android Debug Log contain anything useful? Stack traces? Anything? Where would I look on the phone for that? The emulator runs fine - it's on a real device it coughs, sp

Re: [mono-android] Testing for a network connection

2012-03-21 Thread Paul Johnson
Hi, Where would I look on the phone for that? The emulator runs fine - it's on a real device it coughs, splutters and keels over It still has the Android Debug Log: http://docs.xamarin.com/android/advanced_topics/android_debug_log Please provide any relevant output. The emulat

[mono-android] Writing to the external SD card

2012-03-21 Thread Paul Johnson
Hi, I have some very simple code for writing to the SDCard (pruned from postings on here and other places). Only problem is that it throws an exception when writing the directory. On closer examination, external contains nothing. Is this what it should contain and if it isn't, does anyone ha

[mono-android] Using a webservice

2012-03-23 Thread Paul Johnson
Hi, I'm using 4.0.5beta here. I've developed an app that uses a webservice. Under the emulator, it works fine and nothing shows on the debugger - the service returns and the world turns. If I transfer it to a real device, the app dies with no sort of throwback. Before I put it into bugzilla

Re: [mono-android] book finally shipping

2012-03-23 Thread Paul Johnson
Hi, Is the UK release still going to be in the middle of April? I hope not! Paul (copy on order) ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] Using a webservice

2012-03-23 Thread Paul Johnson
Hi, There should always be some sort of error when an app crashes, check the logcat: http://docs.xamarin.com/android/advanced_topics/android_debug_log Is logcat enabled on the physical device? My app works fine on the emulator, not a physical device My 2 guesses are: - You haven't added

Re: [mono-android] Using a webservice

2012-03-24 Thread Paul Johnson
Hi, Is logcat enabled on the physical device? My app works fine on the emulator, not a physical device Yes, logcat is available on both emulators and physical devices. Thanks for that. Logcat is showing something odd on the device which isn't showing on the emulator... (this is a slightl

Re: [mono-android] Log Internet- possible?

2012-03-24 Thread Paul Johnson
Hi, I'm sorry if this question is dumb. I'm new to Android development. I want to write an app that does nothing more than log Internet history. Ideally, it would log regardless of what browser/app was being used. Is that possible? If so, can someone please point me in the right direction?

Re: [mono-android] Using a webservice

2012-03-24 Thread Paul Johnson
Hi, Just as an addendum to my point - here's the calling code public void getUpcomingRacesCallBack(string track, Action> callback) { var tableData = new List(); if (checkForNetwork(true) != true) { tableData[0].PostTime = "No network

Re: [mono-android] Consuming web service

2012-03-25 Thread Paul Johnson
Hi, Did you ever figure out this problem consuming web services? I am getting the same Unknown member: Invoke. It's been awhile, but I believe/suspect that the problem was due to the linker removing the Invoke method. Is this on a Debug build or a Release build? Release - and it's still t

Re: [mono-android] Using a webservice

2012-03-25 Thread Paul Johnson
Hi, Are you using a Samsung device? If so, what version of Android OS? Yes and gingerbread - others are using HTCs and Sony phones, so it's not down to the manufacturer. The minimum version of android I have set is for 2.2... Paul ___ Monodroid m

[mono-android] Any ideas why this fails?

2012-03-27 Thread Paul Johnson
Hi, I'm trying to write to the SDCard with the following code (which was suggested on here), but I'm getting a null reference error on the Path.Combine line - I've no idea why either! var external = GetExternalFilesDir(null); var dir = Path.Combine(external.AbsolutePat

[mono-android] CSS in Assets

2012-04-01 Thread Paul Johnson
Hi, I have a stylesheet in an app I'm porting over from iPhone that makes reference to an image. The image is already in @drawable. Is there any way I can get the stylesheet to point to the @drawable or will I need to place the image in the Assets directory as well? If I do place it into Ass

Re: [mono-android] book finally shipping

2012-04-03 Thread Paul Johnson
Hi Wally, I tend to get emails every so often asking about our Mono for Android book. According to the Amazon.com web site, they have received their copies and are beginning to deliver them. If you have had a preorder for the past 10 months, you should get your copy fairly soon. If you are wonde

Re: [mono-android] Any ideas why this fails?

2012-04-03 Thread Paul Johnson
Hi, As Miha suggested, `external` is probably null. Context.GetExternalFilesDir() will return null when external storage is mounted by a host computer: http://androidapi.xamarin.com/?link=M:Android.Content.Context.GetExternalFilesDir http://developer.android.com/reference/and

[mono-android] Modal window

2012-04-10 Thread Paul Johnson
Hi, I've found this on stackoverflow on implementing a modal window... http://stackoverflow.com/questions/6120567/android-how-to-get-a-modal-dialog-or-similar-modal-behavior The bottom example is simple enough to port to C#, but I have a few questions. 1. private Method mMsgQueueNextMethod =

[mono-android] Playing a video problem

2012-04-15 Thread Paul Johnson
Hi, I'm having a bit of a problem with viewing a streaming video - as always, the http site points to somewhere else that does the actual streaming. When I pass the code into the viewer, it just gives me the android video server error 100 (which is a state issue). Do I need to do anything special

[mono-android] JNIEnv questions / problems

2012-04-16 Thread Paul Johnson
Hi, I'm trying to port over some Java to M4A to enable me to produce modal windows. Most of the work has been done, but I'm now stuck on using JNIEnv.GetMethodID/JNIEnv.GetFieldID and a number methods that don't seem to be listed anywhere (GetDeclaredMethod and GetDeclaredField) or aren't ava

[mono-android] Accessing the USB

2012-04-20 Thread Paul Johnson
Hi, I've just been awarded a small scale grant from the Chesire Colleges Consortium in the UK to develop software that will monitor vital bodily functions through bog standard DrDAQ data logging equipment using Android phones. As this kit communicates via a standard USB interface, it should

Re: [mono-android] Fragments problem

2012-04-25 Thread Paul Johnson
Hi, On 25/04/2012 12:34, mosimo wrote: Ok, Basically I have a ListView down the left populated by a string array. On the right I have a FrameLayout which I use for showing fragments in. I am creating and showing them from the activity not in the XML so I can swap them out later on. Anyone hav

Re: [mono-android] Alpha Preview 4.1.1 Available

2012-04-27 Thread Paul Johnson
Hi, This preview (4.1.1) contains great enhancements like: - A graphical designer for layouts!!! Can't see the designer. If I click on an axml file, it shows as XML and show design opens a new window with, um xml in it... Paul ___ Monodroid ma

Re: [mono-android] Alpha Preview 4.1.1 Available

2012-04-27 Thread Paul Johnson
Hi, On 27/04/2012 19:53, Jonathan Pobst wrote: Right click the axml and choose Open With. Is Android Designer a choice? (If you are using VS.) Ah, yes. Found it :) Is there a way to open the design as XML, then as with a winform, switch to the design view or is that "coming soon"? Fantasti

Re: [mono-android] Alpha Preview 4.1.1 Available

2012-04-28 Thread Paul Johnson
Hi Wally, I asked that this morning. If I understand things correct, there will be an option in a later build (release?) where it will switch between design view and .axml source without going through the close and reopen process. Thanks. Hope you liked the amazon book review ;) Paul ___

[mono-android] Embedded HTML within an app

2012-05-01 Thread Paul Johnson
Hi, My app currently sucks in information from a webservice, adds a stylesheet from assets and them pops it out to a webbrowser. Simple enough, but something isn't right and I'm wondering it I'm doing it right. Currently, the code looks like this public void getOvernights(Context c, A

[mono-android] Why the restart?

2012-05-10 Thread Paul Johnson
Hi, Why does 4.2alpha require a restart when it installs? None of the previous versions did... Paul ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

[mono-android] SurfaceView keeps disappearing when I try to get the colour that is on it (creating a colorpicker)

2012-06-06 Thread Paul Johnson
Hi, I'm creating a colorpicker for an art app but have hit a problem. I've created a view that is consists of a linearview (horizontal) with a pile of surfaceviews. Each surfaceview has an gradient fill set as the background. Under that is an imageview that displays the colour I've clicked on. Th

Re: [mono-android] Consider physical deployment with the evaluation version

2012-06-16 Thread Paul Johnson
Hi, I'm doubting I can make an impact but please listen to some feedback from someone who just started out with Mono for Android. Using Visual Studio to develop android applications is really a joy. Deploying on the emulator is another experience. Its really unworkable slow and it takes the fun

Re: [mono-android] Returning back from an activity that calls a SetWebViewClient

2012-06-18 Thread Paul Johnson
Hi Sayed, If you can't see how I did it in that project I gave you, perhaps you should shut your mouth. Completely different usage for a completely different project with completely different requirements... Oh well... No doubt the entire thread will have been fed back to Andrew with some wi

[mono-android] IOIO board

2012-07-04 Thread Paul Johnson
Hi, Has anyone had any success using the IOIO (yoyo) board with m4a? The driver code is opensource, but in Java and as such, it's possible that some bits won't be implimented. http://www.coolcomponents.co.uk/catalog/ioio-android-p-717.html for more details. Paul

[mono-android] 4.2.5 alpha

2012-07-27 Thread Paul Johnson
Hi, Downloaded the latest version. While the designer is much more stable, I've found a problem. The project I'm working on has a second project (a library) as part of the main project. While the main compiles fine, the library (which is always built first) comes up with an error that part

Re: [mono-android] Listview

2012-08-08 Thread Paul Johnson
Hi, Regarding the Listview: 1. Is there a built in Listview layout that contains an imageview that I can place an image in? I can go to a custom layout, but am wondering about a built in layout. You'll need a customview for that from what I can see. 2. is there anything that approximates

Re: [mono-android] IOIO card use with MonoDroid

2012-08-27 Thread Paul Johnson
Hi, I want use IOIO card with MonoDroid. Is somebody now how charge IOIO library in MonoDroid ? I had a look at the IOIO board a while back. It should work fine as long as monodroid is happy sending instructions to and from the USB channels. Paul -- "Space," it says, "is big. Really big. Y

[mono-android] Out by one error between MD and VS

2012-09-17 Thread Paul Johnson
Hi, Is anyone else seeing this problem (it's on bugzilla https://bugzilla.xamarin.com/show_bug.cgi?id=7163) Basically, create on VS2010, commit to svn (not tried with cvs or git), edit using MD, recommit and open again on VS, change something, build. The next commit there is a conflict in th

[mono-android] Unable to deploy to a device with MD and Mountain Lion 10.8.1

2012-09-17 Thread Paul Johnson
Hi, I seem to have hit a snag. Using MD 3.0.4.7 (or 4.6) and 4.2.5 or 4.2.6beta, I am unable to deploy to a physical device using the full version of m4a. I can deploy to the emulator and create a package from my source code. Does anyone have an idea on how to get things working with deployi

[mono-android] Any ideas on this error

2012-10-26 Thread Paul Johnson
Hi, I've just updated to 4.2.8 on my mac. When I tried to compile, it gave me this error Error initializing task CheckDuplicateJavaLibraries: Not registered task CheckDuplicateJavaLibraries. Any ideas on what is causing it and more over, how to fix it? Paul -- "Space," it says, "is big. Re

Re: [mono-android] Any ideas on this error

2012-10-26 Thread Paul Johnson
Hi, On Oct 26, 2012, at 11:53 AM, Paul Johnson wrote: I've just updated to 4.2.8 on my mac. When I tried to compile, it gave me this error Error initializing task CheckDuplicateJavaLibraries: Not registered task CheckDuplicateJavaLibraries. That sounds very odd. First, diag

Re: [mono-android] 4.2.8: Provider fails to include authorities in AndroidManifest.xml

2012-11-03 Thread Paul Johnson
Hi, I’ve filed https://bugzilla.xamarin.com/show_bug.cgi?id=8176 for this issue. Is it me or is 4.2.8 seemingly somewhat bugged? I've had it so I can't deploy, it loses my license, fails to build and ignores the manifest. I'm back on 4.2.6 (as I can't find 4.2.7 for my mac) until 4.2.9 appe

[mono-android] 4.2.7 for mac download

2012-11-11 Thread Paul Johnson
Hi, Does anyone have a direct link URL for monodroid 4.2.7 for mac? I don't seem to be able to find it on the xamarin website and 4.2.8 is a no-go for me. Paul -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think

Re: [mono-android] Adding controls by code only

2012-11-13 Thread Paul Johnson
Hi, i have a litte app where i want to add some TextViews to an TableLayout by the number of entries in a certain table of my Database. i've tried to get it work with the setView() method of the tableLayout, but there was nothing to see on my phone. i've searched the internet for an answer, but

Re: [mono-android] Adding controls by code only

2012-11-14 Thread Paul Johnson
Hi, how can i affect a singel cell? all i have seen is, that the rows or columns can be altered or done whatever you want, but never with cells. my code for that well... there is nothing much more then an idea and some deleted attempts to get it work, for this piece. Can you post some code so

Re: [mono-android] Monodroid sliding menu

2012-11-16 Thread Paul Johnson
Hi, Any ideas anyone? Which version of monodroid are you on? Paul -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space, listen..

Re: [mono-android] Monodroid sliding menu

2012-11-16 Thread Paul Johnson
Hi, i'm not sure to be honest. (on a PC) Help -> About Monodevelop -> click on the second tab (on a Mac) Monodevelop -> About -> click on the second tab. If you're using 4.2.8, grab 4.2.7 and see if that fixes the problem Paul -- "Space," it says, "is big. Really big. You just won't believ

[mono-android] Closing a file after a crash

2012-11-17 Thread Paul Johnson
Hi, I seem to have hit a snag. An app I'm working on for a bit of fun creates an XML file with bits of information in needed for the next time it's run. However, on a small number of phones, it dies leaving the file open. Is there a way I can check on the state of this file the next time the

Re: [mono-android] Closing a file after a crash

2012-11-18 Thread Paul Johnson
Hi Jon, I seem to have hit a snag. An app I'm working on for a bit of fun creates an XML file with bits of information in needed for the next time it's run. However, on a small number of phones, it dies leaving the file open. Is there a way I can check on the state of this file the next time

[mono-android] Monodroid 4.4.5 seems to have forgotten my registration

2012-11-20 Thread Paul Johnson
Hi, I've just gone from 4.2.7 to 4.4.5 on my mac and everything seems great. It didn't originally recognise my licence from 4.2.7, so I entered it again. All was happy. I got to deploy and I'm met with "evaluation copy". What gives and how can I work around this? Paul -- "Space," it says, "

Re: [mono-android] Drawable icon

2012-11-21 Thread Paul Johnson
Hi, Can I please have some help to create a simple "Drawable icon" variable and specify a graphic for the icon? I am not sure what namespace to use or how to select the actual icon. I cannot find a resource to help me either. Android.Graphics.Drawable something like ImageView foo = new Image

Re: [mono-android] Updating textview from a thread

2012-11-24 Thread Paul Johnson
Hi, I keep on my training over mono and I have a new issue. I need to update the text within a textview from a thread. In .net I woul do a delegate, and i woul use the Invoke method, but here i can´t use that way, i have been looking but I did´t get the way. Thing with monodroid is that you ne

[mono-android] Getting images from dropbox

2012-11-24 Thread Paul Johnson
Hi, I'm trying to grab images for a graphics app I'm playing with from the gallery. The gallery is not only showing images held locally, but images held on dropbox. Local images are fine and I can do what I want with. When I try to get images from dropbox, the app dies. Is there a way to d

Re: [mono-android] Mono Lost License 4.4.38

2012-11-30 Thread Paul Johnson
Hi, After install release 4.4.38 mono lost license. Activate option don´t work. Aren't we on 4.4.5? Paul -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, bu

[mono-android] Maps and Locations demo

2012-12-07 Thread Paul Johnson
Hi, I'm trying to get the maps and locations demo to work from the Xamarin website. With the exception of the Show Map Activity and Maps with overlays, the rest works. Unfortunately, it's the two that don't that I need. I'm getting this back from when I run the app Request updates from gps

[mono-android] SDL.Net

2012-12-28 Thread Paul Johnson
Hi, Has anyone had any success with the SDL.NET bindings with monodroid? I'm looking for a nice, simple 2D games library and don't want to use the OpenTK libs particularly. Paul -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I m

Re: [mono-android] SDL.Net (Paul Johnson)

2012-12-29 Thread Paul Johnson
Hi, Have you looked at using MonoGame (http://monogame.net)? It is made to be XNA 4.0 compatible and games using it have been released on iOS, Android, MacOS, Linux and Windows 8, with Windows Phone 8, Raspberry Pi, PlayStation Mobile and Ouya support in the works. I've looked into it. It's

[mono-android] AnimationSet and animation questions

2012-12-29 Thread Paul Johnson
Hi, I've decided to go native with my animation and only use what is in there. My device is 2.3, so it's the basics. I've got my view set up with an image view in it and have set up an AnimationSet to store what I want in it. From what I've read, this looks right. Problem is, only the last

[mono-android] X509 cert error in debug, but not release

2013-01-12 Thread Paul Johnson
Hi, I have some code which is consuming a webservice. When I'm debugging, the app dies as it is looking for an X509 cert (which isn't required), but under release, the app works fine. Any ideas on this one on where to start digging? I don't know if it's a monodroid bug or my bug - I don't re

Re: [mono-android] X509 cert error in debug, but not release

2013-01-12 Thread Paul Johnson
Hi, Any ideas on this one on where to start digging? I don't know if it's a monodroid bug or my bug - I don't remember seeing it in 4.2.7, but it is the latest beta. Couple of other bits of info - testing on a mac, not tried on a PC Paul -- "Space," it says, "is big. Really big. You just won'

Re: [mono-android] How to connect Sqlite Database with Monodroid?

2013-01-23 Thread Paul Johnson
Hi, CAN ANYONE PLEASE POST WORKING SAMPLE OF WORKING WITH EXISTING DATABASE. This mono framework is useless for me if I can't work with dbs What is you code like at the moment? Paul -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is.

Re: [mono-android] DateTime.Now

2013-01-31 Thread Paul Johnson
Hi, Is there any way to use the time format provide by Android system (and can adapt to the user's setting such as "Use 24 Format or not" ?) It should already by using the android system. For the wrong character being used, I would put that into the monodroid bugzilla Paul -- "Space," it s

Re: [mono-android] how to store data to xml file (like database) from mono for android

2013-02-16 Thread Paul Johnson
Hi. .i wnt to use xml file as data storage...can any one tell me how to store data to xml file from mono for android edit texts i have 2 edit text controls when i click on save button the data in the edit text have to store into the xml file...m very new to mono for android...where to create

Re: [mono-android] how to store data to xml file (like database) from mono for android

2013-02-18 Thread Paul Johnson
Hi, but i m getting error at new XmlTextWriter(path) Post your code here so I can see what you're doing Paul -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it's a long way down the road to the chemist's,

Re: [mono-android] how to store data to xml file (like database) from mono for android

2013-02-19 Thread Paul Johnson
Hi, i have 3 edittexts(eteno,etename,eteadd) and two buttons (btnsave and btnretreive) when i click on save button the edittext values will save to xml...the values are saving...bt my problem is retreiveing... suppose i have data like this 101 johnusa 102 james uk 103 robert india now when

Re: [mono-android] how to store data to xml file (like database) from mono for android

2013-02-19 Thread Paul Johnson
Hi, hi...m working on mono for android...m very new to mono for android...can u please help me how to store data from edit text contols into xml file and retreive xml file data to edit texts(in .net textbox)...its very urgent...plz explain in detailed ..where to create xml file and how to send d

Re: [mono-android] Enhancement in Xml Retreive code

2013-02-25 Thread Paul Johnson
Hi, (I've snipped everything for a reason) I'm looking at your code. In the original you had a sharing violation exception. Pretty much this means you're trying to create a file that already exists. You are also not closing off the StreamWriter stw = new StreamWriter (path, true); line. Go

Re: [mono-android] Enhancement in Xml Retreive code

2013-02-26 Thread Paul Johnson
Hi, Glad to hear it's working PLZ EXPLAIN IN DETAILED Example WITH DESIGN AND CODE AS U PREVIOUSLY EXPLAIN What have you got so far? For something like this, you can use a TableView Paul -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingl

Re: [mono-android] Enhancement code for Spinner

2013-02-27 Thread Paul Johnson
Hi, because of im very new to mono,i went with basic array adapterwhich adapter shold use...and how..plz send reply as early as possible...plz send changes for spinner adapter and save and retreive code Okay, you need have a Click event on the spinner and then inside the event, look a

Re: [mono-android] Enhancement code for Spinner

2013-02-27 Thread Paul Johnson
Hi, spinner.Click += (object s, EventArgs e) => { Spinner t = (Spinner)e; This should be Spinner t = (Spinner)s; PFJ -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it's a long way down the road to th

Re: [mono-android] Enhancement code for Spinner

2013-02-28 Thread Paul Johnson
Hi, and i had another error at switch (t.ItemSelected)/// Error is The event 'Android.Widget.AdapterView.ItemSelected' can only appear on the left hand how to rectify that error... reply as soon... Use t.Id or possibly t.GetItemIdAtPosition(e.Position). I've used t.Id without a hitch be

  1   2   >