Decode QR Code
I was wondering if it would even be remotely possible to integrate a QR Code decoder into an app? And how I would go about doing so? Any help would be appreciated! Thanks
View ArticlePassing parameters with HTTP Client, double encoding!
I am using Ti.Network.createHTTPClient to pass some info to a PHP page, for example:var email = "john@website.com"; var encodedEmail = encodeURIComponent(email); this.HTTPClient.open('GET', someAddress...
View ArticleImage encoding and Decoding - for updation of image in MYSQL database?
I need to upload the image in Mysql database, i use the following code, var file = Ti.Filesystem.getFile('KS_nav_ui.png'); var blob1 = file.read(); var base64=Ti.Utils.base64encode(test); in database...
View ArticleDecoding HTML Entities
I am trying to convert HTML entities and this works in the browser but i'm not sure how to achieve the same effect without being able to create a textarea. How can I achieve the same result in my TI...
View ArticleConvert url-encoded data?
Hi; Im using jSON to receive remote data using a normal createHTTPClient() call. Its loads data normally. Is there a easy way to decode url-encoded data client-side? So i can output: "Sample Text" with...
View Articlebase64decode error & excetion ?!
Hi all, I have an application which (downloads) and saves small base64 icons in an SQLITE database....the problem I get, is that, without any reason when building the running the app, I the following...
View ArticleHow to get Base64Decode as a string?
For our app, we are needing to Base64 encode/decode but as we are not doing it on images we need to keep it as a string. While we can get our own external library to do it, I happily noticed Titanium...
View Articleencode data with a password key
Hi! I'd like to encript data using a key, but i find only these three thing:Ti.Utils.base64encode("test");//encode using 64bytes Ti.Utils.md5HexDigest("test");//encode using md5...
View ArticleImageviews inside of scrollableview not firing events?
I have an array of imageviews that are displaying remote images in a scrollableview. Most of them work fine but every once in a while an image wont display. I have confirmed that the image does exist...
View ArticleDecode utf8 chinese-japonese from JSON
I have tried many things but none of them works, how can I decode chinese, japonese characters? app.jsTi.UI.backgroundColor = '#dddddd'; var url = "http://appstesting.fr/jsontest.txt"; var win =...
View ArticleMAP - addRoute() is drawing a wrong route
Hi folks! I am developing a App the uses the Titanium.Map.View and I have been struggling to get it working properly but it seems impossible. Everything is OK, except for one thing, the route is...
View ArticleIs "File.write(content)" executed async?
I'm wondering, because if I write a downloaded JSON file to the filesystem and try to decode it right after writing, the JSON parser throws an exception. If I try do decode it again (without newly...
View Articlegerman "Umlaute" in image url
Hi, I have some images (filenames loaded with jason) I need to show in an article listing. Some imagefilesnames have German Umlaute (ä,ö,ü), with IOS they will be showed correctly but with Android I...
View ArticleExtracting encoded data
HI, I am working on a feed and wa trying to parse the following tag: <content:encoded> <![CDATA[ <p><strong><a...
View ArticleVIDEO ENCODING
Can any one please tell me how to encode video into base64 as I need it for sending the video to the webservice???
View ArticleQuestion about buffer codec encode/decode number
Hi, I wrote the following codevar buffer = Ti.createBuffer({ length : 1 }); Ti.Codec.encodeNumber({ source : 152, dest : buffer, position : 0, type : Ti.Codec.TYPE_BYTE, byteOrder :...
View ArticleDecode html entity characters
Is there a function that will automatically decode html entity characters? Here is a link to some of the html entities that I need to decode: html entities
View ArticleEncode image to String
I wanted to encode my image to String in order to post it to the cloud database easily. Anybody knows how to encode the image and decode it to display in app when received? Any suggestion will be...
View ArticleDecoding HTML Entities in Titanium
I've tried many things... I've listed these to start off scratching out potential possibilities: var originalText = "No, the fresh air duct isn't connected to anything. The fan isn't...
View ArticleUnable to decrypt the data from encrypted pdf file
Hi, I have a requirement to store data in encrypted format in pdf. I am using utils bas 64 encode. I am able to do it. When I try to get the data from the pdf unable to get it in nadir phones. To write...
View Article
More Pages to Explore .....