URL and Link repository

Thursday, August 29, 2013

Final, Adventures in Coding Directly on a Samsung Galaxy Tablet 2.0 - 7 Inch

Here are my final tips for using AIDE to code Android apps directly on a Samsung tablet.
  • Use a File Manager to copy folders among projects.
  • Remember that the software may not always track your changes in real time, so use AIDE's action bar menu | More | Refresh Build.
  • Also, you may need to exit and close files occasionally to synchronize all your changes. It seems that the built in code hints occasionally conflict and override manual edits.
  • Despite closing this thread, I still intend to use AIDE for my Cash Tracking app with SQLite and to code fragments that integrate my thirteen stock and options trading apps at Google Play
  • Cont'd, Adventures in Coding Directly on a Samsung Galaxy Tablet 2.0 - 7 Inch

    I must report that I have had to reinstall AIDE three times due to unexplained crashes, but I do not mind as I have had good practice coding on the soft keyboard. Another caveat, this app is no Eclipse where you can easily configure the build path and import .jar libraries. In conclusion of this thread, coding Android apps directly on the Samsung Galaxy Tablet 7 inch, I have been able to write simple constructs with fragments, compile source and run  .dex modules from the palm of my hand. This is all I ever expected.

    Saturday, August 24, 2013

    Cont'd, Adventures in Coding Directly on a Samsung Galaxy Tablet 2.0 - 7 Inch

    Back to plugging away at this simple cash tracking app with SQLite, I discovered that AIDE has an option called Refresh Code Anaysis under the action bar menu icon and More. However, I must warn you that serious run time abends have frozen my tablet and forced a hard reboot (power and up volume keys). In future posts I hope to share an elegant solution that will dump the log cat and force close the app. BTW, I still refuse to buy a keyboard as it negates the purpose of a tablet.

    Monday, August 19, 2013

    ...Continued, Adventures in Coding Directly on a Samsung Galaxy Tab 2.0 7 Inch

    Continued from the August 16, 2013 post.

    After a half hour of puzzlement trying to debug a new XML layout, I realized that when creating a new file in the res/ folder, you must include the file type e.g., main_row.xml not just main_row.

    Friday, August 16, 2013

    ...Continued, Adventures in Coding Directly on a Samsung Galaxy Tab 2.0 7 Inch

    Continued from the August 13, 2013 post.

    Welcome back. The previous posts on this subject failed to include a Teminal Emulator app and SQLite3.

    Developing on a rooted phone, I have found these tools to be essential as my programs send and receive data to SQLite. The root process is not included here.

    From a terminal window command line, I enter the following lines to view SQLite data.

  • su
  • cd data/data/"insert your app package name"/databases
  • ls
  • sqlite3 "insert your database name"
  • .tables
  • While on an SQLite> command line, you can enter the usual "Select" and so forth SQL commands.

    Specific design and coding challenges are forthcoming.

    Tuesday, August 13, 2013

    ...Continued, Adventures in Coding Directly on a Samsung Galaxy Tab 2.0 7 Inch

    Continued from the August 2, 2013 post.

    After creating a project folder and using the "Create a new App Project here..." option in AIDE, I found that the built in editor is not as robust as using a third party code editor like DroidEdit. You will see what I mean when trying to insert a new line with the [Return] key. To be continued...

    Tuesday, August 6, 2013

    SEO Friendly Coding...

    Generating text inside the JavaScript:
    <'script type="text/javascript"'>
    function onMouseOver1() {
    var infoText = "info about button";
    document.getElementById('infoblock').innerHTML = infoText;
    }
    <'/script>
    <'body>
    <'img src ="some.jpg" onmouseover="onMouseOver1()" />
    <'div id="infoblock"><'/div>
    <'/body>
    Reportedly some search engines may skip over the infoText inside the JavaScript. Instead, try placing informational text inside the HTML code like this:
    <'style type="text/css">
    #infoblock1 {
    display:none;
    }
    <'/style>
    <'script type="text/javascript"'>
    function onMouseOver1() {
    document.getElementById('infoblock').innerHTML =
    document.getElementById('infoblock1').innerHTML;
    } <'/script>
    <'body>
    <'img src ="some.jpg" onmouseover="onMouseOver1()" />
    <'div id="infoblock"><'/div>
    <'div id="infoblock1">
    info about button
    <'/div>
    <'/body>
    }

    Friday, August 2, 2013

    Adventures in Coding on the Samsung Galaxy Tab 2.0 7 inch

    1. Get the AIDE app from Google Play 2. Update your Dropbox. 3. Create an app directory using a file manager. 4. Get yourself a hacker's keyboard here. 5. Fire up AIDE and specify default directory.. .To be continued ...