Re: [MonoTouch] Action Sheet Containing PickerView Help Needed ---

2012-08-24 Thread proindigo
Now getting these three messages in the console along with that same old thin black line instead of the actionsheet. I am assuming that these are png images for the picker view. Is it at all possible to add a picker view to an action sheet in an ipad application. Please help me somebody. *2012-08-

Re: [MonoTouch] Action Sheet Containing PickerView Help Needed ---

2012-08-24 Thread proindigo
Well modified the code a little bit now. Here is what I have:---> _ partial void SiteClick (MonoTouch.UIKit.UIButton sender) { pkrsite=new UIPickerView(RectangleF.Empty){Autoresizin

[MonoTouch] Action Sheet Containing PickerView Help Needed ---

2012-08-23 Thread proindigo
Greetings. I need some technical help with the following situation. I have a button on my view controller. Now On touching it I want to display an action sheet with a pickerview populated with data fetched from sqlite database. I have my subclass of UiPickerViewModel defined, the function for fetc

Re: [MonoTouch] Unable to Save Image to Sqlite DataBase ---

2012-08-14 Thread proindigo
GOT IT!!! Just added the parameter like this---> comm.Parameters.Add(new SqliteParameter(@imagedata)); Code working like a piece of charm now. Case Closed!!! Thanks Anyways. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Unable-to-Save-Image-to-Sqlite-DataBase-tp46

[MonoTouch] Unable to Save Image to Sqlite DataBase ---

2012-08-14 Thread proindigo
Hello and Greetings. I have a small problem. I am trying to save an image data to an sqlite database table. The flow is simple. I have an imageview which holds an image. There is a button on clicking which the image data is supposed to be saved to the database as binary large object. Here is the

[MonoTouch] UiSwitch Customization Help Needed --

2012-08-13 Thread proindigo
Hello and Greetings. I need some help customizing the uiswitch control that I have added to my view controller. Currently it shows ON/OFF which I would like to modify to YES/NO. Is this at all possible? I did some research on this myself and from what I saw I think I have to modify the labels at

Re: [MonoTouch] Page Control Not Showing on IPAD View ---

2012-08-08 Thread proindigo
I followed this article ---> http://simon.nureality.ca/simon-says-monotouch-scrolling-like-iphone-home-screen-in-c Thanks Again. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Page-Control-Not-Showing-on-IPAD-View-tp4656425p4656426.html Sent from the MonoTouch

[MonoTouch] Page Control Not Showing on IPAD View ---

2012-08-08 Thread proindigo
Hello. I am having some problems with pagecontrol and scrollview. I added these two controls onto my xib file in IB, created the outlets, wired them up. I wrote some code which is supposed to show images fetched from my sqlite database by randomly generating an image view and adding it as a subvie

Re: [MonoTouch] How to show an imagegallery in IPAD application --

2012-08-08 Thread proindigo
Exactly what I did. Should have occurred to me in the first place. My Bad. Thanks Again. -- View this message in context: http://monotouch.2284126.n4.nabble.com/How-to-show-an-imagegallery-in-IPAD-application-tp4656388p4656424.html Sent from the MonoTouch mailing list archive at Nabble.com. __

Re: [MonoTouch] How to show an imagegallery in IPAD application --

2012-08-07 Thread proindigo
OK. Having some issues constructing the code block that is supposed to return a collection of images. Here is what I am trying to do --> public UIImage[] ReturnAssemblyImages(int assemblyid) { this.CreateDBConnection (); try

Re: [MonoTouch] How to show an imagegallery in IPAD application --

2012-08-07 Thread proindigo
Well solved that bit. I accidentally wrote some wrong code while creating the outlets. Sorry for that. Pop up being opened fine now. As of now it is blank. I'd like to fill it with images fetched from database for a particular selected assembly and implement the pagination with the page control..

Re: [MonoTouch] How to show an imagegallery in IPAD application --

2012-08-07 Thread proindigo
Well I have started to develop [or at least get started]. I have added a new view controller AssemblyImageViewer with a scrollview and a pagecontrol added to it. Now on touch event of the 'View Photograph' button on my parent screen [see picture above] I am trying to open a pop up and show this new

Re: [MonoTouch] How to show an imagegallery in IPAD application --

2012-08-06 Thread proindigo
Well I found this link on github. https://github.com/Redth/MonoTouch.ImageGallery#readme But no direction whatsoever on how to use the various files included in the download. If anybody can help with this particular one or provide a link to some other alternate working example in monotouch it

[MonoTouch] How to show an imagegallery in IPAD application --

2012-08-06 Thread proindigo
Greetings of the day. I have a situation which I'll try to describe in details in the next few paragraphs. In my ipad application, I have images for an assembly [like cranes, crawlers, loaders, forklifts, backhoe, excavator etc] stored as byte arrays in my sqlite database. On my view controller, I

Re: [MonoTouch] Take Pictures with IPHone Camera ---

2012-08-03 Thread proindigo
For some reason or the other I am not getting UIImagePickerControllerReferenceURL in my code completion intellisense. What could be causing this? What namespace do I have to import? Please direct me. Thanks. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Take-Pictures

Re: [MonoTouch] Take Pictures with IPHone Camera ---

2012-08-03 Thread proindigo
Hi jawbrey, Thanks for the link. Two things. Firstly I am on sdk 4.3 so I am not getting UIImagePickerControllerReferenceURL. Or do I have to import some additional namespace for that. Secondly what is this ALAAssetRepresentation. Is it exclusive to only ios sdk 5.1? If that be the case then it

Re: [MonoTouch] Take Pictures with IPHone Camera ---

2012-08-03 Thread proindigo
I did it!!! All I did was to declare a delegate and an event in my subclass of imagepickercontroller, link them up and associate the event with an underlying event handler function in the code behind of the view controller to fill up my blank imageview. If anybody wants the code just pm me. Will

Re: [MonoTouch] Take Pictures with IPHone Camera ---

2012-08-02 Thread proindigo
I still can't seem to figure it out. My screen [AssessmentAssembly] has a blank UiimageView [SpaceImage]. I have this imagepickerdelegate class that I have written. It has the basic events like FinishedPickingMedia, Canceled. Here is the code for my delegate class. namespace ASTONAPP { p

Re: [MonoTouch] UITableView RowSelected Event Help Needed ---

2012-08-02 Thread proindigo
Solved. All I had to do was declare a new event and a delegate and associate the raised event to its underlying event handler function in the function where I am binding the list of class objects to the subclass of the UiTableViewSource class. Thanks a million rndel11. You made this possible.

[MonoTouch] UITableView RowSelected Event Help Needed ---

2012-08-01 Thread proindigo
Greetings my forum friends. I need a little help on an issue. Actually it's a bit tricky. I have a tableview showing area names loaded from database and a textfield on the same form. Now I want that when user selects a particular row from the tableview the corresponding area name will be shown in

Re: [MonoTouch] Take Pictures with IPHone Camera ---

2012-07-31 Thread proindigo
I finally got my code working. A popup is being opened when I click the button presenting the collection of images from the photogallery. Now I want that when user selects a particular image that image should be set as the image for a imageview control on the parent screen. Obviously we should wri

Re: [MonoTouch] Take Pictures with IPHone Camera ---

2012-07-28 Thread proindigo
Well I have made some modifications. I am trying to open a popup on clicking the 'Take Photograph' button. In that popup I am supposed to load the images that have been saved from internet. Here is the code I am using to open popup. partial void TakeSpacePhoto (MonoTouch.UIKit.UIButton sender)

Re: [MonoTouch] Take Pictures with IPHone Camera ---

2012-07-28 Thread proindigo
I have added the following code block on the touch event of a button. It is throwing the following error: * Name: NSInvalidArgumentException Reason: On iPad, UIImagePickerController must be presented via UIPopoverController* partial void TakeSpacePhoto (MonoTouch.UIKit.UIButton sender)

Re: [MonoTouch] Modal Popup in IPAD Application--

2012-07-27 Thread proindigo
Hi. So I add a new Ipad View Controller to my project, and design its UI, wire up the outlets etc. Then I do the following: AddArea ara=new AddArea(); this.PresentModalViewController(ara); Also I would want the dimensions of this modal popup to be slightly smaller than the actual dimensions of

[MonoTouch] Modal Popup in IPAD Application--

2012-07-27 Thread proindigo
Hello and Greetings. I have a small requirement. On my screen there are two buttons. One of them being 'Add New Area'. Now the requirement is that when user clicks it, instead of navigating to an entirely new screen for adding area details like area name, address, pincode, a nice pop up should op

Re: [MonoTouch] Setting a Transparent Image as background on a UITableView --

2012-07-27 Thread proindigo
Got the solution myself. posting it on here. It might help somebody else. Here is the code--> public UIImage tblBackground; <--- a class level variable tblBackground=UIImage.FromFile ("BackGround.png"); var clr=UIColor.FromPatternImage (tblBackground); tblFacility.BackgroundView=new UIView(Pa

Re: [MonoTouch] Setting a Transparent Image as background on a UITableView --

2012-07-26 Thread proindigo
In this regard I'd like to say that my tableview only covers portion of the view not the whole view. Cheers. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Setting-a-Transparent-Image-as-background-on-a-UITableView-tp4656194p4656195.html Sent from the MonoTouch mailing

[MonoTouch] Setting a Transparent Image as background on a UITableView --

2012-07-26 Thread proindigo
Hello and Greetings. I have a very small problem. Actually I want to beautify my ipad application to some degree by adding a faint background image [transparent] to my uitableview called tblFacilities showing data from database. I have a simple view named AssessmentHome.xib with some labels and b

Re: [MonoTouch] Take Pictures with IPHone Camera ---

2012-07-26 Thread proindigo
Hi Wally. Thanks for the link. I have started to go through your post on DevPro. For starters I have a simple question. I have set up a key called RequiredDeviceCapabilties in my Info.plist file. But I cannot change its type from bool[default] to string. I am using MonoDevelop version 3.0.3.4. I

Re: [MonoTouch] how to solve this Error "Got a SIGSEGV while executing native code"

2012-07-26 Thread proindigo
Try deletin the Bin and Obj folders from your project, reload the project all over again and try to run it then. Maybe this will solve your problem. There may be other workarounds though. Cheers. -- View this message in context: http://monotouch.2284126.n4.nabble.com/how-to-solve-this-Error-G

Re: [MonoTouch] How to save Image from Iphone Camera to project directory other than photo album - Mono touch

2012-07-26 Thread proindigo
Has anybody here noticed that the link to sample code download in the link http://docs.xamarin.com/ios/recipes/Media/Video_and_Photos/Save_Photo_to_Album_with_Metadata doesn't work and instead gives you an image? Or is it happening only to me? What's the matter? Thanks. -- View this message i

[MonoTouch] Take Pictures with IPHone Camera ---

2012-07-26 Thread proindigo
Hello and greetings. I want to build a very small application which will allow a user to take pictures with iphone camera, save it somewhere on the device and provide an option to upload it to a destined location on a web server. As of now I am searching for code blocks for taking pictures with i

Re: [MonoTouch] UITextField Events Help Needed --

2012-07-26 Thread proindigo
Got my code working fine now. I have used EditingChanged instead of ValueChanged. My application is working just as expected. Thanks anyways. -- View this message in context: http://monotouch.2284126.n4.nabble.com/UITextField-Events-Help-Needed-tp4656027p4656123.html Sent from the MonoTouch m

Re: [MonoTouch] UITextField Events Help Needed --

2012-07-18 Thread proindigo
No. I used breakpoints and saw that the control isn't entering the code block at all when I type something in the textfield. Actually I am calling the makeImage method inside the 'FillRatingBar' method [for reference see my first post] which I have associated with the Value Changed event of the

[MonoTouch] UITextField Events Help Needed --

2012-07-17 Thread proindigo
Hello and greetings. Can you please tell me what event is fired when we enter something in a text field in iphone application? I need to call a function when some value is entered in a text field. I wrote a method and associated it with the value changed event of text field, but it is not workin

[MonoTouch] Create a Custom Rating Analyzer Bar with CoreGraphics Help Needed Urgently ---

2012-07-13 Thread proindigo
Hello and Greetings. I am trying to develop a rating analyzer application. I have placed a UIImageView, a slider control, and a simple button on a screen. My logic is that as the user slides the slider control either up or down and then click on the button, the UIImageView will render a horizontal

Re: [MonoTouch] Implementing UIPickerView with data from Database --

2012-07-11 Thread proindigo
Got my code working. All I had to do was this--> public void PopulatePickerItems() { objdbh=new DBHandler(); this._pickerSource=new PickerDataModelSource(objdbh.FetchFacility ()); } and this.PopulatePickerItems ();

Re: [MonoTouch] IPhone Application Critical Scenario Help Required ---

2012-07-10 Thread proindigo
Yes you are correct. I will have to incorporate two buttons + and - for increasing and decreasing the level. My first question is, should I use a blank label or is there any other control in the library available that is more suited to this task? Let's assume for the sake of discussion that I use

[MonoTouch] IPhone Application Critical Scenario Help Required ---

2012-07-10 Thread proindigo
Hello and Greetings. As part of my sample application that I am trying to develop, I am working on a module which I will describe in detail. It is a bit tricky and I need all the help in terms of code blocks and tutorials in order to implement this successfully. There's a module called Assessment

Re: [MonoTouch] Implementing UIPickerView with data from Database --

2012-07-10 Thread proindigo
Well I have reviewed my code blocks and removed off the needless parts. All I am doing is, returning a list of class objects [the class containing the properties I need] from my database handler function, written a custom class extending the UIPickerViewModel class. So we have a class--> namespa

Re: [MonoTouch] Implementing UIPickerView with data from Database --

2012-07-06 Thread proindigo
OK I have fixed the issue. Had to add an event to the PickerDataSourceClass. The error has disappeared. But I am not getting the items in my picker control. It is completely blank. This is how I have gone about the problem. Please go through the code listings below to have an understanding of my ap

[MonoTouch] Implementing UIPickerView with data from Database --

2012-07-06 Thread proindigo
Hello my forum mates. I want a UipickerView in my sample app. to be filled with data from a particular table. I have started defining the PickerDataModel class. But am facing some problems. The code completion intellisense isn't prompting the 'Selected' method. If I forcefully write it, it is prom

Re: [MonoTouch] UITableView Scenario Help Needed ---

2012-07-06 Thread proindigo
Followed your instruction. Application working just as expected now. Navigating to the new screen when I select a row. Thanks for the advice. Great technique. Cheers. -- View this message in context: http://monotouch.2284126.n4.nabble.com/UITableView-Scenario-Help-Needed-tp4655680p4655794.html

Re: [MonoTouch] UITableView Scenario Help Needed ---

2012-07-05 Thread proindigo
I am facing a new problem. Actually after showing the AssessmentID in a alert I also want the application to load a new screen AssessmentFacility. What I have done is that I have created a new class inside my DataSOurce class extending from UiViewControlller class. And in it I have written the code

Re: [MonoTouch] UITableView Scenario Help Needed ---

2012-07-05 Thread proindigo
Finally got my code working. But there's one strange thing I'd like to share. When I was writing my code for user interaction, RowSelected did not appear in the code completion intellisense. I forcefully had to write the code. The code compiled successfully without giving me any errors. Why this st

Re: [MonoTouch] UITableView Scenario Help Needed ---

2012-07-05 Thread proindigo
Thanks for your reply. I did some googling on RowSelected. It appears that this RowSelected method is contained in the class UITableViewDelegate, which I think I will have to extend into my BasicTableViewSource class. But it already extends the UITableViewSource class. [Fore reference please see m

Re: [MonoTouch] UITableView Scenario Help Needed ---

2012-07-04 Thread proindigo
Got my code working. data is being shown in nicely formatted manner in my uitableview. Now the issue is to handle row selection and fetch the corresponding AssessmentID. For reference see the following picture. http://monotouch.2284126.n4.nabble.com/file/n4655749/assessment_home_showing_logged_in_

Re: [MonoTouch] UITableView Scenario Help Needed ---

2012-07-03 Thread proindigo
Well I have modified the code a bit for the function CreateTableItems(). It makes more sense now, although I am getting two errors. Here is my modified code block for CreateTableItems() public void CreateTableItems () { List tableItems = new List ();

Re: [MonoTouch] MonoTouch with Sqlite Critical Scenario Help Needed

2012-07-03 Thread proindigo
Yes, solved the uissue. Data being inserted to sqlite database just fine now. Used LINQ to XML and its attributes to parse through the document. Thanks a bunch friend. -- View this message in context: http://monotouch.2284126.n4.nabble.com/MonoTouch-with-Sqlite-Critical-Scenario-Help-Needed-tp

Re: [MonoTouch] UITableView Scenario Help Needed ---

2012-07-03 Thread proindigo
This is the exception I am getting: System.NullReferenceException:Object reference not set to an instance of an object at this.tblProjects.Source=this._tableViewSource Here tblProjects is my tableview control. -- View this message in context: http://monotouch.2284126.n4.nabble.com/UITableView

Re: [MonoTouch] UITableView Scenario Help Needed ---

2012-07-03 Thread proindigo
Well I have played around with the code a bit and here is what I have come up with. I have created three classes, BasicTableViewItem, BasicTableViewItemGroup, BasicTableViewSource and ClientAssessment. The last class contains the properties that I want to show from the fetched dataset. Here are th

Re: [MonoTouch] UITableView Scenario Help Needed ---

2012-07-03 Thread proindigo
Thanks for your reply. You mean I have to create cells first for my UITableView? I mean I have a function returning a dataset. Can I not assign this dataset to the DataSource property of the control directly, like we used to do in ASP.Net? Please help me on how to create a cell for a tableview. I

[MonoTouch] UITableView Scenario Help Needed ---

2012-06-30 Thread proindigo
Hello friends. I have scenario which I will try to explain in details. I have a table ClientAssessments [AssessmentID, ProjectID, ProjectName, StartDate]. Now I am fetching all the data by simple select query and want to show it on a UITableView column. I want that when someone touches a particu

Re: [MonoTouch] MonoTouch with Sqlite Critical Scenario Help Needed

2012-06-30 Thread proindigo
Well just sorted out the issue. Rechecked my code blocks and used the scopes{} properly and now the data is being inserted into the table just fine. Now I am facing another issue. I am generating an xml file by serializing the output received from a webservice and am trying to parse this document a

Re: [MonoTouch] MonoTouch with Sqlite Critical Scenario Help Needed

2012-06-30 Thread proindigo
Well just incorporate some checking logic so that the spurious file creation can be prevented. Working fine now. App. is checking if the directory and file pre-exists and if not, proceeds to create them. But I am having issues inserting data into table. The exception I am getting is --> No connecti

Re: [MonoTouch] MonoTouch with Sqlite Critical Scenario Help Needed

2012-06-28 Thread proindigo
Well, I modified the code block slightly, especially the DBHandler.cs class file. Now the database is being created at runtime. But there is a problem. Firstly, I am using the firefox addon version 3.7.1 for Sqlite and don't know what should be the appropriate extension of the db file, db3 or sqlit

Re: [MonoTouch] MonoTouch with Sqlite Critical Scenario Help Needed

2012-06-28 Thread proindigo
Well here are my code blocks again. Here is the code snippet for the flow of operations that are happening on clicking the login button on login screen. partial void LoginClick (MonoTouch.UIKit.UIButton sender) { try {

Re: [MonoTouch] MonoTouch with Sqlite Critical Scenario Help Needed

2012-06-26 Thread proindigo
Any kind of help will be immensely appreciated. Many Thanks in anticipation. -- View this message in context: http://monotouch.2284126.n4.nabble.com/MonoTouch-with-Sqlite-Critical-Scenario-Help-Needed-tp4655574p4655575.html Sent from the MonoTouch mailing list archive at Nabble.com.

[MonoTouch] MonoTouch with Sqlite Critical Scenario Help Needed

2012-06-26 Thread proindigo
Hello and greetings. I am having some problems with a module which I’ll explain in details. I am working on an iPhone app which is communicating to an sql server database through web services. When a user logs in by providing credentials, a webmethod returns all the relevant data relating to that

Re: [MonoTouch] XML Serialization and writing to a file in MOnoDevelop with C#

2012-06-26 Thread proindigo
Hi. Modified the code a little bit and the exception message has disappeared. Here is the code block> XmlDocument xmldoc=new XmlDocument(); xmldoc.Load (filepath); XmlNamespaceManager nmsmgr=new XmlNamespaceManager(xmldoc.NameTable); nmsmgr.AddNamespace ("nmspc", "http://tempuri.org/";); XmlNo

Re: [MonoTouch] XML Serialization and writing to a file in MOnoDevelop with C#

2012-06-19 Thread proindigo
Oops, My Bad. Sorry for pointing to a wrong line. It's actually this line, that's throwing the exception --> where I am trying to use the value of variable usrnm. UIAlertView uvm=new UIAlertView("Notification", ""+usrnm.ToString ()+"", null, "OK", null); -- View this message in context: http://

[MonoTouch] XML Serialization and writing to a file in MOnoDevelop with C#

2012-06-19 Thread proindigo
I have a webservice that authenticates a client against clientcode, email and password stored in mssql database. Now I am trying to consume it in my iPhone app. I am trying to serialize the output returned by the web methods and write to a file on the Personal folder on my machine. Then read a cert

Re: [MonoTouch] MonoDevelop Unhandled Exception SIGSEGV ios sdk 5.1

2012-06-19 Thread proindigo
yeah, solved the issue now. Just deleted the bin and obj folders and reset the simulator actions and now it is running just fine. Thanks a bunch mate. -- View this message in context: http://monotouch.2284126.n4.nabble.com/MonoDevelop-Unhandled-Exception-SIGSEGV-ios-sdk-5-1-tp4655385p4655457.htm

Re: [MonoTouch] MonoDevelop Unhandled Exception SIGSEGV ios sdk 5.1

2012-06-17 Thread proindigo
Hi. On both the machines I am using MonoTouch 5.2.12. But on the older machine the ios sdk version is 4.3 and on the new machine it is 5.1. What to do now? Thanks. -- View this message in context: http://monotouch.2284126.n4.nabble.com/MonoDevelop-Unhandled-Exception-SIGSEGV-ios-sdk-5-1-tp46

[MonoTouch] MonoDevelop Unhandled Exception SIGSEGV ios sdk 5.1

2012-06-14 Thread proindigo
I was developing an app using MonoDevelop 3.0 and ios SDK 4.3. It was running fine. Now I updated to ios SDK 5.1 and XCode 4.2. But now the app is throwing an exception SIGSEGV. Initially I thought it might be due to the references not being added properly. Especially Mono.Data.Sqlite and System.Da