Android :: Why Would JmDNS Service Discovery Work On Motorola Droid Running Android 2.1

May 1, 2010

I have successfully gotten JmDNS working on Android 2.1 testing on a Motorola Droid by using MulticastLock, but recently got an HTC Incredible as second test device, and JmDNS discovery doesn't work at all.I should mention that broadcasting a service still works and everything appears to run normally, but serviceAdded never gets called. Does anyone have thoughts on why this might be?

Android :: Why would JmDNS service discovery work on Motorola Droid running Android 2.1


Android :: Achieving Service Mechanism Like Printer Discovery?

Oct 12, 2010

I would like to know about the 'service discovery' mechanisms supported by android - particularly, Printer Discovery. Does android provide such a discovery option? example: support for snmp broadcast? I tried out an application "PrinterShare" link:
http://www.printeranywhere.com/mobile.sdf where Printer Discovery is achieved through ipp.

View 2 Replies View Related

Android :: Does Google Voice App Need To Be Running For The Service To Work

Jun 19, 2010

I've never quite understood the connection. If you have a Google Voice phone number set to forward those calls to your cell phone, do you need to have the app running on your cell phone for this to work or can it be manually turned off?

I would imagine that the call forwarding would work regardless, but what about the app keeping track of those calls in a call list, or keeping track of the voicemails, etc.? Can you just open the app manually and all of this information will be there, or does it need to be running at all times in order to record the phone calls/voicemail as they come in?

View 7 Replies View Related

Motorola Droid :: Interesting Discovery About Soft Keyboard

Nov 10, 2009

There has been a lot of discussion on Engadget about whether the soft keyboard has multi-touch. Engadget insists no, and Rob here insists yes.I think I discovered where the problem lies. Josh at Engadget was saying that you had to release one key before pressing another or they would not both register. Rob said in his review that you COULD press them at the same time and both would register. I think I found out that both are right.I did some experimenting and would love to see whether others come to the same conclusion. It seems that when the keys are far enough apart (more than a couple of keys away), then you can, indeed, press the second before the first is released and they both register.BUT, if the keys are close to each other, it will not do this. You have to release one key before pressing the other.I think this must be to avoid accidentally hitting two keys with one finger.So, whether you think this is a good feature or too much babysitting of our typing abilities, it does seem intentional.

View 46 Replies View Related

Android :: How To Find What Service Running On Background On Droid?

Apr 27, 2010

How to find what service running on background on Android? Maybe I have to ask in another way? Does the service be presented as one "process", then we can use "ps" or "top" command to find it?

View 1 Replies View Related

Android :: Keep Droid Music Background Service Running?

Aug 21, 2009

I have an android main activity which starts a service (class extending service).

The services onStart creates a Mediaplayer and starts playing an mp3 file.

Then when you click something in my main layout (from the main activity), I call startActivity to fire another screen. I would assume my music background service keeps running, however it finishes. How can I achieve my goal then? code...

View 3 Replies View Related

Android :: JmDNS Successful On Simulator But Fails On Phone

Dec 31, 2009

I'm attempting to use JmDNS (zeroconf / Bonjour) to resolve a local network hosts IP address. JmDNS succeeds on the simulator, but fails on the phone. The phone is an HTC Magic (from the Google I/O conference). Both are running Android 1.5

View 3 Replies View Related

Android :: Google Gson Running On Droid / How Does It Work

Mar 4, 2010

I'm playing arround with google gson for communication with my web back end at the moment.
This and this older posts indicate that there are some problems with gson on android.

I did some easy tests on the device already but maybe I just missed the bug.

Edit I'm now parsing a lot more data. Generic lists etc. still not encountered the bug.

Has anybody used gson on Android already? How does it work? Has somebody encountered bugs or something that will stop me from using it once it gets more complicated?

View 2 Replies View Related

Android :: Get Video Out Feature Work / Phone Display Running App On Tv Without Extra Work

May 10, 2010

I'm searching for android phones that can use video out to the tv for a research project. I'm considering the HTC Touch Pro.

Is there anything I have to do specifically to get the video out to work (for displaying my app on the tv)? or will the phone just display a running app on the tv without extra work?

View 2 Replies View Related

Android :: Some App Make Their Service Running

Sep 26, 2010

