how can we create an api in simulator...???
can we use wxwidgets or any other widget in simulator???
What kind of API do you have in mind? Can you be more specific?
any api which can take text input from the user...
for eg taking input of any city name for weather app.
Text input isn't fantastically well supported via the havi controls, last I checked. I think there might be one control in particular that does text input with havi, but I would call off the search if there isn't an H-something control that seems obvious for your needs.
Updating a text widget with a string of numbers pressed from the keypad should be pretty easy to do. Start with the zip code and go from there.
OCAP includes the HAVi user interface APIs (org.havi.ui.*). This package provides many user interface widgets that you can use to build your OCAP application.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.