[mono-android] IOIO card use with MonoDroid

2012-08-27 Thread serge69
HI,

I want use IOIO card with MonoDroid.
Is somebody now how charge IOIO library in MonoDroid ?

Thank's.

serge.



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/IOIO-card-use-with-MonoDroid-tp5711553.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] IOIO card use with MonoDroid

2012-08-27 Thread serge69
HI,

I want use IOIO card with MonoDroid.
Is somebody now how charge IOIO library in MonoDroid ?

Thank's.

serge.



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/IOIO-card-use-with-MonoDroid-tp5711554.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] Orientation Change

2012-08-27 Thread MysteriX
Hallo
i have aquestions:
how do i notice a orientation change? if the Portrait mode is left and the
Landscape mode appears, a new layout have to be loaded.





--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Orientation-Change-tp5711555.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Orientation Change

2012-08-27 Thread James Montemagno
http://docs.xamarin.com/android/tutorials/Handling_Rotation

On Mon, Aug 27, 2012 at 6:28 AM, MysteriX wrote:

> Hallo
> i have aquestions:
> how do i notice a orientation change? if the Portrait mode is left and the
> Landscape mode appears, a new layout have to be loaded.
>
>
>
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Orientation-Change-tp5711555.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Orientation Change

2012-08-27 Thread MysteriX
And.. can you tell me how to completly disallow the orientation change? it
will not be allowed to be changed.. 



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Orientation-Change-tp5711555p5711557.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Orientation Change

2012-08-27 Thread Goncalo Oliveira
Add an attribute to the activity if you want to lock in a certain
orientation.

[Activity( Label = "My Activity", ScreenOrientation =
Android.Content.PM.ScreenOrientation.Portrait )]
public class MyActivity : Activity



On 27 August 2012 15:28, MysteriX  wrote:

> And.. can you tell me how to completly disallow the orientation change? it
> will not be allowed to be changed..
>
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Orientation-Change-tp5711555p5711557.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>



-- 
Gonçalo Oliveira
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Orientation Change

2012-08-27 Thread Greg Shackles
You can specify the orientation of an activity by using the
ScreenOrientation property in the activity's attribute:

[Activity(ScreenOrientation = ScreenOrientation.Portrait)]
public class MyActivity : Activity

On Mon, Aug 27, 2012 at 10:28 AM, MysteriX wrote:

> And.. can you tell me how to completly disallow the orientation change? it
> will not be allowed to be changed..
>
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Orientation-Change-tp5711555p5711557.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] Overflowing menu

2012-08-27 Thread Goncalo Oliveira
Hi there,


Has anyone done something similar to an overflowing context menu? Like the
one that Google Maps app uses.
Has to work with API 10.

Any guidelines on how to achieve this would be much appreciated.

Cheers,


-- 
Gonçalo Oliveira
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] OnCreate fires everytime events

2012-08-27 Thread MysteriX
Hello.
everytime my device changes his orientation from portrait to landscape or
back the OnCreate-Event is fired.. How can i call it only one time? thank
you



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/OnCreate-fires-everytime-events-tp5711558.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] OnCreate fires everytime events

2012-08-27 Thread Jason Awbrey
see
http://stackoverflow.com/questions/4299899/android-oncreate-getting-called-multiple-times-and-not-by-me

On Mon, Aug 27, 2012 at 10:33 AM, MysteriX wrote:

> Hello.
> everytime my device changes his orientation from portrait to landscape or
> back the OnCreate-Event is fired.. How can i call it only one time? thank
> you
>
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/OnCreate-fires-everytime-events-tp5711558.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


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. 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..."

Hitch Hikers Guide to the Galaxy, a truely remarkable book!
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] VS2010 Intellisense fails with Java Binding Projects

2012-08-27 Thread Jeremy A. Kolb - ARA/NED
I've downloads the AdMob solution from the samples and tried to get it to work. 
 I had some difficulty (Had to open AdMob.cs and strip out references to 
GoogleAdMobAdsSdk-6.1.0.jar before adding it back in. This allowed the project 
to build).

Now that I've successfully built AdMob the AdMobTest project successfully 
builds but Intellisense marks all types from Com.Google.Ads as red and tells me 
that "using Com.Google.Ads" can be removed.  I've also seen this in another 
project that uses bindings.

Jeremy
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] IntermediateOutputPath problems

2012-08-27 Thread Jonathan Pryor
On Aug 27, 2012, at 2:29 AM, Igor Russkih  wrote:
> Is this a bug in MonoAndroid build env or I lost something?

Yes, this is a bug. Unfortunately it won't be fixed in the pending 4.2.5 
release.

You can workaround this by editing Novell.MonoDroid.Common.targets as outlined 
in:

https://bugzilla.xamarin.com/show_bug.cgi?id=6249#c1

 - Jon

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] GPS

2012-08-27 Thread chetan
Great


Regards,

Chetan Madbhavi

The Banyan Advertising.



"Sent from my BlackBerry®"

-Original Message-
From: Goncalo Oliveira 
Sender: monodroid-bounces@lists.ximian.comDate: Fri, 24 Aug 2012 17:11:41 
To: Discussions related to Mono for Android
Reply-To: Discussions related to Mono for Android 
Subject: Re: [mono-android] GPS

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] How to keep tabs at the bottom of the screen?

2012-08-27 Thread Sayed Arian Kooshesh
ok a few things you should know about android.

Each intent has it's own contentview. So if you want tabs on each intent,
you have to make your content view set on each intent. You might be
thinking of a viewflipper or the like which, though annoying to set up, is
what I think you want.


Also There is a wealth of knowledge on this list. Just go to the list
subscribe page and search for fragments,view flipper, and you'll probably
see 100 questions you might have, as well as, plenty of good source
material, gotchas and WTFs.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] MSI execution failed

2012-08-27 Thread deborazb
I tried to install Mono for Android many times and I couldn't get it right.
If you have any thoughts... 
Thanks!

Log file:

