I want display or modify SQL data through app. I am using xamarin for Visual studio and currently creating app for android. I have created Web API(Rest) which has three methods . One method retrieves data , second method verify data and third method add data in to the database.
Basically I created this API so that I can use it across multiple platform. I need some hep for android app how to consume that rest API and call particular method based on click event of Button.
If there is any other way through which I can securely use SQL database using Xamarin for visual studio .
Any any tutorial, example or link will be highly appreciated.
Thanks,
Take a look on the Xamarin website:
http://developer.xamarin.com/guides/cross-platform/application_fundamentals/web_services/
There is a tutorial here:
http://www.youtube.com/watch?v=VfoJCd_TMx0
There are some Xamarin components which may help too, e.g:
https://components.xamarin.com/view/restsharp/
Hope that helps
Related
I am working on a project where an old library is being used in Android natively. Because of this, I am forced to work in Kotlin and use a xml file in order to view some elements on the screen. However, I am questioning myself if there is a way to create a custom activity/fragment in Android and call a flutter screen file where I can use all the Flutter widgets within the app. I am currently using method channels in order to communicate between Kotlin and Dart and this is why I came up with this question. Any help is very much appreciated!
It is possible to launch an Android Activity in which Flutter engine will be able to display UI and perform any actions you want within a native Android application.
To do so, you need to create a Flutter module, here is the documentation.
I need to know that whether we can use same database or URL for ios as well as android.
For example I am logged in with android so in the section where we use the URL , can we use the same URL for android which we use for ios. Actually I want to make an app for ios and android both.
But I want to make only one database for both that is android and ios.
I have tried using one URL in my login activity which was working on ios..but its not working.can somebody guide me?
Yes. It is very possible. It depends on the method youu are using to retrieve/send data to the database. The most popular ways to do the same is use of REST or SOAP to do client-server communication. Both work fine, but you will need to learn about doing the same. I would recomment REST for android since it is the most commonly used and is also easy to understand and use.For Ios i would recommend the AFNetworking library, speed is recommendable. You can download the library using this link:
https://github.com/AFNetworking/AFNetworking
i'm beginner in xamarin projects. I want to get data from my sql database and show them in a listview or gridview. First of all will i use sqlLite for doing this. And second is there any easy tutorial which expains how will i do this?
The best way to learn Xamarin is running samples (and deploy them to devices or simulator) from Github in Xamarin Studio or Visual Studio. Given that it's not recommended to paste Github links, you can visit Github and search form Xamarin. I don't know what platform you want to develop for. I recommend Xamarin-forms. And there's a sample for SQLite (a to-do app).
check this out.this may help you
http://www.codeproject.com/Articles/1090451/Xamarin-Android-App-Using-SQLite-and-Custom-List
I am developing android application using Delphi XE8. And I have doubt that how can I add the tool tip for Android application using Delphi.
Normally, the tool tip will be shown only at the first time of running the application. Also, how can I implement the same functionallity
Below link I have mentioned the tool tip for android using Java:Tool Tip using JAVA
Please suggest me that how can I implement using Delphi xe8
There is component called FMX toast Component you can download it from
Here
Usage is very easy and do the same approach you need .
also you can see how to do it using Android Helper.
From Here
Also check this answer of this question
Hello I am developing application using phonegap, I want one Html page and i will put the button.
On click of that button it must fetch my sqlite3 database and just simple it must display to my next or same html page..
depending upon query.
Please anwer my question and what IDE I must use.....
To use sqlite3 on a phonegap application, you will need this Phonegap-SQLitePlugin.
However, the plugin has been designed for Phonegap 1.7 so you might need to upgrade it.
You don't need to use any plugin, as webkit already has sqlite available. I have written a data access framework to sqlite in phonegap, please check here.
It's quite easy to use, you don't need to write any sql scripts. It works very like asp.net entity framework.