Android asset support/deployment advice needed

BogDan bog_dan_ro at yahoo.com
Fri Jul 22 08:16:04 CEST 2011


Hi,

Thank you for your time.
We don't want to extract the content of your assets, we want you to be able to access the 
assets seamlessly, e.g. using a QFile of a QDirIterator objects, also extracting the assets is 
not acceptable because it need extra space and extra time to do it. Currently we manage to
provide the same functionality as Qt's resources, but we want to give developers even more,
to do it, we need add extra support to Google's assets public API. I sent a patch [1] 
yesterday, now we need to wait to see if Google will accept it or not.

[1] https://review.source.android.com/24746

Cheers,
BogDan.



>________________________________
>From: Tyler Mandry <tmandry at gmail.com>
>To: necessitas-devel at kde.org
>Sent: Friday, July 22, 2011 2:18 AM
>Subject: Re: Android asset support/deployment advice needed
>
>
>I don't know what all exactly you're trying to accomplish with the asset thing (haven't been paying close attention,) but if you're just trying to copy or read a directory structure with files and all, I have code to do that pasted here: http://pastie.org/2251128 . Maybe it will prove helpful, maybe not, who knows..
>
>
>On Thu, Jul 21, 2011 at 5:00 AM, <necessitas-devel-request at kde.org> wrote:
>
>Send Necessitas-devel mailing list submissions to
>>       necessitas-devel at kde.org
>>
>>To subscribe or unsubscribe via the World Wide Web, visit
>>       https://mail.kde.org/mailman/listinfo/necessitas-devel
>>or, via email, send a message with subject or body 'help' to
>>       necessitas-devel-request at kde.org
>>
>>You can reach the person managing the list at
>>       necessitas-devel-owner at kde.org
>>
>>When replying, please edit your Subject line so it is more specific
>>than "Re: Contents of Necessitas-devel digest..."
>>
>>
>>Today's Topics:
>>
>>  1. Re: Android asset support/deployment advice needed (Thomas Senyk)
>>
>>
>>----------------------------------------------------------------------
>>
>>Message: 1
>>Date: Wed, 20 Jul 2011 17:03:48 +0200
>>From: Thomas Senyk <thomas.senyk at nokia.com>
>>Subject: Re: Android asset support/deployment advice needed
>>To: BogDan <bog_dan_ro at yahoo.com>
>>Cc: "necessitas-devel at kde.org" <necessitas-devel at kde.org>
>>Message-ID: <6051288.q8B8PZ9nIn at rudolf>
>>Content-Type: text/plain; charset="us-ascii"
>>
>>I found the next problem with assets ... and this one might be a bigger one.
>>
>>If you take a look at:
>>AAssetDir_getNextFileName
>>
>>you'll see that it doesn't report sub-directories (intentionally!)
>>This means: That way we can't do any sub-directory listing!
>>
>>
>>AAssetDir doesn't provide anything else (or maybe I'm blind)
>>AssetDir would provide it!
>>Do we want to use AssetDir instead?
>>We would basically rewrite all the AAset* stuff and use Aset* directly ...
>>right?
>>
>>
>>I could start the work (but I'm on vacation next week)
>>
>>IMHO: If we want to do any release (alpha or beta) with asset support, we
>>absolutely need this.
>>
>>
>>Greets
>>Thomas
>>
>>On Thursday, July 07, 2011 02:11:41 AM ext BogDan wrote:
>>> Done http://commits.kde.org/android-qt/8519abd01958ac29801aec16eba452a9d224b
>>> 203
>>>
>>> Cheers,
>>> BogDan.
>>>
>>> >________________________________
>>> >From: Thomas Senyk <thomas.senyk at nokia.com>
>>> >To: necessitas-devel at kde.org
>>> >Sent: Tuesday, July 5, 2011 8:52 PM
>>> >Subject: Re: Android asset support/deployment advice needed
>>> >
>>> >AAssetDir is never used.
>>> >
>>> >Therefor he can't do any listing ... I suspect this is the problem.
>>> >
>>> >I'm going to look into it ... maybe I can fix it
>>> >
>>> >
>>> >Greets
>>> >Thomas
>>> >
>>> >On Tuesday, July 05, 2011 07:09:32 PM Thomas Senyk wrote:
>>> >> Has anyone every tried more then one .qml file?
>>> >>
>>> >> It seams he doesn't find the files within the same directory.
>>> >>
>>> >> I created a new "Qt Quck Application" and added a new MyRect.qml
>>> >> But I can't create a MyRect Item in main.qml
>>> >>
>>> >> Greets
>>> >> Thomas
>>> >>
>>> >> On Thursday, June 30, 2011 10:31:26 AM ext Niko Sams wrote:
>>> >> > thanks!
>>> >> > _______________________________________________
>>> >> > Necessitas-devel mailing list
>>> >> > Necessitas-devel at kde.org
>>> >> > https://mail.kde.org/mailman/listinfo/necessitas-devel
>>> >
>>> >_______________________________________________
>>> >Necessitas-devel mailing list
>>> >Necessitas-devel at kde.org
>>> >https://mail.kde.org/mailman/listinfo/necessitas-devel
>>
>>
>>------------------------------
>>
>>_______________________________________________
>>Necessitas-devel mailing list
>>Necessitas-devel at kde.org
>>https://mail.kde.org/mailman/listinfo/necessitas-devel
>>
>>
>>End of Necessitas-devel Digest, Vol 3, Issue 34
>>***********************************************
>>
>
>
>-- 
>Tyler Mandry
>
>_______________________________________________
>Necessitas-devel mailing list
>Necessitas-devel at kde.org
>https://mail.kde.org/mailman/listinfo/necessitas-devel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/necessitas-devel/attachments/20110721/bfc22fb2/attachment-0001.htm 


More information about the Necessitas-devel mailing list