Posts

How add long click function in sketchware

Image
Long click in Sketchware project  Friends.... as you know that in SKETCHWARE   long click function is only available for list view. This function is not available for t extview, imageview, button etc.   After reading this article you can know how to put long click option for these. In below example I will show this long click function for button. You can follow the similar code and similar processes for others. First of all add a button having id button1.  SKETCHWARE Tutorial  Now in "on create"  add an "add source directly " block   and paste the following code. SKETCHWARE Tutorial  button1.setOnLongClickListener(new View.OnLongClickListener() { @Override public boolean onLongClick(View _view) { Then add the function of long click as your wish e.g I have added the toast block.  Then add another another "add source directly " block and close the code of the first "add source directly " blo...

How make calculator android app using smartphone without PC

Image
 SIMPLE CALCULATOR Application without PC Yes..... we can make App without PC, just using a smartphone. For making this download SKETCHWARE    application from playstore or click Click here . Start a new project & follow instructions below. Put a webview.  Go to "onCreate" & put "Join____and____" block.  Copy the following codes and paste in that block.      data: text/html, Use above code in first box & below html code in second box of join block.  <doctype html> <html>    <head>    <body>       <form name="calculator"  >          <table>             <tr>                <td colspan="4" >                   <input type="text" name="display" id="display" ...