Post Reply 
HP Prime Android Application (2016.12.08 1.3.1.11226) is clearing user apps/programs
12-22-2016, 02:57 PM
Post: #13
RE: HP Prime Android Application (2016.12.08 1.3.1.11226) is clearing user apps/programs
(12-21-2016 08:12 PM)Tim Wessman Wrote:  What would be the appropriate mechanism for storing some information that must persist permanently between application runs *used within the NDK*? On first glance, I wanted to use a SharedPreferences object. However, that seemed overkill and has no simple way to access from the NDK side of things, so I thought a simple file read/write would be the way to go. Suggestions?

Tim,

Not being an NDK developer, but having written a line or two of code in my life, two options come to mind. Use a SharedPreferences object and JNI to read/write it in native. Or as you've stated, fwrite/fread a small file from native. I am curious as to how you are writing the data currently and if you are doing a sync() or another form of write-through on the cache.

In the interim, this update has caused considerably more problems than it has solved, not the least of which is it constantly crashes and takes any app/programs with it. Can we get the prior version back in the store until this build is stable? To that end, I would be happy to assist with future beta testing.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime Android Application (2016.12.08 1.3.1.11226) is clearing user apps/programs - kharpster - 12-22-2016 02:57 PM
Ver. 2017 03 30 (11505) fixed it - chromos - 04-06-2017, 11:43 PM



User(s) browsing this thread: 2 Guest(s)