Closed appzer closed 7 years ago
Hey Kevin
First of all, this kind of questions are better suited on StackOverflow. Consider using our tag (cordova-nativestorage) when posting questions related to our plugin.
Second, have you read our documentation? There I've provided a link to the same question which you're asking now.
So if you will inspect the code I've provided on StackOverflow, you will see that your PREFS_NAME
is not correct. You are using "MainActivity"
instead of the used name in the NativeStorage plugin, which is "NativeStorage"
. Please consider giving my answer an upvote, so other people can find this answer.
Hello,
can someone help me! I save some data with this plugin. Now i want to read out the data from Java. I created a widget and want use the stored data!
This ist the widget java source:
This code do nothing
native-messages = is the stored var
Thanks kevin