I am beginner with Worklight. I developed an android application using Estimote Android API. Now I want the same application in Worklight. What should I do to get android UI on worklight. I wrote same code on Native folder in Android environment. But I am getting blank display instead of MainActivity layout. How to display android layout on Worklight? Please help me with this issue.
Android Layout on Worklight
184 Views Asked by user3654246 At
1
There are 1 best solutions below
Related Questions in ANDROID-LAYOUT
- Push toolbar content below statusbar
- Java Heap Space error on Layout xml: GC overhead limit exceeded
- I want to Show Simple Toast Message When User Click On Media Controller button Pause/Start/Stop in video View Using Media Controller
- setBackground null pointer exception
- Show two activities simultaneously
- IllegalArgumentException:No view found for id
- Setting views dynamically with LayoutParams.addRule setting to the last position of the view
- Spinner Dropdown Arrow
- CoordinatorLayout, AppBarLayout and ToolBar - Toolbar doesn't scroll off the screen
- Is there a way to restrict the motion of an image view while dragging?
- Android ui with complex layout
- I have added 4 radio buttons but I cant find my radio group as i need its id
- crop bitmap in screen size from custom width
- Tool_Bar with android CardView and Transparent status bar
- Two views with same elevation side-by-side
Related Questions in IBM-MOBILEFIRST
- App will throw exception at when I first login when device SSO is enabled
- Can I use a MobileFirst app without the MobileFirst server?
- How to update a app version in the MobileFirst pruduction server 7.0?
- IBM MobileFirst Java adapter for WS SOAP
- IBM Mobilefirst 7.0 - Can we deploy IOS native code?
- Recommended way to force MobileFirst-CLI to use Java 6?
- Read adapter procedure requestTimeoutInSeconds from worklight.properties file
- IBM Worklight 6.2 Development Server Stops Automatically
- IBM worklight Native to Hybrid Migration
- Worklight Server/DB down, Hybrid app shows a dialog with "Server is temporarily unavailable". No error callback?
- MobileFirst InstallationManager hangs
- How do I invoke a MobileFirst Platform Adapter using PUT?
- How to implement "remember me"-like functionality?
- Cannot compile Java adapter using adapter-builder task (ANT) in MFP v7
- Disabling default security using @OAuthSecurity(enabled=false)
Related Questions in WORKLIGHT-STUDIO
- IBM Worklight 6.2 Development Server Stops Automatically
- Read Timed Out installing Worklight
- Android Layout on Worklight
- IBM Worklight: Building the environment overwrites my edits
- How to check the whether the javascript is minified or not
- IBM Worklight 6.0 - How to change wlServerHost value in wlclient.properties
- Dojo: All Scrollable Views are getting rendered together on Application launch
- IBM Worklight 6.1: Unable to install in Windows 7
- IBM Worklight 6.0 - Java heap space error while trying to build and deploy
- IBM Worklight 6.1 - Worklight project created as JavaScript project
- IBM Worklight 6.1 - "Missing .project file" error while trying to build the Android environment
- IBM Worklight - .war builder using wrong Java version
- IBM Worklight - How to switch back to version 6.0 from 6.1?
- IBM Worklight 6.1 - Studio installation fails in Eclipse Kepler
- IBM Worklight 6.1 - Project migration from 6.0.0.1 to 6.1.0.0 fails
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Are you aware of Worklight's client-side abilities? That is, with Worklight you can create either Hybrid apps or Native apps. Make sure to read IBM Worklight's Getting Started training materials.
From your text, it sounds like you have opted to use the Hybrid application model, and in this case it would make perfect sense to me that your native UI code is not displayed out-of-the-box, as that would require altering the default Activity Worklight provides for the Hybrid Android application.
You do not explain what changes you have done
The default activity essentially brings up a Web View into which it loads the client framework as well as display in the index.html that can be found in your Worklight application (your project > your app > common folder > index.html).
So by just adding your code and layout, it does not mean that your app's display will change. This will require you to alter the loading sequence of the application.
You do not explain what changes you have done
In any case, it sounds to me like you need to decide whether to: