Questions tagged [device-name]

29 questions
208
votes
16 answers

Get Android Device Name

How to get Android device name? I am using HTC desire. When I connected it via HTC Sync the software is displaying the Name 'HTC Smith' . I would like to fetch this name via code. How is this possible in Android?
Zach
  • 9,989
  • 19
  • 70
  • 107
14
votes
4 answers

How do I detect whether I have iPhone 2G,3G,3GS

How to detect my current device name through iOS?
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256
10
votes
4 answers

Android: How to get current device WiFi-direct name

In a P2P setting, I understand how to get another device's name, but how do I get my own device's name? (the one displayed in WiFi-direct under settings). I have checked WiFiManager, WiFiInfo, and more with no success.
Daiwik Daarun
  • 3,804
  • 7
  • 33
  • 60
10
votes
3 answers

How change the device name in WiFi direct p2p?

Is it possibile to change the device name of WiFi direct through the code? I've tried to: private WifiP2pDevice wDevice; wDevice.deviceName = "newName"; But, obviously it doesn't work. Any idea?!
user3809345
  • 131
  • 2
  • 8
7
votes
1 answer

Display Android Bluetooth Device Name

How to display a bluetooth device name in android which uses Java? Any codes for me to refer to?
TunA
  • 91
  • 2
  • 2
  • 5
6
votes
3 answers

Windows equalivalent to eth0

Is there a generic IP device name for windows similar to "eth0" used by Linux and Solaris? I am attempting to monitor SCTP traffic, which appears to be successful passing the ip address, but this means for every machine to use this application would…
Justin Fuller
6
votes
2 answers

Is there a way to get the device name using adb? For example, if the device name is John Doe's Nexus, how to get the name using a command?

I have an android device, which when registered to an account renames itself after the account name. I need to get that name using adb.
Senthil B
  • 61
  • 1
  • 2
5
votes
3 answers

Python get device-name

im not new in Python but I have one question left: How do I get the name of the Computer that im on/Device ? I tried many things, this is the last thing, I was in the os Module and found something but if i start the script, it gives me an error that…
user8143636
5
votes
0 answers

How to get Device name when change device type in simulator programmatically?

I'm using the below method: #import // import it in your header or implementation file. NSString* deviceName() { struct utsname systemInfo; uname(&systemInfo); return [NSString stringWithCString:systemInfo.machine …
Neenu
  • 6,848
  • 2
  • 28
  • 54
5
votes
4 answers

API to get the friendly name of your Windows Phone 8 device?

Is there a way to get the name of your phone? The name you see in Windows Explorer properties as the device name? I have looked at Microsoft.Phone.Info.DeviceStatus.DeviceName but that appears to be different. I have looked at…
Andy Weston
  • 157
  • 2
  • 7
4
votes
1 answer

Getfriendlyname of a secondary monitor

I need to get device name of a secondary monitor. However when I simply try to retrieve device name, the output is DISPLAY1, DISPLAYV1 and etc. However I require the name displayed when we check the screen resolution like the Displayname mentioned…
annie1994
  • 143
  • 1
  • 6
3
votes
1 answer

Android : Get "device name" on android tv

I know this question is something that is often asked but no matter what I tried I couldn't find the answer. I use an AVD android TV (API 24) and want to access this : How can I access this name in my app ? Even with adb I never found it...
Kolopox
  • 276
  • 1
  • 4
  • 17
3
votes
2 answers

Linux device node for sd card as mmcblk to access CSD register

I am trying to access the CSD (Card Specific Data) register on a SD card. The only way I know to do this is by having the linux system recognize it as a mmc device (Multi Media Card?) (eg. /dev/mmcblk0). Right now the device is being shown as a scsi…
ChrisVollo
  • 157
  • 1
  • 3
  • 15
1
vote
1 answer

To discover and pair Bluetooth Devices

How to discover and pair Android Bluetooth devices using Java? Any codes for me to refer to?
TunA
  • 91
  • 2
  • 2
  • 5
1
vote
0 answers

Update BLE Device Name with the device_name Characteristic Best Practice

What is the best practice for using the Bluetooth Low Energy Generic Access Profile Service (0x1800)? Is there a reason that iOS prevents developers from using the Generic Access Profile Services and Characteristics? Section 3.12 (page 24)…
1
2