Re: [mono-android] Monodroid.InsufficientSpaceException on Physical Device

2012-02-10 Thread Oscar R Lopez
On HTC Magic/Mytouch3g/G2 on Release mode i get:

02-10 09:00:12.914 D/PackageManager(  114): Scanning package
com.igarle.fuerzaventas
02-10 09:00:12.944 I/PackageManager(  114):
/data/app/com.igarle.fuerzaventas-1.apk changed; unpacking
02-10 09:00:12.944 E/PackageManager(  114): Package com.igarle.fuerzaventas
has mismatched uid: 0 on disk, 10053 in settings
02-10 09:00:12.994 D/PackageManager(  114): Caching shared lib
lib/armeabi/libmonodroid.so
02-10 09:00:13.014 W/PackageManager(  114): Failed to cache package shared
libs
02-10 09:00:13.014 W/PackageManager(  114): java.io.IOException: No such
file or directory
02-10 09:00:13.014 W/PackageManager(  114): at
java.io.File.createNewFileImpl(Native Method)
02-10 09:00:13.014 W/PackageManager(  114): at
java.io.File.createNewFile(File.java:1160)
02-10 09:00:13.014 W/PackageManager(  114): at
java.io.File.createTempFile(File.java:1224)
02-10 09:00:13.014 W/PackageManager(  114): at
com.android.server.PackageManagerService.cacheNativeBinaryLI(PackageManagerService.java:3764)
02-10 09:00:13.014 W/PackageManager(  114): at
com.android.server.PackageManagerService.cachePackageSharedLibsForAbiLI(PackageManagerService.java:3637)
02-10 09:00:13.014 W/PackageManager(  114): at
com.android.server.PackageManagerService.cachePackageSharedLibsLI(PackageManagerService.java:3715)
02-10 09:00:13.014 W/PackageManager(  114): at
com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:3224)
02-10 09:00:13.014 W/PackageManager(  114): at
com.android.server.PackageManagerService.installNewPackageLI(PackageManagerService.java:5599)
02-10 09:00:13.014 W/PackageManager(  114): at
com.android.server.PackageManagerService.installPackageLI(PackageManagerService.java:5946)
02-10 09:00:13.014 W/PackageManager(  114): at
com.android.server.PackageManagerService.access$2100(PackageManagerService.java:134)
02-10 09:00:13.014 W/PackageManager(  114): at
com.android.server.PackageManagerService$5.run(PackageManagerService.java:4749)
02-10 09:00:13.014 W/PackageManager(  114): at
android.os.Handler.handleCallback(Handler.java:587)
02-10 09:00:13.014 W/PackageManager(  114): at
android.os.Handler.dispatchMessage(Handler.java:92)
02-10 09:00:13.014 W/PackageManager(  114): at
android.os.Looper.loop(Looper.java:123)
02-10 09:00:13.014 W/PackageManager(  114): at
android.os.HandlerThread.run(HandlerThread.java:60)
02-10 09:00:13.014 W/PackageManager(  114): Package couldn't be installed in
/data/app/com.igarle.fuerzaventas-1.apk

Maybe it´s a library problem?

Bye


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Monodroid-InsufficientSpaceException-on-Physical-Device-tp5469241p5471795.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] Attaching devices via the USB port

2012-02-10 Thread Tomasz Cielecki
If it is accessible through Java, you will be able to get access to
the USB port using Mono for Android. Not knowing if there is direct
support, you will be able to write a JNI wrapper which can help you
communicate with the hardware.

On Thu, Feb 9, 2012 at 6:39 PM, Paul Johnson
 wrote:
> Hi,
>
> I'm about to submit a research proposal through my work but before that need
> to check on a potential limitation of mono for android.
>
> Is there a way that I can read information in through the USB port? I know
> there has to be a way to communicate through it as the likes of Samsung's
> KIES application does it. More importantly though, can it be accessed
> through monodroid?
>
> Thanks
>
> Paul
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid



-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
___
Monodroid mailing list
Monodroid@lists.ximian.com

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


[mono-android] Limitation with monodroid or Android?

2012-02-10 Thread Paul Johnson

Hi,

I seem to have found a limitation with DateTime but I'm not sure where 
to point the finger.


In my TimeOfDeath app[1], if you enter in a date before 1980, the date 
is not recognised and is instead reverted to the current year. The code 
works fine for years going from 2012 to 1980, but nothing past that (so 
the code works). Is this a bug in monodroid or is it an underlying 
problem with Android itself?


Paul

[1] http://www.all-the-johnsons.co.uk/forensics/TimeOfDeath.apk


___
Monodroid mailing list
Monodroid@lists.ximian.com

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


[mono-android] Mono for Android in Linux

2012-02-10 Thread Ralph
Hi,

Here I will not ask for a package for Linux, I want to ask you two
questions:
1.) are there more platform specific things than libMonoPosixHelper and
mandroid
2.) if no, is it possible for give me these build for linux x86 and x64 so I
can create a package for ubuntu 11.10 or 12.04 which should meet the needs
for the installed versions.

