How should I escape parameters when using SQLite?
What's the best practice to escape parameters when using Titanium.Database.DB.execute ?
View ArticleEscaping problem with Titanium.Network.HTTPClient
So, I'm trying to do twitter searches, using the public API. I would imaging that the correct way to do this is somehting like the code below: var loader = Titanium.Network.createHTTPClient(); var uri...
View ArticleHow to send espacially characters with a http post request
Hello! I am developing an android app with the 1.7.0.RC1 Titanium SDK. Now i try to realise a http post request. The post request should submit text from a textarea. The text can contain espacially...
View ArticleEscape double quotes when writing to database
Hello Can anyone help me with the following problem? I am trying to write data to a database, but in the string is a double quote. Is there a function that will put a backslash in front of the the...
View ArticleDifficulty in escaping single quote character while SQLite database insertion
I have to insert certain text in database which may contain characters with single quotes and double quotes. For eg: "Lumix" or something like Vijay's I have successfully escaped the double quotes like...
View ArticleEscape JSON keys values
Hi, I need to escape any keys values in a JSON string (only the values!). How can I do that? Thanks
View Article