Community Questions & Answers

Android service

I wanna develop an application that contains service that runs every morning , I tried the example in documentation and it works great. the problem is how to start the service again automatically if the user force close the app or restart his device. I...

Keep a background service running

Hi, I have an iPhone app that runs a background service that needs to always be running but it stops after a certain time... How could I make this service never stop? I saw something saying you need to add a key to the info.plist file but that's...

Android native background service

I have an android app that uses a native background service. (urban airship module) When I close the app and start it later I get the "App has stopped..." and then I can start it. It is as if the background service keeps running but the app...

Service memory leak

Application type: mobile; Titanium SDK: 1.8.2 from the site; Platform & version: Android; Device: Android emulator, Android device; Host Operating System: Windows 7; I have discovered some weird problem with services. Each time service runs, it...

lost service reference, when second times into app

app.js code: ~~~ var intent = Ti.Android.createServiceIntent({url: 'myservice.js'}); intent.putExtra('interval', 2000); // when launch app second times, lost the old service reference var service = Ti.Android.createService(intent); if...

WCF communication issue

Hi All, I need to post data to a service written in .NET WCF. But I cant able to communicate. It always return onerror potion with status 415. Here is my code block. In .js file ~~~ var xhr = Titanium.Network.createHTTPClient(); ...

Background service Android

Hi, I wanted to create a service in android which runs in its own thread and alert the user on the bases of some time entered into database, whether the app that created it is running or not. In KitchenSink 1.5 after 3 second of backgrounding the app...

Showing 1-50 of 106 1 2 3