Ubuntu Oneiric (11.10):  2.10.5
Ubuntu Precise (12.04 LTS):  2.10.8.1

even if now or in future the needs are not met, I prefer to compile mono and
monodevelop than to work longer than needed in with a windows vm(I'm doing
now, and it's horror).

Kind Regards
Ralph

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Mono-for-Android-in-Linux-tp5472645p5472645.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] Discussions related to Mono for Android

2012-02-10 Thread Gerry High
Anyone seeing crashes in MonoDevelop with Mono for Android when using =
Intelilsense?

I'm on MD 2.8.6.4, Mono 2.10.9, and Mono for Android 4.0.3.85258578 (and =
MT 5.2.3).  I saw quite a few crashes yesterday when I would start to =
type, hit a period, try to down arrow (into the drop down created by =
intellisense) and have it crash on me.

Gerry

___
Monodroid mailing list
Monodroid@lists.ximian.com

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


[mono-android] Mono For Android Disappears from VS2010

2012-02-10 Thread Nosh
Hi 
This is linked to a question i posted some time ago regarding Mono templates
going missing

I recently opened VS2010 and tried to open a project which i did in Mono for
Android and VS2010 states that this is no a valid VS project.

This project was actually developed in the dev environment of VS2010

any clues


 

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Mono-For-Android-Disappears-from-VS2010-tp5472893p5472893.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] Slow Emulator

2012-02-10 Thread Fencer04
The emulators are acting much slowed than before the latest update. Is this
happening for everyone else? Is it due to the memory tracking?

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Slow-Emulator-tp5473347p5473347.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] Mono For Android Disappears from VS2010

2012-02-10 Thread Jonathan Pobst

It sounds like the VS addin isn't installed, or installed properly.

Close all copies of Visual Studio.

Go to Add/Remove Programs, uninstall Mono for Android if it's there, and 
then reinstall from the .msi:


http://download.xamarin.com/MonoforAndroid/Windows/monoandroid-4.0.3.msi

Hope this helps!
Jonathan

On 2/10/2012 9:44 AM, Nosh wrote:

Hi
This is linked to a question i posted some time ago regarding Mono templates
going missing

I recently opened VS2010 and tried to open a project which i did in Mono for
Android and VS2010 states that this is no a valid VS project.

This project was actually developed in the dev environment of VS2010

any clues




--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Mono-For-Android-Disappears-from-VS2010-tp5472893p5472893.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] Unable to install the Mono runtime framework to an emulator

2012-02-10 Thread stevenbc90
Hi all,

I have just downloaded the evaluation version of Mono for Android and I am
trying to run the first sample HelloM4A application on an AVD. The Mono
installation to the AVD fails with the following exception;

MonoDroid.InsufficientSpaceException: There is not enough storage space on
the device to store package: Mono.Android.DebugRuntime-debug.apk.  Free up
some space and try again. 
   at MonoDroid.Adb.Install(Device device, String package, Boolean external,
Boolean force) 
   at Novell.MonoDroidVS.DeploymentTasks.InstallSharedRuntime(Device device,
Boolean external, CancellationToken token)

When I created the AVD I used as the target Android 3.1 and left the
parameters as default. Afterward I tried to put the RAM to 1024 with same
result.

I am running windows XP sp 3 with a dual core cpu running at 2.33 GHz and
3.23 GB of ram, I am not sure if this is the cause of the problem.

Thanks for any help and advice
Steven


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Unable-to-install-the-Mono-runtime-framework-to-an-emulator-tp5473618p5473618.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] Unable to install the Mono runtime framework to an emulator

2012-02-10 Thread Jonathan Pobst
You need to start the emulator from within VS so that it is started with 
the correct settings.


Or you can start it from the command line and pass the settings yourself:

http://docs.xamarin.com/android/troubleshooting#There_is_not_enough_storage_space_on_the_device_to_deploy_the_package

Jonathan

On 2/10/2012 1:50 PM, stevenbc90 wrote:

Hi all,

I have just downloaded the evaluation version of Mono for Android and I am
trying to run the first sample HelloM4A application on an AVD. The Mono
installation to the AVD fails with the following exception;

MonoDroid.InsufficientSpaceException: There is not enough storage space on
the device to store package: Mono.Android.DebugRuntime-debug.apk.  Free up
some space and try again.
at MonoDroid.Adb.Install(Device device, String package, Boolean external,
Boolean force)
at Novell.MonoDroidVS.DeploymentTasks.InstallSharedRuntime(Device device,
Boolean external, CancellationToken token)

When I created the AVD I used as the target Android 3.1 and left the
parameters as default. Afterward I tried to put the RAM to 1024 with same
result.

I am running windows XP sp 3 with a dual core cpu running at 2.33 GHz and
3.23 GB of ram, I am not sure if this is the cause of the problem.

