Getting the device name
hai all,
Is there any way through which we can query the device name using midlets.
Can we set an image in the background of a form in MIDlets
Thanks
Jinesh
Hello jc
I mean the mobile make say for eg,Nokia 6600,MOT V80 etc
Is it possible
Thanks
Jinesh
Similar Messages
-
I have a system property node for daqmx but it does not let me change it to read when i right click on it. I am trying to have my program detect the name of the daq that is plugged in to the PC and then send that to daq assistant so that it will run properly wiithout me manually having to change the device name every time i switch hardware.
Solved!
Go to Solution.labview12110 wrote:
Im just frustrated that the only function I have is to get a list of things that I can't do anything with. MAX knows which is active can I call it up somehow?
You have do do programming. That is what LabVIEW is. MAX gives you all the tools to do everything you want and much more just program it to do what you want.
Attached is a VI that I think does what you want. I looks at all of your devices and returns the first non simulated one. Apparently this list already excludes devices not connected to the system.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
Attachments:
Find Non Simulated Device.vi 6 KB -
How to display the device name during file sending with Bluetooth
I get this Message:
File Receive Conformation
Do you want to receive a file from 00:13:70:69:95:84?
My Question is how can it display the device name not the device address?
Message was edited by: hazzaaThe same situation when I want to send photo from mobile phone to my notebook. I didnt find any option how to change it.
When I send photo from notebook to the mobile phone the notebook name (device name) is displayed. Try to check external device properties. Maybe you will find there way to change it. -
I had to change my apple id password and now I'm getting the user name or password for "icloud" is incorrect.
Hi Ed,
I experienced a similar problem too. It happened overnight a few weeks ago after 11/19.
I got a pop up message, saying that my password needed to be reset.
So I reset my password, and ever since, I have not been able to read/send email from my icould @me.com acct.
Now I get the error: "The user name or password for "icloud" is incorrect" on my iOS devices, though it is correct enough for access my iTunes account and to log into http://icloud.com.
Interestingly enough, the issue seems to be related to the email only, since I cannot access icould email from the website either. It instead creates an error dump. -
Setting the "Device Name" when activating device licenses
What determines the “Device Name” in the list of activated devices in the Development Pool on the Adobe license site for device licenses? Specifically for Macs... It doesn't seem to be the "Sharing Preferences" pane...
So, figured it out by myself. It appears that the Adobe serializer uses the local Mac's hostname. You can find that out by going to the terminal and typing 'hostname'. The host name gets set initially by any domain name that is assigned to the IP. If none is, it uses the Sharing Name in the Sharing preferences pane. Regardless, you can override and change the hostname using the terminal (sudo scutil --set HostName mynewhostname.local). Deauthorize the device on the Adobe site and reauthorize and it will appear as desired. This way, you can have the machine listed on the Adobe site however you wish rather than by domain name. This is helpful if you have a long list of machines and wish to set their hostnames to their room number or location, etc.
-
Where the device name are saved when distributing a NI-DAQ executable?
Hello,
1. I created a simple LabVIEW 2013 executable using NI-DAQ (c series module NI-9263 and USB compact DAQ 9171 chassis).
2. Then I created a LabVIEW installer with the following recommended installers:
- NI LabVIEW Run-Time Engine 2013 SP1
- NI-DAQmx Core Runtime 9.8
3. I've installed it on a computer in a lab (no NI software installed on it yet).
4. In my application I have a "DAQ Physical Channel" control to select the hardware.
5. When I click on the arrow to select the hardware I don't see any choices (my hardware is plugged in the lab computer) and I can see the devices in device manager.
6. I entered manually the device name (same name as I assigned on the computer that compiled the executable) and ran the application just fine without any errors.
Where is the device name is stored on the lab computer and how does this work?
7. I made a modification to the simple executable to add hardware (with a new "DAQ Physical Channel") and I only compiled the executable and copied it to the computer lab. I'm not able to run it.... I'm getting some error from the hardware (can't remember the specific error).
8. I've searched for MAX and it's not installed....
What should I do to make it work?
This application is not critical right now, but I'd like to know how this works.
Feel free to ask for more detail.
MichelMichel_Gauvin wrote:
Yes, that's what Idid.
What is the use (or the goal) of distributing an application that is using DAQ device without MAX? How can the application knows which hardware to use if multiple hardware is plugged in the destination computer?
Michel
Two ways to go about this.
First, for low mix systems I ALWAYS install max and all the DAQmx stuff is stored in MAX my installers then import the *.nce MAX config File and include all the DAQ software (Not just Base!)
For higher mix systems the DAQmx stuff (Chans, tasks, scales....) are persisted to the PROJECT (*.lvproj) then the app builder creates a NI DAQ file in the application build destination and the app looks for that file.
You can ALSO (with NI USB Devices) create a "Helper app" that hooks into NI Device Monitor and assigns a specific alias to a type of device when it is seen.
Jeff -
How do I get the user name and password for the Apple Extreme Router to connect to a Slingbox
How do I get the user name and password for the Apple Extreme Router to set up my Slingbox? It will not accept the Apple Extreme Name and password.
The AirPort Extreme does not have a User Name, but it does have a device name and device password, which you may have already tried.
There is also a Wireless Network Name and Wireless Network Password for the AirPort Extreme, which might be what the Slingbox is looking for if you are trying to connect it to your wireless network.
There are no other "user names" or "passwords" on the AirPort Extreme.
You established the device name, device password, wireless network name and wireless network password when you originally configured the AirPort Extreme.
If you cannot remember these, you will need to perform a Soft Rest to reset everything. Follow the instructions in this Apple support document:
Resetting an AirPort Base Station or Time Capsule FAQ -
How to get the table name in the trigger definition without hard coding.
CREATE TRIGGER db.mytablename
AFTER UPDATE,INSERT
AS
INSERT INTO table1(col1)
SELECT InsRec.col1
FROM
INSERTED Ins
--Below i am calling one sp for which i have to pass the table name
EXEC myspname 'tablename'
In the above trigger,presently i am hard coding the tablename
but is it possible to get the table name dynamically on which the trigger is defined in order to avoid hard coding the table nameI really liked your audit table concept. You inspired me to modify it so that, the entire recordset gets captured and added a couple of other fields. Wanted to share my end result.
USE [YourDB]
GO
/****** Object: Trigger [dbo].[iudt_AutoAuditChanges] Script Date: 10/18/2013 12:49:55 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER TRIGGER [dbo].[iudt_AutoAuditChanges]
ON [dbo].[YourTable]
AFTER INSERT,DELETE,UPDATE
AS
BEGIN
SET NOCOUNT ON;
Declare @v_AuditID bigint
IF OBJECT_ID('dbo.AutoAudit','U') IS NULL BEGIN
CREATE TABLE [dbo].[AutoAudit]
( [AuditID] bigint identity,
[AuditDate] DateTime,
[AuditUserName] varchar(128),
[TableName] varchar(128) NULL,
[OldContent] XML NULL,
[NewContent] XML NULL
ALTER TABLE dbo.AutoAudit ADD CONSTRAINT
PK_AutoAudit PRIMARY KEY CLUSTERED
[AuditID]
) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
CREATE NONCLUSTERED INDEX [idx_AutoAudit_TableName_AuditDate] ON [dbo].[AutoAudit]
( [TableName] ASC,
[AuditDate] ASC
)WITH (STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
END
Select * Into #AuditDeleted from deleted
Select * Into #AuditInserted from inserted
While (Select COUNT(*) from #AuditDeleted) > 0 OR (Select COUNT(*) from #AuditInserted) > 0
Begin
INSERT INTO [dbo].[AutoAudit]
( [AuditDate], [AuditUserName], [TableName], [OldContent], [NewContent])
SELECT
GETDATE(),
SUSER_NAME(),
[TableName]=object_name([parent_obj]),
[OldContent]=CAST((SELECT TOP 1 * FROM #AuditDeleted D FOR XML RAW) AS XML),
[NewContent]=CAST((SELECT TOP 1 * FROM #AuditInserted I FOR XML RAW) AS XML)
FROM sysobjects
WHERE
[xtype] = 'tr'
and [name] = OBJECT_NAME(@@PROCID)
Set @v_AuditID = SCOPE_IDENTITY()
Delete from AutoAudit
Where AuditID = @v_AuditID
AND Convert(varchar(max),oldContent) = Convert(varchar(max),NewContent)
Delete top(1) from #AuditDeleted
Delete top(1) from #AuditInserted
End
END -
How can I get the host name from Email address?
hi
When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanksStripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
http://www.stopspam.org/email/headers/headers.html
Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
Sean -
How to get the device token in windows phone 8 sliverlight application?
Hi,
I am developing a windows phone 8 silverlight application . For my application I want to add push notification service , for this service I have to call one web service in my app . This api requires device token , device id ..etc , I am able to get the all
the things except devicetoken .
How to get the device token of a device ?
any help?
Thanks...
Suresh.MMost probably device token is the push channel url which is returned by MPNS when a request is made to it.
Step 3 here: Push notifications for Windows Phone 8
http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8 -
How to get the query name from portal report name
Hi Experts ,
I am given a portal report Name and asked to do changes to the queries of that ,so how do i get the query name ,
Thanks in Advance
NityaHi Nithya,
You can get the technical name by selecting the role in the portal where the report is enclosed you will generally find the report in description then identify the report you are looking then double click on that you will get a window pop-up in that you will have details tab there click on the details the your Query technical name will be displayed.
EX : zqry_w001 Then replace W with Q and seach in analyser or Designer.
Regards
Amar. -
Getting the variant name when the report program is run in background
Hi All,
How to get the variant name for the report program when run in background? My requirement is to create an email attachement with the name 'variant.XLS', where variant = selection screen variant, when the report program is run in background. The system field SY-SLSET holds the variant name only when run online.
Any pointers to this will be highly appreciated.
Thanks and regards,
Nilesh.Hello Nilesh,
Please find the algo:
1. Call the FM: GET_JOB_RUNTIME_INFO to get the background job details.
2. Select data from TBTCP using these details:
DATA:
FP_EVENTID TYPE BTCEVENTID
FP_EVTPARM TYPE BTCEVTPARM
FP_ACTIVE TYPE BTCXPGFLAG
FP_JOBCNT TYPE BTCJOBCNT
FP_JOBNM TYPE BTCJOB
FP_STEPCNT TYPE BTCSTEPCNT.
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
EVENTID = FP_EVENTID
EVENTPARM = FP_EVTPARM
EXTERNAL_PROGRAM_ACTIVE = FP_ACTIVE
JOBCOUNT = FP_JOBCNT
JOBNAME = FP_JOBNM
STEPCOUNT = FP_STEPCNT
EXCEPTIONS
NO_RUNTIME_INFO = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
* Error calling FM: GET_JOB_RUNTIME_INFO
ENDIF.
DATA: FP_VARIANT TYPE BTCVARIANT.
SELECT JOBNAME JOBCOUNT STEPCOUNT VARIANT
FROM TBTCP
INTO TABLE L_IT_TBTCP
WHERE JOBNAME = FP_JOBNM
AND JOBCOUNT = FP_JOBCNT
AND STEPCOUNT = FP_STEPCNT.
IF SY-SUBRC = 0.
SORT L_IT_TBTCP BY JOBNM JOBCNT STEPCNT.
READ TABLE L_IT_TBTCP INTO L_WA_TBTCP INDEX 1.
IF SY-SUBRC = 0.
FP_VARIANT = L_WA_TBTCP-VARIANT.
ENDIF.
ENDIF.
Hope this helps.
BR,
Suhas -
How do I get the device icon to show in the itunes app?
How do I get the DEVICE icon to appear back in the itunes app as when I plug in my ipod it doesnt show the device icon?
Hi...
Help here > iOS: Device not recognized in iTunes for Windows
Start with restarting the Apple Mobile Device Service first. -
How can I get the path name and rename it?
I Hope someone who knows more about automator than I can help me out here. What I'm trying to do is get the path file name, while also changing part of it. Here is my example:
I can get the path name with this "Get Path" script I found http://automatorworld.com/archives/get-path/all-comments/
It does half the job so I just need to tweak it but know how. When I get the path this is what I'll get: /Volumes/Public/Creative Services/Campaigns/2010/NCDDiv-32CDV Upgrade/NCDDIV-32Versions.xls
I need to remove the beginning part"/volumes" to "file://///nhmanmkt01"
This is so I can send the path from our sever where we keep our files to my windows friends so they can open it.
Thanks for any help you can provide!ok, make the following workflow.
1. get selected finder items.
2. run shell script
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
for f in "$@"
do
echo "$f"|sed 's%/Volumes%file://///nhmanmkt01%'
done</pre>
set the script to accept input as arguments
3. copy to clipboard
save it as a finder plugin. -
How do I get the file names on a customized proof sheet?
How do I get the file names on a customized proof sheet?
Actually, I really don't know what you say.
But when you see the properties of a file in Windows, you can see there are two file size. One is called "SIze" and the other one is called "Size on disk".
Therefore, I would like to know the size on disk but not just the size.
Maybe you are looking for
-
Error in Creating a new FR report or in opening one
Hello, I am getting the following error whenever I am trying to create a FR report or open a report. : nested exception is ; java lang Null Pointer Exception Can anyone help? Thanks Dhiraj
-
Hi guys, I have a production cluster with 3 CUCM 7 servers onde Presence Server, no Unity or Call Center. I am getting errors when i try to search Devices->Phones The error is this: "Error occurred during find. java.sql.SQLException: Could not positi
-
PDF in bestimmter Reihenfolge zusammenführen
Moin, Moin und Gruß aus Hamburg! Sorry das ich meine Anfrage hier nur in deutsch stellen kann, aber mit englisch kann ich leider nicht dienen. Wir setzen in der Firma den Acrobat 9 ein um Dokumente zu scannen und zu archivieren. Gescannt wird mit dem
-
I can't find any of my albums, or see a way to create a new album, in PSE12 organizer. -- Larry
-
10.1.4 in Windows Vista Home Premium
Why do my downloads from websites open as blank windows? Please answer in simple terms as I am not very computer literate.