473,802 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mobile Agent serial number

3 New Member
Hi every one I just I wonder if any one can help

me and my colleague . We are developing a localization algorithm for mobile agent .

and I need the java code that will help me to generate serial numbers
to assign them for mobile agents

I hope that someone will help me

Thanks
Nov 22 '06 #1
4 1881
sicarie
4,677 Recognized Expert Moderator Specialist
Hi every one I just I wonder if any one can help

me and my colleague . We are developing a localization algorithm for mobile agent .

and I need the java code that will help me to generate serial numbers
to assign them for mobile agents

I hope that someone will help me

Thanks
What are you looking for in that serial? For it to be a certain number of digits long? In a random order, or a sequential? For it to then input into a certain type of db? and if so, what type?
Nov 22 '06 #2
ITstudent99
3 New Member
Hi ...... thanks for your reply

what am looking for is a random serial number of maybe 2 to 3 digit along

so that whenever an agent is created a unique number is assigned to it

and that number will be the ID of that agent.

please feel free to propose any suggestion.


thanks
Nov 23 '06 #3
ITstudent99
3 New Member
hi guys

i just want to know if any one has a solution for my problem??

i need it as soon as possible .

thanks
Nov 25 '06 #4
sicarie
4,677 Recognized Expert Moderator Specialist
hi guys

i just want to know if any one has a solution for my problem??

i need it as soon as possible .

thanks
I'm sure there is a solution, but are you just writing a program to simulate this, or are you trying to interface it with some sort of real-time database, have an actual production solution?

If you're just writing the program, it's as easy as creating a random number generator within 3 digits, making sure it hasn't been created yet, and storing it in some sort of hash table or list.

If this is for a production environment, it's more complicated in the db/device connections, but theoretically the same idea - the only problem will be having the devices themselves accept this number, figuring out how to send the devices the serial (the format)...
Nov 25 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
6901
by: Maya Young | last post by:
Hello Everyone, I'm trying to create a C# application to open a serial port connected to a mobile device and control the mobile through the application where the user can dial the number, send and receive voice data all by using the application, Can any one give me more info or are there any resources on the Internet that have more details on how to create that application or point to which classes and objects .NET has that can be used...
3
9140
by: Sara | last post by:
HI, I want to code a program to detect GSM mobile (any kind) which connected through serial port to computer and then be able to send SMS through this mobile phone to other mobile phones, could anyone help me and guide me, I wrote a program which could open COM port but still couldn't detect mobile phone and send SMS through it. I searched internet and I didn't find right answer to my question. please if anyone could guide me. the...
3
4205
by: Hugh Janus | last post by:
Hi group, Using an iPaq running Windows Mobile 2003. I have a need where I will want to display a map and then using a bluetooth (or another form of connectivity) GPS unit, receive the data and then store it on a db on the device to later display points on my displayed map. I have as yet to buy any hardware so this question is really one to see if it is possible. So, is it possible to use VB2003 or VB2005 to interface with a GPS...
0
1202
saranjegan
by: saranjegan | last post by:
dudes,i need to access a PC game from a mobile keypad instead of playing via our PC keyboard,the mobile caller may call a particular number its handled by PBX via PBX i can get the input of data from mobile keypad using a serial port connection , now i should implement the key operation by mapping the mobile keypad input with PC Keyboard ,let me know your suggestion regarding this
0
1723
by: RhettSpencer | last post by:
Hello, I am developing an ASP.NET application in C#. the intended target is mobile web browsers on phones like the treo. When doing a postback so that data can be updated the Windows Mobile phones do not refresh the page content. The Palm phones do show you the updated information and work the same as internet explorer on your computer, the data is refreshed. I have tried adding meta tags to expire the page, no help, set IIS to expire...
4
7093
by: howa | last post by:
Hello, Any best practice in checking mobile device and re-direct them into mobile page (e.g. wap) ? E.g. User agent, screen size etc.? anything else?
7
3258
by: cj2 | last post by:
I saw a MS demo a few years back where they developed a web page and the software automatically rendered it for different devices. Is this what I'm looking for? http://www.asp.net/mobile/ Much of the info looks old. I have a MSDN account where can I download it or is it already in VS 2008 and I just don't know how to find it? I'm mainly interested in having simple pages render in Internet Explorer
1
2107
by: lakshmiRam | last post by:
hi i have written the following code to receive data from mobile using bluetooth through serial communication. but it is not working <code> #include <stdio.h> #include <conio.h> #include <windows.h> #include "stdafx.h"
0
1789
by: kushks | last post by:
hi all, how to identify mobile series ( specially nokia ) by using user agent string in http header.... i'm trying to get nokia mobile series number by using the user_agent sent by http header, if series is 60 then it is ok i got in users_agent but in case of others i could not identify it. if someone has idea please help me in this matter. thanks kush
0
10063
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9115
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7598
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6838
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2966
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.