webOS Nation Forums >  webOS developer forums >  Canuck Coding > FileMgr Service 1.1.9
FileMgr Service 1.1.9

  Reply
 
LinkBack Thread Tools Display Modes
Old 04/22/2010, 08:00 AM   #1 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default FileMgr Service 1.1.9

FileMgr v1.1.9

FileMgr is a powerful custom homebrew webOS service to provide file IO and file management control for Mojo apps.

It's is probably best known for being the component powering my file manager, Internalz.

FileMgr has come a long way. Version 1.0.0 is a huge step forward (and several code rewrites) in an efficient, developer-friendly service.

Although it's closed source, I am publicly releasing an API specsheet for developers to freely use in their applications.

In fact, I know Metaview's app, MapTool, uses FileMgr API to write GPS data to local files on the device.

The API specsheet is attached to this post.

FileMgr can be downloaded from the PreCentral feed as well as from:
http://www.precentral.net/homebrew-apps/filemgr-service.

If you have issues installing via Preware, install via WOSQI and it'll work for sure.


Change Log
v1.0.0 - April 22, 2010
- Public release!
- Too many changed to count between this and 0.5.1
- It's practically a new service compared to before

v1.1.0 - July 25, 2010
- Added special write/delete permissions for service calls originating from Internalz for its "Master Mode"
- Implemented and debugged fat32 readonly attribute set/get functions
- Implemented and debugged linux permissions set/get functions
- Added subscription option for "read" function, for large files
- Added an optimized form of the WOSQI .patch install/uninstall functions
- Added ipk package handling functions for getting information, and install/uninstall
- Added functions for java restart, luna restart, and device restart
- FileIndexer now rescans after every rename, move, and copy action.

v1.1.1 - August 6, 2010
- Now uses Palm-style ipk install and uninstall
- Fixed the rename/move/copy functions so it properly gets the fileindexer to rescan afterwards
- Altered fileindexer rescan to happen immediately, rather than starting separately in a new thread
- Altered ipk-related and patcher-related functions to use a much cleaner coded system.
- Various minor bugfixes

v1.1.2 - August 7, 2010
- Improved text-file detection
- Minor code cleanup

v1.1.4 - August 21, 2010
- Fixed bug preventing patch uninstall
- Improved ipk info collecting error handling
- Improved package uninstall script
- Added image handler setting function for Internalz

v1.1.5 - August 24, 2010
- Minor bug fixes

v1.1.6 - September 21, 2010
- Ipk installs check to make sure the system isn't busy
- Much improved read/write functions

v1.1.7 - September 21, 2010
- Rescans fileindexer after file/directory deletion

v1.1.8 - September 21, 2010
- Fixed an issue with 1.1.6/1.1.7 that prevented ipk install/uninstall

v1.1.9 - September 23, 2010
- Improved error handling
- Added a public function to check if Internalz is installed
Attached Files
File Type: pdf FileMgr Service API.pdf (129.7 KB, 281 views) Email Attachment
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook

Last edited by Jason Robitaille; 09/23/2010 at 11:39 AM.
Jason Robitaille is offline   Reply With Quote
Old 04/22/2010, 08:33 AM   #2 (permalink)
Member
 
Join Date: May 2009
Posts: 637
Likes Received: 0
Thanks: 97
Thanked 63 Times in 52 Posts
Default

Getting install errors so far....How do I copy log to show you?
__________________


Digg my story http://digg.com/d31Qenl?tto help raise $$$ & awareness for webOS, Palm Pre, HP.

#WebOS Internals "Telethon"#Palm Pre http://bit.ly/7q1Mc
imex99 is offline   Reply With Quote
Old 04/22/2010, 08:35 AM   #3 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

Quote:
Originally Posted by imex99 View Post
Getting install errors so far....How do I copy log to show you?
odd, worked fine in all the tests. Try installing with WebOS Quick Install. Oh, and the easiest way to get the ipkg log from preware is screenshots.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Thanked By: oldgeekster
Old 04/22/2010, 08:38 AM   #4 (permalink)
Member
 
Join Date: May 2009
Posts: 637
Likes Received: 0
Thanks: 97
Thanked 63 Times in 52 Posts
Default

ok, trying webOSQI now
__________________


Digg my story http://digg.com/d31Qenl?tto help raise $$$ & awareness for webOS, Palm Pre, HP.

#WebOS Internals "Telethon"#Palm Pre http://bit.ly/7q1Mc
imex99 is offline   Reply With Quote
Old 04/22/2010, 08:41 AM   #5 (permalink)
Member
 
Audemars02's Avatar
 
Join Date: May 2009
Posts: 1,487
Likes Received: 13
Thanks: 252
Thanked 405 Times in 238 Posts
Default

