<div>Dear All,</div><div><br></div><div>I followed the <span style="color:rgb(34,34,34);font-size:12.800000190734863px;font-family:arial,sans-serif"><a href="https://groups.google.com/d/topic/android-qt/as1zbWzPahw/discussion" target="_blank">How-to: create a standalone app that doesn't need ministro</a> .</span></div>
<div><span style="color:rgb(34,34,34);font-size:12.800000190734863px;font-family:arial,sans-serif">I uploaded what I made <a href=" http://dstech.in/ppl/andro/tgf-for-zip.zip">here (Click)</a>.</span></div>
<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif"><br></span></div><div><font color="#222222" face="arial, sans-serif"><b>My Problem:</b> </font>it is saying " ClassNotFoundException" for class: org.kde.necessitas.industrius.</div>
<div><br></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><div style><span style="background-color:transparent">All: <b>Please atleast download and run Qt project in ZIP file</b>... even if you're not expert... maybe <b>your comments/questions will help</b>.</span></div>
</div><div>Also, dont worry... <b>it's totally safe</b>... and wont risk OR affect your system (emulator) OR phone...</div>
<div><br></div><div><b>(A) What did I do ?</b></div><div>My Starting Point: I made Test Project-- which shows only a button--- changed as per tutorial.</div><div><br></div><div>After that; I made the following changes:-</div>
<div><br></div><div>1. Used TortoiseMerge to diff and merge QtActivity.java with latest QtActivity- and <b>bugfixed many compile errors</b> (due to changes in underlying framework).</div><div><br></div><div>2. Added lots of <b>logging code to CopyResources.java --> also fixed some log messages</b> like saying "successful in copying..."--> even when a exception is caught.</div>
<div>3. Figured out about and added the resource's / Qt Libs ; Ministro etc in appropriate folders.</div><div><br></div><div><br></div><div><b>(B) My questions:-</b></div><div><br></div><div><b>Ques (1)</b> But, it is still not loading QtIndustrius... saying "
ClassNotFoundException" for class: org.kde.necessitas.industrius.QtActivityDelegate ."</div><div>How to remove this error ?</div><div>No matter what I do it gives this error.</div><div><br></div><div><b>Ques (2)</b> It shows a non-fatal error---> exception caught; regarding:</div>
<div>"W/System.err( 579): error copying file:qt</div><div>W/System.err( 579): java.io.FileNotFoundException: qt"</div><div><br></div><div>Is this ok ? OR is this actually something I need to change ?</div><div>
<br></div><div><b>Ques (3)</b> At one point I assumed that maybe it expects files to be copied to a directory called "qt"-- created by us-->> and added some code for that--> which is not commented.</div>
<div>What exactly is the significance of copyAssetGroup(..., "qt") in file: QtActivity.java ???</div>
<div><pre style="margin-top:0px;margin-bottom:0px">exact line:</pre><pre style="margin-top:0px;margin-bottom:0px">copyer.copyAssetsGroup(filesDir,<span style="color:#c0c0c0"> </span><span style="color:#008000">"qt"</span>);<span style="color:#c0c0c0"> </span><span style="color:#008000">//"");</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal">Right now, there's a function I added (included in code in ZIP file)... called "mkQtDir"-->> which creates a folder called qt... because I assumed that it gets something called a local prefix called "qt"-->> </span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal">so we need to create a qt folder into which certain files are stored/copied--- as this will be the search location for qt libraries... but not sure.</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal">Other questions:---</span></pre></div><div><b>Ques(4)</b> 1. Nowhere mentioned about orayta dir... where assets are expected... seen source code and done.</div>
<div>I assume this is just a name... and nothing sacred OR hard-coded... about word "Orayta" .</div><div><br></div><div>will really appreciate your help... even your comments and questions...</div><div><br></div>
<div>Thank you and Best Regards,</div><div><br></div><div>Nalin</div><div>ps: I will someday write a tutorial about this... and am happy to credit all who help me as co-authors...</div><div><br></div>