[2012-08-27 13:36:03.484] [Info] Installation ID:
40086c15-0dd3-4020-befb-0c955142a729
[2012-08-27 13:36:03.484] [Info] Operating system: Windows XP
v5.1.2600.196608 (Professional (Service Pack 3); Microsoft Windows NT
5.1.2600 Service Pack 3), 32-bit
[2012-08-27 13:36:03.500] [Info] Installer version: 2.1.1.28292
[2012-08-27 13:36:03.500] [Info] Status: in progress
[2012-08-27 13:36:07.156] [Info] Retrieving installation manifest.
[2012-08-27 13:36:07.250] [Info] Downloading from
'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationManifest.xml'.
[2012-08-27 13:36:07.250] [Debug] Setting download timeout for
'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationManifest.xml'
to 60s
[2012-08-27 13:36:07.906] [Debug] Waiting for initial task to complete.
[2012-08-27 13:36:07.921] [Debug] Initial task executing
(WaitingForActivation). Waiting for it to finish.
[2012-08-27 13:36:08.125] [Info] Retrieving installation size manifest.
[2012-08-27 13:36:08.140] [Info] Downloading from
'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationSizes.xml'.
[2012-08-27 13:36:08.140] [Debug] Setting download timeout for
'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationSizes.xml'
to 60s
[2012-08-27 13:36:09.093] [Info] Installation size manifest not found
online, using the bundled copy
[2012-08-27 13:36:09.140] [Info] Installation size manifest: reading from
assembly.
[2012-08-27 13:36:09.265] [Info] Determining list of software items to
install.
[2012-08-27 13:36:09.406] [Debug] Processing update nodes from the manifest.
[2012-08-27 13:36:09.406] [Debug] Creating and initializing software item
'Java JDK'
[2012-08-27 13:36:09.531] [Debug] Creating and initializing software item
'Android SDK'
[2012-08-27 13:36:09.625] [Debug] Creating and initializing software item
'GTK#'
[2012-08-27 13:36:09.625] [Debug] Creating and initializing software item
'MonoDevelop'
[2012-08-27 13:36:09.625] [Debug] Creating and initializing software item
'Mono for Android, VisualStudio and MonoDevelop'
[2012-08-27 13:36:10.437] [Debug] Detecting software item 'Java JDK'
[2012-08-27 13:36:10.437] [Info] Checking whether JDK needs to be installed.
[2012-08-27 13:36:10.437] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion'
[2012-08-27 13:36:10.437] [Debug] Attempting to read registry subkey
'SOFTWARE\JavaSoft\Java Development Kit', value 'CurrentVersion'
[2012-08-27 13:36:10.437] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.6', value 'JavaHome'
[2012-08-27 13:36:10.437] [Debug] Attempting to read registry subkey
'SOFTWARE\JavaSoft\Java Development Kit\1.6', value 'JavaHome'
[2012-08-27 13:36:10.546] [Info] Status: successful
[2012-08-27 13:36:10.546] [Info] Component 'Java JDK' v. 1.6 present
[2012-08-27 13:36:10.546] [Info] Software item 'Java JDK': up to date
[2012-08-27 13:36:10.546] [Debug] Detecting software item 'Android SDK'
[2012-08-27 13:36:10.640] [Info] Checking if Android SDK needs to be
updated/installed
[2012-08-27 13:36:10.656] [Info] Fetching Android SDK manifest.
[2012-08-27 13:36:10.750] [Info] Manifest URL:
http://dl.google.com/android/repository/repository-7.xml
[2012-08-27 13:36:10.750] [Info] Using default samples:
[2012-08-27 13:36:10.765] [Info] Downloading from
'http://dl.google.com/android/repository/repository-7.xml'.
[2012-08-27 13:36:10.765] [Debug] Setting download timeout for
'http://dl.google.com/android/repository/repository-7.xml' to 25s
[2012-08-27 13:36:11.812] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\Android SDK Tools', value 'Path'
[2012-08-27 13:36:11.812] [Debug] Attempting to read registry subkey
'SOFTWARE\Android SDK Tools', value 'Path'
[2012-08-27 13:36:12.031] [Info] Determining the list of components to
install/update in \Android\android-sdk
[2012-08-27 13:36:12.046] [Info] Checking Platform Tools component.
[2012-08-27 13:36:12.046] [Info] Checking Tools component.
[2012-08-27 13:36:12.156] [Info] Tools need to be installed.
[2012-08-27 13:36:12.203] [Info] Checking API 7
[2012-08-27 13:36:12.203] [Warning] System image descriptor for API level 7
is missing
[2012-08-27 13:36:12.203] [Info] Checking API 8
[2012-08-27 13:36:12.218] [Warning] System image descriptor for API level 8
is missing
[2012-08-27 13:36:12.218] [Info] Checking API 10
[2012-08-27 13:36:12.218] [Warning] System image descriptor for API level 10
is missing
[2012-08-27 13:36:12.218] [Info] Checking API 12
[2012-08-27 13:36:12.218] [Warning] System image descriptor for API level 12
is missing
[2012-08-27 13:36:12.218] [Info] Checking API 14
[2012-08-27 13:36:12.218] [Info] Android SDK needs to be updated/installed
[2012-08-27 13:36:12.234] [Info] Status: successful
[2012-08-27 13:36:12.23

Re: [mono-android] How to keep tabs at the bottom of the screen?

2012-08-27 Thread dickies
Cheers for the replies guys...

My app is a drill-down app with a lot of data and a lot of nested ListViews,
so it's crucial that the navigation is good so people can get to info
quickly and logically.

I've been working with ActivityGroup, although I know that it is deprecated.
I have it working but it's still a little buggy when navigating back, but
I'm sure I can fix that.

I thought of using fragments but my target Android version is 2.2 (Froyo)
and above and I read that Mono for Android doesn't support fragments in
anything under 3.0 (yet).

I would have thought it was simpler to implement having a set of tabs
positioned either top or bottom, which would act as global navigation and be
available on each Activity.

Consider the following:

- Main Activity shows an ImageView and a ListView with 4 tabs at the bottom
- User taps on ListView item, which shows another ListView, when tapped,
shows another (tabs are no longer visible after the main screen)

Unless the user hits back a few times to get back to the Main Activity, they
can't get to the other screens which are reached from the other 3 tabs.

I could easily add buttons to go directly to the Main Activity but I don't
want to do that. The global navigation should be available on all screens as
I've implemented in iOS.



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/How-to-keep-tabs-at-the-bottom-of-the-screen-tp5711545p5711569.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] How to keep tabs at the bottom of the screen?

