Android asset support/deployment advice needed

BogDan bog_dan_ro at yahoo.com
Thu Jun 30 10:25:26 CEST 2011


You need to use DEPLOYMENT (INSTALLS) technique in your .pr* files (e.g. install your files to /assets folder).

Please create a new QML application from within QtCreator (don't forget to update it) and you'll understand what I mean.

Cheers,
BogDan.


----- Original Message -----
> From: Niko Sams <niko.sams at gmail.com>
> To: BogDan <bog_dan_ro at yahoo.com>
> Cc: "necessitas-devel at kde.org" <necessitas-devel at kde.org>
> Sent: Thursday, June 30, 2011 11:17 AM
> Subject: Re: Android asset support/deployment advice needed
> 
> But how do I define the assets that should be bundled with the application?
> Or is there a qt-creator UI for that?
> 
> Niko
> 
> On Thu, Jun 30, 2011 at 09:25, BogDan <bog_dan_ro at yahoo.com> wrote:
>>  Hi Niko,
>> 
>>  You don't need any documentation, android assets support 
> is transparent to users, what I've done it was to implement 
> a QAbstractFileEngineHandler [1] and to check if that file exists into your 
> assets [2].
>> 
>> 
>>  So, what you need to know is to update android-qt and android-qt-creator 
> and to compile them :)
>> 
>> 
>>  Cheers,
>>  BogDan.
>> 
>>  [1] http://doc.qt.nokia.com/4.7/qabstractfileenginehandler.html
>> 
> [2] http://commits.kde.org/android-qt/df32b36916d4e8470706a8a2ed3417e2bd7378d2
>> 
>> 
>>  ----- Original Message -----
>>>  From: Niko Sams <niko.sams at gmail.com>
>>>  To: BogDan <bog_dan_ro at yahoo.com>
>>>  Cc: "necessitas-devel at kde.org" 
> <necessitas-devel at kde.org>
>>>  Sent: Thursday, June 30, 2011 8:39 AM
>>>  Subject: Re: Android asset support/deployment advice needed
>>> 
>>>  On Wed, Jun 29, 2011 at 21:40, BogDan <bog_dan_ro at yahoo.com> 
> wrote:
>>>>   Done, pushed.
>>>> 
>>>  Cool. Is this feature somewhere documented?
>>> 
>>>  Niko
>>> 
>> 
>> 
>


More information about the Necessitas-devel mailing list