Android :: Creating Service With Bluetooth Activation
Apr 6, 2010
I want to create a service in Android which will initially ask user if he/she wants to start blue-tooth and set the blue-tooth discovery.
My questions are
1) Can i launch in the service following activities? if
CODE:.............
2) I want to set discoverabilty of the phone on for lifetime of application. is it possible??
3) I want to access empty space available on sd card. How should i do it??
View 2 Replies
May 20, 2009
I have a bluetooth headset that works fine with android 1.5 for listening music or calling people.My problem is that microphone is only active when I call someone, but I would like it to be activated anytime, for dictation.Is there any way to activate bluetooth microphone with sdk or is there some special headsets that would be ok for that?
View 2 Replies
View Related
Jun 22, 2010
I'm a soldier stationed in Afghanistan and I received an INC in the mail today that I ordered a week ago. Charged the battery, powered it on and discovered that it requires service activation in order to use it. I ordered it to use the WI FI capability here until I reactivate my Verizon service when I get home this fall.
I have read several threads in different forums discussing procedures to bypass the activation screen and I've tried them all. Tapping the corners in a clockwise motion or canceling the (*228) activation call and rebooting 3 times. I even contacted Verison and HTC technical support and they couldn't figure it out either. They think it's because I have no cell phone service here so cancelling the activation call method doesn't work.
Does anyone know how to bypass the activation screen from the ##778 command on the emergency dialer. I have read where it's possible to bypass using the A-KEY command.
View 16 Replies
View Related
Feb 3, 2009
How to create an Android service (that uses IPC) using eclipse?
View 2 Replies
View Related
Aug 4, 2010
How do I start a project wherein I can design an application which fetches weather forecasts from existing web sites?
View 1 Replies
View Related
May 22, 2009
I want to show a view on calling a Service API. Currently the only way looks like using the Toast class.
I tried the following after getting the WindowManager service, but it crashes at addView. I looked into the Toast class and found that it uses WindowManagerImpl which is not accessible publicly - is there any way to access the WindowManagerImpl functionality?
CODE:.................
View 4 Replies
View Related
Nov 10, 2010
I'm developing an Android application that consists of:
a lightweight background service that logs events to a DB
a heavier GUI application that summarizes these events and displays graphs.
I'm having trouble creating the service part, though. The graphic application can use quite some RAM, and when it goes to the background, the OS closes it after some time of not being used.
The problem is, when the application gets shut down, so does the service. This is bad because this keeps me from recording further events. I don't care if the application gets terminated, but the service needs to keep on running.
I have tried numerous ways to keep the service alive, like having it use threads or a differently named process than the main app. Nothing has worked, and I have found no help on any of the android developer pages or forums.
View 3 Replies
View Related
Sep 16, 2009
The app widget documentation indicates that the "widget provider"being a receiver of a broadcast service may not exist (the process) beyond the completion of the call.If I want to maintain state between two broadcast events, such as say widgetProvider.onUpdate(), can I start a local service and leave it hanging there until my widgets are disabled? If I didn't explicitly stop that service will it be loaded again and resumed when the device wakes up.
View 4 Replies
View Related
Sep 10, 2010
I am trying to write an app that cannot be killed by a user or another application. I understand this goes against what Android has designed for its platform, this is more of a proof of concept. The plan is two have two apps, app1 and app2. When app1 starts it will start app2 and then bind onto app2, when app2 starts it will make sure app1 is started if not, then start it and bind onto app1. The point of app1 binding on app2 and app2 binding on app1 is so when one of them gets killed a method will be called that the binding has been disconnected and the app can then be restarted. I currently have the apps starting each other when they start up but I cannot seem to get them to restart when I force close one of them.
For App1 service I have and app2 very similar:
CODE:..............
And for my class that implements ServiceConnection I have:
CODE:............
I think the issue I am having is that onServiceDisconnected never gets called when app1 or app2 is killed. I think this may be because I am not correctly binding to a service.
W/JavaBinder( 884): ibinderForJavaObject: 0x436274a0 is not a Binder object
W/JavaBinder( 891): ibinderForJavaObject: 0x43621d30 is not a Binder object
How can I bind services together so when one gets force closed that I will get a notice on the other?
View 2 Replies
View Related
Apr 12, 2010
I'm trying to register the phone as a HID device through bluetooth. So far I did the following - Created a BluetoothServerSocket with bluetoothAdapter.listenUsingRfcommWithServiceRecord("Any name", "00001124-0000-1000-8000-00805f9b34fb"). The UUID is the standard one for HID devices. - Paired the phone with a Windows PC - The phone is recognized as "Bluetooth HID device, but I get the error "Device driver software was not successfully installed"
Does anyone know what steps can be taken next to make it work? I think I should register a SDP service record, but I'm not sure if Android Bluetooth API has support for this.
View 3 Replies
View Related
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
Nov 9, 2009
I'm developing chat application. i want android device to connect with other non android device that implement jsr 82. so how can i declare my bluetooth service on android or how to connect to any jsr 82 service .......
View 2 Replies
View Related
Sep 17, 2010
I am switching phones and would like to know how I can obtain the activation code I got when I purchased LP. I accidentally deleted the email with the code.
View 2 Replies
View Related
Feb 18, 2009
I've got the Google dev phone from USA and I'm trying to activate it on Telenor in Norway. I've tried a whole bunch of different APN settings but nothing seems to be working. After filling in my username and password it tries to connect to google servers for activation a couple of minutes before it reports an error "There is a problem communicating with the Google servers." I've tried to delete all APNs and adding a new one. The settings I'm using now is: Name: telenor APN: telenor MCC: 242 MNC: 01 The rest is unset. I've also tried with username/password "dj/dj" and "wap/wap". And also changing the APN value to "internet".
View 8 Replies
View Related
Mar 10, 2010
I've been looking for someone with a similar problem but I haven't found anything yet. My phone boots up OK then it goes to the activation screen but after a couple of seconds (10 - 30, seems random) the phone hangs. When it's at the activation screen it seem to connect to the cell service (Fido) but R in the status bar would indicates that it's roaming (clue?). I have to take out the battery to reboot. It's a T-Mobile G1 that I'm trying to get working with Fido (Canada). It's a phone I bought used (activated but locked) but then I reseted it to factory default which deactivated it. I unlocked it. I tried to activate it through wifi. Followed the instruction and downgraded it to rc29. I've tried different rc, different roms, same thing.
View 5 Replies
View Related
Apr 9, 2009
I have to activate android's system key lock (the one you get when you press the power off/*hang up* button). See here:
I already browsed the docs but everything I found was PowerManager and KeyguardManager.Both seem not to be the solution.So, does everyone know how to achieve that from a android application? (If special permissions are required, that is no problem but changing the device's settings is not a solution)
View 7 Replies
View Related
Jan 17, 2009
I got a Android Dev Phone 1 from U.S and now staying in China with China Mobile. I don't plan to use any GPRS connection and only want to use the voice and wifi feature of the phone for development work. I wonder if I can by-pass annoying APN setting screen? I don't understand why this is mandatory?
View 2 Replies
View Related
May 25, 2010
For example, firstly download the app "ABC", "Open" button and "Uninstall" button will be displayed at the bottom of the screen when the installing is completed. Secondly, activate "ABC" by tapping this "Open", and tap HOME key when the app is running. After that, restart the same app from the Launcher on the Home screen, and finish the restarted one from BACK key. Then, despite having closed the restarted one, the same app is displayed. (I forecast the cause, it is maybe the multiple activation of the app.)
Q1. Is it the problem as the specific of Android Market that multiple activation occurs when the app is activated with above process? If it's no problem, is the cause the app "ABC" which I downloaded? Q2. Is there any way to avoid the multiple activation in designing of apps?
About the copy protection of Android Market.............
View 3 Replies
View Related
Jun 9, 2010
So, I just called Sprint and told them I was told I could get my Activation Fee waived, the guy who answered said he couldn't waive the whole fee but he gave me 50% off. Better than nothing. Anyone have any luck getting it completely waived?FYI, Sprint charges $5 extra to your monthly bill if you don't use Auto-Pay I just figured that out. So before you pay your bill you can set up Auto-Pay online.
View 12 Replies
View Related
Jul 21, 2010
Cracked screen just got my fresh new evo.I've got about 30 apps and tons of settings is there anyway to transfer this?What about my mobile hotspot and all that is it going to be activated on the new phone then the old one is going to lose that ability? I might need the net to transfer things!
View 1 Replies
View Related
Jun 5, 2010
Just got off with CS chat where I expressed my displeasure in the 4 1/2 hour wait I had in order to purchase and activate my Evo. I asked for a service credit and they offered to credit me the $18 activation fee and associated sales tax.
View 11 Replies
View Related
May 7, 2010
I purchased MyBackup Pro and tried to transfer my contacts, apps, etc from one HTC incredible to another. I activated the new phone, instealled MyBackupPro on it, and restored. Only problem is, my contacts came through corrupted, so didn't transfer.Now I need to go back to my old phone and get the contacts off of it using MYBackup Pro. But the phone won't let me past the activation screen. I don't want to reactivate it, I just want to use the app to download the contact information to the SD card.Why is it requiring activation to transfer information? How do I fix?
View 4 Replies
View Related
Oct 28, 2010
I just got my boyfriends new droid eris in the mail and wanted to know if i can root it before we get it activated?
View 2 Replies
View Related
Jul 2, 2010
Is it possible to root the Droid prior to activating it (you know, doing the *228 thing to be able to actually make calls and use data)? My wife's new Droid just arrived and I'm planning to put JRummy's Pink Froyo on for her. Thought it might be nice to have it done prior to her getting home from work. I'll obviously still be signing in with her google account and I have wifi at home should I need to access any data. But she needs her current phone right now and activating this new one would in turn deactivate the one she has with her.
View 2 Replies
View Related
Aug 26, 2010
I've received a replacement htc desire handset today (with the 28 day replacement policy) and my details were moved from one sim to the other. Asof yet i have not received messages off orange to activate the phone/sim. Any idea how long this should take as it's been 3 hours now! I really can't cope with more problems as this is my third handset in a week
View 6 Replies
View Related
Jul 22, 2010
Just got my new incredible today and charged it up. Then turned it on and it went right to the home screen......on my eris when I got it new I had a screen that came up right away about must activate to go further. Did any of you guys have this on your new incredible or is that gone on the new phones?
View 17 Replies
View Related
Nov 14, 2010
I honestly thought that activation was a skippable step, but apparently it's not. So, does anyone know how to do this on a Droid Incredible with the latest OTA? Anyone got a contact at Verizon they could ask? I just want to use it for wifi and games.
Ok, so why would I want/need to do this? Simple, I'm deployed to Iraq and my cell phone service is on a military suspense. I did a reset after the last update, and now cannot use the device until it's activated, or I find a way to bypass the activation.
What I've tried so far (thanks to Google):
-tried tapping the 4 corners, starting top left, going clockwise. Doesn't apply to this phone, but was still worth a shot.
-"end call" on activation 4-5 times
-reboot 3-4 times
View 3 Replies
View Related
Apr 19, 2010
I'm on my parents family plan. Because I won't be able to take my parents to the store on Thursday morning (b/c of work) I am thinking of pre-ordering it. Will I be able to take it to the store for activation/transfer my numbers and everything without the "primary phone owner" or whatever Verizon calls the main number on the family plan? Whenever I try to call them or go online I'm unable to do anything because I'm not the head honcho.
View 3 Replies
View Related
Apr 17, 2010
Been with VZW for several years and can't remember paying an activation fee ever.let alone for an upgrade that's purchased online that I activate myself. Does anyone know if we'll actually be paying the $35 activation fee for current customers (NE2 eligible) w/2 year contract?
View 4 Replies
View Related
Aug 17, 2010
A couple of days ago i rooted my phone but just flashed engtools3. This morning i decided to try out a new ROM. I flashed XTR 3.01 and was going through the setup and was asked to activate my phone. My phone has already been activated and i was wondering if this is normal when flashing a new ROM and if verizon is going to re-charge me for the activation fees?
View 1 Replies
View Related