Hi all,

I am trying to run my code editor into my android app here is my link of editor webpage code editor

I am using the below code for my code editor code link

<script>$.noConflict();</script>
<script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/codemirror.js"></script>
<script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/clike.js"></script>
<script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/php.js"></script>
<script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/css.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="http://code.jquery.com/jquery-1.3.2.min.js"></script>
<link href="http://test.guru99.com/js/Phpeditor/codemirror.css" rel="stylesheet" />
<script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/code2.js"></script>
<link href="http://test.guru99.com/js/Phpeditor/style.css" rel="stylesheet" />
<pre class="codeguru">&lt;?php
echo "Hello world";
?&gt;</pre>
<form class="hidden code-box" method="GET" name="sample" id="php_compile">
<div dir="ltr"><textarea class="php" name="codeguru"></textarea></div>
<div class="hint"  style="font-size:13px;">This code is editable. Click Run to execute.</div>
<p><input type="submit" value="Run" style="background-color:#df5035; color:#ffffff;"  /><br />
<img class="hidden" style="vertical-align: middle;" alt="Home " src="http://test.guru99.com/js/Phpeditor/ajax-loader.gif" name="ajax-loader" title="Home" /></p>
<div class="hidden stdout"></div>
<div class="hidden stderr"></div>
</form>
<form class="hidden code-box" method="GET" name="NoSample">
<div dir="ltr"><textarea class="php" name="codeNrun"></textarea></div>
</form>

and it works good in my web page but if i put the same code in my android app then its not working. you can check the editor in my android app in course testing&Qa ->jmeter ->lession11 at the last but for check that You need internet connection my app link :- android app

If you do not hve android mobile then here is my screenshots after upload above code in my lession screentshot1 if i press run button then after press run button

If i choose chrome after choose crome

How can i solve this issue? Please help me with this.

Thank you all in advance.

You ask help about Android app and you post code from your website? Where is common sense of solving issue? How someone can find problem in your Android app if you fail to provide appropriate code for problematic section?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.