How to debug shared xamarin project for sql lite operation? - xamarin

We have common project which has written by c# and we are supporting both technology (IOS, Android). Now we are going to support offline manner in both as well. We want to debug the common project with the use of fetching data from sql lite, because i need some of the information from local storage during offline support. However I want to know is there any other way to debug the application in locally without adding any SDK project.
Edit : I do not want any Android/iOS sdk in my system to debug the shared Xamarin project. And I have to implement sqlite related offline features for Android/iOS app team.

#Daniel thanks for your quick response.
We got the another solution like saving the sqlite file in external or internal storage of the device and we can able to see the tables, records through third party s/w sqlite browser. Thanks

Related

2017 Xamarin Cross Plaform App Searching a filename

How to write a program in 2017 Xamarin Cross Plaformthat can search specific file (ex: mysqldb.db3) and return the path.
Thank you.
"Cross Plaform" means code that runs on multiple systems with multiple differed idioms on how to access persistent data so you generally don't have an easy solution to "find file". You ether need to write platform-specific code that will retrieve this data or use some tooling like PCLStorage to save and retrieve data.
Update 1:
For android you can read what is internal storage to understand how you can and can not access it. And Xamarin tutorial on how to do it in xamarin.

Xamarin and Managed Extensibility Framework (MEF)

I'm thinking about a new mobile/tablet application.
I want to allow the users to develop their own plugins.
Imagine a cash desk application running on a Android tablet. The user could use many alternative when connecting to the credit card reader (Square, Sum'Up, ...).
If my application was an old Win32, I would just publish an API and let Square or Sum'Up developpers create a DLL. This DLL would then be placed somewhere on the computer. At application startup, I just have to look for those DLL and dynamically load them.
In fact, the real question is : Is it possible to create a plugin based application ? I'm thinking about Managed Extensibility Framework here. Many questions come to mind :
How to deploy those plugins ?
Does this work for all the platforms (iOS, Android, UWP) ?
...
I was unable to find any documentation on this.
Many thanks for your thoughts and indications.
Not sure if this answers your question fully.
However, a MEF like architecture could probably work on Android if you put the DLL's somewhere publicly discoverable, such as in /storage/emulated/0. Alternatively, such plugins could be distributed as separate Apps, providing Services, Content Providers and Activities consumable from other Apps.
However, on iOS you would not be able to publish such an App in the App Store though, as Apple does not allow you to use dynamically linked libraries there. You could maybe do it for Apps that don't go on the App Store, such as for Enterprise distribution.
While it might not be the greatest solution. You would always be able to navigate between Apps on iOS through URLs. However, that is not the greatest experience, since this would mean you would be leaving your App every time you wanted to get into a "plugin" App to do something.

What is the best way to migrate online application to offline

I have a certain online application that generates reports(and prints them) based on some repository of information. Now I would like to make an offline application which is provides the same experience and in which the repository is pre-loaded into the users' computer. What is the best way to convert this online app to offline app. The first thing that came to my mind was setup a local server and database. This ensures the experience is consistent. But I'm open to other options, such as storing the data in a file system and then loading it via flash/flex based apps or C# or Java. The objective of this offline app is to provide the functionality(report generation) to users where internet is not feasible.
I am not sure about the windows aspect of your question, but if I was doing an offline web based page(s) I would be looking at a LocalStorage database (though it does have some downsides), but there are other alternatives such as WebSQL and IndexedDB.
If you have reports, do they still have value when they are out of date? Do you need to store the configuration of those reports or is it all just read only?
Shameless self promotion, I have a project that is designed to handle database synchronization, though it's not done, it's close. You can see it (with an ugly but very functional) demo at https://github.com/forbesmyester/SyncIt

Windows Phone 7.1 app accessing Azure Storage directly

I am creating a wp7.1 silverlight application and want to access azure blob and table storage directly. Searching all over the internet I can see using web application but I dont want to use web application for my silverlight application.
Is there a direct way to access azure storage directly from wp7.1 application?
You can use WP7AzureQuickstarts Library to start your project. This library has following 4 C# based project with full source code:
WP7AzureDirectory
WP7AzureLocator
WP7AzureNextGroupEvent
WP7FacebookAzure
If you download WP7FacebookAzure source code and look for WindowsPhoneCloud.StorageClient library which has full source code to access Azure Blob, Table and Queue storage directly from WP7 client application. You may need to understand security, SAS etc going forward.
Also you can download Windows Azure Toolkit for WP7 source and modify the source code the way you would want to use.

how to make web application?

I want to implement web application using xcode?is it possible?if yes then then please advicse me?
example:http://pinoypay.com/iphone/
While I have no personal experience with it I think you are looking for Dashcode rather than Xcode for developing web applications such as the one you linked.
It's located in /Developer/Applications/Dashcode after installing the developer tools.
You can read more about using Dashcode to develop web applications in the Dashcode User Guide.
Is it possible? Yes.
Is it convenient or pleasant? No.
I'm sorry but from the question, it appears you are trying to run before you can walk. Or possibly even crawl.
XCode is not required to build an iPhone styled website, only to write an iPhone application. You would be better off starting with some HTML-CSS tutorials.
XCode is an IDE. You can use it to build a web application but you must use some kind of web application framework in the first place.
The best option is to use one of the frameworks becoming available and maturing.
In the first instance as has been said look at Dashcode, particularly the latest release as this has templates for web based apps and will actually generate the code for dual, Browser and iPhone app so the resultant code will function in both.
The there are a number of third party solutions of varying quality, ease of use and documentation.
In no particular order there is:
IUI library
webapp
iWebkit
jqtouch (this is jquery based)
phone-universal
quickconnect (which has large parts of an OReilly book devoted to it)
All of these give you the javascript and the css to make a web app look and feel and act like a native iPhone app (to one degree or another).
Dashcode is excellent for some solutions as it gives you access to all the Apple tools and has reasonable IDE. The result then runs on a normal web server.
Quickconnect actually has Dashcode templates which you load into Dashcode and build the first part of the app in, then this is exported and imported into Xcode and you completed the project in Xcode and deliver it as a Web App for the iPhone.
Thee other frameworks can be used and developed with any tools, Textmate, Eclipse etc. and the resulting code it then run on a normal web servers
In my opinion, yes.
And while xCode does not target to the web development as other software (like Brackets, DW, etc.) it has a nice feature: a drop-down menu of javascript functions, which would be extremely useful to have in other web development IDEs...

Resources