2012-08-27 Thread Jonathan Pryor
On Aug 27, 2012, at 4:42 PM, dickies  wrote:
> I thought of using fragments but my target Android version is 2.2 (Froyo) and 
> above and I read that Mono for Android doesn't support fragments in anything 
> under 3.0 (yet).

Mono for Android supports Fragments, both in the Honeycomb incarnation and in 
the Support incarnation. If you want to target Android v2.2, you'll need to 
reference Mono.Android.Support.v4.dll:


http://docs.xamarin.com/android/tutorials/Fragments_Walkthrough/Part_2_-_Supporting_pre-Honeycomb_Android_using_Support_Packages

 - Jon

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] How to keep tabs at the bottom of the screen?

2012-08-27 Thread dickies
That's great to know Jon, thanks.

Bit of of a re-write to do!



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/How-to-keep-tabs-at-the-bottom-of-the-screen-tp5711545p5711571.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Binding Services - casting interface on service connection fails

2012-08-27 Thread Mark Eaton
Well I've made some progress. The below function replaces my existing one:


public Bundle SendBillingRequest(Bundle bundle)
{
Parcel _data = Parcel.Obtain();
Parcel reply = Parcel.Obtain();
bool bRes = false;
try
{
_data.WriteInterfaceToken(DESCRIPTOR);
_data.WriteBundle(bundle);
bRes =
mRemote.Transact(BillingServiceStub.TRANSACTION_checkBilling, _data, reply,
TransactionFlags.None);

reply.ReadException();
var replyBundle = reply.ReadBundle();
return replyBundle;
}
catch (Java.Lang.IllegalArgumentException e)
{

}
finally
{
_data.Recycle();
reply.Recycle();
}
}


My reply bundle is no longer null, but instead it contains an
IllegalArgumentException. The details are:

{Java.Lang.IllegalArgumentException: Exception of type
'Java.Lang.IllegalArgumentException' was thrown.
  at Android.Runtime.JNIEnv.CallVoidMethod (IntPtr jobject, IntPtr jmethod)
[0x0] in :0 
  at Android.OS.Parcel.ReadException () [0x0] in :0 
  at com.android.vending.billing.BillingServiceStub+Proxy.SendBillingRequest
(Android.OS.Bundle bundle) [0x00053] in
C:\Projects\Billing\IMarketBillingService.cs:117 
  --- End of managed exception stack trace ---
java.lang.IllegalArgumentException
at android.os.Parcel.readException(Parcel.java:1331)
at android.os.Parcel.readException(Parcel.java:1281)
at billing.BillingService.n_onServiceConnected(Native Method)
at billing.BillingService.onServiceConnected(BillingService.java:48)
at 
android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1068)
at
android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1085)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4507)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method)
}


The logging has:
08-28 07:24:10.055 E/Bundle  ( 3648): readBundle: bad magic number
08-28 07:24:10.055 E/Bundle  ( 3648): readBundle: trace =
java.lang.RuntimeException
08-28 07:24:10.055 E/Bundle  ( 3648):   at
android.os.Bundle.readFromParcelInner(Bundle.java:1643)
08-28 07:24:10.055 E/Bundle  ( 3648):   at
android.os.Bundle.(Bundle.java:83)
08-28 07:24:10.055 E/Bundle  ( 3648):   at
android.os.Parcel.readBundle(Parcel.java:1464)
08-28 07:24:10.055 E/Bundle  ( 3648):   at
android.os.Parcel.readBundle(Parcel.java:1449)
08-28 07:24:10.055 E/Bundle  ( 3648):   at
android.os.Bundle$1.createFromParcel(Bundle.java:1575)
08-28 07:24:10.055 E/Bundle  ( 3648):   at
android.os.Bundle$1.createFromParcel(Bundle.java:1573)
08-28 07:24:10.055 E/Bundle  ( 3648):   at
com.android.vending.billing.IMarketBillingService$Stub.onTransact(IMarketBillingService.java:50)
08-28 07:24:10.055 E/Bundle  ( 3648):   at
android.os.Binder.execTransact(Binder.java:338)
08-28 07:24:10.055 E/Bundle  ( 3648):   at
dalvik.system.NativeStart.run(Native Method)


Back to more research.




--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Binding-Services-casting-interface-on-service-connection-fails-tp5711549p5711572.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] IntermediateOutputPath problems

