I'm debugging against a Samsung S3 using VS 2012 running on Windows 8.
Whenever I hit a break point in my code there is a 10-20 second delay before
VS becomes responsive.
I'm using 4.4.55 - since I've had some issues with 4.6 and the RESCO
controls I user.
I tested using VS 2010 and it behaves s
I can't figure out to set the individual tab text of a tabwidget.
This should be simple but I can't find a "set text" method.
This is what I have so far:
TabHost.TabWidget.GetChildAt((int)enuTabView.MyTab). <- stuck here???
Thanks in advance.
Cheers
Derek
--
View this message in context:
h
I'm having exactly the same issue.
Damn annoying.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Can-not-activate-license-upgrade-tp5712593p5712598.html
Sent from the Mono for Android mailing list archive at Nabble.com.
__
I'd really appreciate a hand with layout issue I'm having.
I have seen a lot of example with TableLayout where folk are only using
layout_span to control the columns.
I want three equal columns.
Row 1: 1/3 and 2/3
Row 2: 1/3 + 1/3 + 1/3
Why do I have to throw in so many other attributes like
Jon - as usual - you nailed it!
Missing [Activity] decoration - I'm an idiot.
You can add a case of beer to my tally.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/AndroidManifest-xml-not-being-updated-with-new-Activity-tp5711335p5711337.html
Sent from the Mon
When I add a new Activity to an existing project I'm suddenly getting
ActivityNotFoundExceptions.
I've traced this to the AndroidManifest.xml not being updated with new
Activities when they are added.
If I open the AndroidManifest.xml they seem to be added but are then deleted
when I deploy?
Any
Paul - rolling back to 4.2.1 makes all the difference if you need to do lots
of debugging.
I wasn't having debugging timeouts with 4.2.3 but the debugger would stop in
random places above and below breakpoints and it was very slow.
--
View this message in context:
http://mono-for-android.104710
Apologies in advance - perhaps this isn't the most constructive feedback
but...
WTH is up with the debugging 4.2.3? The debugger seems to have a mind of
it's own.
It's slow and doesn't seem to hit all the breakpoints.
I rolled back to 4.2.1 (without a reboot either - and using exactly the same
c
Hi Jon,
Just fyi - there is no category for Ver 4.2.2 for submitting bugs in
Bugzilla.Xamarin.
I like the confidence ;)
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/No-category-for-Ver-4-2-2-in-Bugzilla-Xamarin-tp5710051.html
Sent from the Mono for Android mail
Was looking in the 4.2.2 notes and saw this:
Reduce lifetime of wrapped Streams in InputStreamAdapter,
InputStreamInvoker, OutputStreamAdapter, OutputStreamInvoker. Disposing of
the wrapper instance will now dispose the wrapped instance.
Any chance this is the cause? Also I noticed this also affe
I'm getting a System.ObjectDisposedException error when trying to reference
the fs.Length property in this piece of code:
using (Android.Graphics.Bitmap bitmap =
Android.Graphics.BitmapFactory.DecodeByteArray(jpegData, 0,
jpegData.Length))
{
using (System.IO.FileStream fs = new
System.IO.FileStrea
Thanks for this post - also just had this issue. It was only a problem when I
had Linking options in the VS solution set to Sdk Assemblies only.
I opened "C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets" in VS deleted the
LinkDescriptions attribute and viola.
Didn't have to
Given the cool headed responses to both sides of this discussion it would
seem to me the MonoForAndroid developers are a higher form of life than some
other developer communities.
Coming from someone who ran/mentored a development community for 8 years.
--
View this message in context:
http:/
Hi @ledz,
I initially did a double take when @Tomasz answered but he's just ringing my
bell :)
He was a big help answering noobie questions when I started.
But you summed it up well.
In fact on the support issue I really need to give props to Jonathan,
Atsushi and Eric for their awesome support
Thanks Jonathan - I will test with 4.1.1 and file a bug if needed!
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/ETA-for-MfA-4-2-tp5676805p5678855.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_
Ver 4.1 has a fix that affects garbage collection on dual core devices.
However this alpha is pretty big - when I package my app it's over 10MB.
I'm presuming that a stable 4.2 is going to have a smaller footprint -
possibly less embedded debug code?
I've been waiting for this for a few months -
What's the estimated date we can expect 4.2?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/ETA-for-MfA-4-2-tp5676805.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Mono
Is the receiving activity's launchmode set to singletop by any chance?
If so you might need to look at OnNewIntent:
http://developer.android.com/reference/android/app/Activity.html#onNewIntent(android.content.Intent)
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/
I'm having a persistent issue with my service crashing after garbage
collection has run.
By crashing I mean the app and service completely freeze. I can't error trap
it anywhere - I can only see the error in the mono log.
I have tested my app with ver 403, 404 and 405 beta.
This is a show stoppe
My application is crashing occasionally and I'm having a difficult time
tracking down the error.
The app uses an in-process service which synchronizes data in the
background.
The crashes seem pretty random and I'm I'm unable to reproduce it with any
consistency.
At time the app will run for 12 h
In case anyone else comes across this issue - this is how I solved it.
I was using Resco's Mobile Forms Studio to generate some of the activities.
Removing the MobileFormsStudio.AndStyleManager.dll from the Project
references allowed me deploy successfully with SDK linking enabled.
(C:\Program F
Hi Atsushi,
Thanks for the reply. No problem to send you the source.
Could you email me at de...@devbuzz.com so I can get your email address?
I need to zip it up and email as attachment.
I use Resco controls for MfA - do you guys have a license/not sure if this
is an issue?
The "hidden email"
I'm getting an error when I try to deploy a solution using Linking.
With linking disabled every things works fine but the apk is large ~20MB.
I set Linking = Sdk Assemblies Only
(User Shared Runtime is unchecked.)
The error seems to relate to Android.Widget.TextView?
Error Text:
Packaging Fail
Thanks Dragos,
Can you expand a little?
Where do I add the default code = 0?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/CodePage-1252-not-supported-tp5470102p5478509.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_
Similar to the following post I am getting a "CodePage 1252 not supported"
error in my release code.
(debug is fine).
http://mono-for-android.1047100.n5.nabble.com/CodePage-1252-not-supporte-td4876764.html
I have made sure that "West" is checked in the Additional Supported
Encodings section of the
Thanks a million!!
I've been battling with this for a few hours.
Also for anyone else in the future; this is how you get any query string
parameters off the incoming link.
Add the following to your main launcher activity onCreate():
if (Intent.Data != null)
I want to launch my application from a URL embedded in an email (with some
parameters).
I read the following StackOverflow question and it seems this is possible:
http://stackoverflow.com/questions/2958701/launch-custom-android-application-from-android-browser
However I'm having an issue getting
I'm a little confused about where to look for information about the SQLite
ADO.Net provider.
There seem to be a few different providers? I'm not sure which one is
embedded with the Mono for Android stack?
When looking at the references to include there seemed to be some ambiguity:
Mono.Data.SQLit
Thanks Jon.
Looking at the monodroid-gc logs I often see items like this:
>> 01-18 02:40:13.855: I/monodroid-gc(4606): GC cleanup summary: 29 objects
>> tested - resurrecting 0.
Most of the time the result is "resurrecting 0".
Sometimes I see this:
>> 01-18 02:41:34.845: I/monodroid-gc(4606):
Jon,
Just ran it for 7 hours on 4.0.3 beta without crashing!!
I'm hugely relieved because that was a potential show stopper.
Out of interest which of the bug fixes would affect the
System.MonoType.GetProperties?
http://android.xamarin.com/Releases/Mono_for_Android_4/Release_4.0.3
Regards
Derek
Hi Jon,
No I haven't - I will download it now and test.
Regards
Derek
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Mono-crashing-at-System-MonoType-GetProperties-call-tp5152993p5153264.html
Sent from the Mono for Android mailing list archive at Nabble.com.
Eric & Jon,
My apologies, the Mobile API's are not responsible.
I've got some updated stack trace information which seems to indicate a call
to "System.MonoType.GetProperties()" is the culprit.
http://mono-for-android.1047100.n5.nabble.com/Mono-crashing-at-System-MonoType-GetProperties-call-tp51
I have a background service that polls a web service every 30 seconds.
The web service receives and returns objects serialized as XML.
The activity that monitors the service (via broadcast receivers) as well as
the service crash after a few hours.
Both stack traces indicate the last method calle
Hi Eric,
I can't see a file version on the Xamarin.Mobile.dll but it looks like it
was compiled on 8 Dec at 6:04pm?
I just downloaded the latest from the zip file and it looks like it is the
latest.
Regards
Derek
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/mg
Hi Jon,
I'm using the latest Mono for Android AFAIK. - i.e. the fast version with
the great debugging :)
Using a process of elimination I have tracked the error down to the managed
Xamarin Mobile API.
Specifically it seems to occur in the geolocator.PositionChanged event
handler.
protected void
I second that - it's made troubleshooting MUCH easier!
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/more-information-in-the-VS-NET-errors-tp5142888p5149825.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Is the app in the video on the linked page created with Monodroid?
It looks really impressive!
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/I-hope-my-250-pounds-399-dollars-makes-Xamarin-staff-rich-because-tp5142989p5148388.html
Sent from the Mono for Android ma
I'm heading down the same path with the Kindle Fire - so thank you for your
observations.
So, aside from the nonstd image sizing conventions, it sounds like taking an
Android app and rejigging it for the Kindle Fire wasn't too problematic?
--
View this message in context:
http://mono-for-android
The one area I have been ignoring (stupidly - but you know how it goes) in
developing my Android app for the marketplace is whether there are any
restrictions on services that fetch data in the background.
I did some quick searching but I would love to hear from someone who has
gone through the pr
I have an activity and a service which crash and completely lock up the
device.
The service uses a number of thread timers to do some background processing
as some logging to SQLite.
I see the following in the log:
*In mgmain JNI_OnLoad
The program 'Mono' has exited with code 255 (0xff).
*
Does
Hi Tomasz, many thanks that makes complete sense!
One thing I'm still struggling with though is having only a SingleInstance
of my application running at a time.
I have uploaded a sample app here showing the issue:
http://www.devbuzz.com/downloads/SplashAndSingleInstance.zip
I am aware that thi
I removed the noHistory option because I'm using the SplashActivity as a kind
of initial workflow processor.
So if the user has already logged in before they get:
SplashActivity -> Login Screen-> SplashActivity.OnActivityResult -> Home
Screen
If this is the first time they are logging in they get
Thanks Jon, I will give that a go.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Invalid-format-string-error-using-rs-GetValue-tp5120916p5138189.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
I've run into an issue implementing my splash screen. I used the
SplashActivity example and everything works the first time I run my app.
Since my application launches a service to retrieve data in the background I
don't want multiple instances of the app running. If you are running the
app, press
Great - thanks Jonathan - that is good news.
Will that be a general/auto update - or do I need to download from
somewhere?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/VS2010-crash-on-F5-tp5135114p5135292.html
Sent from the Mono for Android mailing list archive
I've had a few issues with debugging but in general I'm pretty happy.
However I only debug on a physical device, the emulator is unusable IMO.
mfA ver 4.0 debugging is much faster than the previous version; this
improvement plus faster deployment speed are the probably the single biggest
thing fo
I'm getting the following crash about 3 or 4 times out of 10 when I Start
Debugging with F5.
Anyone got any ideas of how to avoid this?
When it happens I have to kill VS2010 with the TaskManager - no amount of
hitting OK will clear things.
Then I need to go onto the physical device and kill any
Thanks Greg!
For anyone else looking for this here are the pertinent steps:
1) implement the interface on your activity
public class MainActivity2 : TabActivity,
Android.Widget.TabHost.IOnTabChangeListener
2) important: set the OnTabChangeListener
TabHost.SetOnTabChangedListene
Hi Jonathan,
Are you 100% sure this issue only affect the debugger displa?
I ask because if you read my post here:
http://mono-for-android.1047100.n5.nabble.com/quot-Invalid-format-string-quot-error-using-rs-GetValue-td5120916.html
You can see the image with the corrupt datetime values in my sql
How can I implement IOnTabChangeListener?
I have a Tab where the setcontent references views not activities.
I have added the interface in the class declaration like this:
public class MainActivity2 : TabActivity,
Android.Widget.TabHost.IOnTabChangeListener
set the following:
TabHost.SetOnTabC
I tried to do it without "reading the manual" but in the end I did what I
should have started with and invested some time learning :)
Much of what I needed to know about how to architect my service came from
the following PluralSight course:
Android Async Programming and Services
http://www.plura
Thanks Jon.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Reference-to-Service-Class-started-with-StartService-tp5095507p5121253.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid maili
Thanks for the fast response Eric :)
Is there anyway to tell when the GPS has lost reception after a successful
fix?
This is what I'm experiencing:
1) The GPS icon stops flashing indicating a fix.
2) PositionChanged fires as I would expect and all the values from
PositionEventArgs.Position look
I'm reading values out of a sqlite database using a SqliteDataReader.
The first few rows read in fine but then one fails.
I took a peek at the table using SqliteManager and could see it had some
corrupted values in.
The problem is that any call to rs.GetValue fails - I can't see any way I
can
A quick question about the geolocation API - I couldn't find any docs :)
I'm grabbing GPS positions in a service using this code:
geolocator = new Geolocator (this) { DesiredAccuracy = 50 };
if (!geolocator.IsGeolocationEnabled)
return;
geolocator.PositionChanged += gps_LocationChange
Thanks Enrico.
Having the thread killed during a rotation is not acceptable for my solution
so I'm looking at the Service option.
This looks like the way to go - BUT I'm not sure how to receive events in
the application from the service class.
--
View this message in context:
http://mono-for-an
@wanting,
Had exactly the same issue; spent a whole day trying to make it work as per
the instructions here.
In the end the only thing that worked was putting the database in a
different folder.
This is how I managed the database folder:
var personalFolderPath =
System.Environment.GetFolderPath
If I instantiate a Service class using StartService() like this:
StartService(new Intent(this, typeof(DBT.ServiceManager)));
how do I get a reference to the class?
I need to occasionally access the service to progress parameters etc.
Anyone got an example or idea - bit out of my comfort zone wi
58 matches
Mail list logo