Re: [mono-android] Resources from a Library Project

2011-08-02 Thread Ritesh Sahu
Thanks Jonathan. I've seen that even if I don't try to use resources we can't put anything UI related in library projects. For example: I have a Library project (lets call it LibProj) I have an Activity (Activity1) in LibProj which loads a layout using SetContentView(Resource.Layout.Main); The

[mono-android] How to have monodroid project in same soultion with windows 7 phone?

2011-08-02 Thread chobo2
Hi I have a VS 2010 solution that has a windows 7 phone project in it. I added a default monoandroid project and when I try to deploy it(the emulator dialog does appear) I get this error " (SignAndroidPackage target) (1) -> (_CompileAndroidPackage target) -> monodroid : error 1: Evaluation v

[mono-android] Tried using breakpoint in my code but no effect why ? looks like my code isnt running even if i debug it.

2011-08-02 Thread Chocolade
I installed anroid sdk tools to c:\Anroid Then i installed mono on my visual studio 2010 pro. And i have windows 7. Now i selected to create new mono for anroid project: Mono for android application And then im getting this automatic code: using System; using Android.App; using Android.Content;

Re: [mono-android] Resources from a Library Project

2011-08-02 Thread Rebeca Perez
Hey honey you were really good last night in bed and then twice this morning. That's was sooo hot! I can't wait for your big black cock again :-) On Aug 2, 2011, at 11:36 PM, Jonathan Pobst wrote: > There is currently no support for sharing resources across projects. > > You will need to copy

Re: [mono-android] Resources from a Library Project

2011-08-02 Thread Jonathan Pobst
There is currently no support for sharing resources across projects. You will need to copy (or link) the resources into each project. Hopefully there will eventually be a better solution for this. Jonathan On 8/2/2011 7:09 PM, riteshsahu wrote: > I've looked a bit more into this and by the loo

Re: [mono-android] Resources from a Library Project

