Well you can put anywhere inside the .aar file can you can get the
resource as classLoader.getResourceAsStream(file name); say for an
instance if you put your resource under service aar as follows
MyService.aar
META-INF
services.xml
resources
myImage.jpg
serviceClassLoader.getResourceAsStream("resources/ myImage.jpg");
Thanks
Deepal
> Hi Friends,
>
> I want to access some images from service class ie on server side.
> Like we put resources in .jar file, Can we put resources in .aar file
> and refer that at runtime?
>
> I am able to send images from service to client but all paths are hard
> coded.
>
> Actually I want to send images from service to client. So I
> need to put that images in to "myService.arr" file, same as we are
> doing with JAR file.
>
> Any suggestion?
>
> With best regards
> From
> Vikas R. Khengare
--
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]