Widespread Augmented Reality

Widespread Augmented Reality
Click on the image to get the Android Augmented Reality Heads up Display

Saturday, October 26, 2013

Starting Cryptolocker Thread

Heard this on Leo Laporte, The Tech Guy, radio show. Leo Laporte provided the following link. http://www.computerworld.com/s/article/9243537/Cryptolocker_How_to_avoid_getting_infected_and_what_to_do_if_you_are_

It's my business to know what to do when customers arrive with this problem.

Friday, October 18, 2013

Enhancing W.A.R. - Widespread Augmented Reality

I have been busy enhancing my Android app on Google Play that uses the camera as a view finder to locate your friends at places that interest them, a.k.a. points of interest.

There are actually two apps: 1. Ice Cream Sandwich and lower; 2. Jelly Bean and up. This was necessary because version 1 was crashing on the Samsung Galaxy 3.

Below are typical screen shots of geotags in Los Angeles.

Note that this Android app also creates the geotags, so points of interest are relevant to your clique or set of friends. You can also create geotags remotely with the companion website at SpiderOnFire. Your W.A.R. handles are anonymous and all content can be deleted at your discretion.

Wednesday, September 25, 2013

Implementing the Android Dialog Fragment

This is how my code works for a Yes|No fragment dialog box when clicking an item in the ListView activity. Download the full source code here. GitHub repository here.

Sunday, September 8, 2013

Android Fragment Class Coded Directly on Samsung Galaxy Tab 7 inch

Using AIDE and Droid Edit to create extra class files in the AppProjects directory, I threw together a simple Dialog Fragment class like so:
I. Filename: MyDiagFrag.java
public class MyDiagFrag extends DialogFragment {
Context myContext;
public MyDiagFrag() {
//myContext = getActivity();
//empty constructor
}

@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
AlertDialog.Builder aDb = new AlertDialog.Builder(getActivity());
aDb.setTitle("Delete");
aDb.setMessage("Sure about this?");
aDb.setPositiveButton("Yes", null);
aDb.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface d, int which) {
d.dismiss();
}
});
return aDb.create();
}
}
II. Filename: DataActivity.java
public class DataActivity extends Activity
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.mainlist);
ActionBar actbar = getActionBar();
actbar.show();
actbar.setDisplayHomeAsUpEnabled(true);
// Declare Screen output
// Bunch of code omitted for this example...
lv = (ListView)findViewById(R.id.list);
lv.setAdapter(mAdapter);
lv.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView parent, View view, int position1, long id)
{new MyDiagFrag().show(getFragmentManager(), "MyDiag");}});
// More processing omitted for this example....

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.