Hi everyone i have one question about android.
I have created a social networking website. Now i want to make my own website to android application. I am a good designer for android application template like (material design ext.).
I searched on the internet how to created login and register script from android aplication using PHP,MYSQL and i found some example but that examples is not clearly.
My question is how can i use my PHP code in android aplication ?
Note: I am a new on android only php section. My website link is oobenn
You shouldn't try to port the website on Android. You should instead:
create REST APIs for your website exposing JSON Data.
download Android Studio
start developing an Android native application connecting to your website, retrieving data (JSON) and showing data to the user through the native Android UI elements
I strongly recommend you this course https://www.udacity.com/course/ud853
You have to develop webservice in PHP and call that webservice functions in Android application.
Related
My client has a requirement of making native android and ios app for the e-commerce store based in opencart cms.
My question is, how can I dynamically load the main screen content in the app like banners, sliders etc which are subject to change every day.
I am new in the app development. Please suggest any ready to use CMS for delivering dynamic content to the app. Otherwise, please guide me on how should I approach with building this app.
P.s. I am an experienced web developer with basic android app building knowledge.
I'm not that experienced with android but here are some wild ideas, maybe it will be useful.
You can build a REST API which would return JSON, for example:
[
{
"sliderIMG":"http://yourwebsite.com/image.png",
"sliderTITLE":"Your title!"
},
{
"bannerIMG":"http://yourwebsite.com/image.png",
"bannerTITLE":"Your title!"
}
]
And then your mobile app upon launch would connect by using some REST API Library (Volley or Retrofit) and scrape data as well as display it.
You could make a mobile version for website and just iframe it in the app by using webClient. (However if you already are capable of this, using an app to open a website kinda defeats the purpose of having mobile app in the first place)
I have recently finished a rails app and Its is currently hosted in heroku, It has a database setuped and every thing. In the app you can upload users edit them, etc. .Now, I want to create an android aplication that can do the same things.
I have been reading about using rest but I am not shure that is the way. Any other options, thanks!
You have just two option:
Create your own API in your rails app:
Manually:
http://railscasts.com/episodes/350-rest-api-versioning
Using some gem:
http://railscasts.com/episodes/348-the-rails-api-gem
or
create android app with Webview object for working with you app by internet like browser
https://developer.chrome.com/multidevice/webview/gettingstarted
very similar question:
From ruby on rails website/webapp to Phonegap Android app?
I have Wordpress Website and I am building an android application for that.
For one case I want to redirect to my wordpress web site from android application. How can I handle cookies and sessions?
I have same database for wordpress and Android application.
I am able to do login from android and now I want to redirect same user to my wordpress web site.
Please help me. Thanks in advance!
Your Question is little bit confusing, if you just want to launch your website from APK then follow this link whcih allow you to generate APK easily,
Android Bookmark Creator
But if you want to make customized APP, then You can either make your own RESTFUL API or use wordpress XML-RPC.
XML-RPC Tutorial Wordpress
XML-RPC for android Open Source Project
But for this, you need to have good knowledge in android
I have the following scenario below: Please guide me.
I already have an existing web application develop using PHP & MySql, It works perfectly on
on a normal browser. What I would like to do is have the very same functionality, on
my "Android App" "iOS" and "BB".
I have been going through multiple forums, and I am still very confused. Here are my reasons:
I do not just want to load the app in the "WebView".
I want to be able to log in to my web app through phonegap, (need to send the credentials to the web app)
After logging in I want to be able to format the generated .html (to display on mobile)
On my browser it allows me to upload content to the server, if possible I would like to this as well:)
I already have the latest version of PhoneGap + ADT & SDK + Eclipse, I can develop static html apps
without any hassles, now, I just need to have client side html that talks to my server side php.
Something similar to the Facebook app and the Facebook Mobile Version.
Any suggestions.
I have just completed a project using PhoneGap, Backbone JS and Require JS, these acted as my MVC for the front end application which sent ajax request to my back end PHP application, which was converted into a rest API. Laravel does this quite well, but it might have to be a custom build for you if you are already relying on a bespoke PHP build.
I was able to deploy to Android and iOS. However, using PhoneGap means that your application will be loaded in a WebView, this might help exaplain a WebView in more detail.
Dear all i need a help please
I have a sharepoint website and the task is to make an android client application to integrate with this website ,
this application will just view the content of the website and add comment feedback.
i don't know what is the steps to do this task ,i just want steps to follow to start this app
thank you all waiting your answers
Opening a simple browser. Sharepoint has a layout for mobile display (it is still not light, but at least should render correctly).
Or call the Sharepoint web-services with SOAP if you want a deeper integration.
In both cases, you shouls handle the authentitification if the Microsoft IIS server is set up to require one.