From: Sascha H. <sa...@xm...> - 2010-10-26 19:45:38
|
Hi John. You basically asked two things: How to add arbitrary resources that are not processed by XMLVM to your project, and how to load that resources later one. The two answers are: - '--resource' is the parameter that lets you include arbitrary files - getResourceAsStream is not currently supported. // Sascha On Tue, Oct 26, 2010 at 7:21 PM, John Bester <joh...@so...>wrote: > I have a SQL script in my Android source structure and access it using > > the standard Java > e.g. > InputStream in = DbHelper.class.getResourceAsStream(path); > > When I process my source using xmlvm, it seems that these files are > ignored (I read in the manual that only .class files are processed). > Also, I searched for keywords in the script to verify that this script > was in fact excluded. Would it be possible to have a mechanism to enable > use of resources files which would otherwise be included in a apk (or > jar) to be accessed in some other way? In other words wrapping the > Class.getResourceAsStream(path) method? > > > > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America > contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |