Unique Id for each device

Hi,
Im building a positioning system on Android through Flash.
I want each android device to send the server the gps position and an unique id. Im having some trouble finding any functions or classes that gives me unique id of the device.
The unique id will be used to identify each device on the server side.
Would really appreciate some help.

I had the same problem for my app. So the mac address from NetworkInfo class is the only current solution to identify a mobile device with Air for Android.
You can try this code to identify which network interface will deliver a mac address:
var   interfaces:Vector.<NetworkInterface> = NetworkInfo.networkInfo.findInterfaces();
for  
(var i:int=0; i<interfaces.length; i++){     <your_textArea>.text += interfaces[i].name + ":" + interfaces[i].hardwareAddress;
As I found out on my mobile device there is an interface named 'mobile' but doesn't deliver any mac address. An alternative is to use the wifi interface. Since the wifi card is build in (and can't be removed in a mobile device) it will be listed by the NetworkInfo class.
The best way will be the usage of the IMEI number, but there is no implementation in the AIR framework to get this. The android sdk has this capability, so I hope Adobe will implement this feature as soon as possible.

Similar Messages

  • I have 3 iphones, an ipod touch and an Ipad on the same itunes account.  should I have a different account for each device?  If so how do I get all my purchases, like music on all the devices?

    I have 3 iphones, an ipod touch and an Ipad on the same itunes account.  should I have a different account for each device?  If so how do I get all my purchases, like music on all the devices?

    You can sync as many devices as you want to the same iTunes account, there is no limit. You can have the same content on each device or different content, the choice is yours. iTunes will keep everything straight, by device, including separate backups. I'd suggest giving each device a unique name, to make things easier.

  • How can I open another iCloud account for each devices with the same apple id

    my family has 2 iPhones 1 iPad 1 Macbook and 1 iMac. I had all the devices set up with one iCloud under 1 Apple ID. Now things are getting so mixed up with pictures, videos, calendar, notes and reminders etc. 1 iPhone is also unable to sync due to not having enough storage for all our devices. Someone from Genius Bar said we can have iCloud for each device under 1 Apple ID. I backed up all pics. videos notes important docs to my iMac and MacBook then I turned off all iCloud in all of the devices now I need help to create a new iCloud account at least for my 3 mobile devices to end all the confusion. every time I try to click the button "set up iCloud on this device" I always go back to apple site with step by step by step instruction but I keep going around in a loop. Please help

    I'm not sure what they told your at the Apple store, but each Apple ID can only create a single iCloud account.  If you want separate accounts for all these devices, they will have to be created using separate IDs.  Note: you can do this and still share the same ID for other services such as your iTunes store account.  The iCloud ID does not need to be the same as the ID used for other services.
    To create an account, go to Settings>iCloud and sign in with a different Apple ID.  If you want to migrate a copy of the current iCloud data to the different accounts, start by saving any photo stream photos that you want to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If you are syncing notes with iCloud that you want to keep, you'll need to open each of your notes and email them to yourself so you can later copy and paste the text into new notes created in your new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud; the devices keeping the current account will not be effected by this), provide the password to turn off Find My iDevice and choose Keep on My iDevice when prompted.  Then sign back in with a different Apple ID to create your new account and choose Merge to upload your data.

  • TS3367 If I have an IPad mini and my wife has an IPad, can I connect to her IPad with FaceTime from my IPad Mini? Are multiple Apple ID's required? One for each device/person?

    If I have an IPad mini and my wife has an IPad, can I connect to her IPad with FaceTime from my IPad Mini? Are multiple Apple ID's required? One for each device/person?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • I have four devices on one Apple ID, i have separate emails and phone numbers for each device but when I tried to add one to my iPod, it said that the email was already in use.

    I have four devices on one Apple ID, i have seperate emails and phone numbers for each device but when I tried to add one to my iPod, it said that the email was already in use.  I have tried many things and the only guess I have is that either someone else has this email as their iMessage but is fake or it wasn't taken off my old iPod when I reset it.  Any ideas on what to do?

    Thanks but that doesn't give me the information I need.  I am putting an email on my ipod for people to contact me for iMessage and FaceTime but when I put the email in, it gives me an error saying that the email cannot be veirified because it is already in use.  My Apple ID can be varified, just not the email that they will contact me with.

  • I am a teacher with 7 iPads for my room with no VPP or Apple Configurator.  May I use the same Apple ID for each of the devices with a separate password for each device?

    Who can help me with the above question?  Multiple iPads in one classroom:  may I use the same Apple ID (which is my work email) for each iPad, and construct a separate password for each device?  My school does not have VPP or Apple Configurator

    Password to what, exactly? If you're referring to the screen lock, each iPad can have a separate passcode, since that's not tied to an Apple ID. If that's not what you mean, please post back and clarify what password you're referring to and what you wish to accomplish.
    Regards.

  • Can i use my creative cloud membership on laptop and desktop? Or is one membership needed for each device?

    Can i use my creative cloud membership on laptop and desktop? Or is one membership needed for each device?

    Yes you can!

  • I have 2 iphones4! Do I have to create one apple id for each device or I can have both in one apple id? I'm asking cause I'm trying to run findmyiphone app for both devices!

    I have 2 iphones4! Do I have to create one apple id for each device or I can have both in one apple id? I'm asking cause I'm trying to run findmyiphone app for both devices!

    Here's what I do. My wife and  I each have an iPhone. We each have our own Apple ID. I also have another totally separate Apple ID. The ONLY thing that one has been used for was to set up Find my iPhone for our phones and my iPad. There is no reason the MobileMe setting for find my iphone can't be something completely different from your regular Apple ID UNLESS you already use MobileMe, in which case the 2 conflict in ways I don't understand as I don't subscribe to it.

  • Do I need a different apple id for each device? I have two iPads and an iPod but can only purchase things on the first one. When I go to verify the questions they say they are wrong.

    Do I need a different apple ID for each device I have? I have two iPads and an iPod but I can only make purchases with the first one I purchased. It tells me the security questions are wrong but I know they are not because I wrote them down. I have also reset them and my password once. Please help if you can

    You can not login into iTunes or the App Store using VPP credentials. You must purchase all apps/book/etc.  from the VPP website. Then you can redeem the codes thru itunes/app store or import the codes thru apple configurator. Here is the url for the VPP website: https://volume.itunes.apple.com/WebObjects/MZFinance.woa/wa/login?cc=us
    (It will not affect any of the apps you already have but the id can only be used for VPP.)
    Cheers,    
             Alec

  • Why do i need to buy the same app for each device over and over again??

    why do i need to buy the same app for each device over and over again??
    and why cant i just pay for the app ones for all devices as long at it is with the same account??
    i hate that i have to oay for the same game or app three time one for ipad ones for iphone and ones for mac please do something about that apple..!!!

    First, you posted in the Mac App Store forum which are apps for the Mac OS X, not iOS devices.
    You do not need to re purchase your apps. Connect your iOS devices to your computer, launch iTunes. From the menu bar click Apps then click Sync
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How to Genarate a Unique ID for each Payload in XI

    Hi,
    My Question is How to Genarate Unique ID for each Paylod that we send in a particular Interface.
    Is that we can do it in Mapping...If Yes, How its possible...
    Thanks
    Amaresh

    Hi Amaresh !
    XI generates and stamps a messageID to each message header. That ID is unique. You could use that one. To get that number from inside message mapping to put it in the payload, you could use a java UDF with this code:
    String msgid;
    java.util.Map map;
    map = container.getTransformationParameters();
    msgid = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
    return msgid;
    Of course you can generate another number, but maybe you will need to use a common storage to avoid repeating the assigned numbers, and that will require more work.
    Regards,
    Matias.

  • How to have a unique value for each record??

    could any 1 help me out in this...
    I want to have a column name 'Order No' which should be unique.
    How to generate a unique value for each record.??

    could any 1 help me out in this...
    I want to have a column name 'Order No' which should be unique.
    How to generate a unique value for each record.?? If you are using SQL PLUS to create the table try something like
    this:
    CREATE TABLE ORDER_TEST (
    ORD_NO NUMBER (8) NOT NULL PRIMARY KEY,
    ORDERDATE DATE,
    CUSTID NUMBER (8) NOT NULL,
    SHIPDATE DATE,
    TOTAL NUMBER (8,2) CONSTRAINT TOTAL_ZERO CHECK
    (TOTAL >= 0),
    CONSTRAINT ORD_FOREIGN_KEY FOREIGN KEY (CUSTID) REFERENCES
    CUSTOMER (CUSTID),
    CONSTRAINT ORD_UNIQUE UNIQUE (ORD_NO)
    -- or a simpler table example
    DROP TABLE ORDER_TEST;
    CREATE TABLE ORDER_TEST (
    ORD_NO NUMBER (8),
    ORDERDATE DATE,
    CUSTID NUMBER (8) NOT NULL,
    SHIPDATE DATE,
    TOTAL NUMBER (8,2) CONSTRAINT TOTAL_ZERO CHECK
    (TOTAL >= 0),
    CONSTRAINT ORD_UNIQUE UNIQUE (ORD_NO)
    note: ORD_NO can also be a primary key
    If you are doing the INSERT during runtime from a form first
    create a sequence in SQL PLUS to handle the ORD_NO value:
    Create SEQUENCE ORDERNO_UNIQUEVAL_sqnc
    START WITH 000001
    NOMAXVALUE
    NOCACHE;
    and reference it as the ORD_NO parameter in your INSERT
    statement:
    ORDERNO_UNIQUEVAL_sqnc.NEXTVAL
    note: to maintain data integrity you must use the sequence
    everytime you insert a new order to table. To start a new
    sequence drop the sequence and re-create it with whatever "START
    WITH" value you want.
    Hope this helps
    Kevin

  • I have two children both have ipods and my wife and i both have iphones. how do open up a seperate library for each device. please help i hate itunes at the moment

    We have four apple devices and one home cmputer how can i have a seprate itunes library for each device. please help!!!!!!!!!!!!!!!

    How to use multiple iPods, iPads, or iPhones with one computer

  • Shouldn't iCloud be 5GB free for each device?  If so, why is it tie to apple ID?

    I don't quite understand how I can use iCloud effectively as Apple intends it if we are only given a 5gb space.  I have multiple ios and apple devices (like many of you) and I use one apple ID to purchase and manage my apps.  I cannot effectively backup all my devices let alone just my ios devices (3 iphones and 2 ipads). 
    Someone in apple store suggested I use one apple id to backup and then use the common id to purchase.  Hmmm... This sounds so Microsoft - Clumsy.
    Maybe Apple should allow 5gb space for each device backup and data, so true benefit of iCloud can be shown.... Sight...

    Just buy more space if you need it. The restriction is 5 GBs free per iCloud account, but you can purchase additional space.

  • Cisco Network Assistant, Enter Password for each device

    Does anyone know a way that when you open a community you have to enter your username and password for each device listed in that community? I know with it currently you enter your username and password one time for each device, but I want it to prompt mne for username and password for each device in the community. I unchecked "Encrypt and Store Device Credentials" and it still only prompts me one time for a username and password.                   

    Hi,
    We tried reproducing it in our local set up and we also analyzed the problem with respect to the expected behavior in CNA.
    Could you please share some more details as mentioned below so as to provide you the exact solution.
    1) Is the same set of user name and password used for all the devices?
    2) Was the password store feature enabled while creating community and was disabled later?
    Regards,
    Pramod

