is it possible to query a website's api from an android app? If so, how to do you handle the return if it's in xml?
Thanks
This post showing you how to create a Twitter client using Android should be helpful.
As far as processing the XML, there are lots of ways. See the Android docs for XML support, as well as this tutorial.
Related
Is there a way to use rich responses like suggestion chips etc. on a chatbot which is integrated with android sdk? Thanks.
Rich responses are not supported in Dialogflow Android client library till now. You need to write your custom code to render the UI to cards and suggestion chips. For more reading refer here.
How to render rich controls in your Android app
look into the client library code and see how it parses the JSON coming back from the REST API call
add your own code to extract information about the suggestion chip controls
write code to render these suggestion chips based on what comes back in the JSON
NOTE:
Refer this answer to know more about integrating dialogflow with android
I'm new to android apps , I want a good tutorial for android web app
also I have heared aboud webview I think it just include page url and I don't like that I want to have my own app design and display specific data , make filteration , make search and may user whould login too.
simply another view for my website
Thank You
It depends of the kind of web. For example for a blog (Wordpress, Blogger), a social network (facebook, twitter, etc), you can use json objects to interactuate with your web.
I had a simple app that retrieve data from a wordpress blog, you can take a look to learn something about managing json objects and http requests.
This is the link: Material App, Wordpress Blog
You can use my code as a reference: Android XML Multi-Node Reading Using Current Date.
The only difference is that I used XML instead of JSON, but the main concept behind both is pretty much the same. Also I recommend using Async.
As for learning Android API, I would go to Youtube tutorials as well as: https://developer.android.com/guide/index.html
I am mobile app developer working with SimPalm. I want to implement above functionality in current project. I am getting some issues to implement this technology. Could you please help me on this?
Giveup using SLComposeViewController use FBRequestConnection its much better.
I need to access Wordpress posts (Outside) from my Android Application. I need to display somehow the last post ( Maybe Titles in a listview), and edit some of them by entering new text, picture and video.
I came across many explanations about how to do that in php. But since I'm working with Andoird. I need it in Java
Any idea how to do that ??
I'm not familiar with WordPress, but I can suggest you to start with RSS-parsing of your posts (WordPress provides RSS, right?).
One way of doing it would be to access the WordPress database. I am not 100% familiar with WordPress but I think the posts are stored in the table wp_posts. You should also be able to find, access, and edit any data within.
I Know buddy What you Want to do with Wordpess and Android Application. i Can give you Some Scripts..
Download SVN Grabber
downloadsvn.codeplex.com/
Download Wordpress Android Source Code from wordpress.
android.svn.wordpress.org/
You can do Your Task using Wordpress Rest Api
Documentation
developer.wordpress.com/docs/api/
Wordpress XML-RPC Api
codex.wordpress.org/XML-RPC_WordPress_API
I also Working with Android Native Application via Wordpress
can anybody give example of rest webservice in android
Janusz is correct, but if you want a good intro into how Google envisions REST being used in Android see this presentation. When you're done follow alexanderblom's link on this question.