2012-08-27 Thread Igor Russkih
Thanks, thats quite enough for now.

  Igor


On Mon, Aug 27, 2012 at 11:15 PM, Jonathan Pryor  wrote:

> On Aug 27, 2012, at 2:29 AM, Igor Russkih  wrote:
> > Is this a bug in MonoAndroid build env or I lost something?
>
> Yes, this is a bug. Unfortunately it won't be fixed in the pending 4.2.5
> release.
>
> You can workaround this by editing Novell.MonoDroid.Common.targets as
> outlined in:
>
> https://bugzilla.xamarin.com/show_bug.cgi?id=6249#c1
>
>  - Jon
>
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Binding Services - casting interface on service connection fails

2012-08-27 Thread ddebilt
Mark, thanks for posting that stub code. I just got it in my sample
application, and am now seeing exactly what you are seeing. I'll reply if I
find out anything new.

Before I had tried your code, I tried to message Google Play via the
Messenger/Handler mechanism. This was basically how the
MessengerServiceActivities.java sample is set up in the Android SDK samples.
I was able to bind, however no messages were coming in to my incoming
handler after being sent by my outgoing messenger (when attaching the
incoming messenger to a message). I don't know why this would not work,
though I see that in the in-app billing guide for Google Play, that Google
Play responds with broadcast intents
(http://developer.android.com/guide/google/play/billing/billing_integrate.html).
/*Can anyone confirm that Google Play would not work with the
Messenger/Handler mechanism?*/

I then tried to use a BroadcastReceiver to receive any possible broadcast
from Google Play after sending a message through a Messenger (after the
service is connected), but that didn't work as well.

If we're unable to get your stub/proxy to work, would another alternative be
to consider using google's in-app billing sample in a "Java Bindings
Library" project? Would that work?



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Binding-Services-casting-interface-on-service-connection-fails-tp5711549p5711575.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Unsafe code support

2012-08-27 Thread Александр
Can you say, how must i convert 2550136836 to int? 



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Unsafe-code-support-tp5711421p5711577.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-27 Thread hwrdprkns

Atsushi Eno wrote
> 
> Today I made some changes in our toolchain and found that the reason why 
> it could not load the type was due to missing reference to support-v4.jar.
> 
> Now I added it to monodroid-samples/ActionBarSherlock sample and it 
> successfully built SherlockFragmentActivity.
> 
> Atsushi Eno
> 

Atsushi

Thank you for responding so quickly to this problem. I must misunderstand
you, however, because I just did a git-pull from
git://github.com/xamarin/monodroid-samples.git and opened the solution but
could not reference the SherlockFragmentActivity. 

My repository has "6c03fba" commit as its HEAD. Can someone verify that this
works for them; for me it still does not show all of the necessary classes
(com.actionbarsherlock.app.SherlockFragment*).



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/ActionBarSherlock-Example-Does-Not-Support-Fragments-tp5711423p5711578.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Unsafe code support

2012-08-27 Thread Konaju Games (Dev)
You can't, because it falls outside the range of a 32-bit signed
integer (–2,147,483,648
to 2,147,483,647).

On 28 August 2012 14:29, Александр  wrote:

> Can you say, how must i convert 2550136836 to int?
>
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-27 Thread hwrdprkns

Atsushi Eno wrote
> 
> hwrdprkns wrote:
>> Jonathan Pryor-2 wrote
 I am using the MonoDroid sample for ActionBarSherlock located here, but
 I
 haven't been able to get to the SherlockFragmentActivity.
>>> The type isn't being bound because the type can't be processed:
>>>
>>>
>>> http://mono-for-android.1047100.n5.nabble.com/Java-Binding-with-ActionBarSherlock-tp5711097p570.html
>>>
>>> Consider it a limitation of the current tooling. :-/
>>>
>> Well, I've gotten the type to process and am able to properly link the
>> code.
>> However, when I run the code I get a runtime Null Pointer Exception
>> stating
>> that com.actionbarsherlock.R$styleable doesn't exist.
> You don't get R type when you are dealing with the binding library. R 
> class is generated only when the app build processes the resources with 
> aapt internally. R class does not exist in the jar unless you manually 
> added it (which is wrong, you shouldn't do that otherwise type conflict 
> occurs in the app build time. If you passed that it is still unexpected 
> result and can be result in any inconsistency).
> 
> Also note that R class is generated for every android library package 
> you referenced and your app. You're likely seeing missing R because it 
> is not in com.actionbarsherlock package.
> 
> Atsushi Eno
> 
> 

Ah, I see. This makes sense. I was confused about how Mono for Android was
creating the R file. Thank you for clarifying this matter. 




--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/ActionBarSherlock-Example-Does-Not-Support-Fragments-tp5711423p5711580.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] How to keep tabs at the bottom of the screen?

