Community Questions & Answers
Titanium deletes the images while compiling.
Hi.. Titanium encounters a problem in adding images to default image folder in Resources. When I add new image to this folder, Titanium automatically deletes the image on compiling the app. Same problem is there when I tried to delete an image from the...
Tableview swipe to delete
Hi guys, I know that in tableview view, if i set the editable to be true, i can swipe the row i want to delete and the delete button will appear. But now, I want to know if I can add other button when i swipe? For example, when i swipe the row, instead...
Does removing a child kill its reference in the memory and remove its TiProxy?
I am running into some issues regarding memory leaks and lack of memory in my app. I realized that this is due to me not "cleaning" my reference table properly, as per [this article in the...
Inactivate backspace/delete button
Hi! I am quite new working with Appcelerator. Is is possible to inactivate the backspace/delete button in the keyboard? You should not be able to delete any text written. If you have done this before or have an example of code I would be really...
Strange behavier of editing text?
Hey, if i wanna edit my field like so: Enter a word and edit ONE LETTER in this word... So i jump to th position of the letter and hit "delete". the letter is deleted but the "editcursor" jumps to the end of the word... ? Seems very...
How to clear/remove rows from a picker?
I have an app that has two picker controls in it, where selecting a value from the first picker should alter the rows in the second picker. However, I don't know how to remove existing rows from the second picker (or clear it out completely), I only know...
how to delete table view row?!?!
cannot find document on how to do this.. where is the call back when user swipe on row and tap on the delete button?! OS_IOS
This is a solution to your memory woes
Hi guys, My team recently came across a serious memory issue in our project. So like any good programmer, we researched the forums for an answer. Our search took us to using sub-contexts as a possible solution. Unfortunately, because of the dynamism of...
Delete SQL Query on Alloy Collections
Following [this example](https://github.com/appcelerator/alloy/blob/master/test/apps/models/sql_queries/controllers/main.js), I tried to implement my own "erase" method in a collection this way: ~~~ extendCollection : function(Collection)...
Delete multiple Models in Alloy Collection
I am trying to delete multiple models, but it doesn't work. Here is my code: ~~~ var bookCollection = Alloy.createCollection('Book'); bookCollection.fetch(); bookCollection.map(function (model) { model.destroy(); } ~~~ Platform: iOS Simulator 6.1 Ti...
ACS bug - Web portal Deletes ACL when deleting a User that owns a Custom Object that has the ACL
I've Created a User "aUser", which also Creates the user's Custom Object "aObj", which has an ACL. The ACL is Not Owned by "aUser", but by another Admin user. If I delete "aUser", their Custom Objects logically...
How to access the red circle event when deleting a row?
Hi Community, before deleting a row a user has to touch a specific red circle with a dash '-'. Does anyone know how to access this event?
Trying to delete SQLITE table row when clicking on Tableview delete button
Hi guys, I'm having a hard time trying to get the following working. I've got a bunch of data which is stored to a database file. Now I want to be able to delete when pressing the delete button on my Tableview row. Here's my code: ~~~ var window =...
How to delete files of my app contained in the device SD
Hi, for an Android project I download some files to the SD card of my device. This thing automatically creates a new folder with the name com.mydomain.myapp. At a second time I want to delete the files in this folder. I believed this could work but it...
Delete file retrieved from getFile
Hi guys, I've read and download image from server to phone using get file function. Now hw do i delete the downloaded images? I dun wan the image to remain in phone once the user exit. here is my function to read the image: ~~~ function...
Titanium Android exposes Context.getExternalFilesDir() ??
Hello, does Titanium expose the following: http://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String) I need access to this folder in order to download and store files in sdcard which will be deleted when...
ACS - delete a place and all its reviews
Hey everyone, I'm developing a native iOS app and I'm using the ACS. Let's say I have a Status object which have 30 Reviews(Comments) objects. I would like to delete the Status and all its reviews in one delete request. Is is possible? If not, what...
Dashboardview without delete function
Hey developers, I've made myself a dashboard view with the createDashboardView function. When I hold an icon on the view it starts to wobble and shows a delete button. Is it possible to remove that delete button? I do want the user to be able to change...
Delete all rows in a tableview with a single click
Hi there, has anyone a good way to "clear" the table? I want to build a button which deletes all my rows, so that i can add some new data in my tableview.
Problem to keep the id of table to send a DELETE on my SQLLITE dataBase
Hi everyone I working actually on a android application and I am stuck to send a simple DELETE. The problem is that I ave some problem to keep the id_profil registered in my row. I have got no problem to display, but when I want to use it again, I always...
Delete all rows in a tableview with a single click
Hi there, has anyone a good way to "clear" the table? I want to build a button which deletes all my rows, so that i can add some new data in my tableview.
Default Behaviour - TableView Swipe to Delete
Hello folks, Is there is away to prevent the default behaviour of the delete button, which is brought in by swiping on a row in a table? I'm looking at making a async network call upon tapping the delete button. If the async call returns a positive...
application management
How can I delete an app that's on MyApp section on APpcelerator site? Also how can I delete apps from Android emulator in the PC?
multiple row being removed from tableview when executing the delete function
Application Type Mobile Titanium Studio, build: 2.1.2.201208301612 Platform iOS Host Mac 10.7.5 Device iOS simulator and physical device I am trying to use the Delete function of a TableView. The process works fine(the selected row is deleted), except...
Bug - ACS logging out Admin after deleting another Non-Admin User
I would like the **Admin User** to **Delete** _Another User Account_ via ACS APIs. ~~~ var data:Object = new Object(); data.user_id = accountsDG.selectedItem.id; sdk.sendRequest("users/delete.json", URLRequestMethod.DELETE, data, false,...
How to correctly remove all colums from a Ti.UI.Picker?
Based on the documentation [http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.Picker], the object Ti.Ui:Picker as a method to set the colums called ~~~ Ti.UI.Picker.setColumns(); ~~~ which recieve an array Ti.UI.PickerRow object as...
Delete button does not work in DDMS
I got trouble with smdl2tmp1.asec all the time. So I've to delete it so I can install my app again on the simlulator. I've to delete it in DDMS with the 'delete the section' button in the upper right corner. But just pressing delete on keyboard would be...
Bug in ACS API for Deleting a Review.
According to the Example Provided by the ACS API Reference for deleting a review we have: SDK Callback: ~~~ JSONObject responseJSON = response.getResponseData(); CCMeta meta = response.getMeta(); if("ok".equals(meta.getStatus()) &&...
HTTPCLIENT PUT & DELETE
Hi, I see that httpClient can send GET or POST request but is it possible to use DELETE or PUT request. I have to use these method to request amazon api. thanks for help.
Deleting chat-group ACS
Hi.I am creating application using ACS. In my application I am allowing user to form a chat-group, add members to that group but I am not able to delete that group. Is there any way to delete this chat-chat group. In documentation there are only three...
Handling delete on a table row?
I know how to make a table editable, display the edit/done button etc. but I can't find any examples in the KS on how to handle the delete. Can someone please point me to an example? What I guess I'd need to do is get the index of the row, receive a...
Delete all rows in a tableview with a single click
Hi there, has anyone a good way to "clear" the table? I want to build a button which deletes all my rows, so that i can add some new data in my tableview.
TableView delete (row) indexing issues
Context: email application with "unread" images in leftImage, with several labels added to row Setting (row)rowData[e.index].leftImage = '' clears icon successfully while table is unchanged. After a a row is deleted, the new row at that index...
Add a delete button in a tableview's row
Hi, in my android app i need to add a delete button for every rows of my tableview and add an event listener at these buttons with the delete function, how can i do it?
Only GET and POST methods in HTTPClient ? No PUT or DELETE
Is it possible to do DELETE or PUT requests ? It seems that if I do : `xhr.open('DELETE',url);` It is sent as POST anyway. Those methods, in the Javascipt equivalent: xmlhttprequest, are not supported by all browsers, if it's something like this, Maybe...
Dose HttpClient support DELETE method?
Http DELETE method doesn't work on HTTPClient. ------------------------------------------- var xhr = Titanium.Network.createHTTPClient(); xhr.onload = function() { ~~~~ }; // open the client xhr.open('DELETE',...
Can I delete labels?
Hey ;) How can I delete old labels? I request the text for the label from from a text file on my server. Every time when a tab is active, the text file refreshes... But now I have hundreds of dublicates from this label? So I want to delete the label and...
DELETE HTTP method in createHTTPclient
I am trying to do a HTTP request with the DELETE method. When I set the method to DELETE it does not appear as such on the server side. ~~~ var url = "https://mysever/"; var data = { object1 : "xx", object2 :...
Documentation error
As I've tried to delete a custom object from my HTML project, I had to find out that the documentation at [http://cloud.appcelerator.com/docs/api/v1/custom_objects/delete](http://cloud.appcelerator.com/docs/api/v1/custom_objects/delete) is wrong. As stated...
Delete all items in a TableView
Hi, I have a question, which I hope you can answer: I have a TableView, which receives a new row everytime somebody clicks on the "+"-button in the header. I implemented it the way you see down below, and it works fine. ~~~ var ausfuehren =...
Deleting a file or getting uri failed! help please!
Well, What I want to do it´s easy: delete a file from the sd card. But it doesn´t works! The route back is always appdata and not the path to the sdcard, I tried to put the path literally and does not work. ~~~ var...
ACS Unsubscribe with Ti.Network.createHTTPClient
I can subscribe successfully using createHTTPClient, but unsubscribe doesn't work for me -- I try it in DELETE and GET and get an "Authentication Needed" error, and I try it in POST and I get a "null" error. Has anyone been...
Delete Button Title in API Docs? + Feedback
I had a hard time finding how to change the delete button text when a row is swiped. Finally found this answer that does the trick. ~~~ var tableView = Titanium.UI.createTableView({ data: someData, editable: true, deleteButtonTitle:...
delete a row on tableviewrow
Hello everyone. I create a FireEvent to create TableViewRow as you can see bellow. However, it has a problem. After I delete a row by "tableView.deleteRow(tableView.getIndexByName("rowname"));" and create a row again, a previous row pop...
Stock alarm app-style edit and deletion for at TableView
I am wondering if there is a simple way to have the same sort of edit and delete interface as the stock iOS alarm app. I know about setting a Tableview's `editing` and `editable` properties, and that gives a UI that is close, but it only allows deletion....
remove local directory
Hello everyone I created a new dir in my app directory with ~~~ var parent = Titanium.Filesystem.getApplicationDataDirectory(); var new_folder = Titanium.Filesystem.getFile(parent, 'atlas'); new_folder.createDirectory(); ~~~ Now i would to delete this...
Problem with delete mysql data using Ti.Network (not working...)
'list.js' ~~~ tableView.addEventListener('delete', function(e) { var f_delete = Ti.Network.createHTTPClient(); f_delete.open("POST", "http://yoobato.com/dev/rufree/json_friend_delete.php"); var params =...
get row index from custom data
Say I create a row with the following data: ~~~ {title:'long string here',id:278,custom:55} ~~~ How could I get the index of this row based on the "custom" value? Basically, I would like to delete a row based on a custom value stored within the...
Problem installing application on android phone
Hi, when i have install my app on my android phone, the app have two icons in the menu. I have copied Tiapp.xml from an other project and just changed the name of my app. How can i have just one icon in the menu? (when i delete one of them, the two are...
Textfield on Delete
How do I get notified when a user presses the delete button on a textfield?
Showing 1-50 of 90 1 2