How do some android app make their service restart even if killed from task manager? A good example is Lookout security app. What I guess is that it has registered for all common events that are announced like app installed unistalled, interenet available ,etc.Is this a way to keep your service running ?Another solution I found was to make 2 services monitoring each other, so if one gets killed restart another.Which one would be a proper approach? Is there any way in android to start booting automatically(if device is switched off) once connected to power source? I have never heard this on mobile platform.This is possible for PC through bios feature. Can it be done on android?

View 1 Replies View Related

Android :: How Do I Get Data From A Running Service?

Aug 21, 2010

I have just started using services in Android and I have a made a simple service that is polling a server every 20 seconds. Now how can I get this data from my main activity (when it is active)? Alternatively the service could send it back do my main activity (but only if its active). I don't want to wake up my activity. I have read SDK examples of "Binding" but I can't find an example how to actually get something from the service. Just how to start and stop the Binding. From the example. If I have the "mBoundService" object in my activity how do I get my data from the service method called eg. "polling Data()"?

View 1 Replies View Related

Android :: Running Application As Service

Sep 9, 2009

I want the application to run in background. This application should run continuously and should never get killed. Will running application as Service solve this issue? The application should get started automatically on start up. I don't need any GUI for this application. The main issue is Service getting Killed. Does service get killed ? and in what conditions will that happen?

View 4 Replies View Related

Android :: Long Running Service

Jul 27, 2010

I have an app that has a service with it. This service is started the first time you open the app is is suppose to run continuously in the background every two minutes. It seems that at some point though the service stops running or alarmManager stops scheduling/doing what is requested of it. Here is a breakdown of my code flow.

User opens the app,. Service is started, Inside the service I cancel any alarms that might be for this app then create a new one set for two minutes out, Once the alarm is set I call a GPS location check to get lat/lon, I then call up a .net web service to do some stuff with the lat/lon, Once text is returned I check that text for certain Items, If a certain item is found I send a broadcast out to a receiver that then creates a wakelock, starts a new intent to open an activity of my app then sounds an alarm, Right after I broadcast I call stopSelf() as well as calling stopSelf() if the text did not contain certain Items, I call finish() on the new activity I started if we go that far once the Active screen of my app is closed.

The reason I think something is dieing out here is because after some point in time usually once I wake up in the morning and check the phone I no longer see my GPS icon on my droid checking every two minutes.

View 2 Replies View Related

Android :: Check The Service With Some Name Running Once?

Nov 13, 2009

how to check that the service with some name is running once? also if i go out from my activity then my service is running & when i come to my activity the onCreate method is called so my service is created again in this case or running service will be attached again?

public class ServiceExampleActivity extends Activity { Intent intent; Button start,stop; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); intent = new Intent(this, ServiceExample.class); // service example is service class Log.i("-----service------", "Service Created"); }

View 2 Replies View Related

Android :: Running Service On Bootup?

Jan 9, 2010

how i can run the service automatically on bootup in 1.1 version of android where there is no IntentRecevier.

View 2 Replies View Related

Android :: Check If Service Is Running

Mar 1, 2009

How do I check if a background service (on Android) is running? I want an android activity that toggles the state of the service -- lets me turn it on if it is off and off if it is on.

View 5 Replies View Related

Android :: Get An Instance From A Service Running?

Feb 16, 2010

I have a service running in background. I start it from an Activity, but i want to recovery an instance of that service from other activity (in the same app) in order to call one method.

View 1 Replies View Related

Android :: Service Is Running Even / If Phone Is On Standby?

Sep 28, 2010

I have a service that spawns a thread which runs a task every 3 seconds.My service runs fine when my phone is on, but when my phone is on standby, the service is often not responding.Any clues as to how I can ensure my service is running while on standby?

View 1 Replies View Related

Android :: Service Running On Seperate Thread

Nov 7, 2010

I have an application that starts on boot using a broadcast receiver, also I have an activity and a process, because the service must run always on the background I am starting the service on it's own process using the android:process manifest tag.The ui is only for presentational needs and I would like the user to be able to run the service even if the activity is not active.when I press the back button or the home button the activity's on destroy method is called and the service although seems its running (it appears on the task manager) its not behaving as supposed, it should connect to the net and send some data but every X time using an timer task but the task never fires so the data are never send.

View 1 Replies View Related

Android :: Stop Service Only When There Are No Other Activities In App Running

Mar 13, 2010

Is there a way I can test if there are any other activities in my app still alive? I am looking to stop a service in an onDestroy method, but only want to do this if there are no other activities from my app still alive on the stack.

