I'm trying to create a JavaScript interface for use with a WebView.
I created the class below and used it as shown. I have also added a
reference to Mono.Android.Export to the project.
When I compile I get the error Shown further below.
using Java.Interop;
namespace Common
{
public class
I am a long time vb.net coder and some C++ just so you know my background.
I need to create an app for communication with a accessory device(In this
case its a Microchip Android SDK)
I have created an app to display the data from the device, but I really dont
know where to start for the USB stuff
thanks Jon. I took the code over to another machine, and it all just worked as
intended.
Wally
> From: j...@xamarin.com
> Date: Wed, 6 Jun 2012 16:29:47 -0400
> To: monodroid@lists.ximian.com
> Subject: Re: [mono-android] DateTime .ToString(.)
>
> On Jun 6, 2012, at 3:33 PM, Wally McClure
My app is based on Google MapView MapActivity and it downloads the data through
a web service so it has to have the internet permission otherwise it wouldn't
show a thing.
Kyle
-Original Message-
From: monodroid-boun...@lists.ximian.com
[mailto:monodroid-boun...@lists.ximian.com] On Be
On Jun 6, 2012, at 4:57 PM, Emiel Metselaar wrote:
> Done, but failed for GoogleAnalytics Easytracker (
> http://code.google.com/p/analytics-api-samples/downloads/list ).
>
> The javadoc gets picked up from the output:
> C:\Program Files\Java\jdk1.6.0_24\bin\java.exe -jar "C:\Program
> Files\MSB
Done, but failed for GoogleAnalytics Easytracker (
http://code.google.com/p/analytics-api-samples/downloads/list ).
The javadoc gets picked up from the output:
C:\Program Files\Java\jdk1.6.0_24\bin\java.exe -jar "C:\Program
Files\MSBuild\Novell\jar2xml.jar"
--jar=C:\Users\Azure\Projects\MCCollega\
On Jun 6, 2012, at 3:33 PM, Wally McClure wrote:
> I'm trying to send it in the format like "05/24/2012" Unfortunately, this
> doesn't seem to be happening. I am always getting the time portion sent
> across as well.
I'm unfortunately unable to reproduce; the following code:
Console.W
On Jun 6, 2012, at 3:53 PM, Emiel Metselaar wrote:
> Could you give an example to rename the method parameters, when I am
> consuming a "bound library" the p0, p1 are not helping. How does Xamarin
> implement the intellisense, are you writing the xml file by hand?
The problem is getting the
John,
Could you give an example to rename the method parameters, when I am
consuming a "bound library" the p0, p1 are not helping. How does
Xamarin implement the intellisense, are you writing the xml file by hand?
Thanks
Regards
On Wed, Jun 6, 2012 at 8:17 PM, Jonathan Pryor wrote:
> On J
I've got the code below. Basically, I am trying to send a date across to a
REST based service. I'm trying to send it in the format like "05/24/2012"
Unfortunately, this doesn't seem to be happening. I am always getting the time
portion sent across as well. I literally don't want the tim
On May 30, 2012, at 1:26 PM, Narayan Sainaney wrote:
> Hi Jon,
> Thanks for the English translation. Here's all I've done thus far:
>
> 1) Pulled the code from the git repository
> 2) Built it
> 3) Created a new Java Bindings Library project
> 4) Copied the generated touchdb-android.jar into the J
On Jun 4, 2012, at 4:01 AM, vkMahesh wrote:
> I am also facing the same problem. can anyone help me on this?
Is this a Debug app or a Release app? On hardware or an emulator?
Sanity test: on your target device, open the Browser app and try to go to the
URL that is generating a NameResolutionFail
On Jun 4, 2012, at 5:50 AM, S.J. Visschers wrote:
> I've tried to implement the code you have posted. But when I run the app, I
> get a NoClassDefException in the facebook.cs on the following line.
>
> private static IntPtr _class_ref =
> JNIEnv.FindClass("myapp/facebook/FacebookHelper");
Where
On Jun 6, 2012, at 4:04 AM, Miljenko Cvjetko wrote:
> Just to report (let me know if bug report is needed).
Please file a bug at bugzilla.xamarin.com.
Thanks!
- Jon
___
Monodroid mailing list
Monodroid@lists.ximian.com
UNSUBSCRIBE INFORMATION:
http:/
On Jun 6, 2012, at 5:17 AM, moelski wrote:
> If i start the app all works fine. But if I click the Start button the
> service creats, the "mover" instance is created, the service starts, the
> OnHandle Event is fored and the service will be *destroyed*.
>
> Can anyone give me a hint why this ha
On Jun 6, 2012, at 5:52 AM, Miljenko Cvjetko wrote:
> So ran into:
> Error1
> 'Pan': member names cannot be the same as their enclosing type
> HolisticWare_AChartEngine\HolisticWare.AChartEngine.JavaBindingLibrary\obj\Debug\generated\src\Android.AChartEngine.Tools.Pan.cs
>
> 134
On Jun 6, 2012, at 11:03 AM, Petr Slováček wrote:
> This is what I get in application output window each time it tries to send
> the data:
Less useful than I hoped. HttpResponseParser.parseHead():
https://github.com/android/platform_external_apache-http/blob/master/src/org/apache/http/i
Hi thank you for the answer. That was exactly the issue. It is all working now
as expected:)
Regards
On 06/06/2012, at 19.03, "Jonathan Pryor" wrote:
> The problem is that you didn't add the .jar as an AndroidJavaLibrary to your
> Application project:
>
>http://stackoverflow.com/a/1091
The problem is that you didn't add the .jar as an AndroidJavaLibrary to your
Application project:
http://stackoverflow.com/a/10914223/83444
- Jon
On Jun 6, 2012, at 5:54 AM, bjarke wrote:
> Hey Guys.
>
> I am trying to bind a jar(zubhium sdk jar) file to my mono droid project. I
> ha
Hello everyone,
I have a problem with java library binding. I successfully created a binding
project for Google analytics tracker library but I'm getting
"org.apache.http.NoHttpResponseException: The target server failed to
respond" when it tries to send the data to Google servers. The application
Hi
I have managed to get an idea about how the ContextMenu stuff works but i
need some guidance on the following.
I have a listview with a 5 items eg:
ITEM 1
ITEM 2
ITEM 3
ITEM 4
ITEM 5
I have managed to attach a contextmenu to the listview. What i need is to
be able to tap and hold on an Item
Many thanks worked a treat.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/SetRequestedOrientation-stopped-working-after-upgrade-of-SDK-tp5710121p5710175.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_
Hey Guys.
I am trying to bind a jar(zubhium sdk jar) file to my mono droid project. I
have followed the guide on xamarins website and created a new binding
project which I reference I my mono droid project. I am having some issues
with package names. I get the following error:
Error 3packag
Hi,
I'm creating a colorpicker for an art app but have hit a problem. I've
created a view that is consists of a linearview (horizontal) with a
pile of surfaceviews. Each surfaceview has an gradient fill set as the
background. Under that is an imageview that displays the colour I've
clicked on.
Th
On Jun 5, 2012, at 11:10 AM, johnHolmes wrote:
> http://developer.android.com/reference/android/view/View.html#setScaleX(float)
This is bound as the View.ScaleX property
http://androidapi.xamarin.com/monodoc.ashx?link=P%3aAndroid.Views.View.ScaleX
> http://developer.android.com/referenc
Hello,
When i've download a pic into the SDCARD, i want to tell android gallery
application with this pic to set a new wallpaper, but i've no idea how
to do this
anyone have a track, or keywords, to open the application with the
image, the user can make his wallpaper
i search / try with a
Jon,
This is what I get in application output window each time it tries to send the
data:
W/GoogleAnalyticsTracker(32723): Problem with socket or streams.
W/GoogleAnalyticsTracker(32723): org.apache.http.NoHttpResponseException: The
target server failed to respond
W/GoogleAnalyticsTracker(32723
On Jun 6, 2012, at 10:42 AM, Kyle wrote:
> Is it possible that embedded java library does not share internet access
> rights from the application?
Not that I know of.
Is there a stack trace? Line numbers? org.apache.http.NoHttpResponseException
is part of AOSP, so it might be possible to dig in
I have bound the easy tracker library (googles wrapper around google
analytics, which takes care that the communication occurs from the calling
thread) and if your app has internet access rights it works.
On Wed, Jun 6, 2012 at 4:42 PM, Kyle wrote:
> Hello everyone,
>
> I have a problem with ja
Hello everyone,
I have a problem with java library binding. I successfully created a binding
project for Google analytics tracker library but I'm getting
"org.apache.http.NoHttpResponseException: The target server failed to
respond" when it tries to send the data to Google servers. The application
This is good to know. I have been getting these errors as well. Thanks
Jonathan for the info. Wally
> Date: Wed, 6 Jun 2012 09:17:00 -0500
> From: mon...@jpobst.com
> To: monodroid@lists.ximian.com
> Subject: Re: [mono-android] Error where deploying to device
>
> Hey,
>
> Both of these shoul
Jonathan Pobst wrote
>
> Hey,
>
> Both of these should be fixed in 4.2.3, which we expect to release later
> this week.
>
> Jonathan
>
>
Ok, thanks! I there anyway I can workaround these errors in the meantime?
Yair
--
View this message in context:
http://mono-for-android.1047100.n5.nab
Hey,
Both of these should be fixed in 4.2.3, which we expect to release later
this week.
Jonathan
On 6/6/2012 8:00 AM, yair wrote:
Hi,
I activated mfa yesterday and have a problem I can't seem to overcome.
I got the emulator up and running and deploying and debugging work ok in the
VS 2010
I should have added what I found helps as well. Apologies. From a cold boot, I
find that if I start an emulator session in MonoDevelop, then switch over to
VS, that VS will see all emulator sessions from that point forward. Yeah, its
a complete guess as to what works properly all the time.
Hi,
I activated mfa yesterday and have a problem I can't seem to overcome.
I got the emulator up and running and deploying and debugging work ok in the
VS 2010 plugin.
My device appears in the device list but after building (any of the template
projects) I get popups with errors:
one with a depl
Looks like this is by design in Android. Here is the solution I've ported
from java from a stackoverflow thread.
http://blog.rthand.com/post/2012/06/06/Writing-to-SD-card-and-notifying-outside-world-of-changes.aspx
http://blog.rthand.com/post/2012/06/06/Writing-to-SD-card-and-notifying-outside-worl
Hi
On 2012.06.04 10:48, JasonBSteele wrote:
Has anyone successfully managed to deploy to the x86 Emulator for the 2.3.3
(API Level 10)?
I had problems with first project I tried to deploy to x86...
Stupid me was trying to deploy project referencing GoogleMaps...
Check logcat - that is where I f
Hi
I'm learning about JavaBinding project and started with binding
AChartLibrary.
So ran into:
Error1
'Pan': member names cannot be the same as their enclosing type
HolisticWare_AChartEngine\HolisticWare.AChartEngine.JavaBindingLibrary\obj\Debug\generated\src\Android.AChartEngine.Tools.Pan.
Hi !
@Jon: i know that. I thought it would be possible to place any additional
event handler - anywhere
Anyway ... I started using the FileObserver which works pretty well for this
purpose.
This is my actual code:
It is not really spectacular right now. But I have a problem with the
service.
I'm developing a hybrid Monodroid app using the WebView with Html5 pages with
Javascript.
Whenever the Monodroid app runs the java script callback, and the soft
keyboard is visible, it forces the keyboard to hide.
In this case I'm trying to enable/disable and Ok button on the html page as
the user
I also use a method almost exactly like this. It works very well. We should
make it standard - maybe include it in the core libraries.
Is something similar used in MonoTouch? If so then how do those guys do
something like this?
On Jun 6, 2012 3:01 AM, "johnHolmes" wrote:
_
Hi
Just to report (let me know if bug report is needed).
Working with JavaBinding project and accidentaly got newline in
Metadata.xml:
Android.AChartEngine.Tools
instead of (ok code - there is whitespace but no crash)
Android.AChartEngine.Tools
Error is:
Error1"generator.
Just to add workaround
Restarting VS help (at least in my case)
cheers
mel
On 2012.06.06 04:14, Wally McClure wrote:
Deployment from the VS eval version through to the emulator seems to
be problematic in 4.2.2. I have filed a bug on this. It seems to be
a known issue that they are working o
43 matches
Mail list logo