Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

can I write a mobile app with php and html?

Posted on 2016-09-29
11
121 Views
Last Modified: 2016-09-29
Dear experts,
with php, it is possible to do almost everything on a web site.
can I use php and html for a mobile application?

is it possible to write a mobile application with php an html?
where can I start?
0
Comment
Question by:Braveheartli
  • 5
  • 2
  • 2
  • +2
11 Comments
 
LVL 1

Expert Comment

by:Jasmine Ikhreishi
ID: 41821738
make sure every image you put is something called "responsive" so it gets smaller as the browser does "smartphone screen". You can also look for links that are php responsive codes.
0
 
LVL 1

Author Comment

by:Braveheartli
ID: 41821745
I'm not talking about mobile web sites, I'm talking about mobile app like you download from Apple store or android store

I want to learn if I can create a mobile app with html and php?
0
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 41821765
In my opinion is not the right way to develop mobile apps but for your curiosity take a look here http://phpforandroid.net/ as a point of start
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 35

Accepted Solution

by:
Kimputer earned 250 total points
ID: 41821775
In IOS, the programming language is  Objective C.
In Android, it's Java.

You cannot create a mobile app with html and php. If you did, you'd have to write a converter (takes you even more time, back to the language necessary).

The easiest way is still to have the html/php code running on a webserver, and have your app only be the webview pointing to your server.

If you want rapid application development, and you're up to par with your Visual Basic skills, you  can write VB (similar obviously, not 1:1 translation) code, and convert it to an iOS/Android app.

https://www.b4x.com
1
 
LVL 1

Author Comment

by:Braveheartli
ID: 41821779
Dear Ferruccio,
I use Dreamweaver CS6 to write codes,
what do you suggest I should do?
I look at Dreamweaver CS6 which has tools for mobile application that I can use?
What do you suggest I should do?
I'm good at HTML
0
 
LVL 1

Author Comment

by:Braveheartli
ID: 41821783
Dear Kimputer, thank you for wonderful comment
0
 
LVL 35

Expert Comment

by:Kimputer
ID: 41821792
If you really want to spend time on php for android, note that you'll be digging your own graveyard. That particular project is NOT under development, and it most certainly will die a soft death. While you are left without fellow enthusiast/programmers/followers/users, no forums/support channel etc etc.
1
 
LVL 22

Assisted Solution

by:Ferruccio Accalai
Ferruccio Accalai earned 250 total points
ID: 41821841
As Kimputer said IOS and Android understands different languages than php. You could try just for curiosity but as already stated by Kimputer you risk to fall in a desert. It's like if you can speak just english and try to tell something to a chinese old man: you can use pictures and hands to explain yourself, but he  will never understand what you're saying.

Take a look at Delphi 10 Seattle: it's a cross platform ide that can let you develop apps for many platforms, but also this needs additional libraries and dpks to do that. Not as simple as it could seem
0
 
LVL 1

Author Closing Comment

by:Braveheartli
ID: 41821866
thank you very much
0
 
LVL 31

Expert Comment

by:Marco Gasi
ID: 41822594
@Braveheartli: you can't write a native app using html and php. But you can write a hybrid app using one of the many frameworks you find around the web (jQuery Mobile, Ionic and many others) and Cordova/Phonegap plugin.

If you follow this route, you can use html5, javascript and css3 to write an app which connect to your php code in the server to get/post data. Then, using Cordova, you can transform it to a mobile app for Android, Ios and Windows.

I suggest you explore better hybrid app world
1
 
LVL 1

Author Comment

by:Braveheartli
ID: 41822882
Thank you @Marco
It's a very good comment
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here, we have shared an easy step by step tutorial on how to download instagram images and videos on PC, Android Mobile and iOS mobile.
A professional opinion on which Apple product to buy, and a tidbit about the WWDC.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question