Android Question using external resource in my app

azzam223

Active Member
Licensed User
Longtime User
hello every one

How can Use resource of other app in my app without wrapper the app library Can I do that with #additionalRes
I want To use app setting like xml and image in my app

B4X:
#additionalRes:D:\Res

When I use this path the compiler Stop And Show Error

invalid Resource

when I Add '\' in last

B4X:
#AddtionalRes:D:\Res\

the compiler show the error

Can't open folder(D:\Res")

are my way Is true Or must I use the attribute with Wrapper library project only I know that I can Use include image in my project and color but also there are additional things like animation folder and controls view and I want To use it in my project How I can Do that it is possible
 
Last edited:

azzam223

Active Member
Licensed User
Longtime User
the content is four folder

layout and animation and Res and Color every folder has xml files and image
 
Upvote 0

azzam223

Active Member
Licensed User
Longtime User
layout.png anime.png
 
Upvote 0

azzam223

Active Member
Licensed User
Longtime User
I know manfred but the problem is in #additionaRes when I run my app in debug mode the compiler stop and show the error

invalid resource

if I add '\' in last then also stop and shop this error

can't open file
 
Upvote 0

azzam223

Active Member
Licensed User
Longtime User
the error is fixed I did know how but know Show error in resource

'Found tag anim where item is expected' what is mean

the content in anim.xml is like this

B4X:
<anim name="abc_fade_in">res/anim/abc_fade_in.xml</anim>
 
Upvote 0
Top