this is great!!! Another donation is heading your way shortly!

also, preware now has a "email ipkg log" function, so no longer need to take screenshots!

Last edited by Audemars02; 04/22/2010 at 01:35 PM.
Audemars02 is offline   Reply With Quote
Thanked By: Jason Robitaille
Old 04/22/2010, 08:51 AM   #6 (permalink)
Member
 
Join Date: May 2009
Posts: 637
Likes Received: 0
Thanks: 97
Thanked 63 Times in 52 Posts
Default

ok, installed correctly now with webOSQI.

Not sure why Preware was giving me the install errors but it's up and running now....

Thanks again for your hard work!!
__________________


Digg my story http://digg.com/d31Qenl?tto help raise $$$ & awareness for webOS, Palm Pre, HP.

#WebOS Internals "Telethon"#Palm Pre http://bit.ly/7q1Mc

Last edited by imex99; 04/22/2010 at 09:07 AM.
imex99 is offline   Reply With Quote
Thanked By: Jason Robitaille
Old 04/22/2010, 09:15 AM   #7 (permalink)
Member
 
Join Date: Mar 2010
Posts: 14
Likes Received: 0
Thanks: 12
Thanked 0 Times in 0 Posts
Default

Do I need to install both FileMGR and Internalz? If so, is there a certain order I need to install them in??

Looks like a great funtction to add to my Pre.
onekairos is offline   Reply With Quote
Old 04/22/2010, 09:18 AM   #8 (permalink)
Member
 
Join Date: Jan 2010
Posts: 61
Likes Received: 0
Thanks: 2
Thanked 9 Times in 8 Posts
Default

Quote:
Originally Posted by onekairos View Post
Do I need to install both FileMGR and Internalz? If so, is there a certain order I need to install them in??

Looks like a great funtction to add to my Pre.

If you find Internalz in the PreCentral feed via preware, it will automatically ask to install FileMGR with it.
__________________
New Username: PrfndHatrdOfMan
Enox is offline   Reply With Quote
Thanked By: onekairos
Old 04/22/2010, 09:18 AM   #9 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

Quote:
Originally Posted by onekairos View Post
Do I need to install both FileMGR and Internalz? If so, is there a certain order I need to install them in??

Looks like a great funtction to add to my Pre.
If you install from Preware, installing Internalz should install FileMgr as well.

If you install from WebOS Quick Install, you can install both at the same time or both separately in any order. just keep in mind, until FileMgr makes it onto the device, you'll get errors in Internalz if you open it.

__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Thanked by oldgeekster, onekairos
Old 04/22/2010, 09:24 AM   #10 (permalink)
Member
 
Join Date: Jan 2010
Posts: 61
Likes Received: 0
Thanks: 2
Thanked 9 Times in 8 Posts
Default

Jason, this application is AMAZING. I've been dying for this. This is sort of one of those "Smartphone" features that should be built into the OS by default. Thanks so much.
__________________
New Username: PrfndHatrdOfMan
Enox is offline   Reply With Quote
Old 04/22/2010, 09:38 AM   #11 (permalink)
Member

 
vza33's Avatar
 
Join Date: Sep 2009
Location: East Coast
Posts: 2,182
Likes Received: 25
Thanks: 1,584
Thanked 1,345 Times in 984 Posts
Default

I installed both FileMgr and Internalz yesterday via Preware, did the update today and it works fine. This is excellent! Thanks Jason
__________________
"Patience, use the force, think." Obi-Wan


Ready to try Preware? Get this first: Preware Homebrew Documentation
vza33 is offline   Reply With Quote
Old 04/22/2010, 09:42 AM   #12 (permalink)
Member
 
Join Date: Sep 2007
Posts: 337
Likes Received: 0
Thanks: 4
Thanked 53 Times in 31 Posts
Default

Thanks Jason,

Everytime i turn around you have another great tool out..

This along with the patch creator has made my week lol . keep it up my man
atlanta is offline   Reply With Quote
Old 04/22/2010, 11:58 AM   #13 (permalink)
Member
 
Join Date: Mar 2010
Location: UK
Posts: 1,947
Likes Received: 0
Thanks: 152
Thanked 428 Times in 350 Posts
Default

I'm trying to update filemgr via preware but I keep getting an error. The ipkg log is below (don't understand it), would you be able to help, thank you.



Install
Begin installation of ca.canucksoftware.filemgr
Upgrading ca.canucksoftware.filemgr on root from 0.5.1 to 1.0.0...
Downloading http://ipkg.preware.org/feeds/precen..._1.0.0_all.ipk
An error ocurred, return value: 22.
Failed to download ca.canucksoftware.filemgr. Perhaps you need to run 'ipkg update'?
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /media/cryptofs/apps/usr/lib/ipkg/tmp/ipkg-Ex1r1F http://ipkg.preware.org/feeds/precen..._1.0.0_all.ipk'
wget: content-length 148 is garbage
Failed
ErrorGenericMethodException: Failure during 'install' operation
pip smith is offline   Reply With Quote
Old 04/22/2010, 12:01 PM   #14 (permalink)
Member
 
