Community Questions & Answers

Android intent + remote mp3

Hi all, I'm trying to play a remote mp3 file with Android intent. Here's my code.. I tried almost every possible option to open this remote mp3 file. 1. In some cases it's opened in a browser player 2. In some cases it shows "no mp3 apps" 3....

Opening a PDF

Hello, Application Type: Mobile, Platform: Android, Device: Samsung Galaxy Tab 10.1, Development System: Windows I am trying to open a PDF file. I have a the Adobe Reader PDF viewer installed and it is able to open the PDF files that I want to view. Now...

Background services in alloy

Hello, im trying to get background services working in Alloy, problem is that i dont know where to place my service.js file, because nothing happens. This is my code for launching the service: ~~~ try{ // Start the background service on android if it...

Opening a PDF not working

Hello, I am trying to open a pdf to no avail. I referred to this http://developer.appcelerator.com/question/72361/open-pdf-file-on-android link to see how I could go about opening a pdf. It still does not work. Below is the code. ~~~ var win =...

Use an intent filter to open app from weblink

Hi all, I would like to have a link on my company's mobile web page that when clicked would open or app (if installed). I found a solution on stack overflow which requires the use of the AndroidManifest.xml ([Launch custom android application from android...

Email Intent

I'm sending an email from my Android app but I can't populate the recipient and CC address. Any tips on how to auto-populate the recipient and CC address? ~~~ email.addEventListener('click', function(e) { var intent = Ti.Android.createIntent({ ...

android - programatically install a external APK

I am trying to see if it is possible to download and install an apk file and I got as far as testing with an included apk file in the resources folder. I try: ~~~ btnGo.addEventListener('click', function() { var intent = Ti.Android.createIntent({ ...

What is android intent?

Can someone give me a brief description as to what intent actually is. To me it sounds like a listner related to hardware interactions? Can someone clarify? Ilan

Video from android gallery.

I am trying to get video from android gallery by clicking on button and get reference from [this link](http://developer.appcelerator.com/question/19181/video-gallery) and implement it in to my code but I don't get any response and alert when gallery...

How to get information from my intent?

Hi all, My application is very simple: it takes an image from the gallery and sends it to my server with some addional data. After a few hours of research I managed to accept images from intents. So when clicking 'share with' in the Gallery, my app is...

Android: Remove an extra from an intent

In native android, you can remove extras from an intent. Is there a way I can do this in Titanium? I guess I could write a module to do that, but that seems like an awful lot of work for something that should be supported.

Intent for ACTION_IMAGE_CAPTURE

Hi guys, am new to titanium and developing my first app. A little bit of help from any of you guys, anyone please suggest the equivalent intent for the native android intent android.provider.mediastore.action_image_capture. My app works well the only...

Open PDF files in Android

I m having a PDF file in my **applicationDataDirectory**, I am trying to open it using below code. But i am getting error **file not found** ~~~ try { Ti.Android.currentActivity.startActivity(Ti.Android.createIntent({ action:...

Showing 1-50 of 85 1 2