Android :: Service Works On 1.1 Not On 1.5

May 19, 2009

Our remote service is working great on 1.1. It is a pretty rich API too. BUT, running the same code on cupcake, it hangs after the service returns the concrete interface stub it has new'd in onBind(). (onConnect() in the client's ServiceConnection is never executed)

Android :: Service works on 1.1 not on 1.5


Android :: Logmein Like Service That Works With Droid?

Sep 1, 2010

I'm looking for a remoting service like LogMeIn that has an android component. I know about remote desktop clients, and VNC clients, but I need something secure. Are there any other options out there like LogMeIN?

View 2 Replies View Related

Android :: HTTP Post Works In Activity But Not In Service

Nov 5, 2010

GI am trying to do a http post to a php script. the method works if I place it in the onCreate event of the application but gets a ConnectionTimeOut error when it tries to execute it from the service.

Here is an example of my method

CODE:...................

I have no idea why the service would get a time out error but the application activity would not.

View 5 Replies View Related

Android :: Nothing Works After Reboot - No Service - Complete Force Close

Jan 4, 2010

I've had my htc hero (sprint) for about a month and half now and there has been a major problem i've been dealing with that i cant seem to find a solution to anywhere. everytime i reboot my phone, it wont work after the reboot. i cant get service, only wifi works, i cant access system updates, cant access my phone dialer. nothing works that requires date or service.

what i've tried to do is go to applications manager and ive been able to delete all the data from the google apps. this actually gave my phone service again after reboot, but i was never again able to sync my phone with google. meaning i couldnt get my contacts back, no gmail, and no market.

what ive been doing is having to do a complete hardware reset each time where i would then have to reset up my google account and re-download all my apps, needless to say this takes a lot of time each time. everytime i reboot, or when the battery drains, this happens.

View 3 Replies View Related

HTC Hero : No Service - Calls And SMS - But Mobile Data Works

Dec 1, 2009

My Orange UK Hero is unable to make/send calls or send/receive sms. It displays "No Service" on the lock screen but mobile data seems to work perfectly.
If I go to...

Settings->Wireless Controls->Mobile Network Settings->Network Operators->Search Networks

then select Orange, it says "Your SIM card does not allow a connection to this network"

If mobile data wasnt working then I would guess that its a SIM issue but I'm clearly connected to the network as im using their internet!

Just swapped SIM with a friends phone.
My SIM works in his phone and his SIM has the same issues in my phone.

Booting up, it was connected to the network for enough time for it to get a voicemail notification but showed "No Service" straight away.

Im guessing the best bet is to re-flash with the latest Hero Orange firmware. Any tips for backing up numbers/sms/cal etc?

View 3 Replies View Related

Jelly Bean :: App That Works On Galaxy Tab 3 And Equivalent To HP Print Service Plugin?

Jan 11, 2014

When trying to print from my stock device, I noticed that it was only willing to print to a Samsung printer. As the title suggests, the only printer available to me is an HP printer. And, as you may have guessed, the printer has ePrint.

I know HP has an ePrint app and Google has Cloud Print, which can both be used to print to the printer, but I don't want to have to go open an app every time I want to print something. I should be able to print something right from the app I'm using.

View 3 Replies View Related

Android :: Showing Toasts In A Service From Worker Threads With Service Reference

Jun 24, 2009

I have a service running in the background.I have a background thread that gets a reference to the service from the application's main activity. But when the background thread calls a method in the service to display a toast, I get the "Looper not initialized exception".Why,if I have a valid, bound reference to a Service, does this still happen?

View 4 Replies View Related

Android :: Unable To Start Service Intent Service Not Found

Aug 20, 2009

I am getting following message when i try to launch service.Also is there any specific path on file system where we need to place the .apk file which contains my serivce component only.

View 2 Replies View Related

Android :: Service Auto Restarts On Breakpoint When Debugging A Service

Jul 22, 2010

I am trying to run the sample soft keyboard included in the SDK. I am using the debugger, and the literature says that to use a breakpoint while debugging a SERVICE, I need to include:

android.os.Debug.waitForDebugger();

So here is the portion of the code I modified:

CODE:...........

I have put a couple of breakpoints, at the statements indicated by the comments.

This is what happens: the debugger first stops at the breakpoint1, for a few seconds. But then the service restarts. For the life of me I can't figure out what makes the service to restart.

View 3 Replies View Related

Android :: How To Get Interface On Service Without Destroying Service At Unbind?

Mar 1, 2009

My service works exactly the way i want as long as i use start and stop and communicate using intents. However my activity needs to change the state of my service as well as retrieving state information.So i thought it would be nice to broadcast some kind of state_changed event from my service and use a binder interface to pull information from the service or change the services state based on user input.This works fine too. The only problem is that my service gets killed when i unbind it just as the documentation says.Is there any way to keep the service alive but still get an interface to control it directly. My activity offers the user a way to stop the service and the service kills itself anyway after it's work is done but i don't want the service to stop every time the activity is destroyed.