jjeffcoat's Avatar
 
Join Date: Nov 2009
Location: Oklahoma City
Posts: 2,422
Likes Received: 1
Thanks: 642
Thanked 333 Times in 221 Posts
Default

Love the updated version of Internals. Thank you!!
__________________
My device history:

- Jim J.

(On Sprint for many years)
jjeffcoat is offline   Reply With Quote
Old 04/22/2010, 02:03 PM   #15 (permalink)
Member

 
Grabber5.0's Avatar
 
Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,741
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
Default

Argh. I tried to update via Preware, and the phone stayed offline after the java restart. I did a full Luna restart when the phone didn't come back online after the java restart. Something is preventing the telephony service from starting. I get no carrier display in the upper left. EVDO is working normally. Doing a full device restart now.. Will plug into usb so I can better check the log files if the phone doesn't come online.
__________________
Matt Williams

Developer of: SMS Auto Forward/Reply, GPS Viewer,
Keyring converters for CSV, eWallet, & CodeWallet
Grabber5.0 is offline   Reply With Quote
Old 04/22/2010, 02:07 PM   #16 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

Quote:
Originally Posted by Grabber5.0 View Post
Argh. I tried to update via Preware, and the phone stayed offline after the java restart. I did a full Luna restart when the phone didn't come back online after the java restart. Something is preventing the telephony service from starting. I get no carrier display in the upper left. EVDO is working normally. Doing a full device restart now.. Will plug into usb so I can better check the log files if the phone doesn't come online.
Luna restart only affects LunaSysMgr. You'd need to do a full device restart
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 04/22/2010, 02:12 PM   #17 (permalink)
Member
 
Join Date: Jun 2009
Posts: 58
Likes Received: 4
Thanks: 0
Thanked 7 Times in 6 Posts
Default Deploy with apps?

Quote:
Originally Posted by Jason Robitaille View Post
FileMgr v1.0.0

FileMgr is a powerful custom homebrew webOS service to provide file IO and file management control for Mojo apps.

It's is probably best known for being the component powering my file manager, Internalz.

FileMgr has come a long way. Version 1.0.0 is a huge step forward (and several code rewrites) in an efficient, developer-friendly service.

Although it's closed source, I am publicly releasing an API specsheet for developers to freely use in their applications.

In fact, I know Metaview's app, MapTool, uses FileMgr API to write GPS data to local files on the device.

The API specsheet is attached to this post.

FileMgr can be downloaded from the PreCentral feed as well as from:
http://www.precentral.net/homebrew-apps/filemgr-service.

If you have issues installing via Preware, install via WOSQI and it'll work for sure.


Change Log
v1.0.0 - April 22, 2010
- Public release!
- Too many changed to count between this and 0.5.1
- It's practically a new service compared to before


Hi Jason. How do you deploy the FileMgr service within an app and install it on another device? Thanks?
donfly is offline   Reply With Quote
Old 04/22/2010, 02:29 PM   #18 (permalink)
Member

 
Grabber5.0's Avatar
 
Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,741
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
Luna restart only affects LunaSysMgr. You'd need to do a full device restart
The phone still came up offline after a full restart, but at least the radio was working. Turning airplane mode on and then off got everything working again. Strange. I'll try installing it from webosqi this evening.

Do you think updating Internalz and FMS from the previous version using Preware could have caused it, vs a new install? I wouldn't think so.. I also had JStop running in the background at the time, but I don't remember ever seeing any warnings about that. I'll chalk it up to fluke for now.
__________________
Matt Williams

Developer of: SMS Auto Forward/Reply, GPS Viewer,
Keyring converters for CSV, eWallet, & CodeWallet
Grabber5.0 is offline   Reply With Quote
Old 04/22/2010, 06:37 PM   #19 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

Quote:
Originally Posted by donfly View Post
Hi Jason. How do you deploy the FileMgr service within an app and install it on another device? Thanks?
well, if you mean physically include, you can't really. Developers can tell their users to also install it manually, or can add "ca.canucksoftware.filemgr" as a depends for their package. And the api sheet shows how to access FileMgr.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 04/22/2010, 06:44 PM   #20 (permalink)
Member
 
Join Date: Nov 2009
Posts: 406
Likes Received: 2
Thanks: 52
Thanked 23 Times in 22 Posts
Default

What is 1.0.1 all about?
Rudementry is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0