71743

Should i use remote or local service for this scenario?

Question:

I need to build some kind of listener,

now this listener suppose to run activies of diffrentz appz , i want this listener to be as a service that will run the appropriate activity,

should i make it as a remote service or local service(for this i need some app to hold it - make sense?) what will fit in?

thanks,

ray.

Answer1:

I would recommend running as a remote service as it sounds like you are planning on implementing this as a background service independent of any single activity.

Recommend

  • Android:How to change opened tab dynamically
  • How to resend request with android volley when not authorized
  • Removing event listeners on automatically created multiple elements
  • Can my app be notified when another application starts/stops playing audio?
  • EditText is covered by Keyboard
  • Java making confirming exit
  • Add reference to ASP.NET 5 Class Library from Framework 4.5 Class Library Project
  • python mysqldb delete row
  • Django Haystack Rebuild Index
  • NHibernate manually control fetching
  • Does Apportable support to build library binary (.a/.so)?
  • How to retrieve information from antrun back to maven?
  • using System.Speech.Synthesis with Windows10 universal app (XAML-C#)
  • Function calls are not supported. Consider replacing the function or lambda with a reference to an e
  • URLConnection doesn't work since API 10 and higher?
  • Clarification on min distance on LocationManager.requestLocationUpdates method, min Distance paramet
  • Android Studio 1.3 RC3. Google Play services out of date. Requires 7571000 but found 6774470
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Unable to install Git-core+svn by MacPorts
  • Specifying Castle WCF Integration Facility Endpoint Behavior per Endpoint
  • ADO and msqli connections very slow
  • PHP buffered output depending on server setting?
  • VSO Build — Response status code does not indicate success: 404 (Not Found)
  • Yii2: Config params vs. const/define
  • Unity3D & Android: Difference between “UnityMain” and “main” threads?
  • Ajax Loaded meta Tags
  • SignalR .NET Client Invoke throws an exception
  • Installing Hadoop, Java Exception about illegal characters at index 7?
  • Azure Cloud Service Web Role web pages do not load
  • Is there a amazon webstore API for customers?
  • Convert array of 8 bytes to signed long in C++
  • Circular dependency while pushing http interceptor
  • KeystoneJS: Relationships in Admin UI not updating
  • Angular 2 constructor injection vs direct access
  • -fvisibility=hidden not passed by compiler for Debug builds
  • coudnt use logback because of log4j
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • unknown Exception android
  • costura.fody for a dll that references another dll
  • Net Present Value in Excel for Grouped Recurring CF