View 3 Replies View Related

Android :: Local Service Vs Remote Service

Nov 9, 2010

I'm confused about whether I need to run my service in a separate process. What are the advantages / disadvantages of each?For reference I'm trying to create an App that uses a service to play [streaming] audio in the background. So which one is better for my use case?

View 1 Replies View Related

Android :: Two Threads And 1 Service / Or Service Per Thread?

Nov 20, 2010

what I'm trying to do here is implement something like a peer-to-peer client. Being that, it will start a client thread and a server thread.I know Services themselves run in the main GUI thread, so I'll have to start a couple of independent threads (or Asynctasks?) for each server and client. The only thing I'm not so sure about is if I'll better have 1 Service starting 2 threads, or maybe 2 services, each one of them starting their own thread.

View 2 Replies View Related

Android :: Get System Service In Personal Service?

Nov 30, 2009

I got an problem on getting the TelephonyManager in my personal service. The code as below: public class MyService extends Service {@Override public IBinder onBind(Intent intent) { return mBinder;}

View 4 Replies View Related

Android :: Does Service Have To Be Remote Service Or Can It Still Be Local?

Sep 30, 2009

i have an app that binds to a local service.I want to add a desktop widget that binds to the same service. does my service have to be a remote service or can it still be local?if it can still be local, how can I get at the local binder?

View 2 Replies View Related

Android :: Bind To A Service From Another Service On Droid?

Sep 30, 2010

Please show me how to bind to a Service from another Service on Android.
If you have an image to show how to do.

View 1 Replies View Related

Android :: Tips On Making An Android Service / Which Polls Web Service Handle Bad Connectivity

Jul 16, 2010

I am developing an Android app which needs to poll a specific webpage in time intervals. I've got it to the point where it does indeed poll the page on a specific interval, and that interval is specified in a SharedPreference which can be changed by the user in the settings page of the app. But complications arise when network connectivity is flaky.For example, how do I ensure that the Service "wakes up" the network adapter and gives it ample time to connect before polling the page, in the case that the phone was sleeping to save power? This polling action can happen as little as once every 24 hours, so I don't want to miss one action just because the network was out (but turned on a few seconds, minutes, or even hours later).

Or there are times when the web service doesn't respond, or DNS doesn't respond, or what have you, and for any reason it doesn't get a response even though the phone is technically connected. What sort of rule do I put in place to make this retry later, so that I'm not retrying repeatedly when the user specifically turned off their internet but I'm retrying soon enough that if it was just a hiccup, the data can be received soon after the first try?Are there any examples for this type of situation? What is the logic to best handle this?

View 1 Replies View Related

Android :: Android Remote Service Doesn't Call Service Methods

May 28, 2010

I'm developing a GPS tracking software on android. I need IPC to control the service from different activities. So I decide to develop a remote service with AIDL.This wasn't a big problem but now it's always running into the methods of the interface and not into those of my service class. Maybe someone could help me?If i now try to call a method from an activity for example start(trackId) nothing happens. The binding is OK. When debugging it always runs into the startTracking() in the generated ITrackingServiceRemote.java file and not into my TrackingService class. Where is the problem? I can't find anything wrong.

View 1 Replies View Related

Android :: Service Stopping Another Service

Feb 17, 2010

i have a question about Services in Android.I have a application with two Services A and B.Is it possible that Service A can stop Service B?I dont want to do it through a Activity, cause the Application will be in Background. If some special Event happen in Service A, then it should tell Service B to stop. How can i do that?

View 1 Replies View Related

General :: Galaxy S2 - Service State Says Out Of Service Or Radio Off

Jan 10, 2014

I have a galaxy s2 and after I installed costom roms I dont have any signal what so ever.

I tried with like 3 roms and the same result.

I tought it was a modem problem and I tried to install some modems and see if that works. But it didnt.

My Service State says Out of service and sometimes it says Radio off.

View 1 Replies View Related

Android :: Call A Service Hosted In A Windows Service From Android

Jun 3, 2010

I hosted my service WCF (.net) using a windows service,i can access to the service from any browser but when i tried to call it from android it doesn't respond. it works fine before the hosting procedure (i used host client by default on Visual Studio).The url that i try to attempt is from android emulator, and installed my webservice in the same local machine(endpoints address http://localhost.).

View 7 Replies View Related

Android :: App Works To Stream When Using DI.FM

Nov 6, 2009

I just got back from the Verizon store. I was checking out the Droid... I popped open the browser and went to DI.FM.

Digitally Imported - Addictive Electronic Music

I tried all 3 public streams (MP3, Windows Media, AACPlus), and nothing. I asked the data tech guys at the counter and they said there might or will eventually probably be a app that will work with DI.FM.

So anyone checked into this? Anyone gotten DI.FM working? I'm especially interested to see if I can get the premium subscriber channels to work. The phone is pretty damn sweet and right now the only thing holding me back is the fact I can't stream my favorite internet radio station.

According to the specs of the Droid, it supports AACPlus streams. This is big! Currently it's next to impossible to stream AACplus encrypted streams on windows mobile.

View 4 Replies View Related

Android :: How Does The Bluetooth Works

May 22, 2010

Can someone explain to me the concept behind using bluetooth. my project in my studies is to make an android app using bluetooth, SQLLIGHT and google app, the app itself is a very easy one but i just dont get the tools i need to use :

How does the bluetooth works?
Is there a simple example ?
The concept behind android GUI (i allready nade one but i think i am not fully understood his power)?

I am using v 2.1

View 1 Replies View Related

Android :: API Key Works With One Application Not With Other

Nov 4, 2010

I have two apps, almost identical, that make heavy use of Maps. I have both of them signed with the same key. One of them works, but the other one doesn't, it just shows a grid, but works with the debug key. I tried everything already, i mean i searched for substancial differences, but the thing is: a) if it's a code problem, it should NEVER run (and it does work with debug key) b) if it's a key problem, it should work (or not to) in both apps (and works great with one of them). I've already asked in Stack Exchange and they couldn't help me. Do you have any idea?