Thanks for any help and advice
Steven


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Unable-to-install-the-Mono-runtime-framework-to-an-emulator-tp5473618p5473618.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] Unable to install the Mono runtime framework to an emulator

2012-02-10 Thread stevenbc90
Jonathan,

Thank you very much. That helped tremendously. I managed to get the Mono and
framework installed by using the command line, I had been starting the
emulator from VS and was still getting the error. I did notice that the
command window showed the following errors;

Warning: Unable to created sensors port: Unknown error
savevm: unable to load section ram

Is there a log somewhere that I could access to see any other errors?

Thanks again

Steven

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Unable-to-install-the-Mono-runtime-framework-to-an-emulator-tp5473618p5473932.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] TPL is currently broken?

2012-02-10 Thread Brannon King
It seems that the Task Parallel Library support is broken on the current
version of Mono for Android (8.0.30703)?

I put this code in the bottom of the OnCreate in the auto-generated
activity file in a fresh android project:

var t1 = Task.Factory.StartNew(() =>
{  Thread.Sleep(3000);
  RunOnUiThread(() => button.Text = "Three Seconds");
});
t1.Start();

It blows chunks in the start call. I'm using VS2010. Any ideas? The
ThreadPool.QueueUserWorkItem does work. It just would be nice to use
the TPL cancellation functionality. Thanks for your time.
___
Monodroid mailing list
Monodroid@lists.ximian.com

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


Re: [mono-android] TPL is currently broken?

2012-02-10 Thread Jonathan Pobst

Is it because you are calling Start twice?

StartNew () and Start ()

Jonathan


On 2/10/2012 5:58 PM, Brannon King wrote:

It seems that the Task Parallel Library support is broken on the current
version of Mono for Android (8.0.30703)?

I put this code in the bottom of the OnCreate in the auto-generated
activity file in a fresh android project:

var  t1 =Task.Factory.StartNew(() =>
{
   Thread.Sleep(3000);
   RunOnUiThread(() =>  button.Text ="Three Seconds");
});
t1.Start();

It blows chunks in the start call. I'm using VS2010. Any ideas? The 
ThreadPool.QueueUserWorkItem does work. It just would be nice to use the TPL 
cancellation functionality. Thanks for your time.



___
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] TPL is currently broken?

2012-02-10 Thread Alex Soto
Maybe because you are starting the thread twice, arent you?

i mean .StartNew() and .Start()

Alex

On Feb 10, 2012, at 5:58 PM, Brannon King wrote:

> It seems that the Task Parallel Library support is broken on the current 
> version of Mono for Android (8.0.30703)?
> 
> I put this code in the bottom of the OnCreate in the auto-generated activity 
> file in a fresh android project:
> 
> var t1 = Task.Factory.StartNew(() =>
> {
>   Thread.Sleep(3000);
>   RunOnUiThread(() => button.Text = "Three Seconds");
> });
> t1.Start();
> It blows chunks in the start call. I'm using VS2010. Any ideas? The 
> ThreadPool.QueueUserWorkItem does work. It just would be nice to use the TPL 
> cancellation functionality. Thanks for your time.
> ___
> 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] TPL is currently broken?

2012-02-10 Thread Brannon King
Yes, it is because I'm calling Start twice. Thanks for pointing that out. I
actually have a long list of tasks that use the ContinueWith operator.
Apparently what I wanted was "new Task<>" on the very first one. I then
start that task when everything is ready to go.

On Fri, Feb 10, 2012 at 5:04 PM, Jonathan Pobst  wrote:

> Is it because you are calling Start twice?
>
> StartNew () and Start ()
>
> Jonathan
>
>
>
> On 2/10/2012 5:58 PM, Brannon King wrote:
>
>> It seems that the Task Parallel Library support is broken on the current
>> version of Mono for Android (8.0.30703)?
>>
>> I put this code in the bottom of the OnCreate in the auto-generated
>> activity file in a fresh android project:
>>
>> var  t1 =Task.Factory.StartNew(() =>
>>
>> {
>>   Thread.Sleep(3000);
>>   RunOnUiThread(() =>  button.Text ="Three Seconds");
>> });
>> t1.Start();
>>
>> It blows chunks in the start call. I'm using VS2010. Any ideas? The
>> ThreadPool.QueueUserWorkItem does work. It just would be nice to use the
>> TPL cancellation functionality. Thanks for your time.
>>
>>
>>
>> __**_
>> 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] Feature Request - Shared Release Runtime Deployment

2012-02-10 Thread stevenbc90
I agree is there an official xamarin site where such requests can be made?

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Feature-Request-Shared-Release-Runtime-Deployment-tp5469997p5474007.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] Feature Request - Shared Release Runtime Deployment

2012-02-10 Thread Jason Awbrey
http://bugzilla.xamarin.com/

On Fri, Feb 10, 2012 at 5:21 PM, stevenbc90  wrote:

> I agree is there an official xamarin site where such requests can be made?
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Feature-Request-Shared-Release-Runtime-Deployment-tp5469997p5474007.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