2012-08-27 Thread James Montemagno
You can take a look at my action bar project. I have a fragment sample in
there with tabs. It is very simple, but might help.

https://github.com/jamesmontemagno/MonoDroid.ActionBar
On Aug 27, 2012 2:20 PM, "dickies"  wrote:

> That's great to know Jon, thanks.
>
> Bit of of a re-write to do!
>
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/How-to-keep-tabs-at-the-bottom-of-the-screen-tp5711545p5711571.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Binding Services - casting interface on service connection fails

2012-08-27 Thread Mark Eaton
Damn, I was hoping you would get further :-)

It surprises me that so little is talked about in-app billing. I remember
reading that out of the top 20 Android apps, 18 of them use in-app billing
to generate their sales. Now with subscriptions it would indicate that this
is a vital revenue stream for developers. I could be wrong, but after all my
internet research and scouring this forum it's just getting overlooked by
everyone with Monodroid.

Personally I would prefer not to use a JAR file. Only because Google
emphasises heavily on obfuscating code. Even the public key should be built,
not just a simple copy+paste.

The Licensing LVL code uses the stub approach and works fine, however they
don't use bundles. Also they don't have return values, just void. I examined
their code in GitHub here:
https://github.com/mattleibow/Android.Play.ExpansionLibrary

I wondering if there could be a bug with Xamarin's code?? 

Unfortunately I don't know enough yet to say one way or another.

What research I have done says that the "bad magic number" is more a case of
not using an Android Market app that is up-to-date. However I know mine is
plus I'm using a Samsung Galaxy S2 with ICS.

I don't know if it helps (I'm currently on my break at my fulltime job,
Android programming is partime) but I found this link that has the
Android.OS.Parcelable code. This shows how a "bad magic number" can happen.

Thanks for trying, I haven't given up yet. Just hit a roadblock with this
error :-(







--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Binding-Services-casting-interface-on-service-connection-fails-tp5711549p5711582.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] MSI execution failed

2012-08-27 Thread Maximilian Wilson
On Mon, Aug 27, 2012 at 11:20 AM, deborazb  wrote:

> I tried to install Mono for Android many times and I couldn't get it right.
> If you have any thoughts...
> Thanks!
>

Hi Deborazb,

All your prerequisites are fine, but the installer has a problem when
installing the VisualStudio components. The msi error is 1622, which is:
ERROR_INSTALL_LOG_FAILURE1622There was an error opening installation log
file. Verify that the specified log file location exists and is writable.

Check the location of the failing log file (in *bold *below)? If there's
nothing there, it could be a permissions issue--try running elevated as
admin, or giving write permissions explicitly to that folder to whatever
identity you are running the installer under.

"C:\DOCUME~1\ROGRIO~1\CONFIG~1\Temp\MONOFO~1\downloads\
mono-android-4.2.4.167234518.msi"
/quiet /passive /log "*C:\DOCUME~1\ROGRIO~1\CONFIG~1\Temp\tmp18.tmp*"
[2012-08-27 13:39:20.796] [Info] MSI installation process exited with code
1622

-Max

-- 
Hahahah!!! That is ME laughing at YOU, cruel world.
-Jordan Rixon

I could not love thee, dear, so much,
Loved I not Honour more.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Unsafe code support

2012-08-27 Thread Maximilian Wilson
On Mon, Aug 27, 2012 at 9:29 PM, Александр  wrote:

> Can you say, how must i convert 2550136836 to int?
>

Use a long (int64) instead of an int (int32), if you can.

-Max


-- 
Hahahah!!! That is ME laughing at YOU, cruel world.
-Jordan Rixon

I could not love thee, dear, so much,
Loved I not Honour more.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid