Community Questions & Answers
HTML5 web apps examples
Are there any html5 web apps examples? I am titanium newbie and I think bein able to create web based apps in addition to native is awesome. For some projects html5 will be great. I wante to know if anyone could point to some examples.
Creating Single Page Application with Titanium
hi, I am really amazed with the titanium technology, and I have created few mobile apps on iphone and android both. Now I am interested in creating Single Page Application(SPA). So I want to know can we create single Page Application(SPA) using...
How to use Ti.Network.httpURLFormatter for Titanium Mobile Web
Hello, I am unable to use the Ti.Network.httpURLFormatter for mobile web, actually i am not aware how to use this method. I need to develop mobile web application. Please help me with a valid working example. I am pasting my code below. ~~~ var url =...
Mobile web poor performance/user experience and Safari bookmark on desktop
I have a little problem of performance/user experience in my mobile web application. When user from iphone safari saves the page as a desktop bookmark, each time the user opens the application from the desktop, it reloads the application from the...
Custom font in Alloy on MobileWeb
I have an Alloy project that is delivered to Mobile Web. It has a custom font installed in app/assets/fonts/Test Font.ttf I am using the following in the .tss file, but get nothing. If I change it to a font that Titanium knows about, eg Helvetica, it...
What does Platform.id in Mobile Web return?
What does **Platform.id in Mobile Web** return? Its some hash, that seems to be specific to the browser instance? What is that hash exactly? What's the DOM / plain browser javacript which will get to the same hash within a webpage? Knowing the answer will...
Cannot Create Project
Whenever I try to create a new project I get the error Unable to create new project Unable to create new project C:\>node "c:\Users\Richard Fyffe\AppData\Roaming\npm\\node_modules\titanium\bin\titanium" --no-banner --no-colors --no-prompt...
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',...
Mobile Web Problems
Hi everyone, I'm having some problems converting an iOS project to mobile web. From the documentation I've read, it seems like I just have to check the mobile web box in tiapp.xml. When I do that, and then try to preview the project, I get the error...
Mobile Web: Change the Navigation Group title properties?
I have a mobile web navigation group. SDK 2.1.1 fixed the bar color and right nav button issue, but how about the title in the bar:  How can I change the...
Display all options in Picker.
Hello, Is there any way to display **all the options** in the plain picker for mobile web ? I want to show all my choices in the picker at first so that user do not need to click and see the options. Thanks.
Http Client Mobile Web
Any one here who have been able to parse or retrieve data from server or cross domain in mobile web? HTTP CLIENT is returning an error of "Can't reach host" every time it runs even using different urls. I am using Titanium SDK 2.1 with windows...
Date picker value.
Hello, I want to get value of date when user selects a date from a date picker. The only function 'change' of picker gets the value when the component is changed but I want the value whenever any date is chosen at that instant. Thank you.
[ERROR] Script Error = Couldn't find module:
Anyone can tell me what's wrong with this simple change please? I can't figure it out: I have this original code working fine: ~~~ var AppTabGroup = require('ui/AppTabGroup').AppTabGroup, AppWindow = require('ui/AppWindow').AppWindow; ~~~ by adding...
selectedBackgroundColor for tableViewRow is not working for mobile web.
selectedBackgroundColor for tableViewRow is not working for mobile web. Both in android and iPhone browsers. The document says, it supports selectedBackgroundColor. I am not able to have this property in my application. Can anyone explain ?
How to build a responsive web app
Hi, there I am developing a mobile web app and have deployed it to the server thanks to Chris's help. The app stretches the whole page in the local browser and have different looks on different mobile phones. I am trying to make it responsive and could...
How to deploy a mobile web app
Hi, I know Titanium mobile app could be converted to different platforms, including mobile web app. I test my app from my browser, which works really well. Then I followed the steps from this...
XHR work on Mobile Web App?
i try some easy code and i get "cant reach host".[i try several url for open request...] i try it on mobile web app. what is wrong with the code :)? ~~~ var xhr = Titanium.Network.createHTTPClient(); xhr.onload = function() { ...
Memory leak - mobile web
I have what has turned into a complex application running in a web browser (Through Titanium mobile web). We have a significant loss of memory when moving through the application and so far, have been unable to pinpoint exactly what we're doing wrong....
Memory issue in browser.
Hi all, I have a **serious memory problem running my app in browser**. My mobile web app running in Chrome browser reaches more than 800 Mb and so forth as I run it, leading to slow performance and will eventually crash. Once the component is used, before...
Mobile Web : Audio playing not working in android browser
I want to play audio file in my web application (mobile web). Till now I am not able to find any way to play audio file on android browser. It seems, there is no way to play an audio file in android browser. Correct me if I am wrong. Even the example in...
Mobile Web navigation bar hidden set to true
Hi guys, I have seen alot of my search result that navbarhidden to true works for most of forumers. Actually my native apps(android is yes, hiding the navbar but the problem is it doesnt reflect on mobileweb, mobile web stll occupy some navbar even title...
Not able to write in textField in mobile web app in iOS 6 Safari browser
I have a login page in my mobile web application where the user enters his credentials in the text fields. It's working fine elsewhere (android browsers, iOS 4 and iOS 5 browsers) except iOS 6 browser (safari as well as chrome). In iOS 6, I am not able to...
Mobile web Map annotation not recognizing click event click source
On iOS, if the user clicks on the pin or annotation, the clicksource is one of: pin, annotation, leftButton, rightButton, leftView, rightView, title, or subtitle. But on mobile web, it's always returning pin, and not rightButton, leftView, rightView. We...
Can't get console output on a mobile web project
I was just trying to debug a mobile web project with `Ti.API.info('testing');` but nothing is printed out to the Titanium Studio console. I used to do this all the time with iOS projects. Am I missing something here? ------ Titanium Studio, build:...
Getting and setting the data in a mobile web tile view?
I have an iOS application that I am porting to a mobile web version. Here is the [iPhone version](https://itunes.apple.com/us/app/ice-pops-recipe-maker-from/id453480676?mt=8). The client does not want a table view for the choices in the app. So, with...
Map in mobile web
I am using map view in my titanium mobile web app, where the user can access map from multiple places. But the problem which I am facing is, if the user opens a map for the first time, the map comes fine, but if the user tries to open the map for the...
Moible web app in ios APP / Offline browsing/Mobile web with No server
Is it possible to create an offline version of a mobile web app, no need of a web server? The idea, is to create a webview in a totally different titanium app, for example a portfolio app of web mobile apps with no need of a internet connection.
Mobile Web SEO
Hi guys, I'd like to know if there is any SEO built into the generated mobile web code? Or is this something that I'll have to sort of build in manually after generating the files? Thanks!
safari keeps opening appcelerator api page
Hi, I ran my project in mobile web and since then I cannot use safari without having new pages automatically opened each time I click on a link or even whitout clicking anywhere! The page is...
HTML5 Mobile Web Apps
Hi! I'm looking to showcase some HTML5 based web apps made using Titanium. If anybody can provide an example of an app developed in this way I'd appreciate it! Thanks!
Google Maps with Mobile Web
Hi! I understand that mobile web has GPS functionality working(great!), and I'd like to know if it is possible to integrate Google maps. The application basically needs to give driving directions to stored locations and search stored data by...
Mobile Web app global properties
I want to ask about how can i clear my app properties when i launch my mobile web app again i.e next time after closing last time. I dont know why but it is showing me different username in my login but the information according to that username and id is...
Web view not working in Mobile Web app (Blank.html)
Application type: Mobile Titanium SDK: 2.1.1.GA Platform: Mobile Web Hello, I want to use Google Analytics in my Mobile Web app. Therefore i used a Webview. When i run this on Mac OS X in Safari it works great. But when i package the app and put it on...
MobileWeb OptionDialog not scrolling
Application type: Mobile Titanium SDK: 2.1.1.GA Platform: Mobile Web Build in a Safari browser on Mac OS X 10.7.4 Hello, I'm trying to create an OptionDialog with at least 20 options. This works fine on Android and iOS, but on MobileWeb in won't...
Mobile Web help
I want to know about is there any way to reload the only index.html page in titanium mobile web through code as i want to achieve back button functionality . i.e if i want to provide a button with homepage link which is app.js so its not opening like this...
Using open street maps in Mobile Web
Hello, I'm starting a new project and I am thinking to use Mobile Web platform. It's gonna be a web application that probably gonna used also in iPad. My question: I would like to use open street maps instead of google maps because I need to use...
Calendar for Mobile Web in Titanium
Hello, I want to ask about how could i add calendar to my mobile web application for android and web, as it seems to be only supported for android, any solutions will appreciated.
Is it Possible to have Database for mobile Web applications?
Am developing an application which will work for Android, iPhone and mobile web. I need to access data from Sqlite tables. but it is observed that Titanium doesnot have support for mobile web. Is there any other workarounds to store data and access for...
Horizontal List/table view for iOS or Mobile web?
Is there a way to take a dataset that's displayed in a typical Table view (like this, mobile web):  As display it horizontally, something more like...
Mobile Web Navigation Group bar color?
I can't find a property to change the barColor of the top navigation bar in a Mobile Web Navigation group... How can I change it from the default Gray? ------ sdk 2.1, studio 2.1, os 10.8
Mobile Web: Local HTML5 storage?
When my app was on iOS, I wrote my data to the App's Properties, as in function setArr(name, value) { Titanium.App.Properties.setList(name, value); } Now that I am doing the app as a mobile web html5 app, how would I store these arrays in HTML5...
Titanium to build WEB sites similar to mobile
Do you thing that is a good idea to use the Titanium and the JS framework in order to build Mobile WEB site and use the same as a normal WEB SITE? Thanks
Mobile Web - JSONP callback
i'm developing an app both for mobile and web and i was looking to use the same "logical" code my first problem was the dialog cross domain Using Titanium.Network.createHTTPClient(); and calling some json url works perfect from mobile. if i...
Mobile Web swipe support?
I have two different projects, one using a single webview and exposing different div elements on swipe, a second that also uses webview but every swipe loads a new html file in the container. Question. When I enable "Mobile Web" and test...
Why Apps running slow in mobile web browser?
I did create app in titanium and performance is good when I am installing app as package. but when I view my apps in mobile web browser its response is very slow. for example If I click on button, it will take much time to execute button event....... Same...
Mobile Web Label not wrapping
I am trying to do the mobile web, but for some reason I am not able to wrap the text inside of a label. by default the API's say it should, I have even tried to force it by adding the property, but it will not wrap: ~~~ var messageLabel =...
Error on adroid emulator preview
Hello, please I just loaded the default 2-tabbed Helloworld Titanium app. My target device are android and mobile web. I have installed jdk 1.6.0_32 and set JAVA_HOME system variable to C:\Program Files\Java\jdk1.6.0_32\bin. However, previewing...
Can I show normal views contained in web views on mobile web browser?
Can I show normal views contained in web views on mobile web browser?
Can I use CSS 3.0 properties in titanium with web views to create better UI
In my case I tried to implement gradient for button but It doesn't work for me in titanium Web Views. Please help :(
Showing 1-50 of 70 1 2