Telnet Client Application using J2ME
Hi all ,
we are implementing RFC 854 a Telnet Client Application using J2ME.
we used socket connection and able to get the connection and response,then telnet server is asking to enter username, when we enter the user name it's taking the user name asking to us to enter the password ,when we enter the password it's giving garbage value in Nokia Devices but working fine with Sony Ericsson devices.please suggest any solution why it's giving garbage value in Nokia Devices.
this is very urgent we are not able to track the problem.
Thanks and Regards
Srikant Bureddy.
did you check *[Forum Nokia - Mobile J2ME Applications|http://www.forum.nokia.com/Technology_Topics/Development_Platforms/Java.xhtml|Nokia resources]*?
Similar Messages
-
Can I build divice Independent mobile application using J2ME?
I want to build one mobile client application using J2ME. Do all different mobile devices support applications built in J2EE? Please share experience with me.
Mu
-
Sms based mobile application using j2me
Hi,
I m kind of new at j2me. I am trying to build a mobile based application using j2me. The way my system works is the client sends a sms to the database to retieve the required information which is goin to be sent to the client as sms.
The problm i m facing is that i need a dummy server to communicate between the mobile and the backend database.
since i m quite new in this technology, i dont know how to set up a dummy server.
can someone plz help me with this
Thanx in advance
IqqiMu
-
Iphone client application using SUP build problem
Hi,
I created client application for iphone. while building i am getting the following error Parse issue in the "SUPLogLevel.h" file like "Expected selector for objective-c method" at the
+(int)DEBUG method. Howevevr i did not change anything in that SUP given include file. Can anybody plese help me how to solve this.
Thanks in Advance.
balaHi Bala,
Did you manage to resolve this error?
I saw on a different post of yours that this was something to do with the version of SUP and SDK you were using at the time? Error while building SUP based iphone client application
Our developer is facing the same issue with her libraries now and I am trying to investigate where this comes from. Your insight will be very useful.
The issue takes place under the SUPLogLevel.h for the (int) Error method.
She mentioned that she updated her xCode recently. Is this something that may caused the issue?
Thanks in advance!!
George Lazaridis -
Can i build a JMS client application with J2ME ?
I need to know which configuration and profile will allow me to build a application that will run on a windows ce / pocketpc PDA and send JMS messages to a server. I need the J2ME application to be a JMS client
I also need messaging
pda -> server (text or byte message)
server -> pda text messages
pda -> pda text messages
any helps/comments would be appreciatedmaybe what i need to look at is the new wireless messaging (WMA) ?
-
Run client application using jsp
please help! urgent...
anyone no how i can use a jsp to run an application such as ms word or another .exe that is on the client/browser machine?i dont want to open a file. i just want to start the application at the client level. at that point, the client will decide which file he wants to open. one application i want to open is ms word. i am trying to give users a way to open their applications from a web page. do anyone have an idea? please help...
-
FTP client application for smartphone
Hi folks,
I am completely a newbie in J2ME, but familiar with socket programming. I wonder if it is possible to write an FTP client for smartphones... Let me summarize my questions:
1. Is it possible to write an FTP client application using J2ME?
2. If yes, can you recommend any library or API for developing this FTP client for my phone ?
3. Does Mobile Operator needs a special technology to support large file transfers from my phone to any ftp server (I mean GPRS or similar technology)?
Thanks!Thanks for your reply Agyepong. Yes, it more looks like a missing jar issue, as I have all the beans in the deployment descriptor. But the annoying part is that the exception does not tell me which class was not found. Also, one jar that I know I have not included is ibmext.jar, could that be an issue. I just could not find this jar anywhere.
Thanks
-yogesh -
How to lookup EJBs deployed in OC4J from a standalone client application
Hello all,
I am trying to lookup an EJB deployed in OC4J 10.1.3 from a standalone client application using the following code:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
env.put(Context.SECURITY_PRINCIPAL, "jazn.com/test");
env.put(Context.SECURITY_CREDENTIALS, "test");
Context context = new InitialContext(env);
Object ref = context.lookup("ejb/Dispatch");
I get the following error:
javax.naming.NameNotFoundException: ejb/Dispatch not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
For the lookup string I've also tried:
"java:comp/env/ejb/Dispatch" and "Dispatch"
For the Context.PROVIDER_URL property I've also tried:
opmn:ormi://localhost:6003:instance
The result is always the same.
I appreciate if someone could help me with this?
Thanks,
GeorgiGeorgi,
Your question has been discussed many times on this forum. Search the forum archives for "RMIInitialContextFactory".
The PROVIDER_URL needs to include the name of the deployed application that your EJB is part of, for example:
env.put(Context.PROVIDER_URL, "ormi://localhost:23791/MyApp");The lookup name has to be the value of the "ejb-name" element in your "ejb-jar.xml" descriptor file.
Your SECURITY_PRINCIPAL value looks strange to me. Personally, I use "principals" (and not JAZN), so I modified the "application.xml" file (in the "j2ee/home/config" subdirectory) to use "principals". Look for the following comment in that file:
<!-- Comment out the jazn element to use principals.
When both jazn and principals are present jazn is used -->Good Luck,
Avi.
Message was edited by:
Avi Abrami -
Missing DTOs in Client JAR Using Appc
Hello,
I've been running Appc on my server JAR to generate my client JAR. It works great,
except that some of the files utilized by the application, namely the DTOs, are
not being packaged into the JAR. I think I know why this is occurring, but I'm
not sure how to fix it. Let me explain how a simplified version of the app works:
It's a security administration app, so there's this idea of users and their roles.
The only remote bean in the JAR is a stateless session bean. It has the following
methods:
public UserDTO getUser(String pUserId);
public List getRolesForUser(String pUserId);
public void updateUser(UserDTO pUser);
public void replaceRolesForUser(List pRoles);
Simple enough, right? The Appc process knows to place the UserDTO class in the
client JAR since it is referenced in the interface. However, what the Appc process
does not realize is that the List of roles being returned is actually a List of
RoleDTOs.
The calling client application uses the RoleDTO class when iterating through the
list of roles. Since the client application is a remote application and thus
has only the client EJB JAR in its classpath, the client app can't compile; it
can't find a definition for RoleDTO. Is there some way to force the Appc process
to include all DTOs?
Thanks,
LeoThanks. That's what I thought!
Rob Woollen <[email protected]> wrote:
Your analysis is correct. There's no real clean solution in this case
other than returning a RoleDTO[] or updating the client-jar file with
the missing classes.
-- Rob
Leo J. Hart IV wrote:
Hello,
I've been running Appc on my server JAR to generate my client JAR.It works great,
except that some of the files utilized by the application, namely theDTOs, are
not being packaged into the JAR. I think I know why this is occurring,but I'm
not sure how to fix it. Let me explain how a simplified version ofthe app works:
It's a security administration app, so there's this idea of users andtheir roles.
The only remote bean in the JAR is a stateless session bean. It hasthe following
methods:
public UserDTO getUser(String pUserId);
public List getRolesForUser(String pUserId);
public void updateUser(UserDTO pUser);
public void replaceRolesForUser(List pRoles);
Simple enough, right? The Appc process knows to place the UserDTOclass in the
client JAR since it is referenced in the interface. However, whatthe Appc process
does not realize is that the List of roles being returned is actuallya List of
RoleDTOs.
The calling client application uses the RoleDTO class when iteratingthrough the
list of roles. Since the client application is a remote applicationand thus
has only the client EJB JAR in its classpath, the client app can'tcompile; it
can't find a definition for RoleDTO. Is there some way to force theAppc process
to include all DTOs?
Thanks,
Leo -
JWS installed client application for all users on one PC
For a PC (or Mac), Can one install a client application using Java Web Start & JNLP for all users on
that particular machine? If so, how do you do it?
thanks,
PhilThis is a new feature in the 1.5 version of Java Web Start (seperate system cache) see:
http://java.sun.com/j2se/1.5.0/docs/guide/jws/enhancements-1.5.0.html, and
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/index.html
Normally, applications are installed in each users cache.
/Dietz -
Locking the phone using J2me codes
I am working these day to develop and application using J2me , that has the ability to lock the phone using it is own password.
but i am asking is it possible to lock the phone using J2me commands??Thank you for your response
but do you know what libraries (API) to use if using C++ with mobile phones. -
Client Applications vs Standalone Applications
Hi all,
I'm just confused about differences between
Client Applications and Standalone Applications.
Is it right that with a Client Application I don't need
to specify in my java code (with Properties) the
INITIAL_CONTEXT_FACTORY and the PROVIDER_URL
of my application server ?
For what concerne lookup() method, do Client Applications
use the "java:comp/env/...." syntax (like co-located bean) ?
Do they need to use narrow() method to cast EJB references ?
What are advantages/advantages of using Client Applications
or Standalone App. ?
Thanks in advance
MorenoI'm no expert, and I'm not sure that I fully understand your question but...I far as I understand it, a standalone application is just that. It doesn't require anything other than what comes delivered and installed with the application. A client application requires a server (among other things).
-
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 -
Using database views in ADF mobile client application
Hi,
I am using Jdeveloper 11.1.1.4 and WLS 10.3.4.
I have developed a POC in ADF mobile client application both with and without synchronization. However, both work with entity objects based on tables.
I need to use database views instead of tables. When I try to include entity object (based on views) in the view object, it shows an error saying "Only the entity objects based on tables can be selected"
Please guide me if there is a work around for this.
Also, please let me know if there is way to develop an ADF mobile client application skipping the use of entity objects at all and using view objects directly to specify the database query and fetch data from the database.
Thanks in advance.
Ansh
Edited by: ansh on Mar 28, 2011 5:40 AMHi, Ansh:
Currently, out of box, ADF Mobile Client does not support synchronization against Database Views. This is because Mobile Server imposes some schema restrictions to ensure synchronization with multi-table views would work correctly. This schema restriction requires, for example, the view must have a primary parent table with key defined, and also all base table must be included in the data publication. These dependencies requires manual resolution and advanced planning, and is managed outside of the ADF Mobile Client/JDeveloper project.
To continue development, you would need to create server Entity Objects directly against the base tables. You can then create the mobile ADF Business Component (EOs, VOs, etc). You can then create View Objects in your ADF Mobile Client application based on the database views, in order to retrieve the data you need exactly. In other words, instead of basing EO on the database view, create View Objects in the mobile applicaiton to mimic what you had in the View Object.
Is there any other reason why you would need to access data via database views, instead of directly against base tables?
Thanks,
Joe Huang -
I'm trying to distribute a DB Application using the Instant Client provided
Hi!!
I'm trying to distribute a DB Application using the Instant Client provided by Oracle.
I've checked the FAQ of Oracle and says the Instant Client supports all existant versions of Oracle.
But I've also seen in another posting that the oci.dll needs the same Oracle version file it was created with.
I need to distribute an application that provides all the 8i, 9i and 10g versions.
Do I have to distribute the oci.dll for each version?
I just wanted to check if this was true.
One more question, when I uncompress the Instant Client, many files appear from which
I only left oci.dll, oraocci11.dll and oraociei11.dll and erased them all, but the program
still works. Is it ok?
thanx
Edited by: user11139984 on 2009. 5. 6 오후 11:10I am not sure what you mean if you say that you "need to distribute an application that provides all the 8i, 9i and 10g versions".
If you mean that you want your application to be able to access Oracle Databases of versions 8, 9 and 10, then you can use Instant Client 10.2.0.4 which is able to connect to all of them.
If your application does not need more than the three DLLs you mention to run, that should be fine.
Yours,
Laurenz Albe
Maybe you are looking for
-
How can apply query in Hibenrate?
Hi ! I am using Hibenrate.and i need to know how to provide CRUD operation in Hibenrate. I write the code for Inserting data in table.but when i want to read data there is a probs... i have one table named book in My Sql server 5.0. in which id and b
-
Deleting New Event in iCal on iPad
Unwittingly, I have "entered" a "New Event" in iCal on my iPad 2. I would like to delete it but haven't been able to do so. Does anyone know how I can delete the "New Event"? I would appreciate your help and suggestions. Thanks. Vernon
-
I am trying to access my ITunes Libarary and I keep getting the same message. "the file "ITunes Libarary" cannot be read becuase it was created by a newer version of ITunes. How to I get my libarary back? I need to synch my Ipod. Thanks, Ann Smith
-
How do I remove the 'panel' underneath the Header list, and above the email Preview Pane. Contains 'from', 'subject', 'to', 'reply', 'forward' buttons to name a few. Takes up space. == This happened == Every time Firefox opened
-
How to get out of Recovery Mode? Please help!!
Hello all, I have a Nomad Muvo^2 that is stuck in Reocvery Mode. Turns out that when i loaded recovery mode, i didn't really need it cuz it was just my computer that was messed up. Now with a new computer and me being able to access the E dri've for