Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 4
Registered: ‎11-30-2012
My Device: Bold
Accepted Solution

Headless Web Browsing

Hello!

 

Does anyone know if it's possible to use HtmlUnit in BlackBerry apps?

 

I'm trying to create an app that collects information from a user and submits it to a website.

 

Thanks!

Developer
Posts: 16,495
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Headless Web Browsing

welcome to the support forums.

htmlunit is a desktop java project (j2se), it will not run on BB.

you can use a httpconnection with POST to submit data, check the httpdemo for a starting point.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Contributor
Posts: 4
Registered: ‎11-30-2012
My Device: Bold

Re: Headless Web Browsing

Thanks so much! I'll check that out.