Android :: Determining Unique Bluetooth MAC Address

Nov 15, 2010

Is it possible to determine the unique bluetooth MAC address for an iPhone and an Android (and to a lesser extent, other smartphones) from within an app on said device? Is my assumption that the MAC address is universally unique correct? A general yes or no would be helpful. Example code in the case of an iPhone or an Android would be extremely helpful.

Android :: Determining unique Bluetooth MAC address


Android :: Unique Uses For Locale - Turning The Ringer Down - Turning GPS/Bluetooth/wifi

Nov 17, 2009

I see another thread on Locale, but it seems to be focused on it technical shortcomings. I thought a thread about how people are using this app would be helpful.

Now... I use Locale for the following:

- Turning the ringer down when I get to work (obviouse one)
- Turning GPS/Bluetooth/wifi on when I plug it in the phone (think car dock)
- Turn on Wifi when I get near my known hot spots.
- Turn off GPS/Bluetooth/wifi off and turn down brightness when my battery is low.

And the last one is a good one for me...

- I have a GV number. When I call my phone from that number, it turns the ringer volume all the way up and it turns on wifi and GPS. This is my "lost phone aid". It turns on the locating features so I can see where the phone is using iGoogle and Latitude, and I can hear the phone if it is "in the cushions" on vibrate.

Anyone else get creative with Locale?

View 47 Replies View Related

Android :: How Do I Find WiFi And Bluetooth MAC Address?

Nov 20, 2010

How do I find the WiFi and Bluetooth MAC address on my Android phone?

View 1 Replies View Related

Samsung I7500 :: Address Book Over Bluetooth

Oct 1, 2009

I've a snazzy bluetooth thang in my car. On my old phone (TyTN II) and work phone (Nokia somethingorother), when you pair the phone, it uploads the phonebook so that it's browseable from the car kit.On the Sammy, all I see is a list of phone numbers, no names. Which is less than useful.

View 9 Replies View Related

LG Eve :: Getting Wiimote App To Work / Change Phones Bluetooth Address

Aug 27, 2010

so ive been playing alot of emus on my phone now and heard about the wiimote app and went to try it out but its not finding my blue tooth is there a fix to this... also is it possible to change my bt address to 30:30:30:30:30:30 so i can sync with pairing code 000000.

View 2 Replies View Related

Android :: Determining If Device Is Using HTC SenseUI

Aug 25, 2010

How can I tell if a device is using HTC's SenseUI? I thought about using android.os.Build information, but they seem inconsistent. Is there a more definitive way? I need to be able to tell if I can launch the calendar by using com.android.calendar or com.htc.calendar.

View 1 Replies View Related

Android :: Determining What Number Is Being Dialed

Jun 28, 2010

My question is- with the telephony manager, is there a way to determine what number the phone is off hook with? I thought getLine1Number() might return that phone number that is being dialed, but it is not what I expect. I am working with 2 emulators, and added a log line so that I could see what that method is doing. When dialing another emulator, I expected getLine1Number() to return 5554, but it was 15555218135. Perhaps there is another method I should be using instead? Do I need to be into the source code to get the information I want?

View 1 Replies View Related

Android :: Determining Who Passed An Intent To You

Aug 18, 2009

I was wondering if there is a way to determine who passed an intent to my application. For example, I have a service, that I want to act differently depending on who passed the intent (for security reasons). I'm trying to sandbox each calling application, so they only have access to their data stored in my application.

For it to be secure, I cannot trust any application to be truthful about the identifying data it is passing into my service. Therefore, I need some system way of identifying who sent the intent in a way that the calling application cannot change that information. I don't know if it is possible, but I can't find anything in the Intent class, and I was wondering if there may be another structure which does what I want it to. If it is not possible, I would like to get some type of mechanism to do this in the roadmap.

View 13 Replies View Related

Android :: Determining LocalSocket Read Size

Jul 19, 2010

I'm using a UNIX socket to facilitate communication on and Android device between a system level daemon I've got running in C and an application I've got running in Java. I'm much more of a C coder than a Java coder, so I'm having some issues when trying to read in data from the socket on the Java side. Currently, my code is as follows:

