Getting cell-id and location using j2me/symbian
Hello frens
i m beginner to j2me and task is
get cell id location of mobile terminal by sending a sms to that mobile terminal ,
How to achieve this
JSR-179 points you to how to do this in J2ME . The problem is that no one has implemented the Location API on their fones as yet. Ok apart from Nokia and then only for some of their high end fones. Any one been able to create a JNI wrapper and get the details from handset? If you have you can save me hours of pain! :-)
Similar Messages
-
hello frens
i m new to j2me
i need to know how we will get cell id and other BTS coordinate using j2me so that we can come to know location of mobile terminal
Every comment will be helpful
ThanxJSR-179 points you to how to do this in J2ME . The problem is that no one has implemented the Location API on their fones as yet. Ok apart from Nokia and then only for some of their high end fones. Any one been able to create a JNI wrapper and get the details from handset? If you have you can save me hours of pain! :-)
-
Can i turn off my cell data and just use WiFi?
I Will be traveling to Europe and would like to use wifi only for data messaging is it possible to turn off cell data and not use the iphone as a phone but just use wifi?
williamfromgoleta wrote:
I Will be traveling to Europe and would like to use wifi only for data messaging is it possible to turn off cell data and not use the iphone as a phone but just use wifi?
Yes, you can turn off cellular data. You will not be able to use Visual Voicemail or get MMS messages, however. -
I am trying to pair my cell phone and tablet using Messages App, but only MMS messages will come through on my tablet. I've tried pairing and unpaired, reinstalling app on my tablet, and can't figure it out. Any idea how to fix this?
ThanksI Shared my most ridiculous situation but didn t log under your problem.
sorry, I gave you your answer under sunshine99 or Dianna. I want out and you want in.
if you not find just email me at [removed]
thanks
Personal information removed as required by the Verizon Wireless Terms of Service
Message was edited by: Admin Moderator -
Problem with getting current date and time using oracle.jbo.domain.Date
I`d like to get current date and time using oracle.jbo.domain.Date method getCurrentDate(), but it always return current date and 12:00:00. I also need to get the current time.
I think you should use java.sql.Timestamp domain.
(And set database type to TIME or DATETIME.)
Jan -
How to get the Mobile information by using J2ME application
hi all,
I am lakshman.I am developing an application in j2me,I want my program compatible to all mobile devices.
I want to know properties and the device information with the help of a j2me application.I got the information with the help of System.getProperty(String).I found some of the information like sms,videocapture,and some of the values and the variables ... in the following
platform...null
encoding...ISO-8859-1
configuration...CLDC-1.0
profile...MIDP-2.0
locale...null
fileconnection...1.0
comport...null
hostname...iwmc-07
sms...null
smartcard...null
location version...null
sip version...null
m3gversion...null
mms...null
videocapture...false
videoencoding...null
snapshotencoding...encoding=png encoding=jpeg encoding=gif encoding=bmp
audioencoding...null
supaudcap...false
suprecod...false
supmixing...false
mediaversion...1.1
streamcont...null
I want to know these are the only variables or is there are lot...
Now my question is I want to get the information of the service provider and also the present location that the mobile was present.I think there was some method to get that ...I want to get what firmware it was using .
Can anybody tell me that way and also the package to get the information
thanks in advance
lakshmanhi all,
I am lakshman,I found the answer for my question,By using the Location API(jsr179).It was not include in the WTK2.2.for that i have downloaded the WTK2.3 then i have implemented the location api in the application and it was working.
And I have the following warning...
Warning: To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
I am running the application from my Emulator(by using the default color phone).I have to check that in the device.
Can any body please give me the way to fix that,i want to test my application from my emulator is that is possible if possible ...how?.what is the procedure to implement..
thanks in advance -
How to search files, get cells, loop, and save
Howdy Folks, I'm another Applescript newbie in over my head. I'm working on a script to copy xl files into a master xl file. the files is a roster with student and class information. the number of students will vary. WIth help from a friend I have it about 80% where I want it. Need help with the rest. I hope its okay to ask multiple question about the script if not i do apoligize.
when the script runs it asks for the location of the file. the files are titled Houston_Sam_DWI_Jan.xlsx. I have several files in a master folder that i am trying to get data from, but the script goes through one at a time.
I know i need to loop it somehow to go through all of the files containing "DWI" in the title, I just don't know how to do it.
the script is set up to get a range of cells, but there are other individual cells i need to copy like dates(C7), Instructor(H7), and location(C11). How do i get these individual cells and paste them to the master doc: Location(E7), Dates (F7), Instructor(G7) and have them repeat down the column as the number of students from each of the classes populates the list.
finally, i have the master file name as annual report, the script does update the anual report file, but when it goes to save it creates a file named "sheet 1". i just want it to update the annual report file and save all changes.
here is the script i am currently working with:
set master_path to alias "Users:bs:Desktop:master:Annual Report.xlsx"
get_all_files(master_path)
on get_all_files(master_path)
set example_path to choose file with prompt "Find an example file to work with"
transfer_data(example_path, master_path)
end get_all_files
on transfer_data(child_path, master_path)
tell application "Microsoft Excel"
set child_book to (open workbook workbook file name (child_path as string))
set child_doc to worksheet 1 of child_book
set master to worksheet 1 of (open workbook workbook file name (master_path as string))
set num to 15 --All lists start at index 12 or later, I'm putting 10 to be safe
set students to {}
tell child_doc --grab values from child document
repeat until (value of cell (("A" & num) as string)) is 1
set num to num + 1
end repeat
repeat until (value of cell (("B" & num) as string)) is ""
set end of students to {name:(value of cell (("B" & num) as string)), driver_id:(value of cell (("C" & num) as string)), DOB:(value of cell (("D" & num) as string)), pre_test:(value of cell (("J" & num) as string)), post_test:(value of cell (("K" & num) as string)), cert_id:(value of cell (("L" & num) as string))}
set num to num + 1
end repeat
end tell
tell master
set num to 7
log (value of cell (("B" & num) as string))
repeat until (value of cell (("B" & num) as string)) is ""
set num to num + 1
end repeat
repeat with student in students
set value of cell (("B" & num) as string) to name of student
set value of cell (("C" & num) as string) to driver_id of student
set value of cell (("D" & num) as string) to DOB of student
set value of cell (("H" & num) as string) to pre_test of student
set value of cell (("I" & num) as string) to post_test of student
set value of cell (("J" & num) as string) to cert_id of student
set num to num + 1
end repeat
save master
end tell
save child_book
close child_book
save active workbook in master_path
close active workbook
end tell
end transfer_data
Any help would be greatly appreciated.That did it. had to tinker with it but it's doing what i want. Thanks for all of the help. here is the final code
tell application "Finder"
set master_path to alias "Users:bs:Desktop:master:Annual Report.xlsx"
set filesWithDWI to get every file of folder ((path to desktop folder) & "master" as string) whose name contains "DWI"
repeat with f in filesWithDWI
my transfer_data(f, master_path)
end repeat
end tell
on processfile(f)
display dialog f as string
end processfile
on transfer_data(child_path, master_path)
tell application "Microsoft Excel"
set child_book to (open workbook workbook file name (child_path as string))
set child_doc to worksheet 1 of child_book
set master to worksheet "sheet 1" of (open workbook workbook file name (master_path as string))
set num to 15 --All lists start at index 12 or later, I'm putting 10 to be safe
set students to {}
tell child_doc --grab values from child document
repeat until (value of cell (("A" & num) as string)) is 1
set num to num + 1
end repeat
repeat until (value of cell (("B" & num) as string)) is ""
set end of students to {namevalue of cell (("B" & num) as string)), driver_idvalue of cell (("C" & num) as string)), DOBvalue of cell (("D" & num) as string)), pre_testvalue of cell (("J" & num) as string)), post_testvalue of cell (("K" & num) as string)), cert_idvalue of cell (("L" & num) as string))}
set num to num + 1
end repeat
set startdate to range "C7"
set classlocation to range "C11"
set instructor to range "H7"
end tell
tell master
set num to 7
log (value of cell (("B" & num) as string))
repeat until (value of cell (("B" & num) as string)) is ""
set num to num + 1
end repeat
repeat with student in students
set value of cell (("B" & num) as string) to name of student
set value of cell (("C" & num) as string) to driver_id of student
set value of cell (("D" & num) as string) to DOB of student
set value of cell (("H" & num) as string) to pre_test of student
set value of cell (("I" & num) as string) to post_test of student
set value of cell (("J" & num) as string) to cert_id of student
set value of cell (("f" & num) as string) to startdate
set value of cell (("E" & num) as string) to classlocation
set value of cell (("G" & num) as string) to instructor
set num to num + 1
end repeat
end tell
save child_book
close child_book
save active workbook in master_path
close active workbook
end tell
end transfer_data -
Getting all Functions and Procedures using DBA_ARGUMENTS
Hi All
I am wanting to find out all functions and procedures that are within each of my packages and am using the following SQL to do this.
SELECT DISTINCT A.OBJECT_NAME, A.PACKAGE_NAME,
DECODE(POSITION,0,'FUNCTION','PROCEDURE')
FROM DBA_ARGUMENTS A
WHERE OWNER = 'NB'
I have discovered however that if a procedure has been overloaded with function will appear twice: as procedure and as a function
I was wondering if there was any workaround for this as I would only like a function to be displayed once?
Kind Regards
MarkThere is an 'OVERLOAD' column which can be used to show only specific overloads (e.g. first).
Determining which overload should be displayed in any given case may require some more thought. -
Get the file directory/location using JFileChooser
Dear,
How to get the file directory and it location with using JFilechooser after select the indicate file?
ThanksThere is an example at the top of JFileChooser's doc.
http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JFileChooser.html -
How to get Cookie Name and Value Using HttpGetterCallback - CE 7.3
Hi All,
We are migrating from Netweaver 7.0 to 7.3. We are facing a issue when migrating the custom login module from 7.0 to 7.3.
Since WebCallback is deprecated and not to be used in Netweaver 7.3, we are finding difficulties in getting the cookie name and value. Please find below our coding for getting the cookie value using HttpGetterCallback. We are not getting the cookie name and value, Kindly let us know if we are implementing the HttpGetterCallback correctly.
HttpGetterCallback httpGetCookieCallback = new HttpGetterCallback();
httpGetCookieCallback.setType(HttpCallback.COOKIE);
Callback] callbks = new Callback[ { httpGetUrlCallback, httpGetCookieCallback };
callbackHandler.handle(callbks);
requestUrl = (String) httpGetUrlCallback.getValue();
Cookie] cookies = (Cookie [) httpGetCookieCallback.getValue();
if (cookies != null) {
for (int i = 0; i < cookies.length; i++) {
location.debugT("Cookies name " + cookies.getName()
+ " - value "
+ cookies.getValue());
Thanks and Regards,
SaravananTry This-
Cookie cookiesArray[] = request.getCookies();
Cookie currentCookie = null;
String currentCookieName = "";
String cookieValue = "dummycookie";
int cookieArrayLength = cookiesArray.length;
for (int i = 0; i < cookieArrayLength; i++) {
currentCookie = cookiesArray<i>;
currentCookieName = currentCookie.getName();
cookieValue = currentCookie.getValue();
Regards,
Atul -
I'm trying to run a DVD from my macbook pro to a projector. I am using apple AV connectors and still get no picture. Ideas?
What are you getting on the projector? Does it say 'no input detected'? Are you getting the spiral galaxy wallpaper?
-
I'm getting really frustrated and could use some help
Hello there!
I'm not sure what happened because when I plugged in my ipod today (I have an 8g ipod touch) everything was reset to the basics in itunes. My entire library was delted. Honestly I'm not really that upset by that as I was going to change out all of my music anyways.
My problems are as follows:
I can no longer add more than 1 folder at a time.
-How can I change it to where I can add multiple folders again?
When I do add a folder it now automatically takes me out of the adding music on your ipod spot (sorry I don't know how else to describe that page) but it takes me out of there and automatically creates a playlist and starts to play the folder I just added.
-How do I stop it from creating playlists automatically? I absolutely hate playlists. I've never used them and I don't forsee myself useing them anytime soon.
-How do I stop it from automatically playing the songs/folders I add?
-How do I stop it from taking me out of the ipod page and into the playlists page?
My ipod NEVER used to do any of this before so I'm really not sure why all of that changed and why I can't change it back.
My audiobooks tab is gone.
-How do I bring this back so I can audiobooks again?
I've spent the last couple of hours sifting through manuals, let me tell you 138 pages is a lot to go through, forums and google and a lot of technical jargon and acronyms. All in all, I'm having a heck of a time finding exactly what I need to help me out and I admit I am starting to get really frustrated.
The other day it was so easy, add a couple of folders to the library, select them hit apply and VOILA all was golden. Today, not so much.I'm still having troubles getting the audio books to appear.
Heres what im selecting.
and then the books tab is still not appearing.
and then as far as adding folders here is what I am doing.
this was how i had it before. it gives me mroe control to choose what i want to add.
that is where i go to add the folder, like i did before.
selecting the folder like normal.
then this box immediatly pops up. not allowing me the option to select and apply any music i may have added.
the music starts playing and it takes me to the playlist page.
but when i click on the ipod icon and go back into this area. the folder is there.
all the steps ive just shown you is how i have ALWAYS done this ever since i got my ipod. Ive never had any of these weird problems utnil today. -
How to get server date and time using java code
Hi,
I'm new to java. I have one doubt about getting date and time of the server. can anyone give some sample code to get that.
thanks in regards
Gopi.you need 2 things
1. something on the application server which exposes the servers time/date
2. something on the client which makes use of your time service
for instance, you could write a ServerTimeServlet that clients can call to get the time according to the server. or, if you've got a database in the server, often database software will provide a Time procedure or similar that does this, so you can use a simple SQL query to get the latest time -
Getting Asset Name and ID using postgreSQL command line
Hi,
I`m excited by the possibility of getting/putting Annotations from/to FCSvr from command:
/Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/Resources/sbin/fcsvr_run psql px pxdb -c "select * from pxtcmdvalue;"
Using grep and awk (print) it`s possible to extract individual fields. But first I need to identify
Assets Names with Assets ID`s.
Anyone know how to get from command line an asset name from ID and vice versa?
In other words: If I grep for the ID and awk for the 3, 4, and 5 column I can extract TCIN, TCOUT and the Annotations from that Asset ID. But I want to know what Asset is and write to a text file with the asset name and not the asset ID.
The syntax would be more or less like this:
For each ID on the pxtcmdvalue (first column is entityID) get from FCSvr (or from db) the AssetName the columns with TCIN, TCOUT and Value of Annotations. Put (append if more than one entries) this on a tabulated text file named after AssetName.
I`m sorry for not being so "program write" like, but I try! ahaah
Thanks!Hey guys,
Thank you very much for all this help! Especially fbm! Thanks a lot!
Regarding inserting into annotation I could manage to do that , as I`ve said, I`m stubborn! hehehehe
with this command you can insert an annotation (ONE with each command) into a clip:
/Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/Resources/sbin/fcsvr_run psql px pxdb -c "INSERT INTO pxtcmdvalue VALUES (72, 1527, '00:35:41;09/(30000,1001)', '00:36:28;24/(30000,1001)', 'if works I`ll be very happy!', 1, '2009-03-15 19:31:15.839795-03');"
Of course, remembering to change all things inside single quotes.
The only catch is that you`ll have to know the entityid for the asset in question. Of course, looking into fbm post above it`s possible to "translate" the entityid into the ASSETID, but I don`t know how to parse this inside the parentheses. Maybe letting the "72" (in my case) entityid as "entityid" and outside the parentheses translating with INNER JOIN???
We`re almost there!! I`m glad that this is here, opened to every one that wants to adventure into FCSRV "dark" side!
Just remember, this is NOT supported by APPLE! I`m testing this on a test FCSRV installed on a mini (yes I could "hack" into the "detecting hardware" and disable to manage to install).
Just one more thing: I`ve read somewhere that the pxatommap table has ALL that FCSRV could provide (and of course yours custom md). I`m trying to get ALL this fields to each asset. I`ve tried the command:
/Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/Resources/sbin/fcsvr_run psql px pxdb -c "SELECT * FROM pxatommap INNER JOIN pxmdvalue ON pxatommap.id = pxmdvalue.fieldid"
But it`s very messy and it`s not for one asset.
Thanks again you all that took the time to post to help others like me!
Regards! -
Push audio and video using J2ME
Hello, does anyone know how I can push audio and video in a wireless device by the use of J2ME? Thanks in advance, Natasha
If I understand right, you're asking for two topics that are not supported by MIDP 1.0:
First: Sound and video. Yet there's even no main support for the sound, some manufacturers provide some additional classes which are device-dependent, so you can realise simple melodies and sound effects. No support for video yet.
Of course you can store video/audio data on a mobile by receiving the raw data and saving it in a RecordStore, but memory on a mobile is very small.
Second: Push. MIDP 1.0 doesn't support it. Only the HTTP protocol is guaranteed. Some devices support datagram socket (e.g. Siemens) and even socket listening, but like the sound topic it is device-dependent.
The only way of pushing audio/video seems to be MMS... So watch out for MIDP 2.0!
Maybe you are looking for
-
Can I use the wizards to build a form that submits multiple checkboxes as an array?
I could do this by hand, but for maintenance ease would prefer that the toolkit understand all my forms. Has anyone else figured out how to do this? Here's the scenario: On page load, a query is used to get a recordset that builds a form representing
-
Show google calendar in ical?
I have a google calendar that I share with several work colleagues. Is there a way for me to add this calendar to iCal so it shows up on my computer, but does not sync, as when I download a 'special calendar' like U.S. Holidays?
-
Windows XP Pro (SP2) freezes up after Install
To any and all, I just downloaded the windows version of J2SE v1.4.2_09 SDK with Netbeans Bundle 4.1. The down load went fine, and so did the install. However, after starting Netbeans, my system freezes up. I've stopped and restarted it, and I even g
-
Transferring Windows Photoshop CS2 web photo gallery styles in Mac Photoshop CS4 web photo gallery
Hi, My name is JatinderPal Singh. I'm migrating from Vista to MAC and before I purchase the upgrade from Photoshop CS2 and Photoshop CS4 I need to know that can I continue to use my existing web photo gallery styles in CS4 after installing the add-on
-
I upgraded to Mac OSX Mavericks and my adobe cs4 licensing won't work
I bought my mac book pro a couple of years ago for my education at Kendall College of Art and Design. As a student I had my computer come installed with the student edition of Adobe Creative Suite 4. A few weeks ago, I went in to the Apple store to