Paul,
Don't know if this helps...
When my app initialises it serialises/deserialises some simple data
(strings, ints etc).
If I deliberately put a bug into my application (because obviously there
aren't any real ones!) the app will crash with, say, a
NullReferenceException. Android then automati
Hi,
Is there an example anywhere on how to create a menu for an application from
the menu button? I can't seem to find one.
Paul
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Menus-tp5029246p5029246.html
Sent from the Mono for Android mailing list archive at Nab
Hi,
Simple question - other than types not serializable in standard C#, are
there any other additional types which cannot be serialized in Monodroid?
I'm trying to serialize a class (below) using the code below that, but it
dies when I try to serialize the class.
[Serializable]
public cl
I'm curious what addins to VS that people are using along with Visual Studio
and Mono for Android. Any notes regarding what you are using is appreciated.
Wally
___
Monodroid mailing list
Monodroid@lists.ximian
I've attached some sample code for implementing an option menu.
Create a folder under resources called "menu". Then create a new xml file
similar to the main_menu file attached. Be sure to change the build action
on the xml file to "AndroidResource".
See the attached MyActivity class to imple
Greg Shackles also has some great Mono for Android code samples available on
Github. I'm pretty sure there's an example out there for creating menus.
https://github.com/gshackles/Sample-Projects/tree/master/MonoDroid/MonoDroidSamples
--
View this message in context:
http://mono-for-android.1047
I just realized that my windows install is running MD 2.8.1. I have gone ahead
and told it to perform an update. Unfortunately, on the update, windows
updater crashes and I just get an error. Is there any data that I can submit
to help in making this a little more bulletproof? A log file so
Is there any movement on this I'm seeing this issue all over when I'm
syncing data with our server and its really hampering my progress forward.
-Sean Irving
Lead Developer
Mobile Epiphany
On Thu, Nov 17, 2011 at 2:41 AM, Andrew Sinclair
wrote:
> Piotr,
>
> ** **
>
> This sounds like exactl
Is Java 7 still not supported in Mono for Android? I was just reading thru
this:
http://docs.xamarin.com/android/getting_started/installation/visual_studio
Wally
___
Monodroid mailing list
Monodroid@lists.ximi
We started our applications targeting API Level 8 - Android 2.2 (probably
because that was the version of my boss' DroidX). We've started to get some
of our customers wanting to run on various devices that only run Version
2.1. I've been able to lower our minimum level to 2.1 without loosing any
fu
Is there anyway to pass parameters into an AVD Emulator on startup from within
the VS Plugin or in MonoDevelop? For example, I'd like to scale the screen
size down when I startup an emulator within VS/MD plugin. I realize I can
startup the session manually.
Wally
what is the need to have nested partial classes in Resource.Designer.cs file?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/partial-class-tp5031931p5031931.html
Sent from the Mono for Android mailing list archive at Nabble.com.
At a risk of being flamed J for asking a noobie question but a quick yes or
no would save me an awfull amount of time experimenting
Can one use the emulator to test webclient code - I cant seem to get it to
work
John M
___
Monodroid mailing l
Hello,
I am writing an app for company use and will not be publishing it to the
store.
How do I go about getting the app and the Mono runtimes installed on the
Android devices?
Thank you,
Mike
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Deploy-to-device-with
Just use adb.exe in the \Android\android-sdk\platform-tools folder in cmd.exe
or a bat file as follows:
adb.exe install "C:\Program Files (x86)\yourapp.apk"
Make sure Settings>Applications>Development>USB debugging is checked on your
device.
Regards...Andrew
--
View this message in context:
ht
Thanks, Andrew.
That installs my app, but it doesn't install the Mono runtimes.
How do I get those installed?
Mike
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Deploy-to-device-without-going-through-store-tp5032378p5032568.html
Sent from the Mono for Android m
Hi,
I'm slowly getting there (which is always good).
Serializing my class and passing it to other classes seems to be working.
Unfortunately at the other end, things aren't as good - I'm getting a null
exception.
common data;
public void deserialize()
{
Syst
Hi,
milop wrote
>
> Thanks, Andrew.
>
> That installs my app, but it doesn't install the Mono runtimes.
>
> How do I get those installed?
>
> Mike
>
>From what I understand, the mono runtimes are statically linked to the
executable
Paul
--
View this message in context:
http://mono-for-an
Hi, Paul.
You're right. I was in debug mode.
When I switch to Release mode Visual Studio makes the proper changes to the
Mono Android Options.
After rebuilding the project and running the command that Andrew suggested,
the app installs and I can run it.
Thanks,
Mike
--
View this message in co
Hi, Paul.
You're right. I was in debug mode.
When I switch to Release mode Visual Studio makes the proper changes to the
Mono Android Options.
After rebuilding the project and running the command that Andrew suggested,
the app installs and I can run it.
Thanks,
Mike
--
View this message in co
Hi all!
As I read, Monodroid doesn't support x86:
http://mono-for-android.1047100.n5.nabble.com/Can-we-use-Android-x86-emulator-td4778369.html
When can we expect the x86 support?
We have a Mono app, and now we have to move to an x86+Android tablet. So,
this question is very important for us.
On Nov 28, 2011, at 11:05 AM, nodoid wrote:
> Is there an example anywhere on how to create a menu for an application from
> the menu button? I can't seem to find one.
You override Activity.OnCreateOptionsMenu(). The SkeletonApp sample does this:
https://github.com/xamarin/monodroid-sam
On Nov 29, 2011, at 6:56 AM, John Murray wrote:
> At a risk of being flamed J for asking a noobie question but a quick yes or
> no would save me an awfull amount of time experimenting
> Can one use the emulator to test webclient code – I cant seem to get it to
> work
I don't see why not, as
Beginning in 1.9.0, we will use Java 7 if it's the only thing you have
on your system.
Our installer will still install Java 6, and will prefer Java 6 if you
have both installed.
This is because Android itself is not supported for Java 7, though it
seems to work:
http://developer.android.com/
You simply won't have access to Android APIs added in 2.2 or 2.3.
If you aren't using them, then nothing is lost.
If you want to use them when they are available, you will have to
"target" 2.2, set a minimum version of 2.1 in the manifest, and then
ensure you do runtime checks so you only call
This enhancement is filed here:
http://bugzilla.xamarin.com/show_bug.cgi?id=56
The only workaround would be to create a proxy emulator.exe that adds
your parameters.
Jonathan
On 11/28/2011 4:50 PM, Wally McClure wrote:
> Is there anyway to pass parameters into an AVD Emulator on startup from
>
For some reason, this morning this is working. I didn't change anything that
should have mattered.
I am curious, is there a way to statically link a .NET DLL or regen the
symbol files with monodevelop on mac? It was a huge time waster for me.
-Rob
--
View this message in context:
http://mono-
2 things to check:
- Make sure your application requests the INTERNET permission so it can
access the internet.
- Sometimes people use 127.0.0.1 or localhost in their code, which
doesn't work when running on a device with its own IP address. Make
sure you are using the network addressable IP
On Nov 29, 2011, at 2:15 PM, Jonathan Pobst wrote:
> You simply won't have access to Android APIs added in 2.2 or 2.3.
>
> If you aren't using them, then nothing is lost.
>
> If you want to use them when they are available, you will have to
> "target" 2.2, set a minimum version of 2.1 in the man
On Nov 29, 2011, at 10:03 AM, nodoid wrote:
> Unfortunately at the other end, things aren't as good - I'm getting a null
> exception.
This a Debug or Release build?
Release builds enable the linker, which may be removing the members that the
XmlSerializer is trying to use:
http://docs.
On Nov 29, 2011, at 5:54 AM, rambo123 wrote:
> what is the need to have nested partial classes in Resource.Designer.cs file?
Why not?
I figured it would be a handy place to put helper methods related to the
constants, should you choose (e.g. adding to the default sample project, which
has a Res
I got around this problem by adding a constructor with no parameters to my
class. Now it's working perfect.
This is working for me:
[Serializable]
public class MyClass
{
#region "Global Variables"
private string mGender;
private bool mSmoker;
private D
When the emulator loses internet access, hit the f8 kit. That key is one of
the keystrokes for the emulator. It specifically toggles the network
connectivity of the emulator. That way you don't have to go thru the hassle of
restarting the emulator.
Wally
> From: j...@xamarin.com
> Date: Tu
Thanks. I guess the answer is "we know, but not yet."
Wally
> Date: Tue, 29 Nov 2011 13:17:34 -0600
> From: mon...@jpobst.com
> To: monodroid@lists.ximian.com
> CC: theevilprogram...@hotmail.com
> Subject: Re: [mono-android] pass parameters into AVD Emulator
>
> This enhancement is filed here:
On Nov 17, 2011, at 4:41 AM, Andrew Sinclair wrote:
> This sounds like exactly the same problem as:
>
> http://bugzilla.xamarin.com/show_bug.cgi?id=1394
> http://bugzilla.xamarin.com/show_bug.cgi?id=1741
> http://bugzilla.xamarin.com/show_bug.cgi?id=1534
> http://bugzilla.xamarin.com/show_bug.cgi
On Nov 29, 2011, at 2:18 PM, Rob Ferguson wrote:
> I am curious, is there a way to statically link a .NET DLL or regen the
> symbol files with monodevelop on mac?
Unfortunately I don't understand what you mean by either of these options. :-(
Thanks,
- Jon
___
Has anyone tried Android.OS.Debug.StartAllocCounting()? Any thoughts on how it
works? good, bad, indifferent?
Wally
___
Monodroid mailing list
Monodroid@lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists
BTW, does M4A still only need the -partition-size 512 parameter on an emulator?
Wally
From: theevilprogram...@hotmail.com
To: monodroid@lists.ximian.com
Date: Tue, 29 Nov 2011 15:21:19 -0500
Subject: Re: [mono-android] pass parameters into AVD Emulator
Thanks. I guess the answer is "we
This is working for me:
** My Class **
[Serializable]
public class MyClass
{
#region "Global Variables"
private string mGender;
private bool mSmoker;
private DateTime mDOB;
#endregion
#region "Constructors"
On Nov 29, 2011, at 3:31 PM, Wally McClure wrote:
> BTW, does M4A still only need the -partition-size 512 parameter on an
> emulator?
Yes.
- Jon
___
Monodroid mailing list
Monodroid@lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/m
Running 1.9.2 m4a plugin in windows
When I deploy an app into 4.0 emulator session and then go to "apps" I don't
see my app that I just deployed. When I start a debug session with my app, my
app comes up in the emulator session as expected. Where is my app stored in
the emulator? I'd like t
On Nov 29, 2011, at 3:47 PM, Wally McClure wrote:
> When I deploy an app into 4.0 emulator session and then go to "apps" I don't
> see my app that I just deployed.
Have you tried swiping to the right?
The 4.0 Apps screen adopts iOS semantics -- horizontal pages with app icons,
instead of a very
Thanks Jon. Yeah, its on another page. The problem is navigating via the
emulator is painful.
Wally
> From: j...@xamarin.com
> Date: Tue, 29 Nov 2011 15:54:16 -0500
> To: monodroid@lists.ximian.com
> Subject: Re: [mono-android] app in an 4.0 emulator
>
> On Nov 29, 2011, at 3:47 PM, Wally Mc
It seems that calling StartMethodTracing() generates an error. If I am looking
in the right spot in DDMS, it is saying that a NullReferenceException has been
generated. In digging into the error, it looks like its not able to create a
file on the sd card, which eventually bubbles up into the
Yeah, it looks like I need to have the permission to write to external storage.
Wally
From: theevilprogram...@hotmail.com
To: monodroid@lists.ximian.com
Date: Tue, 29 Nov 2011 16:52:54 -0500
Subject: [mono-android] Android.OS.Debug.StartMethodTracing();
It seems that calling StartMethodT
On Nov 29, 2011, at 4:52 PM, Wally McClure wrote:
> In digging into the error, it looks like its not able to create a file on the
> sd card, which eventually bubbles up into the null reference exception. If I
> want to call StartMethodTracing, do I need to give the app permission to use
> the s
Many thanks the two J's and Wally
Much appreciated - jokingly thought the troll might get me :)
I find the emulator excruciatingly slow on an i5 machine with 4gb ram win 7
Any comments - ideas on speeding it up ?
Just to repeat I really appreciate several people who selflessly help out
even if th
On Nov 29, 2011, at 6:14 PM, John Murray wrote:
> I find the emulator excruciatingly slow on an i5 machine with 4gb ram win 7
> Any comments - ideas on speeding it up ?
I run the emulator on a 2.2GHz i7 with 8GB RAM (MBP 15", OS X 10.7 Lion), and
find it to be slow...but not excruciatingly slow (
To follow up on this, I have a 2.3 ghz i7 version of jonp has. When I run
windows on it, I find the emulator as slow as you say John. To add to what
Jonp says, there are two additional items you can do:1. the no-boot-anim
option keeps that useless pulsating "ANDROID" graphic won't steal the
Catnap ORM does indeed have documentation for how to use with MonoTouch.
There's really not much to it, especially since the normal (terse) mapping
syntax now works with the latest version.
https://github.com/timscott/catnap/wiki/Using-Catnap-With-MonoTouch
Here's the general usage documentati
50 matches
Mail list logo