Hi everyone,
I'm just throwing this out there to see if anyone has a similar experience.
We have an existing iOS4 app ~ it's been live for a year ~ that crashes on
startup in iOS5 b7
Debugging it shows that all our notificationcenter objects are null when we
try to remove them (whereas in iOS4
Apple's doco says:
Although you may perform Twitter requests on behalf of the user, *you
cannot append text, images, or URLs to tweets without the user’s knowledge*.
Hence, you can set the initial text and other content before presenting the
tweet to the user but cannot change the tweet after the
We have been successfully using SvnBridge (from Codeplex) for 18+ months. Makes
TFS looks like SVN, you can then use MD SVN integration or the excellent
VersionsApp for source control on the Mac.
No thoughts on build server tho' sorry
On Dec 8, 2011, at 8:48 PM, Nic Wise
Specifically, Miguel links to the iOS intro doco
http://docs.xamarin.com/ios/tutorials/Introduction_to_iOS_5
(scroll waaay down, to the Storyboard section, and sample
ziphttp://docs.xamarin.com/@api/deki/files/323/=Storyboard.zip
)
In particular, read around the line *Viewing the class is not
Have you already seen 'Technical QA QA1719' regarding this feature of iOS
5.0.1?
https://developer.apple.com/library/ios/#qa/qa1719/_index.html#//apple_ref/doc/uid/DTS40011342
As it says Whenever you create a file or folder that should not be backed
up, write the data to the file and then call
Felix,
DialogViewController ctor has an optional parameter pushing, if you pass
true then the back button will show.
In my case i subclass DialogViewController, so i've got this - notice the
third param in the base() call
public ExhibitorsScreen () : base (UITableViewStyle.Plain, null, true)
{
Dean,
hopefully this helps a little:
http://docs.xamarin.com/ios/tutorials/Working_with_the_File_System#Application_Directories
you are correct, anything embedded in your app is in the 'app bundle',
which is readonly on the device. there are a few other folders available
for you to store data -
Miguel's ImageLoader (from TweetStation, in MonoTouch.Dialog) does
something like that.
https://github.com/migueldeicaza/MonoTouch.Dialog/blob/master/MonoTouch.Dialog/Utilities/ImageLoader.cs
...might be worth a read
On Thu, Feb 23, 2012 at 8:57 AM, Tomasz Cielecki tom...@ostebaronen.dkwrote:
Brett,
short answer: attach the handler in the ctor.
TL;DR
the code at DialogViewController.cs line 63 is this (MonoTouch.Dialog
source is on github https://github.com/migueldeicaza/MonoTouch.Dialog/):
if (tableView != null)
throw new ArgumentException (You should set the handler before the
UIImagePicker
iPhone4s, iOS5.0.1
everything looks fine to me...
http://imgur.com/VOfp6
On Thu, Mar 8, 2012 at 8:53 PM, HairyJohn m...@johnhair.com wrote:
Can somebody try this code on an actual device please? Driving me
nutty.
Dictionaryint, double test = new Dictionaryint, double();
What iOS version is your iPad running?
ApportionsSegmentWidthsByContent is iOS5 only. Using that property seems to
work on my iPad with iOS5.1 installed...
You could try something like this to avoid 'unknown selector' errors
if (*yourSegmentedControl*.RespondsToSelector(new
Not sure why 2.8.8.2 is packaging 'Library Projects' as app bundles, but
another tacky workaround is to 'show contents' of the .app file it is
generating and copy the DLL out into the same folder, then rebuild.
WARNING: rebuilds won't pick up the latest - you would need to do this
manually after
So if i reference dll's in MonoDevelop
-BUT- the project is a simple .NET4.0 class library..then there should be
no problems
Incorrect - sorry :-(
To avoid confusion, **don't reference DLLs at all** (there are caveats to
this if they're already built for the correct platform, but for now just
I wouldn't characterize it as fragile - there are many large scale projects
out there sharing massive amounts of code across platforms. And it sure as
heck beats re-writing the code in Objective-C and Java!
So now this means I can't do any of that :(
well, no - you can still do *most* of that.
Will look forward to your first AppStore approval ;)
On Mon, Mar 26, 2012 at 4:28 PM, Pure Krome
pure.kr...@world-domination.com.au wrote:
Thanks again Craig :) i'll give the suggestions in here a try and report
back
with any success or more questions.
But I will keep giving it a go :)
yeah, maybe you could provide the code? gist.github.com
the MWC sample subclasses DialogViewController
https://github.com/xamarin/mobile-samples/blob/master/MWC/MWC.iOS/Screens/iPhone/UpdateManagerLoadingDialogViewController.cs
which is in turn subclassed
you can expose files that you save in your apps /Documents/ directory to
the user through iTunes
http://docs.xamarin.com/ios/tutorials/Working_with_the_File_System#Sharing_Files_with_the_User_through_iTunes
just 'turn on' UIFileSharingEnabled via Info.plist then save your documents
in that
There is some introductory info in the docs
http://docs.xamarin.com/ios/tutorials/Introduction_to_iOS_5#CoreImage
And a more compete example on github
https://github.com/xamarin/monotouch-samples/tree/master/CoreImage
On Thu, Mar 29, 2012 at 9:28 PM, Tomasz Cielecki tom...@ostebaronen.dkwrote:
the MWC sample uses the same MT.Dialog screens in iPhone iPad - on the
phone they're fullscreen (obviously) and on the iPad they sit in a
SplitView (for example: the Speakers and Sessions lists).
Pretty much the only special handling required was in the Element.Selected
method - for iPhone we
SplitViewController is supposed to be the root (ala the Mail app)
according to Apple's guidelines. It can also be added inside a
UITabBarController
(seehttps://raw.github.com/xamarin/mobile-samples/master/MWC/Screenshots/iOS/Sessions_iPad.PNGthe
MWC
sample
I just quickly put this sample together
http://twitpic.com/93gfty
you'll have to create a monotouch project from these files
https://gist.github.com/2257994
AND don't forget to add the image file to your project
https://github.com/xamarin/monotouch-samples/raw/master/CoreImage/clouds.jpg
*
I haven't done a Storyboard with MT.D yet, but opening a Storyboard
viewcontroller from regular old TableSource.RowSelected can be done like
this (note the Identifier must be set in the Storyboard+Attributes
Inspector for your view controller)
// Specially for Storyboard !!
var detail =
Hey,
I don't know any pros/cons OTTOMH but there are some parts of the API
(exposed by MonoTouch) that still require NSStrings (even NSArrays), so you
will occasionally see them, even in examples and such. Therefore it is
worthwhile being aware of their existence and how to use them.
However,
Currently I think this class
https://github.com/xamarin/monotouch-samples/blob/master/ReachabilitySample/reachability.cs
is your best bet - however in my experience it can block, so should be run
on another thread.
also, i don't think it can tell the difference between 3G and 4G :)
HTH
cd
On
' when you tab away and back... :-s
On Wed, Apr 11, 2012 at 9:34 AM, davidortinau d...@davidortinau.com wrote:
Gist of the view and the service being called (uses RestSharp):
https://gist.github.com/2355621
I'm not using ViewWillAppear.
On Apr 10, 2012, at 6:30 PM, Craig Dunn [via
, davidortinau wrote:
Gist of the view and the service being called (uses RestSharp):
https://gist.github.com/2355621
I'm not using ViewWillAppear.
On Apr 10, 2012, at 6:30 PM, Craig Dunn [via MonoTouch] wrote:
This also will happen if you navigate to a different tab and back.
any chance you can
never really thought about this before, but a quick look with PhoneDisk
indicates the file is at
/Library/Preferences/bundleid.plist
this code should get a valid path (not tested)
string documentsPath = Environment.GetFolderPath
(Environment.SpecialFolder.Personal); // Documents folder
string
a-ha! context :) for the record, I have used SharpZipLib to decompress
200-500Mb *downloads* (post-install), which makes a lot of sense for
certain applications (say, a magazine reader).
I don't think you are getting much value from ZIPping something you ship in
the IPA. As previously mentioned,
there's a recipe for a simple animated image
http://docs.xamarin.com/ios/recipes/Standard_Controls/Image_View/Animate_an_ImageView
looks like
thishttp://docs.xamarin.com/@api/deki/files/902/=ImageViewAnim1.png?size=bestfitwidth=233height=350
hth
cd
On Wed, Apr 18, 2012 at 3:59 AM, MojoDK
Sure - I'm just pointing out options.
Personally I'd use the least-code approach every time... Apple put the
UIImageView animation feature there for us to use!
On Wed, Apr 18, 2012 at 3:25 PM, MojoDK m...@fpr.dk wrote:
Hi Craig,
I do not want to add unnecessary image files to my project,
Hey,
so you might have already seen this example
http://docs.xamarin.com/ios/recipes/Media/Video_and_Photos/Save_Photo_to_Album_with_Metadata
grab that code, then in ImageViewController.cs : add this code to the Tweet
Station.Camera.TakePicture handler. Note that it isn't saving the GPS or
other
Have you considered just using UITableViewStyle.Plain?
I'm not sure putting MessageElements inside the Grouped style is 'normal'
UI... the Mail.app is Plain.
Just a thought...
On Fri, Apr 27, 2012 at 12:39 PM, Felix Collins fe...@intranel.com wrote:
I notice that the top and bottom
Hey Felix,
From memory MT.D custom element sizing can be done two ways - implementing
IElementSizing on the Element (which I am assuming what is happening here,
as MessageElement is built-in) OR implementing CreateSizingSource on the
DialogViewController subclass and returning something that
Hey John,
do you want to give this a try?
NavigationItem.SetRightBarButtonItem (new UIBarButtonItem
(UIBarButtonSystemItem.Add), false);
NavigationItem.RightBarButtonItem.Clicked += (sender, e) = {
Console.WriteLine(Right Bar Button Clicked!); };
this particular snippet is from the Tasky
Are you testing on a real device? Because the simulator doesn't have the
iTunes app, it can only show links in Safari (same goes for AppStore and
Maps links).
I just ran this on my iPhone
var u = new NSUrl(
http://itunes.apple.com/mx/album/meditacion-del-testigo/id415533606?uo=4;);
Looks like a couple of problems to me (i'm looking at
AuthenticatePasscodeController, probably the same problems are in
SetPasscodeController)
First,
this.NavigationController.InvokeOnMainThread(
should just be
InvokeOnMainThread(
Second,
alertView.Hidden = true;
doesn't do what
try changing
var counties = connection.TableCountyData();
to the following two lines:
var countiesTable = connection.TableCountyData();
var counties = (from i in countiesTable select i).ToList (); // using
System.Linq
basically the object returned from connection.Table isn't really a list
Bob,
there is also a SplitView sample on github
https://github.com/xamarin/monotouch-samples/tree/master/SplitView
(looks like
https://github.com/xamarin/monotouch-samples/raw/master/SplitView/Screenshots/01.png
)
and a couple of SplitView 'recipes' here with sample code to download
Mr Shackles has kindly created client apps for MonoTouch and
Mono-for-Android, although I'm not sure how complete they are
https://github.com/gshackles/SignalR
HTH
On Fri, May 25, 2012 at 3:11 PM, Mike Kuzminski mkuzmin...@gmail.comwrote:
I emailed Monotouch support and they suggest using
The MWC sample does that - both for the master list (landscape view) and
also the mini 'speaker list' for sessions that you can see in this
screenshot.
https://raw.github.com/xamarin/mobile-samples/master/MWC/Screenshots/iOS/Sessions_iPad.PNG
the relevant pieces of code are :
* in the
You're sure to come across Miguel's TweetStation app - code is OS
https://github.com/migueldeicaza/TweetStation
On Tue, Jun 5, 2012 at 7:31 AM, Brett Spurrier brett.spurr...@gmail.comwrote:
I'll check it out. I've only been on the list for a few months. Thanks!
On Mon, Jun 4, 2012 at 2:28
the selected color in Monotouch.Dialog?
It would be a pity if I had to recode the existing iPhone controller as
a lower level TableViewController on the Ipad...
Thanks in advance,
Guivho.
On 3 June 2012 23:58, Craig Dunn craig.d...@gmail.com wrote:
The MWC sample does that - both for the master
Possibly you are using a UITableViewController or a
Monotouch.Dialog.DialogViewController as the basis of the screen - both of
these have a UITableView 'built in' that uses up the entire screen space,
which is why the rows appear as you described. This is kinda their expected
behavior.
Create a
Apple's
docohttp://developer.apple.com/library/ios/#documentation/Twitter/Reference/TWTweetSheetViewControllerClassRef/Reference/Reference.htmlseems
pretty clear that the built-in Twitter framework is not intended to
send tweets without the user seeing them first.
you cannot append text, images,
Ah, right,
setEditinghttp://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIViewController_Class/Reference/Reference.html
isn't
a Twitter framework method, it's inherited from UIViewController. Its doco
states:
Subclasses that use an edit-done button must override this method to
Hey,
not 100% sure I know what you're asking here, but I'll take a shot
1. Apple basically requires that your app doesn't crash. They will test on
a device without network, and if it crashes (because of bad code, or
startup time exceeds the 10sec limit) they will fail your app. So: you need
to
Hey,
That book was sent to press just after the first iPad was launched
(early-mid 2010) so some of the code is getting old (from 2009)!
I didn't get the same error as you, but the sample also didn't work for me
just now; this updated gist shows code that does work (3 lines modified). I
also
Hey - the MWC2012 sample app has a couple of custom MTD elements that use
IImageUpdated (Speaker cells have a head-shot, Exhibitor cells have a logo,
Twitter cells have an avatar image). links below.
HTH
craig
Hi Petr,
which Xamarin sample did you try? There is one on github
https://github.com/xamarin/monotouch-samples/tree/master/SplitView
also also three separate recipes on http://docs.xamarin.com/ios/recipes
eg.
There is some documentation on using the Newsstand APIs
http://docs.xamarin.com/ios/tutorials/Introduction_to_Newsstand
however that doesn't cover the actual reading/rendering stuff - you choose
your own data format and write that yourself...
HTH
On Thu, Jul 19, 2012 at 6:04 PM, Lennie De
Mr Shackles has already done some good work getting SignalR on Xamarin
https://github.com/gshackles/SignalR
HTH
On Jul 21, 2012, at 8:23 AM, Alex Soto dxdr...@gmail.com wrote:
Hello guys,
Do you know if SignalR can be used with MonoTouch?? Also any example
would be great
Or if you
Tool that might be helpful - http://www.paintcodeapp.com/ - for drawing
custom CG shapes. It outputs MonoTouch/C# code
http://blog.xamarin.com/2012/06/06/meet-our-new-favorite-design-tool-paintcode/but
does cost $99 to buy the full version.
Just FYI...
On Mon, Jul 23, 2012 at 10:56 AM, Chris_M
Just to clarify, you can't get this info from a UIImage object, because
that object is just for loading/displaying images.
You *can* get the info direct from an image *file* (with an NSUrl
reference) using the ImageIO framework (as per that example you linked to).
Here's the MonoTouch equiv...
What about
cell.Highlighted = true; // no animation
or
cell.SetHighlighted(true,false); // optional animation
? I'm not really sure what effect you are trying to accomplish with this
code... if it is just to have different colors on every second row, why not
just set the TextColor directly
Yep - there is a very basic example PCL project here
https://github.com/conceptdev/xamarin-samples/blob/master/TaskyProPortable/
there is a few basic Linq statements in here
https://github.com/conceptdev/xamarin-samples/blob/master/TaskyProPortable/Tasky.Core.Portable/DL/TaskDatabase.cs
HTH
;
label.HighlightedTextColor =
UIColor.Yellow;
}
}
** **
** **
*From:* monotouch-boun...@lists.ximian.com [mailto:
monotouch-boun...@lists.ximian.com] *On Behalf Of *Drew Greenwell
*Sent:* Monday, August 20, 2012 9:07 PM
*To:* Craig Dunn
you should look into MonoTouch.Dialog.Utilities.ImageLoader - just add a
project reference to MonoTouch.Dialog-1
https://github.com/migueldeicaza/MonoTouch.Dialog#image-loading
On Wed, Aug 22, 2012 at 8:44 AM, Jason Awbrey ja...@awbrey.net wrote:
load the images asynchronously and cache them
oh, also, i forgot this sample
https://github.com/xamarin/monotouch-samples/tree/master/LazyTableImages
(unfortunately it's a bit old, but might be useful reference)
On Wed, Aug 22, 2012 at 8:00 PM, Wally McClure
theevilprogram...@hotmail.com wrote:
Apologies for just noticing this thread. I
TaskyPro is a very simple example that uses MonoTouch.Dialog for a list
screen, and MonoTouch.Dialog's Reflection API to render the task-input form
which allows for data editing and deletion. it uses the SQLite-NET library
to wrap the database.
Solution:
in the Monospace11 app - https://github.com/conceptdev/Monospace11 - some
of the screens use webviews for formatting (found it faster to format
nicely, and work cross-platform with Android).
anyway, check out the
not 100% sure what you mean? if you're using one of the built-in
UITableViewCell layouts, eg
cell = new UITableViewCell (UITableViewCellStyle.Default, cellIdentifier);
then the text _is_ being displayed in a UILabel, so you can just set the
shadow properties:
cell.TextLabel.ShadowColor =
Hey there,
I know that Restore does work, as I've built commercial apps that
implement it; and the Xamarin sample also works for me.
The documentation basically says if there are no restorable-transactions
then UpdatedTransactions()
won't get called. If
The PassBook API lets you read passes that have been created and signed
with a certificate attached to your TeamID. So you can create multiple pass
types (each with their own certificate), distribute them to customers and
write multiple apps that can read one type or all of those passes. Your
apps
looks like the URL to 'capture' requests from an app via OpenUrl() and show
the Maps app is now:
http://maps.apple.com/maps?q=cupertino
https://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/MapLinks.html#//apple_ref/doc/uid/TP40007894-SW1
OT:
basically it says:
(as of September 20th) The currently available binaries are now
compiled for MonoTouch 6.http://xamarin.com/mobileapi
if you're using the mobileAPI (Xamarin.Geolocation) maybe try downloading
the latest from that link?
On Thu, Sep 27, 2012 at 5:21 PM, Rolf Bjarne Kvinge
from what version did you move _to_ 6.0.3? perhaps the changelog between
the two releases might point at something that's been updated to give you a
clue?
also, 6.0.4 has been released
http://docs.xamarin.com/ios/releases/MonoTouch_6/MonoTouch_6.0#MonoTouch_6.0.4
-- you might already have been
around that.
** **
Dino
** **
*From:* Craig Dunn [mailto:craig.d...@gmail.com]
*Sent:* Friday, October 12, 2012 19:44
*To:* Dean Cleaver
*Cc:* James Darbyshire; monotouch@lists.ximian.com
*Subject:* Re: [MonoTouch] Any idea what this could be?
** **
from what version did
Wally,
I don't see you assigning the UIRefreshControl you created to the
UITableView's RefreshControl property. You've got a local var refresh but
unless the table view itself has the widget assigned, it won't work... you
could probably just ditch your field and assign to the
That is normally what people expect - assuming the startup project
references the other one, you really want them both to be compiled so that
the latest changes are all included.
Aanyway... to change the behavior, right click on your solution in
MonoDevelop Options Build Configurations
I think they'll be in the 'root' file location of the App Bundle? If the
library has them in a folder-structure, then the folder structure will be
preserved, based in the App Bundle root...
On Fri, Dec 14, 2012 at 8:22 AM, Nic Wise n...@fastchicken.co.nz wrote:
If you build the app, and look
Storyboards provide a nice design-time experience for UI layout, navigation
design and can be faster to load in your app than XIBs. Regarding l10n
however, this quote is from Apple's docs:
*Note:* Before Xcode 4.5, developers and localizers had to modify
storyboards and nib files for each
it will depend on the structure of the monotouch app. all the UIKit code
(views, viewcontrollers, ui controls) will need to be re-written for
Android (views, activities, ui controls).
HOWEVER all non-UI-specific code should be re-usable... you might just need
to check some assumptions about
I'm just looking at this now. There is a button in the iOS toolbar in
Visual Studio - Show IPA file in Finder, which I think some of you have
already found. It doesn't seem to work as expected, however; or else
there's some ritual to follow first in terms of the configuration you
build, etc. I'm
the biggest shock for me was how different NSTableView was - it's still
kinda familiar (and let me get a basic sample
http://conceptdev.blogspot.com/2012/09/microsofts-azure-mobile-services-and_13.htmlup
and running pretty quick) but the Mac controls definitely feel different to
iOS :)
bon
Depends on how secure you want it to be - the sandbox (plus curated app
store) generally means other applications can never hack at/steal your
data, and in the /Library/ folder end-users generally won't find it either.
However, if the phone/device was stolen, unencrypted files are fairly
simple
this doc might help
http://docs.xamarin.com/guides/ios/application_fundamentals/working_with_the_file_system
On Wed, Apr 24, 2013 at 11:50 PM, madhusudhan reddy
ymadhusudhanredd...@gmail.com wrote:
I have an application where i need to save the PDF to a folder where user
can see and access
Here's a pretty old (2009) sample from Mike doing some basic
listening/response from iOS
http://mikebluestein.wordpress.com/2009/10/13/create-a-mini-web-server-using-monotouch-to-serve-up-a-silverlight-app-to-your-desktop/
HTH
On Tue, Aug 27, 2013 at 8:42 AM, Nic Wise n...@fastchicken.co.nz
an easy fix is to build up the Sections manually rather than combining it
all into one statement, for example this old code:
Root = new RootElement (Tasky) {
new Section() {
from t in tasks
select (Element) new StringElement((t.Name==?newTask:t.Name), t.
Notes)
}
};
--
*From:* Craig Dunn craig.d...@gmail.com
*To:* Alejandro Vazquez alexvazq...@yahoo.com
*Cc:* monotouch@lists.ximian.com monotouch@lists.ximian.com
*Sent:* Tuesday, September 24, 2013 11:31 PM
*Subject:* Re: [MonoTouch] Error with monotouch.dialog (new monotouch
80 matches
Mail list logo