[mono-android] Android ART in 4.12

2014-05-13 Thread Igor Russkih
Hello. Is ART mode fixed in 4.12? I build my app with latest release (4.12 I think), but still see that 'CallNonvirtualVoidMethod' exception. Is that possible? Igor ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http:

Re: [mono-android] MIPS arch support

2013-05-23 Thread Igor Russkih
Hi Jon, Is there any news on MIPS? There is a steady raising demand for MIPS devices... Igor On Wed, Apr 25, 2012 at 7:30 AM, Jonathan Pryor wrote: > On Apr 25, 2012, at 10:11 AM, Igor Russkih wrote: > > Are there any plans/dates for the introduction of MIPS arch support? >

Re: [mono-android] Serial Port for MODBUS/RS485

2012-12-03 Thread Igor Russkih
system (really really really semplified) > > > @Igor Russkih > > Sure! I'm out for work, here i've only binaries and not modified > source so i can upload only the binary file right now, the next week > i'll upload sources too. > > SerialPort.GetPortNames retu

Re: [mono-android] Serial Port for MODBUS/RS485

2012-11-18 Thread Igor Russkih
Daniele, It would be great if you could share the compiled binaries, otherwise it seems I'll do this again by myself ) BTW, does SerialPort.GetPortNames returns something meaningful on your devices? Igor On Wed, Nov 14, 2012 at 9:14 PM, poorsam wrote: > Hi > colud you please explain how did

Re: [mono-android] Fastest way to transfer binary data between java/mono

2012-10-24 Thread Igor Russkih
Thanks for help, I'll try this and report back. Igor On Wed, Oct 24, 2012 at 1:37 AM, Jonathan Pryor wrote: > On Oct 23, 2012, at 4:32 AM, Igor Russkih wrote: > > Assume I have my java class, and my cs class. What I want is to transfer > binary data between these two wit

[mono-android] Fastest way to transfer binary data between java/mono

2012-10-23 Thread Igor Russkih
Hello, Assume I have my java class, and my cs class. What I want is to transfer binary data between these two with max performance. Main direction is cs -> java for now. What is the best way? 1) JNI CopyArray - how is that implemented internally? SetIntArrayRegion? 2) DirectByteBuffer seems to

Re: [mono-android] Silent App crash

