Community Questions & Answers
Calling MobileWeb's destroy method on Windows to prevent memory leaks.
Hi all, my mobile web application is leaking pretty much. I did a search and found the "undocumented" method `destroy` for instance here:...
PhoneGap config.xml not available in packaged distribution
Hi, I'm generating native iOS + Android applications as well as a mobile web application from my Titanium project. I want to use the mobile web application to publish native/hybrid apps on Windows Phone + BlackBerry using PhoneGaps Build service. This...
Which browsers are currently supported by MobileWeb?
Hi everyone, I was wondering which browsers are supported on MobileWeb? I've found such a list here but looks a bit...
Using Sencha Touch to implement better Ti.UI
Hi, what do you think of using Sencha Touch to implement Ti.UI? We have severe performance problem with out mobileweb build and looking at the current mobileweb Ti.UI implementation I can see why. Sencha Touch has a similar component model as Titanium....
Ti.App.addEventlistener in webview freezes MobileWebPreview in Browser
Hi. I am working with a webview and local htmls. According to the documentation the way to go in order to communicate with the webview from other parts of Titanium is to add eventlistener like this:...
Mobileweb Module Development?
Is there a timeframe for when we can develop modules for Mobileweb? I'm particularly interested in being able to wrap a <canvas> element to use for drawing. I've checked the nightly builds and it appears there is something there, but I'm wondering...
MobileWeb - Not possible to close first window within NavGroup
Hi all, it's not possible to close the first window within a NavGroup on Mobile Web. **Code to reproduce** ~~~ var win = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'red' }); var rootWindow = Ti.UI.createWindow(); var navGroup =...
Unable to generate Mobile Web App
I have an existing Ti app that builds for iOS and Android. I'm trying to now get it to run with Mobile Web, so I checked the Mobile Web box on tiapp.xml, did a project clean, and then tried to do a Mobile Web Preview in Browser (also tried Emulator). It...
Building on Linux Mint 14 for Android+mobileweb
Hi, After several attempts, can't build a single app on Linux Mint 14 x86_64 Tried with both openjdk 1.7 and sun jdk 1.6 It happens with every demo app (kitchen sink, todo list) Android App: - The emulator starts, the app fails to install Web app: -...
who has acs in mobile web worked for android?
I'm using the 3.0.2.GA titanium sdk, and made an app that will work on ios/andorid/mobileweb. it's just some simple code that will do a Cloud.Users.query(), that it can work as ios/android app, and mobileweb in chrome(mobile + desktop),...
Dealing with cookies, Apache Realm Authentication
Hi guys! I'm in troubles with authentication. Titanium App (iOS, android) on client side, Apache realm on server side. Creating and httpClient object and sending the authentication values (Authorization requestHeader) Server response is next...
Websocket in MobileWeb in Titanium 3.0.x
Is it possible to implement a websocket in MobileWeb? Ti.Network.socket is not supported so I can't use NodeJS implementations. ...and don't tell me to use a WebView, because as of Titanium 3.0 the Titanium object is undefined, so I can't use Ti.fireEvent...
MobileWeb status
Hi, I wonder if anybody from Appcelerator can share their thoughts about mobileweb platform future. I've been experimenting with it for a while and found it to be unusable for anything beyond toy samples. I've created...
Change Index.HTML
ive just installed titanium and the android sdk for development. In my project i have an index.html but its not loading that when i do a build, it keeps loading a 'welcome to titanium' html page which for the life of me i just can't find anywhere to see...
Using Titanium to write Facebook Apps
Hi guys, Has anyone tried to use Ti to write a Facebook Application? Can you compile an HTML5 / MobileWeb program and use that or am I completely missing the point?!
MobileWeb and Pickers...
I was trying to use a date picker in MobileWeb, however, even though the picker renders properly, the values don't seem to be available... (getting errors where the picker doesn't pass the value that is clicked). I imported the latest Kitchen Sink to take...
Ti.Platform.openURL mobileweb
hello when I use Ti.Platform.openURL in android or iOS simulator ..the link is opened successfuly.But in mobileweb - my web browser link is not open. What's the problem in web browser?
Running mobileweb application through command line
Hi All, I want to run my titanium mobileweb application via command line, but it is giving me error. I can run for the iPhone and android but not for mobile web. I am using this command `titanium run --platform=mobileweb` where titanium is the alias name...
Detect all keyboard events in mobileweb, focus WebView?
This question has been asked in previous years, but I'm hoping someone has an answer now. I have a mobile web Titanium/Alloy app, and I want the app to respond to keyboard events, for example going to the home screen when hitting escape, or responding to...
MobileWeb doesn't update a Window's Title
Hi, I'm experiencing an issue with MobileWeb. I'm trying to update the "title" of a window but the displayed title within the NavigationGroup isn't updated. Example code within Alloy Controller ($.index references to a...
Speed up mobile web.
Hi, I want to increase the performance of my mobile web project. Is there any way/tricks **to speed up the project performance in the browser** ? My app performance gets slow as I have to load lots of components at certain times. I have used 'destroy',...
Mobileweb project runs on localhost but fails on server
My app runs fine through MAMP Pro on my Mac. However, it I copy it to one of our servers and access it that way I get an error:  Why would this be? Why...
Assign a specific CSS class to an object in Mobile Web?
I was wondering if there was any way to assign a class (as a property) to an object in Titanium so that when the application is compiled for mobile web I can create CSS to style the object further (in ways not possible in Titanium). I can see several...
Mobileweb App get info from URL parameter?
I have a mobile web app, displayed in an IFRAME. I need to pass some data from a URL parameter in the IFRAME's SRC attribute, as in `src="/myapps/index.html?foo=bar` I could also put the app on the page itself, if the iframe is an issue, but I am...
Hide navigation group bar in mobile web app?
I seem to remember there is a way to NOT have a standard navigation group bar in a mobile web app, however I've forgotten and can't locate. Anyone? I'd prefer to add my own previous/next buttons. ------ SDK 2.14
using generated mobileweb content with my own iOS UIWebView
i have created a simple mobileweb app in titanium studio, which i can preview in my browser (which happens to be safari).... the app itself shows a stock "splash screen" from appcelerator, followed by the simple page i created.... i also have a...
Resizing/Scaling an Imageview in MobileWeb NON-proportionally?
Am I crazy, or is there no way currently (Mobile SDK 2.1.3) to non-proportionally resize/scale an ImageView in a Mobile Web deployment? I've tried setting width/height - and it always seems to scale proportionally no matter what I do - and if it does not...
HTTP Request Can't reach host
Hi guys, did anyone face a problem whereby your mobile web unable to send request to the server?such as "can't reach host" when u perform a HTTP request to the server/API?
mobileweb running locally hangs with a lot of resource files
I'm running mobileweb app files locally on the desktop. When app launches it seems to be preloading or indexing all the files because when I add more files it takes longer to start up. Anyone know where or why it is doing this?
Mobileweb HTTP Client setRequestHeader for Session Cookie not working
On my mobileweb project a http client call for the login fails, because the session cookie that is sent after the login into the user interface is not sent for the second and third calls from my api. So the api generates a new session cookie and the user...
MobileWeb and Firefox/IE
I have been doing some development and testing with MobileWeb 2.1.1GA (and just tested with the latest master branch) and everytime I try to make an ACS call using firefox (on Win 7 or Mac) or IE as my browser, I get the error 'Cannot connect to host'. The...
Mobile Web Performance
Application type : mobile Titanium SDK : 2.1.1.GA Platform : Mobile Web Packaged on Mac OS X Hello, I'm developing an Mobile Web app with a navigationgroup and three windows. One window has an tableview with custom rows (views and labels). When i run...
Safari IOS - Cache Problems - MobileWeb
Hi anyone else having problems when deploying mobileweb apps and the cache not clearing ? . I get javascript executing on my iphone that is not the version I deployed on my web server. Even clearing the browser history and data does not resolve the problem
Differentiate between PC web browser and android device browser
As I understand , we can use Ti.Platform.osname to get the os name on which the application is working . When we develop and run it on a browser , we get the osname as mobileweb and as android when we run it natively . However I want to knwo whether the...
Mobile Web Navigation Group: rightNavButton?
I am porting an iOS app to Mobile Web framework. The Mobile Web navigation group works well, but it creates the "back" leftNavButton automatically but seems to have no rightNavButton. So, my "back" button is in the bar but my...
Mobileweb layout
This code does not render correctly on mobile web, how can I fix it ? ~~~ var win = Ti.UI.createWindow({ title : 'Welcome', // modal : true, backgroundColor : "#c92" }); var label = Ti.UI.createLabel({ text : 'Enter your mobile...
Mobileweb: webview.html not working?
Hi, I'm having some troubles getting the webview to load html code. Here is an example: ~~~ Ti.UI.setBackgroundColor('#fff'); var win = Ti.UI.createWindow(); var parentView = Ti.UI.createView(); // Create a WebView var aWebView =...
Why deferStart? Freezing application inside desktop wrappers
Took a dive into the mobileweb SDK. Having trouble figuring out what exactly this deferStart function is for... some of the wrappers I'm attempting to use are getting stuck. Why wait until waiting.length is null instead of just using...
Can't run mobile web app
This is the first time I am trying the "Mobile Web" build option, and admittedly I'm a bit confused. But I set it in my tiapp.xml file (with an app that was previously iPad) and hit "Run in Browser". Safari opens with an error:...
Mobileweb: TableViewRow and TableViewSection toString changed
Hello, A few weeks I've written some code like below to loop through a table to find a particular row. That code stop working when I've upgraded from 2.1.0.v20120519184954 to 2.1.0.v20120529140247. After investigating I've noticed that...
Mobileweb: Ti.UI.Label truncating some words if text too long
Hi, I've noticed on my app that sometimes the label clips a few words. Here's an example: ~~~ Ti.UI.setBackgroundColor('#000'); var win = Ti.UI.createWindow(); var parentView = Ti.UI.createView(); // Create a Label. var aLabel =...
Mobileweb: alertDialog message gets truncated
Hi, I've just noticed that mobileweb truncates the message from alertDialogs when it's bigger than a certain size. Here's some code: ~~~ Ti.UI.setBackgroundColor('#000'); var win = Ti.UI.createWindow(); var alertDialog =...
Mobileweb not minifying
Hi, When I do publish->package mobile web my code is not minified. I get *.js and *.uncompressed.js files but they are exactly the same. How do I get my packaged code to be minified? Can this be because I use ISO-Latin characters? Using SDK v2.1.*
Mobileweb: open url in new tab / browser window?
Hi, When I use Titanium.Platform.openURL() in mobileweb it seems to open a frame/webview for the website. On the iPhone, for example, it redirects the user away from the app to the browser. How can I open the url in a new browser tab or new browser...
Mobileweb TableView scroll doesn't seem to work across all devices
Hi, On the app I'm developing we have a long tableview which doesn't scroll on the Xperia Arc nor on Firefox. It does scrolls on Safari and Chrome though. Fro example the below code doesn't work on Firefox. Tested with SDK 2.1.0.v20120504170331. Is there...
Mobileweb doesn't work when offline
Hi, so yesterday I was flying home and I thought it would be a great moment to work on migrating my app to mobileweb but when I hit run I got a blank screen and a few log errors: ~~~ [INFO] Appcelerator Titanium 2.1.0.v20120504170331 Mobile Web GET...
Styling MobileWeb Application with jss or css
Hey all, is it already possible to style the generated mobileweb application with css or jss? Haven't found anything useful in Confluence and Jira. Also Q&A gives me no answer. I'm currently using the latest 2.0.0 build of Titanium Mobile. Thank you!
Anyone get ACS to work with MobileWeb?
Put together a simple ACS test program - works on iOS & Android and doesn't work on MobileWeb. The app just freezes on the splash screen in the browser. When I take the `var Cloud = require('ti.cloud');` statement out, the UI part runs on MobileWeb...
force redraw mobile web
Is there any way to force redraw a window in mobileweb? I found that some layout changes, such as changing the height of a view, only takes effect if the browser window is resized. I tried `view.height = value` , `view.setHeight(value)` and...
Ti.App.Properties.getInt not working properly on mobileweb
Hi, Just noticed that Ti.App.Properties.getInt is not returning the default value when not set. Example: ~~~ var p =Ti.App.Properties.getInt('propertyname', 0); alert(p); //returns null on mobileweb but 0 on...
Showing 1-50 of 60 1 2