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
0
votes
1 answer

How to set animated image (gif) in a SWT widget using Tabris Framework

I need to display an animated gif image in the app. In the following code example, I set the setImage property of a Label widget. This works fine in the browser (rap), but mobile app only displays static image without animation. Is there a way to…
Abu Zoha
  • 53
  • 1
  • 8
0
votes
1 answer

Collapse or Expandable Tree view using Tabris

I am trying to create an expandable / collapsible tree view (like Android's ExpandableListView widget) using Tabris Framework. The structure is as follow: Category 1 Category 2 Item 2.1 Item 2.2 Item 2.3 Category 3 Item 3.1 Tabris has a Tree…
Abu Zoha
  • 53
  • 1
  • 8
0
votes
1 answer

How to get crisp icons using Tabris

Currently the png images used in the application do not show up crisp and clear. There is clearly a resolution issue. We tried to change the resolution of the images like in page.setImage from 32x32 to even 128x128. The higher the resolution, the…
0
votes
1 answer

Toolbar/ActionConfiguration behavior difference between iPhone and Android

The Action configuration behavior seems different between an iPhone and Android device. On an iOS device, the action items or buttons are permanently visible on a toolbar. On the Android the user has to select menu on their device first to make…
0
votes
1 answer

How to close tabris application

Is it possible to minimize or close tabris application (client side) ? I wanna accomplish the same behavior that is implement on hardware control. (back button on top level page or home button) but I wanna invoke this when a certain criteria in my…
mferlan
  • 131
  • 3
0
votes
3 answers

XML Special characters in Tabris need to be escaped?

In our application we get an ugly exception (parser) when having a string that contains a character like &. For now we replace these characters using StringEscapeUtils.escapeXml(aLabel). Is this the proper way because the label in our tableView…
0
votes
1 answer

How to insert, change or remove a single table item in Tabris?

I'm trying to understand how to design this using Tabris. My current design updates the tableview by setting a new list: viewer.setInput(list); This is not what I want as this refreshes always the entire table with a nasty refresh view…
0
votes
1 answer

How to apply page background images in tabris, preferable using stylesheets for iOS and/or Android devices

this is not clear to me from the documentation and from the current behavior I see in my app: The stylesheets work nice using a web browser, but not on the mobile app. So what I was looking for is how to apply different background images in our…
0
votes
1 answer

Example for offline application in tabris

has anyone created an offline application using Tabris framework? With the Tabris 1.3 release (see link ) this seems possible, but I do not know how to start ?
mferlan
  • 131
  • 3
0
votes
2 answers

Tabris 1.3.0 - closeCurrentPage() throws error, how when to use?

Probably a very stupid question from a new bee. I'm looking for a solution to navigation back from a page, not by pressing a navigation button, but from code. So in my case by selecting a table row, I open its detail…
0
votes
1 answer

Is SWT Link supported in Tabris?

I want to create hyperlink using Tabris UI framework. I tried with following code but sucsess. It works on browser (RAP). Android and iOS don't show anything. Link link = new Link( parent, SWT.BORDER ); String message = "Click on this hyperlink…
Abu Zoha
  • 53
  • 1
  • 8
0
votes
1 answer

SetImage on TreeItem does not work in Tabris iOS7 client

I have a selectionListener for a Tree (org.eclipse.swt.widgets.Tree.Tree). Should any selection occur in this widget, associated TreeItem (org.eclipse.swt.widgets.TreeItem) should be checked. I have used TreeItem's setChecked and setImage methods…
Abu Zoha
  • 53
  • 1
  • 8
0
votes
3 answers

Disadvantage/Advantage using Tabris against PhoneGap or Titanium or Corona

I was reading this article: http://www.infoq.com/articles/tabris and thinking about the benefits about using tabris in contrast to html-based tools like Phonegap http://phonegap.com/. Is there also a comparison for Tabris, Corona, Titanium and…
Competo
  • 133
  • 1
  • 11
0
votes
1 answer

Tabris Button Height

I'm trying to make a multiline button, but the text gets cut off. Button button = new Button( containerButton, SWT.PUSH ); button.setText( "Hello\nWorld" ); Is it possible to adjust the height of a button? The only thing I found was setSize(…
0
votes
3 answers

Tabris Local Storage

I would like to use different functions like favorites and appointments for one user. I need login data in the app. But is it possible to use local storage in Tabris Framework?