Community Questions & Answers
Custom Holo theme for Dialogs ?
Hi there, When customizing the Android Holo Theme I found that the OptionDialog still uses the default Holo.Light theme. I have tried the following. ~~~ <style name="CustomTheme"...
Creating a Custom Dialog.
i want a design the custom alert Dialog with custom images and custom Button . any body who can guide me because i havent found any success yet. Thanks:)
email dialog not working
Hello, i'm having a problem using email dialog, although i set the subject and messageBody the dialog report no subject and write two "undefined" strings in the messageBody, i've tried different ways to make it, using setters o passing attributes...
Text value input prompt dialog
How can I create a dialog that asks the user for text input? So like an alert dialog with a label, a text box, and an "OK" and "Cancel" button? This is for an iOS app. I've seen it used in other apps before, as well as the native OS,...
Add event to calendar with native interface
Hi I'm trying to add events to the device's default calendar and works OK with Ti.Calendar but, how can I open the native interface in iOS and Android? Each platform has an interface designed to add events, allowing user to modify event details before...
Multiple Dialogs from the same Window
Android 4.0 Titanium Studio 3.0.2 Titanium SDK 3.0.2.GA Hello, I try to create a windows where someone could choose 4 things : Start date, Start Time, End Date, End Time. I create 4 buttons which open a dialog window. For date item i use...
open view as dialog
how do i open a view as a dialog when label is clicked the view should be over the parent view and also dim parent view SDK : 2.1.4 IOS and Android
Picker dialog not showing up inside of OptionDialog with androidView
What I am trying to do is create a custom OptionDialog on Android. I create my OptionDialog and pass it the following androidView: ~~~ var viewAddEvent = Ti.UI.createView({}); var v_ae = Ti.UI.createView({ width : 300, height:...
Android: 'properties'-Parameter doesn't work on Facebook Feed Dialog
Hi, Application type: Android und Iphone, Titanium SDK: 2.0.1GA2, Platform & version: Android 2.3, Device: Samsung Galaxy Ace, Samsung Galaxy S II, Host Operating System: OSX, Titanium Studio: 2.1.2.201208301612 Below ist my example code: ~~~ var...
Facebook post dialog not loading
I got a strange problem with the Facebook dialog for posting items the the users feed. In a random (3 in 10 cases) basis the dialog shows an empty screen en the facebook page is not loaded. I have this problem in both SDK 2.0 and 2.1. I am using iOS SDK...
Password alert dialog script [solved]
Hey folks, after searching for a while with no pleasing results for a passwort dialog like the dialog to enter your app-store password, I build a module for it. It is very simple to use. Well, the Version is a little beta, but it does exactly that, what...
I need help adding a view to an AlertDialog
Hi, this is something that has been puzzling me lately. I have done this many times before in Objective-C and it worked fine, but it cannot be done in Titanium currently and is a simple fix. However, I can implement it myself into the classes but I need...
Facebook Dialog stops after login
For posting to the users Facebook wall I use the Facebook Dialog. This because this includes the login and so this can be used for both users that are already logged in to Facebook as well as users that are not logged in to Facebook. When the user...
Option Dialog not working properly on iPad
Code straight from Kitchen Sink 1.3.2 fails to display the last of three options. I tried adding a blank fourth option and managed to get a partial distorted button where the third option should be. Anybody managed to fix this? regards, JH
Unable to invite friends using facebook dialog
I am developing an app for iPhone. In this app I am trying to have a facebook dialog for enabling the end user to send invitation of this app to his facebook friends. For the same I am using the below line of code. ~~~ Ti.Facebook.dialog('apprequests',...
Facebook dialog Error
Hello developers, I want to have a share option for facebook in my iphone app. I am trying to accomplish this with titanium developer 1.0.4. So far I can log in on facebook using my facebook username and password. After that I want to share something...
Android - Issues with TableView in AlertDialog
I'm experiencing app crashes and several issues using a tableview in an Alert Dialog. My current workspace configuration is `MacOS, TiSDK 2.0.1 GA2, Android 2.3 SDK`. The code used to show the dialog: ~~~ var tblView = Ti.UI.createTableView({ data :...
Should I remove this object after use or remove eventListener?
I am using a function after performing some actions with a mySQL database. If the database interaction is successful, I call function alertSuccess(); with the argument "insert", "update", or "delete" depending on which of the...
Is it possible to create a ProcessDialog?
I've dug through the documentation for Titanium and can't find what I'm looking for. [Documentation for ProgressDialog is here.](http://developer.android.com/guide/topics/ui/dialogs.html#ProgressDialog) My current use case is for pausing during network...
Disable Print Dialog
Is it possible to disable the print dialog so it prints to the default printer.
How to use DialogPreference on Android
I'm using following preferences.xml file: ~~~ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:title="Settings"> ...
How can i make checkboxes in dialog
I have user names and i want to print all these names in dialog and tick names! for android SDK 1.7.5
dialog with several ticks
i want make dialog with tick for android SDK 1.7.5, but i can't
Option Dialog Style?
Hello, Is there a way to style an option dialog created by Ti.UI.createOptionsDialog ? Or is there another solution avaiable? Greetings
Facebook Permissions Dialog not showing
In my app the Facebook Dialog for extended permissions is not showing up. Is there any bug known since last week? Last week all works perfect. The dialog asks only for the default permission. I´m SDK 1.8.1. This is the...
Facebook Feed Dialog Image pixelated (blurry)
I'm using the method "Titanium.Facebook.dialog" to send a facebook feed. However the image specified in the data object is blurry when it is shown on the phone (iPhone, iOS 5). My thoughts is that it is first resized to the size being displayed...
How can I show a Dialog Box when data is loading?
Well, I think the question is self-explanatory. In certain parts of my app I want to load certain data that takes a little while and meanwhile I want to show a dialog (without any buttons) wich locks de UI until it ends. Is it possible to do? The only...
Checking for network connectivity
I am using the code below in an attempt to notify users that they are not connected to a network. The problem is, my alertDialog box doesn't show up in the simulator when I test my app with no internet connectivity. Is there something missing from my code?...
Options Dialog failing in 1.4.0
I am trying to create an option dialog and if I copy the example right of KitchenSink, and the app crashes with the following error: ` ***Terminating app due to uncaught exception 'org.myApp.module', reason: 'invalid method (createOptionDialog) passed to...
Error on facebook wall post
When I try to post something on someone's facebook wall I get the following error from facebook: Sorry something went wrong. etc. The thing is that I get it in my onw app as well as in the kitchensink example app. Does any one know if this is a...
iPad crash in modal window with option dialog
Works with iPhone, but iPad always crashs when I try to open an option dialog in a modal window. Bug can be reproduced: start.js: ~~~ var winTest = Ti.UI.createWindow({ url:'test.js' }); winTest.open({modal:true}); ~~~ test.js: ~~~ var win =...
Facebook Dialog - Default Language
Hey folks, I am currently implementing Facebook into my application, so far so good. But all the meta information in the dialog is displayed in english. (Like post to wall, etc.) But for my target audience I need that text to render in a different...
Hidden password dialog underneath webview in android
I've been trying to figure out why a webview that is speaking with twitter oauth shows its internal browser password dialog **underneath** the webview window.  I have a table view and i would like to add a dialog box. I used "createOptionDialog" but it's a dialog box with choose to tick. I want a custom dialog box with custom items on it as a input text, maybe 1...
Ti.UI.createAlertDialog doesn't have options for Android
`Ti.UI.createAlertDialog({title:'Table View',message:msg}).show();` works fine in iphone and has an ok button but on android there is just the notification with no way to get rid of the alert. I had to use the emulator keyboard back button for the dialog...
Android Crash with Facebook
Hi all!! Well i have been developing an App with Titanium (1.7.2) for android (2.3.1) and IPhone. And the problem that i have is that when i try to publish in facebook with a dialog on android it crashes, but not on IPhone... Here is the...
Partial curl modal window problem
I have a button on the toolbar which shows a modal iphone window with the partial page curl style. I noticed these dialogs can be dismissed by tapping on the page curl. However, if this is done, the next time the dialog is invoked it is blank. If I...
How to check if an email account has been set up on iOS
Hi all, does anyone know a way to run the following iOS function? ~~~ [MFMailComposeViewController canSendMail] ~~~ I need to do this check in case a user runs an iOS device (iPod specifically) that does not have an email account setup. Thanks!
Android Option Dialog without Radio Buttons
Is there a way to style an Option Dialog so that the Radio Buttons don't appear? I want to use the Option Dialog as a sub-menu, and generically Android Apps don't have Radio Buttons in sub-menus. ~~~ var dialog =...
Alert dialog problem
Hi, i want to know if my code is ok. I think yes, but when i run my project, the function launchGPS is called every 5 seconds. However, the alert is running once when the first call to this function is past, twice when the second call is past and so on. I...
Popover Equivalent on iPhone
I am trying to get the Copy/Paste popover when clicking on a label, is there any way to get a popover on iPhone? I can only see it on iPad with Ti.UI.iPad.Popover I can get the dialog up if i use a textfield instead of a label but I cannot apply...
Get Copy Dialog Box on TableViewRow?
I have a grouped tableview for a product detail window in one of my apps, I need to make it so when you tap-hold on a row the 'Copy' dialog box appears - much like in iPhone native Contacts app on numbers, email addresses etc. I can only see that this...
Dynamic options dialog.
Hello, Titanium SDK version: 1.7.0.RC1 iPhone SDK version: 4.2 I am developing an iOS app that fetches tweets from twitter and inserts them into a table. For each tweet I am extracting the links (if any) and put them into an array. I want to use these...
Facebook Login Dialog Covers Up Keyboard
Using Titanium.Facebook.authorize(); to fire Facebook Login Dialog. However sometimes the Facebook Dialog will coverup the keyboard, making typing impossible. Bug? Or is there a way to detect Z stacking for the keyboard? And then set Z index, or reload...
Android picker not opening dialog in tableview
As the titel says, my picker is not opening the dialog. The picker is shown on the tableview, but when i click it nothing happens. Only when i press the backbutton on the Android, it shows briefly and disappears. Anyone knows why this is happening and...
Calling phone numbers dialog
Does anyone have an dialog for Android or iPhone which on an action gives an dialog where multiple or one phone numbers can be called. Im still strugeling with windows and the right events in titanium, so any help is welcome. I keep losing part of...
OptionsDialog and TableView question
Hi, I have a tableview, when I click on any row, it shows a dialog. How can I know the row that I clicked after click on a dialog option ?. Here are my code: My row: ~~~ var row = Ti.UI.createTableViewRow({ title:'' +...
Create android option dialog box with image
May I know how can I create option dialog box with images like in the example below? Thank you. http://mobile.tutsplus.com/tutorials/android/android-email-intent/
Showing 1-50 of 68 1 2