[android-beginners] Bluetooth Debugging on phones

2010-07-23 Thread Megh
Hi, can anyone recommend the best way to debug Bluetooth applications?
I'm running it on Nexus Ones because Bluetooth isn't supported on the
emulator but this makes it rather difficult to debug. I'm hoping
someone knows something about it that I don't! Thanks and much
appreciated.

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Bluetooth Debugging on phones

2010-07-23 Thread Nick Richardson
Your question is quite vague.  I have never had an issue connecting my N1 to
the debugger via Eclipse.

What exactly is your problem?

On Fri, Jul 23, 2010 at 9:06 AM, Megh msi...@gmail.com wrote:

 Hi, can anyone recommend the best way to debug Bluetooth applications?
 I'm running it on Nexus Ones because Bluetooth isn't supported on the
 emulator but this makes it rather difficult to debug. I'm hoping
 someone knows something about it that I don't! Thanks and much
 appreciated.

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




-- 
//Nick Richardson
//richardson.n...@gmail.com

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Bluetooth Connection

2010-07-22 Thread aggie_hellcat2009
I want to use bluetooth to transmit a very small (size) signal from
one phone to another for a game. I haven't experimented with this (but
from what I remember from before my Android device) in order to
connect a device to your phone you had to okay it and/or have a
password for it as well. Is there anyway to program a secure zone
where you can bypass the okaying of the transmitted signal? I looked
and to talk to people at Bump and they said that you have to
physically bump and okay the person. I want to walk up to another
phone in my secure zone and send a signal to it. Let me know what you
think. Thanks in advance. - James

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Bluetooth on/off in Android 1.5+

2010-04-07 Thread NoImJosh
I have been searching for weeks for a way to turn on and off the
bluetooth for any Android version from 1.5 onward.  I know it must be
possible, since there are widgets in the marketplace that do just
this, however I have never found any answers to my questions.  I do
know that I can make it work for Android 1.x using reflection.  I also
know it should be possible to use reflection on Android 2.x, but by
retrieving the methods for a different class since the official
bluetooth API was added in 2.0.  The code I've got so far is:

private static void BT_Enable(Context context, boolean enable){
String V = android.os.Build.VERSION.RELEASE;
int ver = Integer.valueOf(V.substring(0, 1));
String eMethod = enable;
if (!enable) {
eMethod = disable;
}
try{
Object manager = context.getSystemService(bluetooth);
Class? c = manager.getClass();
if (ver  1){c =
Class.forName(android.bluetooth.BluetoothAdapter);}
Method method = c.getMethod(eMethod);
method.setAccessible(true);
method.invoke(manager);
}
catch (Exception e){
Toast.makeText(context, Error:  + e, 1).show();
}
}

One of the issues that exists in 2.x is that the call
getSystemService(bluetooth) returns null, so to obtain the
appropriate class I've added the following:

if (ver  1){c =
Class.forName(android.bluetooth.BluetoothAdapter);}


however, since there is no system Bluetooth service, there is no
receiver object to invoke to, causing a failure.  Any help is greatly
appreciated.

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using remove me as the subject.


[android-beginners] Bluetooth on 1.6

2010-02-04 Thread Avanish
Hi,

I'm building an app that uses bluetooth. However my phone has the 1.6
sdk and the bluetooth libraries are available only from 2.0 sdk. Can
someone please tell me how to update the phone to 2.0 or use the
library on my phone

Avanish

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Bluetooth testing

2009-12-18 Thread az9702
Hi All,

As emulator currently does not support BT, what are some of the
alternatives for individual developers to test their BT apps other
than gaining access to multiple Android devices  (two or more for peer-
to-peer apps) ?

Thanks.

- az

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Bluetooth on Android 2.0 emulator

2009-11-16 Thread Mina Shokry
Hello,

Have anyone success on trying bluetooth stuff on android 2.0 emulator?
If not, could anyone get an android 2.0 image that can run on ADP1 and
supports bluetooth?

thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Bluetooth Voice Dial

2009-09-22 Thread Ryan

 any word on bluetooth being able to use voice dial? I can't find any
article. it is something android is seriously hurting on, and plam is
kicking butt in.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Bluetooth and GPS switching from a widget

2009-09-17 Thread Vapor Trail

