@Francis-Thong I can’t tell with your code for certain, but I usually have issues with the script being after the elements. Regardless, here is a working infinite list with Onsen 2 and a whole tutorial on how to work with them:
These allow significant control over icons, stacking, background services, etc.
EDIT: Also, that folder just needs to be added to your platforms folder, because it is there when you build. If you use LocalKit or Cloud IDE, under Build Config -> Android App Settings: you can add your icons with the appropriate resolution. You may be able to upload the noticon at the same time.
Yupp! got it.
One more thing
Though this code works great on Hello World template, when I try to use it on onsen sliding menu template it fails
Even though I have turned on cordova contacts plugin
m i missing something?
on onsen sliding menu template it gives me the error cant find variable Bodyparts
Is it possible to load this plugin similar to referencing a jqeury library?
Maybe, but I’m not 100% sure. I personally use the cordova command locally.
How to install this plugin on my html page.
I think there should be some easy to use UI in the cloud IDE to add a plugin, but there may be some specific options you would need to select when you build your app. However since this is a purely monaca question and I am not very familiar with it I would suggest making a new topic about it in the monaca section of the forum, so that other people may answer you there.
@peabucket That was the full code. Do not create the variable how you are doing it. With Monaca, you will never do an import of a plugin. Once you load it via the IDE, it will be added to your project correctly during the build process. You will have to do a debug build for this in order for it to be included on your device for testing. More information on that can be found here: https://docs.monaca.io/en/manual/debugger/installation/debugger_android/
@peabucket Please consolidate your questions to one thread. I am chasing all of your questions across numerous threads and they all involve the ability to utilize a bluetooth plugin with Onsen. Thanks!