WebView equivalent in Java ME - java-me

I am working on developing a hybrid mobile application, we already have a mobile interface for the application and we used WebView on Android to give users the sense of a stand-alone application.
The question is how can I do that on, let's say, Nokia phones?
-- Thanks;

If you can use LWUIT there is HTMLComponent: http://docs.oracle.com/javame/dev-tools/lwuit-1.4/LWUIT_Developer_Guide_HTML/bbjidhgf.html.
The most simple use case of HTMLComponent is rendering rich text:
HTMLComponent htmlC = new HTMLComponent(null);
htmlC.setBodyText("Hello <b>bold text</b>");

Related

How to work with Camera of mobile device in Acumatica mobile framework

In Acumatica framework for mobile applications is it possible to work with Mobile camera and bar code scanning? Or at least with camera? Is it possible to add some C# code, which will be running inside of Acumatica mobile application?
Some ideas can be found in I400 and the Help docs - Configuring attachments in Mobile and Enhancements taken from Camera:
https://help-2018r2.acumatica.com/Help?ScreenId=ShowWiki&pageid=fd9cb8aa-609c-46d4-8c8d-f29dda804721
For the C# code, I am wondering if adding a View on Note or UploadFile/UploadFileDoc for given FileID/NoteID:
public PXSelect<UploadFile, Where<UploadFile.noteId,
Equal<Current<YourDAC.noteId>>>> Attachments;
and subscribing to UploadFile_RowPersisting or other event.

Business app made in Unity

Have freelance job on VR - Business app and need to make it in VR and noVR modes.
Can I develop it in Unity and what problems can I face? Or can I make noVR-part in Android studio and then combine it with Unity VR-part?
Searching on the internet and can't find a proper answer.
Unity 4.6+ has a new UI thats canvas based, its pretty ok but not as nice as a modern MVVM enabled UI frameworks. There are assets you can buy that enable MVVM in Unity UI. I would recommend this if your UI is complex
https://www.assetstore.unity3d.com/en/#!/search/page=1/sortby=rating/query=mvvm
The big problem with using Unity for any kind of business app type thing is that when entering text into GUI.TextFields you can't edit the text directly in the textbox. For any kind of form that has a bunch of textboxes and things to interact with, you need to do it in UIKit.I myself wouldnt use unity for what you want to do, try to look into the google Android SDK.

JavaScript support via SocketMobile SDK

I developed an MVC 4.0/C# in house application with extensive use of JavaScript. I Purchased the SocketScan 10 SKD/API's from the Socket Mobile store for my CHS 7Pi scanner and would like to know if it supports the use of JavaScript functions to manipulate scanner functionality?
Option 1: Use HID mode
In HID mode, the scanner behaves like a keyboard and "types" the barcode wherever the cursor is located.
Option 2: Custom Webview
If you are deploying your web app on mobile devices, you may be able to write a javascript interface which exposes the ScanAPI sdk for your platform to the webview where your web app is hosted.
disclaimer: I am a consultant to Socket Mobile

make web-browser application in j2me?

I'm new in j2me,but my recent craze in mobile application,I started from some basic application,I have read j2me complete reference book,I have run my small j2me programs on my cellphone,now I want to make web browser for my cellphone,can you suggest me some examples that will help me making this.
If you can use LWUIT there is HTMLComponent.
The most simple use case of HTMLComponent is rendering rich text:
HTMLComponent htmlC = new HTMLComponent(null);
htmlC.setBodyText("Hello <b>bold text</b>");

How can I implement/use browser using lwuit in j2me?

I am new to LWUIT, its indeed a great fun to use it so far. Currently I have to use its browser component to send and receive data to and from the server. Can anybody give me an insight about it or a tutorial so that I can get working into it. Thanks in advance.
If you intend to have browser specific functionality like XML, HTML page rendering in your application than read the following articles
HTML Component Writeup In Ofir's Blog
Mobile web and HTML inside JavaME with LWUIT {Suggested by #Baqueta, Thanks}
Download LWUIT 1.5 and check project 'Browser' under folder 'apps' in lwuit root directory.
.
If you intend to implement communication between client and server using LWUIT than refer LWUIT4IO library packaged with LWUIT 1.5 download. Read the following articles to better understand 'LWUIT4IO' the library.
Introducing LWUIT For IO (LWUIT4IO)
Parsing In LWUIT & LWUIT4IO
Logging & Caching In LWUIT4IO
.
If you intend to communicate with the server from mobile client purely for data exchange then have a look at Generic Connection Framework. Here you can find ample information, sample code snippets and get to know various connection methodologies available for JavaME.

Resources