As part of my app, my users install a Window Service (msi file written in C#) that uploads data to me. These Windows servers are usually behind all kinds of firewalls etc. and run by IT staff so it's difficult to get in touch with anyone to debug.
What can I put inside my application that would make it easier to figure out things? I'm...
I am trying to develop a small app that starts on boot for a class. I tried to follow the instructions http://www.androidcompetencycenter.com/2009/06/start-service-at-boot/
but I am having problems.
Manifest
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<receiver android:name="MyStartupIntentReceiver">
<...
Hi, I'm new to Android and Java programming so I would like to clear up couple of things.
I've wrote a background service that every 10 seconds it verifies something and based on some conditions it executes something or not. This is implemented using a Timer.
My understanding until now is that the timer in the service will run even when ...
I have a .NET web service returning the following json:
{"command":"getqcardjson","valuesets":[{"datatable":"eaa65990-8f88-45e0-966b-610858ad4cb6","values":[{"Id":"eaa65990-8f88-45e0-966b-610858ad4cb6","InternalName":"Alpha Profile","TableName":"Alpha Profile","OnMainMenu":"","DefaultDataSourceId":"bb4d1622-2e48-40b6-bea7-6355d701445c",...
Hi guys,
I have an activity that starts a service like that:
Intent youtubeIntent = new Intent(this, YoutubeFeedService.class);
service = startService(youtubeIntent);
and to detect when the service stops I use a broadcast receiver:
@Override
public void onResume() {
IntentFilter filter;
filter = new IntentFilter(You...
Hey,
So say there's an app running (any app). I'd like to be able to get it's Activity from within a Service that will be triggered to run from a android.intent.action.SEARCH_LONG_PRESS.
Is this possible?
...
Hi,
I have the following inside my manifest file:
<service android:name=".Rotate"
android:enabled="true"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.SEARCH_LONG_PRESS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</se...
I've implemented a Service in my android app that starts a timer (using the standard java.util.Timer and java.util.TimerTask mechanism) to do some processing in the background on a pre-defined interval.
public class BackgroundProcessingService extends Service {
private int interval;
private Timer timer = new Timer();
public void onCr...
Hello everyone. I'm doing a Windows Service in Java, this service list the files in a directory and write the results in a file. My problem is that when i call Java.File.isDirectory() when the service is running it always results false (It works well when i run the service manually as any other program). Besides, if i try the following: ...