View 2 Replies View Related

Android :: Works On Emulator Not On G1

Oct 15, 2009

Learning about the NDK and JNI today. I was able to build, install and run the Quake demo that was ported to Android via the NDK 1.6. Worked great. I then started looking at the hello-jni example. This example works for me in the emulator, but does NOT work for me on the G1:

I/ActivityManager( 76): Start proc com.example.hellojni for activity com.example.hellojni/.HelloJni: pid=508 uid=10030 gids={1015} I/jdwp ( 508): received file descriptor 20 from ADB W/dalvikvm( 508): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Lcom/example/hellojni/HelloJni;.<clinit> W/dalvikvm( 508): Class init failed in newInstance call (Lcom/example/hellojni/HelloJni;) D/AndroidRuntime( 508): Shutting down VM W/dalvikvm( 508): threadid=3: thread exiting with uncaught exception (group=0x4001da28) E/AndroidRuntime( 508): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 508): java.lang.ExceptionInInitializerError E/AndroidRuntime( 508): at java.lang.Class.newInstanceImpl(Native Method) E/AndroidRuntime............

View 2 Replies View Related

Android :: How Geo-tagging Works?

Oct 20, 2010

Can some one give me an idiots guide as to how geo tagging works, only once have i had the option of 'show on map' the location of a piccy, i have everything turned on that can be turned on.

View 4 Replies View Related

Android :: Map API Key Doesn't Works In App

Nov 3, 2010

I've been working for a while in an Android app that uses a lot of the Maps API. And the thing is it works in the emulator with my debug key, but i see only a grid when i put "true" key, i tried with three already that i know they worked, so why could it be? I have internet permission (in the right place, befoce ) and i just can't find why this thing only works with the debug key.

View 1 Replies View Related

Android :: App Works Over WiFi But Not Over 3G?

Jul 22, 2010

I have developed an App that target version is 4 (Android 1.6) upto 7 (Android 2.1). I tested this app on the dev phone 2 (Google-Io-Device 1.6 version). I am doing some xml parsing stuff through Internet. i set the <uses-permission> on my Manifest. it works fine in WI-FI Network. But its not working in the Motorola Droid 2.1 with 3G Network. Is there any more specific stuff to do for 3G network?

View 2 Replies View Related

Android :: Works In Different Resolution?

Aug 19, 2009

I have created an application and I want to make sure it works in different resolution. i have used LinearLayout and some ListViews and buttons. I need to know will it be an issue if the apk is put to two different phones which has different resolution.

View 6 Replies View Related

Android :: Broadcast Receiver Sometimes Works

Jan 6, 2010

I wish to listen to android.intent.action.BOOT_COMPLETED. However I am not getting the broadcast intent, if I specify com.test.BootBroadcastReceiver in the manifest. When I change this value to simply BootBroadcastReceiver, then I am getting the broadcast intent.

<receiver android:name="BootBroadcastReceiver" android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>

My package in the manifest file is:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.test"
And the BootBroadcastReceiver resides in this package. What is the reason behind this?

View 2 Replies View Related

Android :: Geocoder No Longer Works On New PC

Feb 16, 2010

I have a problem getting the Geocoder to return results on my new PC during development. I started writing a android app on my other (Win XP) system and Geocoder worked fine and returned locations based on an address that I passed to it.

I recently bought a new PC (Win 7). Moved the code over to it and now the no address queries return any results. I tried a couple that did work on the xp machine, but are returning no results on the new pc. It does not give any errors.

I did generate a keyfile on the old pc. Do i need to create another on the new pc? Does the Geocoder require the key? It is not from the maps api.

View 2 Replies View Related







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