2012-09-13 Thread Igor Russkih
Hrr, no ideas/suggestions? Igor On Sun, Sep 9, 2012 at 11:16 PM, Igor Russkih wrote: > Hello. > > Our user reported a silent permanent app crash on LG gt 540 (android 2.1) > > logcat shows no exceptions at all. Immediately after activity showup, at > some moment (current

[mono-android] Silent App crash

2012-09-09 Thread Igor Russkih
Hello. Our user reported a silent permanent app crash on LG gt 540 (android 2.1) logcat shows no exceptions at all. Immediately after activity showup, at some moment (current undestanding - as soon as user taps on the main acitvity screen elements) the process just dies silently: I/APPLICATION (

Re: [mono-android] Run from MonoDevelop often fails

2012-09-05 Thread Igor Russkih
With 3.0.4.5 it really feels better both with emulator detection and application debugging. Thanks! Igor On Wed, Aug 22, 2012 at 12:46 PM, Igor Russkih wrote: > Thanks, Jon! > > Igor > > > > On Wed, Aug 22, 2012 at 2:11 AM, Jonathan Pryor wrote: > >> On

Re: [mono-android] IntermediateOutputPath problems

2012-09-05 Thread Igor Russkih
(uploadflags.txt, etc) and fails to do that. The original ticket probably should be updated with this (or another one should be filed agains Monodevelop). Igor On Tue, Aug 28, 2012 at 1:36 AM, Igor Russkih wrote: > Thanks, thats quite enough for now. > > Igor > > > > On

Re: [mono-android] Obfuscator and failed GenerateJavaStubs

2012-08-31 Thread Igor Russkih
> The Name property must be a fully qualified 'package.TypeName' value, and > no package was found for 'ab'. > > Java.Lang.Object subclasses only need to contain a package if their name > will be used in AndroidManifest.xml. (Android!!! /me shakes hand in air.) > Thats the point - all my UI classe

[mono-android] Obfuscator and failed GenerateJavaStubs

2012-08-29 Thread Igor Russkih
Hello, I'm doing an assembly obfuscation (eazfuscator), and getting the following issue: C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(690,3): error MSB4018: The "GenerateJavaStubs" task failed unexpectedly. C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets

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

[mono-android] IntermediateOutputPath problems

2012-08-26 Thread Igor Russkih
Hello, I have main project file on a flash drive (for portability reasons). This makes building abit slow because all output goes to the same flash drive. I've tried to change this and added a line: c:\tmp_bin into csproj file. The project builds fine (and much faster!), but the resulting APK c

Re: [mono-android] Run from MonoDevelop often fails

2012-08-22 Thread Igor Russkih
Thanks, Jon! Igor On Wed, Aug 22, 2012 at 2:11 AM, Jonathan Pryor wrote: > On Aug 20, 2012, at 5:19 PM, Igor Russkih wrote: > > Jon, Is there anything I can help with to understand more why it fails > recognize package install? > > > > Probably there is somethin

Re: [mono-android] Run from MonoDevelop often fails

2012-08-20 Thread Igor Russkih
debugging absolutely impossible. Again, installed package is absolutely functional both in debug and release modes. Igor On Tue, Aug 14, 2012 at 2:30 AM, Igor Russkih wrote: > Its in "C:\Documents and Settings\root\Local Settings\Application > Data\MonoDevelop-3.0\Logs\" &

Re: [mono-android] Run from MonoDevelop often fails

2012-08-13 Thread Igor Russkih
machine, but simulator runs on host ubuntu and adb connection is done via ssh port forwarding. Let me know if I can do any more testing, because now it makes debugging very annoying. Igor On Tue, Aug 14, 2012 at 12:26 AM, Jonathan Pryor wrote: > On Aug 13, 2012, at 2:16 AM, Igor Russkih

[mono-android] Run from MonoDevelop often fails

2012-08-12 Thread Igor Russkih
I'm getting in trouble trying to Run/Debug application from the MD (3.0.3). It basically says: Installing 'xxx-Signed' pkg: /data/local/tmp/xxx-Signed.apk 579 KB/s (2848292 bytes in 4.796s) *Failed to install package* But logcat shows that package was installed! BackupManagerService( 146):

Re: [mono-android] Mono.Android.dll Strong name validation failed

2012-07-10 Thread Igor Russkih
Because it is only delay signed, but not strong signed. If you want to do any processing on it (and other mono assemblies), you have to disable verification: sn -Vr Mono.Android.dll BTW question to Jon - why can't you sign mono assemblies with your own private key? Igor On Tue, Jul 10, 2012

Re: [mono-android] Assembly strong name validation and Mono.Security

2012-07-05 Thread Igor Russkih
was unavailable. Next, the assemblies are indeed not validated upon load (i've used Assembly.LoadFrom). So if anybody want to make sure dll are the original, the manual checks should be done. Igor On Wed, Jul 4, 2012 at 6:32 AM, Igor Russkih wrote: > > >> > Moreover,

Re: [mono-android] Assembly strong name validation and Mono.Security

2012-07-03 Thread Igor Russkih
> > Moreover, Mono.Security assembly is shipped stripped, in particular it > misses StrongName class - so even manual validation is not possible. > Odd; my Mono.Security.dll contains it. > Hm, it seems I've checked the assembly from release folder - and it was stripped in there. In object browser

[mono-android] Assembly strong name validation and Mono.Security

2012-06-27 Thread Igor Russkih
Hello, I've found that strong named assemblies are not validated upon load. Moreover, Mono.Security assembly is shipped stripped, in particular it misses StrongName class - so even manual validation is not possible. What is the background behind these decisions? The origin for the question is s

Re: [mono-android] install into the emulator

2012-05-31 Thread Igor Russkih
I have the same issue (MonoDevelop 3.0). It is quite random, and although the logs says "Installation successful", MD still writes "install failed". This often happens when deploying application itself - the only workaround is to click and click "Run" multiple times. Quite annoying. It seems MD

Re: [mono-android] ListPreference.setSummary incomplete mapping

2012-05-23 Thread Igor Russkih
Thanks! Igor On Tue, May 22, 2012 at 6:53 PM, Jonathan Pryor wrote: > On May 22, 2012, at 2:48 AM, Igor Russkih wrote: > > I've found that the subject method has only one mapping in MFA: > SetSummary(int resId) > > However there is no SetSummary(CharSequence text)

[mono-android] ListPreference.setSummary incomplete mapping

2012-05-21 Thread Igor Russkih
Hi, I've found that the subject method has only one mapping in MFA: SetSummary(int resId) However there is no SetSummary(CharSequence text) mapping. Is that just missing? (how could that be? I thought mappings are automatically generated..) Just in case, here is a helper "fix" method: p

Re: [mono-android] SimpleAdapter break in 4.2.1

2012-05-19 Thread Igor Russkih
w Java.Lang.Boolean(false); Adapter = new SimpleAdapter(this, items, Resource.Layout.bt_list_item, new string[] { "text", "descr", "radio" }, What is the reason behind that? Why can't you do type autoconversion here? Igor On Thu, May 17, 2012 at 5:46 AM, Igor

Re: [mono-android] SimpleAdapter break in 4.2.1

2012-05-16 Thread Igor Russkih
16, 2012 at 7:55 PM, Jonathan Pryor wrote: > On May 16, 2012, at 3:01 AM, Igor Russkih wrote: > > It seems SimpleAdapter is broken (found this in 4.2 alpha), 4.2.1 > release also have this issue: > > This is a "regression" that won't be fixed; see: > >

[mono-android] SimpleAdapter break in 4.2.1

2012-05-16 Thread Igor Russkih
It seems SimpleAdapter is broken (found this in 4.2 alpha), 4.2.1 release also have this issue: var settings_data = new List>(); sa = Resources.ObtainTypedArray(Resource.Array.settings_text); sa_icons = Resources.ObtainTypedArray(Resource.Array.settings_icons);

Re: [mono-android] Excessive JNI global references (Again and again)

2012-04-25 Thread Igor Russkih
Jon, Thanks for answers. Can you tell when and in which update these bugs will be fixed (notably the leak with listeners)? Igor On Wed, Apr 18, 2012 at 6:45 PM, Jonathan Pryor wrote: > On Apr 18, 2012, at 4:11 AM, Igor Russkih wrote: > > > You're using the Android.Wi

[mono-android] MIPS arch support

2012-04-25 Thread Igor Russkih
Hello. Are there any plans/dates for the introduction of MIPS arch support? There are some MIPS tablets already inthere (Ainol Paladin notably) - and the interest is raising. Igor ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INF

Re: [mono-android] Excessive JNI global references (Again and again)

2012-04-18 Thread Igor Russkih
> > > With original list of ~100 items, I'm getting overflow with just a > couple of device (or emulator) "flips": > Is this with Mono for Android 4.0.6 or the 4.1.0 alpha? In 4.1.0 we > altered things so that when we hit a gref threshold we perform a collection > automatically. It's still not a gr

[mono-android] Excessive JNI global references (Again and again)

2012-04-17 Thread Igor Russkih
I would like to express my feelings abit: Each time I go deep into the development of android views and UIs, I spent alot of time struggling with the subj. I do development mostly on simulator (thats simpler and faster than having a device). Also this helps to track the resource usage, because wit

Re: [mono-android] namespace System.Drawing in Xamarin API

2012-03-23 Thread Igor Russkih
Just in case this'll be useful for somebody, here is my (draft) port of System.Drawing.Graphics to Android.Graphics.Canvas: https://github.com/cail/AndroidDrawing This porting layer allows me to reuse existing .net drawing logic (which uses System.Drawing.Graphics) inside of monoandroid port of m

Re: [mono-android] MonoDevelop (windows) issues

2012-03-04 Thread Igor Russkih
Issue 2) seems to be solved with latest M4A 4.0.4 and MD 2.8.8 beta. Igor On Wed, Feb 29, 2012 at 12:14 PM, Igor Russkih wrote: > Hello, > > Using MonoDevelop 2.8 on windows and MonoAndroid. Periodically I see the > next strange behavious: > > 1) MonoDevelop does no

[mono-android] MonoDevelop (windows) issues

2012-02-29 Thread Igor Russkih
Hello, Using MonoDevelop 2.8 on windows and MonoAndroid. Periodically I see the next strange behavious: 1) MonoDevelop does not see the emulator running. I'm running the emulator on linux (and MD runs in virtual box), then I forward emulator connection ports via ssh. Sometimes MD sees no emulator

Re: [mono-android] Excessive JNI global references (2001) on hardware

2012-02-07 Thread Igor Russkih
Just to support the original thread, my problematic device is Android 2.2 GM10 MID. Is there any chance this limit can be disabled in runtime? F.e. with adb shell setprop dalvik.vm.checkjni false Can somebody try this? (I have no access to the device now) Igor On Fri, Feb 3, 2012 at 7:55 PM

[mono-android] Excessive JNI global references (2001) on hardware

2011-12-16 Thread Igor Russkih
Hello, I'm using a noname android tablet (2.2) for testing, and found that it often gives me *E/dalvikvm( 519): Excessive JNI global references (2001)* Is there any information why the limit can be so low on the device and if this could be reconfigured somehow? Is there any information on other

Re: [mono-android] intellisense in md with m4a

2011-12-05 Thread Igor Russkih
I'm using the same versions, but on XP. I only notice that intellisence is periodically lost. Restarting MD fixes the issue for me. Igor On Sat, Dec 3, 2011 at 10:25 AM, Wally McClure < theevilprogram...@hotmail.com> wrote: > I'm running m4a 1.9.2 on my mac with MD 2.8.2. I'm running mac os

Re: [mono-android] Problems localizing monodroid app

2011-12-02 Thread Igor Russkih
In my app I've created the translator which converts original language files into android's string.xml format. Works nicely. Igor On Fri, Dec 2, 2011 at 2:36 PM, Tomasz Cielecki wrote: > Yes but if you want to share localization code between apps that is > not a nice solution. > > On Fri, Dec

Re: [mono-android] What Debugger isn't Slow?

2011-12-01 Thread Igor Russkih
Not sure if this workaround is known, but I've solved the slowness of the simulator the next way: I use ubuntu as a host system for running android emulator, M4A is running in VirtualBox. Emulator connection is done via port forwarding (with putty or similar). This way I get near real time debugg

Re: [mono-android] Bluetooth stream problems

2011-11-07 Thread Igor Russkih
I've submitted a ticket on this: http://bugzilla.xamarin.com/show_bug.cgi?id=1927 Igor On Sun, Nov 6, 2011 at 6:59 AM, Igor Russkih wrote: > >> We're wondering why you need polling access to the stream. >> InputStream.available() is documented as not being very use

Re: [mono-android] Periodic error during deployment

2011-11-05 Thread Igor Russkih
Operation op) Probably will give some clue.. Igor On Sat, Nov 5, 2011 at 10:48 AM, Igor Russkih wrote: > Don't think this is related to sd card availability. > > This just happens after redeploying the app (when the previous version > should be deleted). Note the second