I have the call stop the service in the main activity's onDestroy() method. This works perfect EXCEPT that if a user launches my app, then launches a few activities in my app, then hits the home screen and RELAUNCHES my app, they will subvert my order and the main activity will now be above other activities of my app. From this state, if they hit the back button and 'back out' of my home screen they will trigger the onDestroy() method and kill the service even though there are other activities open on the stack. I want to avoid this by stopping the service ONLY if I am sure there are no other activities of mine open on the stack.

View 1 Replies View Related

Android :: Service Running After Pressing Home Key

Nov 24, 2010

I have an Android service, created in OnCreate of first Activity of the application using StartService(). I need this service to be running throughout the life span of the application ie, all the activities in the application. But the service should not consume the resources after user pressed Home key or Back button. Is there any elegant way to do that other than stopping the service in onPause() method of all the activities?

View 2 Replies View Related

Android :: Show Notification While Service Running?

Sep 30, 2010

I want to show notification in service..! While I click button in my home screen I just call service.! That service run every 30 seconds with the help of timer..! I want to show result to user..! How can I implement this..! Herewith I attached code..

HOme screen

package com.servicetest;

import java.util.Timer;

import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast;....................

View 4 Replies View Related

Android :: Running Activity From Local Service

Sep 13, 2010

I'm trying to create a program with a service that runs every 10 seconds, puts the camera preview, taking a picture and then leaving the user to continue his work (closing down). Currently I have two problems:

1. After I'm taking the picture, the preview still there. There's no function like close() to return to the previous activity. How can I return to the previous activity?

2. I'm trying to run the above described activity from the run() function (from the timer class that execute the run() function every 10 seconds). When I do that, a runtime exception is raised. But when I start the above described activity from a button clicked (not from the timer) it works fine.

View 4 Replies View Related

Android :: Know Whether Activity / Service Running Or Stopped?

Apr 13, 2010

When I do various operations on bluetooth application ... scanning, renaming and discoverable after some time non of these works... if I try to change name, it is not reflecting. is it problem with Activity/service? How to check whether these are still running? How to debug such cases?

View 2 Replies View Related

Android :: Getting And Stopping Single Running Service?

Sep 14, 2010

How can I identify and stop single running services? More specifically, once I got the running services on a List as in a chunk of code like:

ActivityManager activityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE); List<RunningServiceInfo> services = activityManager.getRunningServices(Integer.MAX_VALUE);

Is there any method to stop a single service, i.e to identify one and then stop it?

View 3 Replies View Related

Android :: Check If Intent Service Is Already Running?

Apr 6, 2010

Sorry for the newbie question, but does anyone know how I can check whether an IntentService is already running? I'm starting an IntentService from onCreate within a normal Activity, and that means that if the user minimises and maximises the application, it gets called twice. I'm wondering if I need to use something like the solution here http://bit.ly/du3VW5 or whether there's a simpler way.

View 3 Replies View Related

Android :: Running Activity From Remote Service

Apr 29, 2010

Iam trying to run an activity from diffrent package from my remote service:

This is how i implement the service.java

CODE:....

Ive also added a line in the manifest of the service:


The service works fine, but i cant run the activity -> PushActivity which is in diffrent package of diffrent application, this is the error:

Activity not found Exception: No Activity found to handle Intent {act=com.pushservice.PushServiceActivity flq=0x10

View 2 Replies View Related

Android :: Bluetooth Headset Service Is Always Running?

Apr 4, 2009

On my phone, a dev phone, the bluetooth headset service is always running even though bluetooth connectivity is disable in the Settings app. Is this normal?

The ear speaker is not emitting any sound for maybe two weeks now, even if the on-call sound level is at max (5), so I'm checking a few things before I try to send back the phone for repair or exchange.

View 2 Replies View Related

Android :: Running Background Service That Would Disable SMS

Jun 25, 2010

I'd like to include a feature in my application that would include a running background service that would disable SMS, if certain conditions were met (location for instance). Is there a way I can intercept the user wanting to open any SMS app and block it? Would a Broadcast Receiver be able to do the trick? Maybe a different way to go about this?

View 3 Replies View Related

Android :: Running Service On Start Up And Stop Before Shut Down

Jan 30, 2010

Is there an API, or a registry I can do in the manifest to make sure my service is being run at the device start up and being shut down before the device shuts off?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved