Questions tagged [tabris]

Tabris is a cross-platform mobile framework for Java.

Tabris is a Java framework written by Java developers for Java developers to build mobile apps.

It uses standard JavaEE technology to create an application on a server. Native clients act as a player for the applications's UI. They access the application by calling a URL that provides a JSON representation of the UI. The clients will use this JSON message to render the UI using native components.

Native components are Cocoa Touch widgets in iOS, Java based widgets in Android and HTML5 in a browser.

53 questions
2
votes
2 answers

Can't read or write files with Tabris.js

I'm on Windows 10, trying to read and write a simple text file using Tabris.js console.log reports: /local/src/hello.txt Error: No such file or directory: /local/src/hello.txt CODE: const {fs} = require('tabris'); let path=fs.filesDir +…
mrmccormack
  • 143
  • 1
  • 10
2
votes
3 answers

Tabrisjs Cannot establish connection package.json file

I followed the tabrisjs tutorial instructions to the letter when I get to this part In the URL tab of the developer app, enter: http://(development-machine-ip-address):8080/ I do as it instructs and I get the following error Could not…
QRiz
  • 41
  • 7
1
vote
1 answer

Performance comparison of Nativescript vs Tabris.js

Has anyone performed an analysis between NativeScript and Tabris.js to check which one performs better in Android and iOS? For example: in overall application responsiveness and any other metrics of system performance or benchmarks.
user3330840
  • 6,143
  • 7
  • 26
  • 39
1
vote
1 answer

Tabris.js system push notifications

I can't find a way to send system push notifications using Tabris.js framework(current version is 2.6.1). According to this answer there is a way to send push notifications using the official firebase plugin, but is there a way to do it with the…
1
vote
1 answer

Tabris.js XMLHttpRequests not accepting responses: readystate 1

I have a tabris.js app that I needed to connect to a SQL database. In order to do so, I decided the best option would be to create an express REST API and then make XMLHttpRequests to it. When the app makes a request, the API shows that a GET…
Cooper Wolfe
  • 111
  • 1
  • 7
1
vote
1 answer

Java cross platform mobile development

Why would a JavaFXPorts/Gluon Mobile application be better than Codename One, JUniversal or Tabris. Google shows these three solutions which made me wonder, were these solutions not good enough? Especially when Codename One claims to be faster than…
progonkpa
  • 3,590
  • 9
  • 31
  • 50
1
vote
1 answer

Scale background image during screen rotation in android using Tabris

I have following server side code in the top level page to set background image for all pages in the app. @Override public void createContent(final Composite parent, final PageData oData) { Image bg = ResourceManager.getImage(…
Abu Zoha
  • 53
  • 1
  • 8
1
vote
1 answer

Tabris sample example

I am new in tabris mobile framework i want to make sample example of button using tabris sdk for android application please give me suggestion about this task.and how to import project in eclipse and which plugin require for tabris…
kaushik
  • 39
  • 4
1
vote
1 answer

Tabris: Proper way to implement scrolling component with Swipe

I try to use scrolling composite (vertical scroll) in combination with paging navigation using gestures ( swiping ). My application works fine on Android emulators (tried Android 4.0.3, 4.1.2, 4.3 ) but I experience problems with my mobile phone ZTE…
mferlan
  • 131
  • 3
1
vote
1 answer

Eclipse RAP, Tabris: Style is gone after refreshing the browser

I wrote a web application using Tabris. I set the style of the application myself using following lines in the ApplicationConfiguration: application.addStyleSheet("SandboxTheme", "sandbox.css"); application.addStyleSheet("SandboxTheme",…
baumato
  • 358
  • 3
  • 13
0
votes
1 answer

Javascript version mismatch for Tabris framework

Few month ago I gave a try to Tabris, a nice framework for the development of native Android and iOS apps in Javascript. I wanted to get back to it today but my test app has javascript version issues. First, the QR code scanning on Tabris mobile app…
mszmurlo
  • 1,250
  • 1
  • 13
  • 28
0
votes
2 answers

using Websocket api in Tabris.js to connect to socket.io server

I am trying to build a Tabris app for android that acts as a client for my socket.io server I was doing some reading and seen that the WebSocket API is supported in tabris.js so I try to connect to my socket.io server like this var socket = new…
Nik Hendricks
  • 244
  • 2
  • 6
  • 29
0
votes
1 answer

Android vertical space betwen buttons

I have a problem with regard to the layout of Android. I can't show you a layout xml file since I am using the thin client provider Tabris. The image below shows the layout recorded with the layout inspector. What I don't get is why there is such a…
stone
  • 1
  • 2
0
votes
1 answer

How to pass a widget name to a function in Tabris?

Can I pass the name of the widget to the function to create Tabs? Something like let widgetName = new Tab({ ... Why? I need to put many different widgets inside of the each tab created, i.e.: .appendTo(tabCart) Note: When I create a function…
mrmccormack
  • 143
  • 1
  • 10
0
votes
1 answer

How to test if a file exists in Tabris?

Here is an example (works on playground) of reading and writing a file in Tabris. (this may be a good snippet to aid in understanding of “paths” on iOS/Android/Windows) If you try to read the file which doesn’t exist a general error is reported…
mrmccormack
  • 143
  • 1
  • 10
1
2 3 4