Converting an Web Application into an Android APP [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
This question might have been asked a number of times earlier like here. However, this did not answer my question(s). So I am posting again.
I have developed an Web Management Software. It is built using PHP/HTML/MySQL. The tool has a number of features like user management, signup forms, report generation etc. Now, I intend to get an Android App developed. I am not an expert at Android Development.
I am planning to build a native Android APP and not use ´webview´ library.
How do I get the Android App developed ? Do I need to make any changes on the server side for this ?
Do I need to build API and the Android APP would make httprequest ?
I am not keen on the solution proposed by Phonegap
Are there any other approaches which I might have to consider ?
I am sure, this could be very basic question for experts working in Android. It is just that, I have never seriously worked with Android. Sorry for my ignorance, though.

If you want to develop a APP for Android you have to write it in Java if you not want to use Phonegap.
You can use the Android SDK and the Eclipse version. (There is a Eclipse version made for that)
But if you want to build your Project you already developed you can use Cordova, it's a similar Project to Phonegap, but free to use.
Then you have to run a Service on your Server for all Funktions.
You can use Javascript there to connect.

Related

Connecting iOS app to a mysql database connected to a website that is currently online [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have already created a website with a mysql database. Now, I am attempting to create an IOS app that will connect to the same database that my website "talks to". All of the tutorials I have seen have relied exclusively upon PHP and have walked through the process of creating the database. My website was not written with PHP, so I am completely lost on how I get PHP to help me in this case. I'm new to all this, so I am not sure what information is helpful, but so you know:
The website templates were written in HTML and CSS,
views page (functionality) written in python,
Flask is the microframework, and
pymysql is the ORM
Any pointers in the right direction would be much appreciated.
If you are using Flask then this is how you need to go through - there are other ways, but I would go for this -
Install Flask REST API to expose rest api from your site. You can get the documentation here - http://www.flaskapi.org/
Expose required API's from your website using flash rest api
Consume those API's with your mobile application.
NOTE: Don't ever expose your database directly to client side. BAD IDEA. Always use a middleware, could be php, python, .net - does not matter what it is.

Mobile/Web Application Backend [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am currently working on a project where I need a backend for a mobile (iOS) and web application. For another project that I worked on a while ago, I used Parse.com as the backend since I did not have to deploy the application to the general public.
Since the application I want to launch may have a sudden burst of requests I wanted to use another service. Therefore, I am currently working on a PHP/MySQL backend that receives http requests and returns JSON encoded data.
Would this be an ideal setup for a scalable backend or is there any other service such as www.backendless.com that would enable me to have the same functionality without having to code everything myself?
I'm not an experienced backend developer and I am currently using most of my time on the backend and not working on the front-end.
Thanks.
PHP is a good language to start with and it's good enough (though not the best), first you need to choose a framework to help you getting what you want faster & more optimized and I suggest the Phalcon PHP framework, this one use some components from the C language which makes it faster than the others
After getting good in PHP please read more about the Restful APIs, because that's how you will handle the data for a mobile application.
And if you want a service for the backend like Parse I suggest Firebase for you, hope my answer helped. Good luck with your app.
Everyone knows Parse is going to be unavailable so next ready option for BaaS is Firebase but keep in mind there are many things that are not Supported by Firebase unlike Parse, for example image storing, push notifications ...
Another option is AWS Mobile Hub
I have been using Cakephp for my last 5 projects, creating backends to use as cms and as rest API (in my case I used JSON as response, but there are other formats). [http://book.cakephp.org/2.0/en/development/rest.html]
It is very easy to create your models, controllers and get started with your API. It also provides a lot of authentication methods, etc.
Parse is shutting down so it is not an option.

What should be the right approach for developing mobile apps based on a PHP website which will access the same MySQL database which the website uses? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm a Web Developer(PHP Developer) by profession. So, I'm asking this question from web developer's point of view and expecting the answer with the same perspective.
There is one running social website developed in PHPfox(a social networking platform created in php)
Now I've received a requirement from the client to develop Android and iOS apps just like Facebook mobile app based on this website means the app should also resemble the website's functionality. So, in turn these projected apps will be going to access the same MySQL database which the website is currently using. The main objective is the website and these apps should work in sync just like Facebook website and Facebook mobile app.
So, my question is what should be the step-by-step, right, the best and optimum approach in this kind of scenario?
On website they have used MVC pattern of development and they have used Twig as a template engine to display the webpages which should not be the case in mobile apps.
The mobile teams(iOS and Android) teams are working on the UI design of the app. But what should be my role I'm not clear about it. Please explain me the correct step-by-step approach from web developer's perspective.
Thanks.
Well the best way to do this is to have native mobile apps, one version for Android and one version for IOS. Your role would be to create a webservice that can access your database and enable the mobile app developers to call on certain urls (which would be functions in that webservice) that would reply with data presented in JSON.
So start out by thinking of the functions that they would need, how would they call it, what arguments would they pass and how would they receive the data.

how to develop an ios app using php [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have already fully developed website using php and mysql,now i want to develop an ios app for the website, my doubt is it possible to use the same php coding in phonegap or xcode to develop an app for ios ?
First of all are you want to create app store application Or a mobile based website ? Its true that you can create a mobile based website with PHP. But app store application you have to write code by using Objective-c or swift. You can also create cloud-enabled native mobile app by php and using Zend Studio for overall clarification you can see this link http://venturebeat.com/2012/10/23/php-developers-you-must-see-this-creating-a-cloud-enabled-native-mobile-app-in-10-minutes-or-less-in-zend-studio/#DwUZXI6xuZID33CY.99
You cannot develop an iOS application in PHP. Your best option is to expose your web site functionality via JSON and then you can develop an iOS app to interact with your site that way.
The simple answer of your query is NO.
If you were related to .net you could be able to created iOS/Android/Windows app using xamarin.
For native iOS app you have to write code in objective C or swift. For phonegap and titanium you have to write code in CSS, Java Script and HTML.
That's not possible, because, XCode understands Objective-C (or Swift) and PhoneGap understand Javascript but no one can understand php at all.
However, you can either make your website responsive (at least) for iOS devices and then create a single view controller app (in XCode), which having a single view controller with a UIWebView, load your website into web view, and everything will be look/feel as in your website. This may be the best way to have a website and its app when you don't want to spent (too much) extra money or you don't know how to make an app for iOS (or any other platform).
For a note, the same you can do with Windows, Android and Blackberry to make an app for those platforms.
Let me know if you want to get more help on this (for iOS app only) and I'll comment my self here.

Need some initial guidance for Android and iOS app using MySQL [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm about to start the development of an app where I'll need to make use of queries to retrieve information from a database and print it on my app. I have a lot of experience doing this using PHP/MySQL coding but I have never done it on a mobile app. How would you recommend I begin my coding? Are there any tips you can share to help me develop this app?
I also need to develop this app in both android and iOS. What should I be aware of when doing this? Is there any builder (other than Flash builder) to export both versions of my app?
Thanks, and any information helps!
Are you storing database locally or accessing remote database.
I am a IOS developer so I can give u tips about IOS only. But concept must be similar to Android as well.
If you are storing database locally in the app, there is Sqlite and coredata for that. And different wrapper framework such as FMDB for sqlite makes things easy for this.
If you are accessing remote database you could do that with the help of APIS that consumes JSON/XML formatted data from the server database. Apple has provided inbuilt XML and JSON parser for this. But framework like AFNetworking could be really handy.

Categories