2011-08-02 Thread riteshsahu
I've looked a bit more into this and by the looks of it the R.java created only contains the ID from the Application and doesn't contain anything from the Libraries. The values assigned to these constants are overlapped between different projects (// aapt resource value: 0x7f02). Using these r

Re: [mono-android] Emulator not recognized VS 2010

2011-08-02 Thread jeffleus
after waiting an hour or so, the adb devices command completes w/ the following trace... readx: fd=100 wanted=4 got=4 4f4b4159 OKAY readx: fd=100 wanted=4 readx: fd=100 wanted=4 got=4 30303034 0004 readx: fd=100 wanted=4 readx: fd=100 wanted=4 got=4 30303161 001a adb_close: 100(lo-client:5037)

Re: [mono-android] MAC Address

2011-08-02 Thread Tim Kelly
Thanks, I'll have to look at this later. Looks like I can check off the business requirement for MAC Address, just not going to code it just yet. From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Iain Mcleod Sent

Re: [mono-android] Emulator not recognized VS 2010

2011-08-02 Thread jeffleus
Some more info. The target development machine is a Win 7 x64 box with Visual Studio 2010. To address the x64 question, I installed the JDK, SDK and MonoDevelop on a WinXP virtual PC. The MonoDroid add-in throws an exception when I try to configure it in Tools | Options. However, if I focus on

[mono-android] ListView ItemClick Bug?

2011-08-02 Thread BarryJohnston
I have an activity derived from ListActivity and a delegate click handler defined for the List. It appears the the click handler is being called three times. I have a Toast that displays the value of a global count variable that increments each time it is displayed in the toast. Here's the code:

Re: [mono-android] Assertion at sgen-internal.c:441

2011-08-02 Thread NCSoftware
I have the same problem: 08-02 13:15:11.208 4813 4839 F mono: * Assertion at ../../../../mono/metadata/sgen-internal.c:441, condition `mh->size == size + sizeof (LargeInternalMemHeader)' not met I use a ListView, about 60 items in the list. Doesn't matter, even seen this with small sets of

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 whic

Re: [mono-android] Question

2011-08-02 Thread Tim Kelly
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 mo

Re: [mono-android] getting a pic from the camera

2011-08-02 Thread Wally McClure
Thanks Willem. I will be trying this out later today and report back. From: will...@infosupport.com To: monodroid@lists.ximian.com Date: Tue, 2 Aug 2011 14:29:38 + Subject: Re: [mono-android] getting a pic from the camera Hi Wally, Actually you can do something useful with the

Re: [mono-android] Question

2011-08-02 Thread Jonathan Pryor
On Aug 2, 2011, at 10:12 AM, Tim Kelly wrote: > Now that Xamarin (I'd like to know what that means and how to pronounce it) "Xamarin" rhymes with "Tamarin" (the monkey species), with the "X" sounding phonetically like a 'Z' (like in Xylophone). > 1. In our PC/Windows phone application we check

Re: [mono-android] getting a pic from the camera

2011-08-02 Thread Willem Meints
Hi Wally, Actually you can do something useful with the intent you're getting back from the activity result. protected override void OnActivityResult(int requestCode, Result resultCode, Intent data) { base.OnActivityResult(requestCode, resultCode, data); if (requestCode == TakePictureR

[mono-android] Question

2011-08-02 Thread Tim Kelly
We've been getting a lot of pressure from management (sales) to support smart phones other than Windows. We started to look at MonoDroid and then Novell kicked (actually got sold) the project and staff to the curb so we stopped our plans. Now that Xamarin (I'd like to know what that means and how

[mono-android] getting a pic from the camera

2011-08-02 Thread Wally McClure
I'm trying to start the camera application and get an image back. I think I should be able to get the image back in the OnActivityResult method. Unfortunately, I am missing something as I don't seem to get anything back. All of what look to be the interesting pieces of the data Intent seem t

[mono-android] Animation performance ?

2011-08-02 Thread fonager
I have now played around with animation for the past few days. Something that struck me, is the speed og these animations, which I expect to be "realtime" which would be 60 fps. I dont think these animations are running at that speed - maybe half of that ? Anyone can comment on this ? -- View t

Re: [mono-android] SetAnimationListener ?

2011-08-02 Thread fonager
Thanks, appreciate your help alot -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/SetAnimationListener-tp4656547p4658366.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing list M

Re: [mono-android] MAC Address

2011-08-02 Thread Iain Mcleod
Yes: I am doing the following to iterate the network interfaces. This code doesn't quite do what you need, but you should hopefully be able to adapt it a little to get the mac address. Basically, I'm using JNIEnv to invoke the native java methods as they are currently not implemented as monodroid

Re: [mono-android] SetAnimationListener ?

2011-08-02 Thread Glen Hassell
This is where I got to... I think this might work? At least it makes it to the emulator.. :-P namespace MonoAndroidApplication1 { public class MonoAnimate { private View myView; private int currentColor; //stepping params private static int STEPPING = 30;

Re: [mono-android] SetAnimationListener ?

2011-08-02 Thread fonager
Ohhh, what a fool I have been. I was using a "AnimationSet" to have many animations running at once, so adding a Interpolator on one of the animations, made no sence. I changed it, so I applied the interpolator to the animationset instead, and now everything bounces. AnimationSet aset =

Re: [mono-android] SetAnimationListener ?

2011-08-02 Thread fonager
Thanks for the explanation, I somehow came to the same conclusions ;-) But, my problem is that this does not create a bouncing transition : ScaleAnimation scale = new ScaleAnimation(0.0f, 1.0f, 0.0f, 1.0f); scale.Duration = 3000; scale.Interpolator = new BounceInterpolator(); It scales an Image

Re: [mono-android] SetAnimationListener ?

2011-08-02 Thread Glen Hassell
Yes! Using a 1-1 matching syntax is not appropriate.. results in.. Error 1 The name 'setDuration' does not exist Error 2 The name 'setRepeatCount' does not exist Error 3 The name 'setFillAfter' does not exist Error 4 The name 'setInterpolator' does not exist... etc... Java / Mono - difference...

Re: [mono-android] SetAnimationListener ?

2011-08-02 Thread fonager
setDuration has been replaced with "Duration" in Mono for Android. I use this, which works fine : AlphaAnimation fadeIn = new AlphaAnimation(0.0f, 1.0f); fadeIn.Duration = 3000; But yes, things like this makes it very difficult to read existing java/Android sources and convert them into Mono for

Re: [mono-android] SetAnimationListener ?

2011-08-02 Thread Glen Hassell
Hi Tony, It is strange and have to ask, is the problem you are encountering the same as... *setDuration *- appears to not exist in MonoDroid? Simply not available as a method within VS2010; (missing reflection intellisense..?) [image: monodroid.setDuration.missing.png] The required methods appe

Re: [mono-android] ZeroConfig in Monodroid

2011-08-02 Thread was
Forget ZeroConf; use adb.exe over usb. Regards...Andrew -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/ZeroConfig-in-Monodroid-tp4531166p4657952.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

[mono-android] Resources from a Library Project

2011-08-02 Thread riteshsahu
I want to have a Library project where I'll have resources that are shared across various other projects, Themes, Styles, Common images etc. When I create a new Android Library Project, the template does not create the Resources folder hierarchy. I tried creating the folders and files inside them m

Re: [mono-android] Non-persisting property in custom application.

2011-08-02 Thread NarcĂ­s Calvet
Hi Jon, Re.: You can't have more than one element within AndroidManifest.xml, at least I don't believe that it worked when I last tried it. Thanks for the info. Curious that it works fine in Mono for Android then. Actually, I don't have two application tags in the manifest but it works while it

[mono-android] SetInterpolator ?

2011-08-02 Thread fonager
I cannot seem to find out how to use the SetInterpolator() method. Can anyone maybe provide an example. Thanks in advance. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/SetInterpolator-tp4657795p4657795.html Sent from the Mono for Android mailing list archive at