What is the right way to develop web applications in Cordoba?

I am trying to make some simple web applications to display my website and add specific functionality to it.

My idea is to make something like a Facebook application for mobile devices. I just need to display the website and replace the input file . Users should be able to capture an image from the camera or select it from the gallery(multiple select) and attach it to the message .

TL DR;

Check out the images below.

What I tried:

Using Cordoba with a camera and image picker and displaying a web page in InnAppBrowser

Shooting with the camera and collecting images from the gallery, and then uploading them to the server - there are many of them.

What problems did I find:

InnAppBrowser is forced full-screen , so I can’t resize it and place a few buttons to select images below it .

What I need:

- ( ) - api - api , , . , , ( PHP script).

, (Android, IOS, WP), Apache Cordova. , 5 . .

- ? - - ?

( , ), !

!

: desktop version

-: mobile version

+4
3

, . : Cordova/Phonegap -. , " ", , .

  • - - -/-.
  • , . , (/ ) , , ( ) . , , * * . ( , .)

Phonegap . - , . - . , , " " (, ..) , -. , "" API- HTML5, "" "" – . API- HTML5 -, . UX HTML5. ( API HTML5 , )

, core "( )

  • file-transfer
  • camera ( )
  • inappbrowser

file-transfer camera , , -, . . , .

, -. . , . , -, . , .

inappbrowser , iframe. iframe. - API – - . - websocket, -. - - . , -.

.

  • " ".
  • () - .
  • , API- HTML5 .
+3

, , , , - - - .

, , . , WebKit ​​ , "".

, HTML5/CSS/JS, CORS XHR WebSockets - -.

- html/js/css , -, . javascript navigator.camera.getPicture(, , ) -.

api InAppBrowser, WebKit Chrome/Safari/Edge. InAppBrowser - .

, , - , html, . Cordova , html. , , /- ( ).

+3

@Jakub, . . , / .

: , Cordova/Phonegap
№5.

QUOTE:

PhoneGap HTML, CSS JavaScript. , (XmlHTTPRequest, Web Sockets ..), -, . PhoneGap -, .

, Apple , -.

Apple iTunes - 2.12

Applications that are not very useful, unique, are simply websites delivered as applications, or do not provide any meaningful entertainment, the value may be rejected

To be clear, your idea may be valid, but you may have to rethink your internal workflow. You probably want to keep the same interface and UX.

0
source

Source: https://habr.com/ru/post/1610489/


All Articles