Maybe you are looking for

  • Addtional tab CI field not getting updated in table

    Hi all, I am using cProjects 4.0 system. I had implemented addtional custom tab to display project custom include fields. In CI include of dpr_project table i added custom fields. Then created new webdynpro component and in implemented interface tab

  • Campaign not working in 8.1

    I created the campaign in the Weblogic workshop 8.1 as per the steps specified in the tutorial but the campaign does not work at all. Can someone pls tell me how to create a campaign & place it on the placeholder. What type of content search query sh

  • Which Install DVD do I need to upgrade from Tiger to Leopard?

    I have the (late 2005) iBook G4 1.42 GHz, upgraded to 1.5 GB RAM.  I am currently running Mac OS 10.4.11 Tiger, and I have the install discs that came with the computer.  I want to upgrade to Leopard so that I can run some programs (like iSale and iL

  • IPv6 for WRVS4400N

    (Sorry for my English) Hello, I buy a WRVS4400N router on amazon.fr because on cisco.com, the Product Specifications say "Dual-stack IPv4 and IPv6" http://www.cisco.com/en/US/prod/collateral/routers/ps9923/ps9931/data_sheet_c78-496737.html The ipv6 w

  • Annoyning popup

    I subscribe to Photoshop CS6 only. However, every time I start Photoshop, a popup dialog box loads warning me that this is "Last Trial Launch - Don't Lose Out" for Adobe Creative Cloud. I don't want that service, but the only choices given on the dia