Bug 276766 - Assets support
Summary: Assets support
Status: RESOLVED FIXED
Alias: None
Product: Necessitas
Classification: Applications
Component: Android Qt4 (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: BogDan Vatra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 19:05 UTC by BogDan Vatra
Modified: 2011-07-07 09:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BogDan Vatra 2011-06-29 19:05:19 UTC
Version:           unspecified
OS:                Linux

Seamless Android asset support (deployment).


Reproducible: Didn't try

Steps to Reproduce:
-


Expected Results:  
-
Comment 1 BogDan Vatra 2011-06-29 19:23:17 UTC
Git commit df32b36916d4e8470706a8a2ed3417e2bd7378d2 by BogDan Vatra.
Committed on 29/06/2011 at 21:14.
Pushed by vatra into branch 'experimental'.

Seamless Android assets support

Add seamless Android assets support, every time your app will try to
open a file, first Qt will search for that file into android assets and
only if not exists there will try to open it from your local file
system.
Checking if a file exists in andoid assets is very fast (<1ms).

FEATURE: 276766

M  +2    -2    mkspecs/features/qt.prf     
M  +10   -5    src/plugins/platforms/android/common/sw/androidjnimain.cpp     
M  +1    -2    src/plugins/platforms/android/common/sw/androidjnimain.h     
A  +105  -0    src/plugins/platforms/android/common/sw/qandroidassetsfileenginehandler.cpp         [License: UNKNOWN]  *
A  +18   -0    src/plugins/platforms/android/common/sw/qandroidassetsfileenginehandler.h         [License: UNKNOWN]  *
M  +1    -1    src/plugins/platforms/android/common/sw/qandroidplatformintegration.cpp     
M  +1    -1    src/plugins/platforms/android/sw/sw.pro     

The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page.


http://commits.kde.org/android-qt/df32b36916d4e8470706a8a2ed3417e2bd7378d2
Comment 2 BogDan Vatra 2011-07-07 09:10:46 UTC
Git commit 8519abd01958ac29801aec16eba452a9d224b203 by BogDan Vatra.
Committed on 07/07/2011 at 11:05.
Pushed by vatra into branch 'experimental-ro'.

Finish Android assets support

Add support for directories, implement QAbstractFileEngineIterator

FEATURE: 276766

M  +155  -16   src/plugins/platforms/android/src/qandroidassetsfileenginehandler.cpp     

http://commits.kde.org/android-qt/8519abd01958ac29801aec16eba452a9d224b203