some problems compatibility on android
Hi,
I tried to analyse snapost code 9.x to understand how the titanium developpement works.
I have a social website compatible with mobile and I would like to make a software similar to snapost. The users can't add a picture from android browser…
1- When I run the software images on the buttons do not appear. Android can it show image on button in this titanium sdk ?
2- The click event on label doesn't work: "[TRACE] W/TiContext( 635): (main) [158,10045] No listeners for eventName: touchstart"
3- When a create a new VIEW with Ti.UI.createWebView (For the user signup account on .mobi website) , the button profile to switch view no longer works.
SIGNUP.JS = http://pastie.org/870236
Someone can help me? Those functionalites is it ok on this SDK for Android ? Thanks
3 Answers
-
Snapost needs to be updated to be Android compatible - I used some iPhone-only techniques during development that need to be made compatible across devices. I'll be committing a 1.0.x SDK version ASAP with these changes. Note, however, that other APIs should work as advertised, including Proerties, Network, etc.
-
Hi,
Thanks for answer, I know the actual version is optimized for iPhone. I make a few modification and it's run on android.
But I don't understand why a few properties doesn't work like backgroundImage on Titanium.UI.Button . This functionnality sould work on both system ?
It's difficult to know wich properties and method is available on Iphone, on Android, and Both… The documentation do not explain that at the moment :-(
The click label event doesn't work on Android. The code is it optimised on iPhone or this system doesn't work on android ? Is it obliged to use a button ?
-
Hi,
Anybody here ?!! :-(