Re: [mono-android] Bluetooth stream problems

2011-11-05 Thread Igor Russkih
> > > We're wondering why you need polling access to the stream. > InputStream.available() is documented as not being very useful: > > I'm not sure why android's version of javadoc includes this passage. But from common sense - the available() method's efficiency depends etirely on the underlying i

Re: [mono-android] Bluetooth stream problems

2011-11-04 Thread Igor Russkih
th Input/output streams mapped into MD? Igor On Thu, Nov 3, 2011 at 9:01 AM, Igor Russkih wrote: > Hello, > > We are trying to use BT connectivity via MD, > > As I see Java's InputStream from BluetoothSocket is indirectly mapped into > System.IO.Stream > > How then

Re: [mono-android] Periodic error during deployment

2011-11-04 Thread Igor Russkih
(not emulator) SDCard? > > Glen > > > On Thu, Nov 3, 2011 at 2:54 PM, Igor Russkih wrote: > >> Hello, >> >> We are getting the next error periodically when deployin app (Ctrl-F5) to >> the device: >> >> Getting package list from device >>&g

[mono-android] Bluetooth stream problems

2011-11-02 Thread Igor Russkih
Hello, We are trying to use BT connectivity via MD, As I see Java's InputStream from BluetoothSocket is indirectly mapped into System.IO.Stream How then I can use java's is.available() to detect if there is any data in the stream? There is no direct mapping for such a logic in the System.IO.Stre

[mono-android] Periodic error during deployment

2011-11-02 Thread Igor Russkih
Hello, We are getting the next error periodically when deployin app (Ctrl-F5) to the device: Getting package list from device > Uninstalling old version of package > Success > Getting available internal storage space on the device > *Internal error. Object reference not set to an instance of an o

Re: [mono-android] Mono Android license question

2011-08-09 Thread Igor Russkih
Thanks Joseph, we'll consider this in time. Enterprise deployments are large deployments to end users that do not go > through a public app store (like Apple App Store, Android Market, or Amazon > Appstore). What's with the "direct" apk installation by the users? Some non-us publishers practice

[mono-android] Mono Android license question

2011-08-09 Thread Igor Russkih
Hello, Can someone point me to the detailed definition of "enterprise deployment" license usage? I've searched but found no "formal" definition of this. One of our planned distribution channels is "OEM" license, with application preinstalled on a hardware. This is for sure not an "enterprise user

Re: [mono-android] Mono code as Android Service and IPC speed estimations

2011-07-26 Thread Igor Russkih
> > > Mono runs threads by using the Linux kernel (pthread_create(), etc.). > > Thanks, the above statement actually answers my question. ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listi

Re: [mono-android] Mono code as Android Service and IPC speed estimations

2011-07-26 Thread Igor Russkih
> > Our current idea is to keep this library running in monodroid as an > android service (and by this share the main "heavy" buisness logic code > between WM/android projects), and to create a UI wrapper. (it most probably > will be in native java). > Using Mono for Android to create a UI wrapper

[mono-android] Mono code as Android Service and IPC speed estimations

2011-07-22 Thread Igor Russkih
Hello all, Glad xamarin is now alive and wish you good luck with your job, hope also someone could give a review of my problem and comment my questions. Our main interest in monodroid is that we have wellestablished .net WM application with quite big and complex 'business' logic codebase. For sur

Re: [mono-android] MonoDevelop/monodroid installation issue

2011-06-08 Thread Igor Russkih
Checkout the version of your mono-posix.dll. it should be 4.0.0 from latest mono binaries. Try also to put it somewhere in $PATH. That worked for me. Igor On Wed, Jun 8, 2011 at 1:56 PM, Nicolas wrote: > > Igor wrote: > > > > All the stuff is abit screwed. It seems to normally work with this