On Oct 14, 2011, at 3:52 PM, Saravana Kumar Arumugam wrote:
> Is possible to invoke a C library from Mono Android, as in case of Java we
> have NDK.
Yes. You can use ye standard P/Invoke to invoke native code from a Mono for
Android application.
- Jon
_
Hi All,
I have been working on .NET platform for a couple of years. The current project
demands to work on Android platform. I have been using the trial version of
mono plug-in for VS2010 and have executed a couple of sample projects. Here is
my Question Is possible to invoke a C library from
I gave the emulator an SD card size of "512" as shown in the setup document
at this link...
http://docs.xamarin.com/android/getting_started/installation/windows_monodevelop
...is the section called...
Step 3 - Configure Your Simulator
...so I am still stuck...
...and my app is just the baselin
Hi,
How much space did you configure on your emulator? It could be too small to
work with.
andreia
On Fri, Oct 14, 2011 at 7:56 PM, Mark Kamoski wrote:
> All -
>
> Please help.
>
> I am new to MonoDevelop and Mono For Android (Xamaria).
>
> I am trying to run my first app in the emulator.
>
>
So in debugging, this is what i see when i quick watch the message value
after executing object message = bundle.Get("pdus");
- Class {class [Ljava.lang.Object;} Java.Lang.Class
+ base{Java.Lang.Object} Java.Lang.Object
CanonicalName "ja
All -
Please help.
I am new to MonoDevelop and Mono For Android (Xamaria).
I am trying to run my first app in the emulator.
It compiles fine but when I try >Run, >RunWith, >AndroidDeviceEmulator, the
following error occurs...
Deploy to device
Getting package list from device
Uninstalling old
Eureka!
After having gone with the Nuclear Option, and removing ALL other code in
the activity not related to a simple button launching the camera, I finally
found the source of my woes.
1 option in the Activity tags, NoHistory = true - SET THIS TO FALSE if you
want your camera - or anything - to
On Oct 10, 2011, at 6:08 PM, pm100 wrote:
> a) when I put
>
> [BroadcastReceiver(Enabled=true,Name="monoandroidapplication3.DeviceAdminSample",
You shouldn't provide the Name value unless you really, _really_, need to.
As for why you're not getting a element, it's because you haven't
placed t
You cannot deploy to a device or the market with the trial version, so you
will need to upgrade to the full version to do that.
On Mon, Oct 10, 2011 at 1:45 PM, Ganapathy LakshmanaPerumal <
ganapathy_...@hotmail.com> wrote:
> Hi Team,
>
> Whether to deploy the Monodroid app in the Android market
I am trying to write an app that uses the Device Admin API.
My curretn blocking issue is that I cannot persuade mandroid to generate the
correct manifest file as specified here
http://developer.android.com/guide/topics/admin/device-admin.html
I need a receiver clause
a) when I put
[Broadc
Hi Team,
Whether to deploy the Monodroid app in the Android market place I need to get 1
year subscrition.
Or the app which is developed using the trial version also possible to deploy
in the Android marlet place.
Please let me ASAP.
Thank You
Regards
Ganapathy
*Here is my code*
[Activity]
public class MainActivity : BaseRuattiActivity, ILocationListener
{
private LocationManager _lm;
private bool _gpsEnabled;
private bool _networkEnabled;
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource
Yes, after update to 1.9.1 all is ok.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Unable-to-debug-with-physical-devices-in-1-9-tp4853768p4887648.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_
With best regards,
Abel Pereira
Sent from my Windows Phone
From: El-Sayed Mohamed
Sent: 14-10-2011 16:52
To: Discussions related to Mono for Android
Subject: Re: [mono-android] Cant' deploy app
Thank you Jon for your tip, but unfortunatly it didn't work and I have got
the same error.
I have change
Thank you Jon for your tip, but unfortunatly it didn't work and I have got
the same error.
I have changed from AdapterView to AsbListView with no luck. Seems
it is not related to generics?.
Thanks,
El-Sayed
-Original Message-
From: monodroid-boun...@lists.ximian.com
[mailto:monodroid-boun
Hey All,
So i am trying to get my SMS Receiver to work, and am relatively close. I
can get the SMS, and get the PDUS value out of the intent extras, however i
am unable to get the PDUS as an object[] so that i can get the byte[]. Here
is my receiver code:
[BroadcastReceiver(Enabled = true,
Outside my project, in a new, empty Android app, both your code and mine
works correctly with the camera, and OnActivityResult IS called.
This leads me to believe that the problem lies somewhere else in my code.
You see, my application only has 1 activity, the rest of the 'screens' are
created in
Also, this helped me before:
Wow! I ran into this myself not 20 minutes ago, to make it work, you have to
do this, I had left off
the SingleTop and the OnActivityResult was being called immediately.
// I found this fix from:
http://lblasa.wordpress.com/2011/06/16/android-onactivityresult-after-
protected override void OnActivityResult(int requestCode,
Android.App.Result resultCode, Intent data)
{
base.OnActivityResult(requestCode, resultCode, data);
}
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Using-the-device-camera-and-getting-a-resu
This code works for me, and OnActivityResult is called:
void useCamera()
{
Intent intent = new
Intent(Android.Provider.MediaStore.ActionImageCapture);
string xp =
System.IO.Path.Combine(Android.OS.Environment.ExternalStorageDirectory.Name,
"Android/data/com.myprereg.leads/file/ca
On Oct 14, 2011, at 10:55 AM, John Murray wrote:
> Sorry to admit I don't know how to get at the logcat
http://docs.xamarin.com/android/advanced_topics/android_debug_log
> depdate = FindViewById(Resource.Id.depdate);
>
> does one have to specify the subclass in the xml?
Yes. The type t
The camera opens, and i can "snap" a picture, but when i choose "Save" or
"Ok", depending on device, it hides all activities and returns to the device
home screen, although the app is still running in the background. Now the
code i'm using came from:
http://achorniy.wordpress.com/2010/04/26/howto-
Sorry to admit I don't know how to get at the logcat
The thing falls over in VS2010 with a message saying no source code and no
assemblies at this point
depdate = FindViewById(Resource.Id.depdate);
does one have to specify the subclass in the xml? If so is it as simple as
calling it EditTextEx?
On Oct 14, 2011, at 5:21 AM, John Murray wrote:
> If have this code but it causes an undandled exception-no messages no code
Odd. What version of Mono for Android is this? 1.2.0 and later should show
unhandled exceptions on logcat... :-/
> Supplementary question - why is it that setting edit to
On Oct 14, 2011, at 3:48 AM, SRI wrote:
> Warning. I am writing this from Memory when I last observed
> this error (few months back). This error is benign.
Different error. :-)
You're talking about this message:
> DEBUG/SntpClient(60): request time failed: java.net.SocketException: Address
I found the error.
The APK needs to be zipaligned...
Nicklas
-Original Message-
From: monodroid-boun...@lists.ximian.com
[mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Nicklas Møller Jepsen
Sent: 14. oktober 2011 09:50
To: Discussions related to Mono for Android
Subject: Re: [m
Hi Wally,
I ran the code and it works fine for me (On Google Nexus S). The one thing
I'd question is the "RECORD_VIDEO" permission. It looks like you've just
made that one up :) Not sure if removing it will make the saving of the
video start to work though.
Hope this helps,
ChrisNTR
On Thu, Oct
Thanks for that Jon
If have this code but it causes an undandled exception-no messages no code
public class EditTextEx : EditText
{
public EditTextEx(Context context, Android.Util.IAttributeSet attrs)
: base(context, attrs)
{
}
public override bool
Hello,
I need to call a WCF service. I generated a WCF proxy (using slsvcutil)
according to tutorial
http://wiki.ios.xamarin.com/HowTo/WebServices/Using_WCF and used it in the
Mono for Android project. I made WCF proxy to the same service as tutorial
http://docs.xamarin.com/android/tutorials/cons
Thank you for the answer.
1. I have already disabled linking.
I'll try to sum up the exact scenarios.
Working:
Release Build, no linking, not using shared runtime
Deploying to device from VS (hitting F5)
Everything is working completely as it should
Not working:
Release Build, no linking, not u
Hi Jon,
Warning. I am writing this from Memory when I last observed
this error (few months back). This error is benign.
This error last time I debugged deep into mono and found that this was
related to IPv4 and IPv6 Address Family checking, When I was porting
System.Web to Android/IOS and
31 matches
Mail list logo