try{//Prepare to write the command and read the ACK
InputStream is = receiver.getInputStream();
OutputStream os = receiver.getOutputStream();
BufferedReader in = new BufferedReader(new InputStreamReader(is));..............................

View 1 Replies View Related

Android :: Determining Phone Looking At True North

May 11, 2010

I looked over SensorManager and was still unsure, how do I detect if the phone is looking at true north (or any other direction for that matter).

View 1 Replies View Related

Android :: Determining If Device Is Rooted Programmatically?

Aug 6, 2010

How do you determine (programatically) if an Android device is: rooted Running a cracked copy of your software or rom. I have some sensitive information in my database, and I would like to encrypt it when the phone is rooted aka the user has access to the database. How do I detect that?

View 2 Replies View Related

Android :: Determining What Bitmap Resource Was Loaded

Nov 14, 2010

I have created multiple bitmaps - one for each folder (mdpi, hdpi, ldpi). Can someone show me some code or point me to the appropriate method that will allow me to detect which resource Android decided to load.

View 4 Replies View Related

Android :: Determining Filetype Of File In Assets Folder

Jun 9, 2010

Question: How do you programmatically distinguish between directories and regular files in the assets folder?

When using AssetManager to access files in the assets folder, it seems impossible to determine if a file is in fact a file or a directory. You get the list of files from the list method and then open the file using the open method. I thought perhaps using the openFd method to get the asset file descriptor (and then subsequently requesting the normal file descriptor) would provide me some information. But requesting the file descriptor for a directory results in an IOException (which makes sense since what would it mean for a directory to have a file descriptor...?).

Currently I'm relying on that IOException (resulting from attemptng to open a directory in the assets folder) in order to determine if a file is in fact a directory. (Opening a regular file works just fine). This seems like a bad idea. Any other suggestions to distinguish between a file and a directory?

View 1 Replies View Related

Android :: Determining The Current Context To Display An Alert

Apr 21, 2009

I am calling the ZXing scanner from Screen-A using intents. Once the scan is done control of course returns to the code behind Screen-A and I do some other work before calling Screen-B. Problem is the screen is black during this work period and I cannot determine the proper context to use to display a "working..." Toast/msgbox.

View 2 Replies View Related

Android :: Determining Data Type Of Column In SQLite

Jun 23, 2010

I'm working on an Android App where the user has different options for sorting the displayed data that comes from the database. Currently my orderBy string that I pass to Androids query() method looks like this:

"LOWER("+columnName+") ASC"

The problem with this is that if the data type in the column specified by columnName is integer, calling LOWER() on it will cause it to be sorted alphabetically, i.e. based only on the leftmost digit, which of course doesn't make any sense for numeric data. Hence I only want to apply LOWER() if the data type of the column is not integer. What I have in mind is a statement like this:

"CASE WHEN [data type of columnName is integer] THEN "+columnName+" ASC ELSE LOWER("+columName+") ASC END"

The part in the brackets is what I don't know how to do. Does SQLite provide a function to determine a column's data type?

View 3 Replies View Related

Android :: Plotting Market Sales - Determining If Work Is Profitable

Apr 4, 2010

I thought I'd share a script that I've been working on: http://www.anddev.org/viewtopic.php?p=30732

It lets you generate parameterizable histograms of Android Market sales by automatically downloading data from Google Checkout.

View 6 Replies View Related

Android :: Determining Current Foreground Application From Background Task Or Service

Jan 30, 2010

I wish to have one application that runs in the background, which knows when any of the built-in applications (messaging, contacts, etc) is running. So my questions are: How I should run my application in the background. How my background application can know what the application currently running in the foreground is.

View 4 Replies View Related

How To Generate Unique ID In Android

Mar 3, 2014

I have created an app for notification. in that i need to create a unique id for each notification. how to create a unique id in android?

View 2 Replies View Related

Android :: Preference Name Have To Be Unique For Every Application?

May 17, 2010

For my private static final String PREFS_NAME = "mypref"; does the PREFS_NAME have to be unique for every application? Or can I use the same one over and over.

View 1 Replies View Related

Android :: Getting Unique ID Of Device Without Using Permissions

Mar 25, 2010

This seems to be a bit of a vexed issue: see
http://groups.google.com/group/android-developers/browse_thread/threa...

Like the person who started that thread, I need to get a unique ID for a device, without using scary permissions for TelephonyManager. I've tried
id = android.provider.Settings.Secure.getString(getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);
but that just produces "android_id" on my phone. I'm using a Nexus One and Android 2.1.

View 7 Replies View Related

Android :: Identifying A Phone By A Unique ID?

Feb 14, 2009

Is there some method in which i can identify a phone, a serial number or something similar that's accessible by code?

View 6 Replies View Related

Android :: How To Get Unique Handset Device Id

Oct 12, 2009

How to get unique handset device id?

View 14 Replies View Related

Android :: Can I Use Unique In Query() Parameter

Apr 12, 2009

My contacts contain a lot of duplicated records, I want to use the traditional SQL clause "UNIQUE" to get the unique records, is it doable thru the query() method call? Thanks. I tried with the selectionArgs argument but failed.

View 3 Replies View Related

Android :: Unique ID Given To Droid Handests That Is Available Through SDK?

Sep 9, 2010

Is there a unique ID that is given to Android handests that is available through the SDK?

I want to provide a web-service with actions that can only be performed once per resource per user. Maybe there is a different way to go about this. Any ideas?

View 2 Replies View Related

Android : How To Add A Unique Label On OverlayItems?

Sep 20, 2010

I have a map with many overlayitems on it, they look all the same (simple bubble), When the user clicks on one overlayitem a detailpopup is shown. I would like to draw a numbering every overlayitem - but how could i accomplish this? I tried to extend overlayitem and overwrite the draw method (but now, everthing get a shadow also the number). What it is the best way to do this?

View 2 Replies View Related

Android : Looking For Unique Identifier For Phone

May 18, 2009

I'm looking for a way to identify a phone by a unique string or number. That is, get a phone to give out a code which I can say is unique to that specific phone. The IMEI or IMSI would normally do (sim- specific rather than phone-specific is ok), but they require extra security privileges and I would like to avoid that. Is there any other way?

View 2 Replies View Related

Android : Need To Get Program Unique Identifier

Dec 17, 2009

As known, we can get devcie unique ID using TelephonyManager#getDeviceId() . So, does a program have an unique identifier? How can I get it? I googled it but got nothing.

View 3 Replies View Related

Android :: How To Fetch Phone Number / Unique ID?

Jun 25, 2010

I wonder how could I fetch the phone's phone number or an unique id to identify it?

View 5 Replies View Related

Android :: Get A Unique String / Serial Number?

Jun 23, 2009

Is there any way to get some type of serial number or unique string, that no other android device should have? It can't be relative to the sim card, I'm looking for some type of hardware identification number...

View 2 Replies View Related

Android :: Orientation Change Crashes When Ids Not Unique

Mar 17, 2009

consider the simple layout:

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

View 9 Replies View Related







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