Thanks a lot Yusuf,
I would like to ask another question.
I am trying to switch ON/OFF the GPS and Bluetooth from a widget.
From http://groups.google.com/group/android-developers/browse_thread/thread/ab52d1a3a58b8179/e5acd3ffbeb9b51e?show_docid=e5acd3ffbeb9b51e
and other posts, I understand that from SDK 1.5, only launching by an
activity (startActivity(new
Intent(android.settings.LOCATION_SOURCE_SETTINGS));) we can have
access to the GPS ON/OFF toggle functionality.


For bluetooth, I could not find any relevant information, since it
looks like there is not much support for Bluetooth.
I was checking HTC hero (running 1.5 SDK), and it had widgets that
allow such operations. My question is if they are using their internal
APIs or there is some other way of switching GPS and Bluetooth
programmatically from a widget, in the standard SDK (I am using
Android 1.6 SDK).



Regards.
carl

On Tue, Sep 15, 2009 at 3:43 AM, Yusuf Saib (T-Mobile USA)
yusuf.s...@t-mobile.com javascript:_e({}, 'cvml',
'yusuf.s...@t-mobile.com'); wrote:

This fellow seems to have code that works:
http://www.mail-archive.com/android-beginners@googlegroups.com/msg06083.html



Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



On Sep 13, 5:53 pm, Carl vapor.trail@gmail.com javascript:_e({},
'cvml', 'vapor.trail@gmail.com'); wrote:
 Hello all,

 I would like to create an application that allows the user to quickly
 toggle wireless connections ON/OFF. I found the API for wi-fi
 (android.net.wifi.WifiManager) but I am not able to find any API for
 Bluetooth and airplane modes.
 Do you have any idea where I can find such APIs or how can I have
 access to the switching functionality?

 Regards

 carl

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Bluetooth Classes documentation???

2009-08-05 Thread Abhi

Hi there,

I am developing an app using Bluetooth on my G2 phone (Tmobile's HTC
MyTouch 3G) but am unable to find any documentation on Bluetooth
classes in Android 1.5. Need help around that!!

Thanks,

Abhi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] bluetooth range

2009-07-15 Thread Android

hi..
what's android bluetooth range capabilities? is it 10m/100m?
cheers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Bluetooth application...how does one get started?

2009-06-26 Thread Michael Dorin

I need to write a bluetooth application for work.  Browsing the
internet, there is tons of
sometime contradictory information on bluetooth applications.

I was wondering what was available in the through java api, and where
would I find the documentation on it.

Thank you,
 Mike

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Bluetooth + rSAP car kit

2009-04-06 Thread rcdie...@googlemail.com

Hello Everybody,

I'm wondering if it is possible to get a G1 or the upcoming G2 phone
working with a rSAP (remote SIM access profile)-compatible phone car
kit (rSAP only).

I searched the forums but I'm not sure what's the status of bluetooth
and rSAP at the android platform.

As far as I have read, these are the current conditions

G1 - can't do it because there is no Bluetooth 2.0 (hardware/stack)?
G2 - HTC magic should be able to do it because it is certified HFP and
Bluetooth 2.0

Is it possible to use rSAP out-of-the box?

Has anyone running a android phone with the Volkswagen/Skoda/Audi
phone kit 'premium' ?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Bluetooth

2009-03-23 Thread Rui Freitas

Hi,

I am interested in building an application with bluetooth support. I
read that the new android SDK supports bluetooth, but I can't find the
API.

It is possible to work with the bluetooth with the latest SDK? Or I
need to do something else, or it is just not possible?

regards

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Bluetooth SPP

2009-02-04 Thread par

I've read posts in several groups about bluetooth. I'm just wondering
if anyone can tell me, or point me to, clearer information about a
possible roadmap/timeframe for android sdk(/hardware) to support more
bluetooth profiles. For me, the SPP is the most important, and the
main reason I have not bought a G1 yet.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] bluetooth api

2009-01-12 Thread knight writer

I'm new to android but i've developed on the j2me platform before and
one thing I've noticed that I haven't found for android is a bluetooth
api. Did they forget to add a bluetooth api or is it bundled in with
the remote device class? This is vital to an app i want to develop on
this platform.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Bluetooth and new market apps don't like eachother

2008-11-23 Thread InfidelCastro

I installed the folowing apps last wek, and they all prevented
bluetooth from functioning after I installed them. Alien Blood Bath,
and Podcast Weasel (lite), and there was one more, but I forget what
it was. It was anything that was put on market last week that seemed
disable bluetooth. Why would any of these apps need  to access
bluetooth?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Bluetooth api

2008-04-27 Thread Prashant Kalkar
Does any one know when will the bluetooth api be available? Will it be
available in the next SDK release?

Regards
Prashant

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---