Skip to main content

Create an api

4 replies [Last post]
gargkapil2008
Offline
Joined: 2010-12-28
Points: 0

how can we create an api in simulator...???
can we use wxwidgets or any other widget in simulator???

please help..

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mkorzen
Offline
Joined: 2008-03-05
Points: 0

What kind of API do you have in mind? Can you be more specific?

gargkapil2008
Offline
Joined: 2010-12-28
Points: 0

any api which can take text input from the user...
for eg taking input of any city name for weather app.

david_crandall
Offline
Joined: 2010-01-05
Points: 0

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.

greg80303
Offline
Joined: 2008-07-03
Points: 0

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.
G