My main problem is neither density nor size, but hei/wid ratio.
Android supports long/notlong.
What's the best way for other ratio-s?
drawable-h300dp-w200dp or something like that?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Splash-screen-ratio-tp5711680p571
Hi!
I have a splash in the described way.
http://docs.xamarin.com/android/tutorials/Creating_a_Splash_Screen
I've port/land + long/notlong drawables.
Unfortunately it's not enough, e.g. A500 scales the splash ugly.
Is there are a better way to do the trick?
--
View this message in context:
related to Mono for Android
Subject: Re: [mono-android] Linger no effect
On Aug 29, 2012, at 8:52 AM, tsukrov wrote:
> Can lingering be broken?
Looks like it; I read the code, and it looks broken to me:
https://bugzilla.xamarin.com/show_bug.cgi?id=6737
Would it be possible for you
athan Pryor
Sent: Mittwoch, 29. August 2012 17:05
To: Discussions related to Mono for Android
Subject: Re: [mono-android] Linger no effect
On Aug 29, 2012, at 8:52 AM, tsukrov wrote:
> Can lingering be broken?
Looks like it; I read the code, and it looks broken to me:
Android
Subject: Re: [mono-android] Linger no effect
On Aug 29, 2012, at 8:52 AM, tsukrov wrote:
> Can lingering be broken?
Looks like it; I read the code, and it looks broken to me:
https://bugzilla.xamarin.com/show_bug.cgi?id=6737
Would it be possible for you to create a small test ca
Hi!
I have a TCP Socket and some custom binary protocol.
socket.Shutdown(Both);
socket.Close();
causes my last "buy-buy" message to get lost.
Linger was set to LingerState(true, 5) with no effect.
Tried socket.Close(5) with no effect.
Can lingering be broken?
--
View this message in contex
Sorry, was my fault.
SDK & User + Skip does the trick.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Missing-Encoding-in-release-tp5711415p5711418.html
Sent from the Mono for Android mailing list archive at Nabble.com.
__
Hi!
I'm missing the Win1252 in the release build.
* West IS checked under encodings.
* Mideast,Rare,West,Other is there.
Everything works fine for debug conf.
Linking user & sdk.
Like there:
http://mono-for-android.1047100.n5.nabble.com/CodePage-1252-not-supporte-tt4876764.html#a4876807
-
Thanks.
Since my assets are just 7-8 ttf-s vs hundreds of resources, I can deal with
it.
Just link a folder in multiple projects or so.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-5-resources-party-stopper-tp5711078p5711205.html
Sent from the Mono for Andr
It was working with xam 4.2.3, previous Android SDK.
This bin/res & bin/assets approach.
I'm not able to reinstall 4.2.3 at the moment, but absolutely sure, it was
working.
The only reason to use assets were ttf-fonts.
It's impossible to instantiate them from a resource and I don't want to
creat
That was it.
I switched off Shared Runtime in the GUI, but it was placed in the wrong
XML-Element. (By xamarin? by VS?)
No works fine.
Thanks.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-5-always-packs-x86-tp5711149p5711165.html
Sent from the Mono for An
That explains it! Release is fine.
It's a custom configuration, that makes problems. ReleaseOBF or something
like that.
How can I check if it's considered debug or release?
optimize = true,
DEBUG, TRACE - off
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-
Wait, but it was working fine on 4.2.3.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-5-resources-party-stopper-tp5711078p5711157.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroi
Subj.
No matter, what project settings are.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-5-always-packs-x86-tp5711149.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing
I see, but the question was HOW to create a UI control & its resources in the
same lib.
We can put its res & assets (just fix the assets bug of 4.2.5) AND its C#
sources in Java Bind Lib.
Then use the resources per string name.
--
View this message in context:
http://mono-for-android.1047100.
Wait, what about Java Binding Lib with Resources?
We can access resources per string name and GetIdentifier.
It's slower (we can cache ids), but acceptable.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Android-Library-Projects-and-Resources-tp571p5711137.h
It's impossible, since it's a java binding lib.
I don't need to mark resources as resources in the jbl.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-5-resources-party-stopper-tp5711078p5711131.html
Sent from the Mono for Android mailing list archive at N
Funny. Debugging works fine with regular .NET libs, but not with java binding
libs.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-5-debugger-ignores-breaks-in-java-bind-lib-tp5711103p5711124.html
Sent from the Mono for Android mailing list archive at Nabble.
Sorry, recreating the whole obfuscation step fixed the issue.
Meanwhile I got this funny Exception from mono:
"D:\...\.csproj" (SignAndroidPackage target) (1) ->
(_GenerateJavaStubs target) ->
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:
The
BINDINGSGENERATOR : warning : failed to parse assembly D:.dll:
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly:
'Mono.Android, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=c4c4237547e4b6cd' [D:\X.csproj]
at Mono.Cecil.BaseAssemblyResolver.Resolve(Assembly
Hi!
*Are there any changes in the way monodroid copies the files around since
4.2.3?*
4.2.5 ca no more compile assemblies obfuscated with LogicNP
CryptoObfuscator.
I have a link error on something like "A.FBW".
The main assembly is obfuscated, but no other is.
--
View this message in context:
Subj.
Debugger ignores breaks in C# sources in my java binding lib.
https://dl.dropbox.com/u/57530319/AndroidApplication1.zip TEST PROJ
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-5-debugger-ignores-breaks-in-java-bind-lib-tp5711103.html
Sent from the M
Hi, Mr. Enomoto,
Works fine for "res".
Fails for "assets".
Is it a correct project structure.
http://mono-for-android.1047100.n5.nabble.com/file/n5711094/proj.png
I have updated the test project on the dropbox.
*The generated apk contains no assets at all.*
--
View this message in context:
https://dl.dropbox.com/u/57530319/AndroidApplication1.zip
The project to reproduce the issue.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-5-resources-party-stopper-tp5711078p5711082.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_
Hi!
4.2.5 fails to copy the resources from the library projects to the main
project.
As proposed by you I have a lot of project.properties files in my project.
Please give me a workaround, that doesn't break any other functions.
--
View this message in context:
http://mono-for-android.104710
I would like to extend the GradientDrawable class.
How can I use my class com.pkg.CoolGradientDrawable in the resources?
The obvious way gives the message "Wrong element under ".
Google gives nothing.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/own-drawable-in-
DONE:
https://bugzilla.xamarin.com/show_bug.cgi?id=5885
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Re-Strip-AndroidLibraryProjects-tp5710536p5710614.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Hi!
I'm sharing the resources between projects with a Java Binding Lib.
Just prepared a template zip with an empty.jar. Works fine.
The main problem: the editing of the resources gets tedious.
Could you please automate the step for us? Just do this LibraryZip yourself
from the project resources?
Same problem:
https://bugzilla.xamarin.com/show_bug.cgi?id=5868
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Android-callable-wrapper-adding-dll-to-java-project-tp5710594p5710600.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
https://bugzilla.xamarin.com/show_bug.cgi?id=5868
OK
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Java-Binding-Lib-references-bug-tp5710529p5710552.html
Sent from the Mono for Android mailing list archive at Nabble.com.
__
an.com] On Behalf Of Jonathan Pryor
Sent: Dienstag, 26. Juni 2012 16:39
To: Discussions related to Mono for Android
Subject: Re: [mono-android] Strip AndroidLibraryProjects
On Jun 26, 2012, at 8:18 AM, tsukrov wrote:
> How can I strip AndroidLibraryProjects from the pure resource Java Bind
Hi!
I have similar attributes.
It works.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/System-Attribute-for-Activity-class-methods-tp5710454p5710541.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_
The pure resource assemblies can be completely striped from the apk, since
they are not really referenced.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Strip-AndroidLibraryProjects-tp5710531p5710532.html
Sent from the Mono for Android mailing list archive at Nabb
How can I strip AndroidLibraryProjects from the pure resource Java Binding
Library assemblies?
I would like to pack a lot of shared resources in the JavaLib project.
Unfortunately Xamarin packs them twice.
Once as normal android resources and once as zip in .net resources.
How to strip them?
Hi!
Can I reference a library project from java binding project?
Something goes wrong and I cannot use my utility classes in Additions
folder.
https://dl.dropbox.com/u/57530319/TESTLIB.zip
https://dl.dropbox.com/u/57530319/TESTLIB.zip
Otherwise it's pretty cool to merge resources with an libra
Rebuild doesn't help.
It could break in one point and ignore the next.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-3-debugger-tp5710420p5710426.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_
Win 7, x64, VS 2010.
5 Class Libraries Projects, 1 Main App.
Debugger can just ignore the break point.
Returned to 4.2.2. Everything fine.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-3-debugger-tp5710420p5710422.html
Sent from the Mono for Android mailing
Debugger with 4.2.3 ignores break points.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/4-2-3-debugger-tp5710420.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodro
Have moved some classes to a library to reuse them.
This results in "XXX is not abstract and does not override abstract method
..." bug.
Moving them back or Linking "Sdk assemblies only" workarounds the bug.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Need-help
Have a simmilar bug to 2528 with classes from a library.
java code files lack some overriden methods.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Need-help-with-an-error-tp5435835p5561133.html
Sent from the Mono for Android mailing list archive at Nabble.com.
Hi!
I would like to have different project configuration for different
architectures.
This way I could build the proj separately for x86/arm/whatever...
Is it possible?
I could not manage to save this setting for the conf.
--
View this message in context:
http://mono-for-android.1047100.n5.nabb
We have a code like that:
private void InitOurFile()
{
try
{
Java.IO.File sd =
Android.OS.Environment.ExternalStorageDirectory;
if (sd != null)
{
Java.IO.File folderOur = new Java.IO.File(sd,
"ourfolder");
Thanks, my fault.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Would-you-recommend-Android-Database-Sqlite-or-Mono-Data-Sqlite-tp5519867p5522379.html
Sent from the Mono for Android mailing list archive at Nabble.com.
__
Sorry? I didn't understood your reply.
You wrote above, that we cannot use Mono.Data.Sql on Android 2.1, aren't
you?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Would-you-recommend-Android-Database-Sqlite-or-Mono-Data-Sqlite-tp5519867p5522300.html
Sent from the
> Is it 2x slower?
The benchs of the developer.
http://code.google.com/p/csharp-sqlite/wiki/Benchmarks
http://code.google.com/p/csharp-sqlite/wiki/Benchmarks
Not that we need the last CPU tact.
Yup. Android 2.1 is still 7-10% of the market.
So csharp-sqlite is the only portable solution.
Thank
Hi!
We need Android 2.1.
So either:
* Not portable Android.Data.Sqlite
or
* Csharp-sqlite (2x slower)
Isn't it?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Would-you-recommend-Android-Database-Sqlite-or-Mono-Data-Sqlite-tp5519867p5521482.html
Sent from t
A lot of thanks for the answer.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/System-IO-File-GetAttributes-returns-always-ReadOnly-tp5430132p5492829.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
That's great, Jonathan.
Any hope for the bug to be fixed before 1 March?
Any way to get the same behaviour with Java classes? I need to get/set
ReadOnly flag.
setWritable(false, false) doesn't do the trick.
canWrite() is still true.
Am I misunderstanding something completely?
We have a demo fil
Samsung Nexus S Android 4.0: Attributes.ReadOnly
Acer A500 Android 3.2: Attributes.Normal
HTC Hero Android 2.1: *Attributes.ReadOnly*
Emul Android 2.3.3: Attributes.ReadOnly
The files could be written by my app, the app has the write permission.
Any ideas?
--
View this message in context:
http:
Any ideas what's wrong with Debug?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Mono-for-Android-4-0-3-Release-Available-tp5155791p5447243.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Mono
http://mono-for-android.1047100.n5.nabble.com/file/n5430599/debug.png
We get this msg trying to debug with 4.0.3
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Mono-for-Android-4-0-3-Release-Available-tp5155791p5430599.html
Sent from the Mono for Android mailing
Thanks. That does it.
M4A 4.0.1 hat nothing against targetSdk="7".
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Mono-4-0-3-installLocation-at-2-1-tp5429975p5430584.html
Sent from the Mono for Android mailing list archive at Nabble.com.
__
Is it a not yet implemented behaviour?
I get ReadOnly flag for all the files on the SD card.
Shell shows
rwxr-x system sdcard_rw
My app can write the card.
Java.IO.File.canWrite() returns true.
Any suggestions how to check if the file can be written?
--
View this message in context:
http
Hi!
We were using minSdk = "7" (2.1) combined with
installLocation="preferExternal".
It's the http://developer.android.com/guide/appendix/install-location.html
recommended way to allow SD install for 2.2+.
Unfortunately M4A 4.0.3 is over protective in this case.
We have the following error:
*N
I found it much easier to port the whole LVL.
I would be very thankful, if somebody posts the port to git.
If you use the code in an open source project, let me know.
I've replaced AES with TripleDES.
___
ChessBase Schachprogramme Scha
Android License Verification Library is an open source client for the License
Service.
I found it quite straightforward to port the java sources to Mono.
That way we can obfuscate the whole package.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Does-anyone-have-a
Hi!
Porting sorces of LVL to mono.
Was somebody successfull at it?
Never receive the onTransact call.
http://marketlicensing.googlecode.com/hg/library/src/com/android/vending/licensing/ILicenseResultListener.java
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/P
Hm.
Reinstalled Mono4.
Works fine now.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Build-fails-with-Mono-4-0-tp5050479p5058514.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mail
> Or are you testing on different devices with different Android versions,
and it only fails on the Acer A500 running Android v3.2?
Yup. My co-worker allegedly could not reproduce the bug on Xoom with 3.1.
It's easy to reproduce by me.
Same WLAN network, same build.
Need to investigate further
Sorry, solved.
Nothing to do with mono.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Why-gdbserver-tp5050502p5051881.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Mon
Did it.
The same problem.
I suppose it has something to do with xml/attribute redundance, but cannot
find the exact reason.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Build-fails-with-Mono-4-0-tp5050479p5050577.html
Sent from the Mono for Android mailing list
Clean - OK
Rebuild - OK
Package - FAIL
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Build-fails-with-Mono-4-0-tp5050479p5050508.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid maili
Are you packing gdbserver even for undebuggable apks?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Why-gdbserver-tp5050502p5050502.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid ma
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
Unerwarteter Fehler bei der BuildApk-Aufgabe.
[C:\XXX\Apps\XXX\XXX\XXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
System.ArgumentException: Ein Ele
C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3):
error MSB4018: Unexpected error in BuildApk
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
System.ArgumentException: The element with the same key exists...
1.2 builds prope
Thanks for the answer.
Nope, it's not a HTTP-connection. It's a custom socket connection.
It's something like that (pseudo code):
{...
socket.Completed += OnRecv;
socket.ReceiveAsync();
..}
void OnRecv(args)
{
if(args.SocketError != NoError)
{
HandleData();
socket.ReceiveAs
Retested on Android 3.1 on Motorola Xoom - OK
Acer A500 Android 3.2 - TimeOut Error after 5-10 seconds. No matter how
Socket was configured.
Is it a bug in Mono?
Or Acer Drivers?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/SocketError-TimedOut-tp5022774p5028605
Hi!
I'm receiving often a *SocketError.TimedOut* from *ReceiveAsync* in a
multi-threaded Mono App on Android 3.2.
Android 2.1 & Android 2.3 works fine.
I link armeabi-7va.
Can it be something connected to runtime multi-threading issues?
--
View this message in context:
http://mono-for-android
A lot of thanks.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/IWindowManager-tp4845524p4845795.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.co
Sure, you are right, but the question was:
the resulting object HAS to be IWindowManager, hasn't it?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/IWindowManager-tp4845524p4845645.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Hi!
This line crashes:
mWindowManager =
(IWindowManager)context.GetSystemService(Context.WindowService);
Cannot cast from source type to destination type.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/IWindowManager-tp4845524p4845524.html
Sent from th
Hi!
As I found GZipStream does nothing in Release 1.0.2. Read reads 0 bytes/
Write writes 0 bytes.
Please confirm.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/GZipStream-does-nothing-tp4689438p4689438.html
Sent from the Mono for Android mailing list archive a
Hi!
What about the support for the compiled regex-s?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Compiled-Regexp-tp4677497p4677497.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid
Hi!
We experience the unexpercted NullRefExp in the java layer of MonoDroid.
No GREF warnings in emulator as discussed in
https://bugzilla.novell.com/show_bug.cgi?id=685215 bug 685215 .
Some multi-threaded garbage collectors coexistense problem?
Any chance for this bug to be fixed in the next u
74 matches
Mail list logo