<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5863703815903194280</id><updated>2024-09-02T03:03:22.449-04:00</updated><title type='text'>AYDABTU Development</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.aydabtudev.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-1402809579509020715</id><published>2011-05-11T08:59:00.003-04:00</published><updated>2020-12-14T08:17:51.850-05:00</updated><title type='text'>The Android Market is FULL of Viruses!</title><content type='html'>I first heard those words from a gadget loving iPhone fan-boy whom also happens to be a very good friend of mine. &amp;nbsp;We don&#39;t often discuss the pluses or minuses of the 2 platforms because he&#39;s not a geek. &amp;nbsp;He is, by all accounts, in love with anything Apple is willing to put on the shelves for us to consume.&lt;br /&gt;
&lt;br /&gt;
He does ask how my application development is going and is at least interested in that I&#39;m interested. &amp;nbsp;He asked me one day about all the viruses in the Android App Store and when&amp;nbsp;refuted&amp;nbsp;by me had the evening news on his side. &amp;nbsp;He did concede that they weren&#39;t necessarily viruses in the traditional sense, but rather poorly written applications that cause performance problems, consume more data than they should, etc. &amp;nbsp;I exclaimed that if that were the classification for a virus then Apple&#39;s own machines are the preferred platform for the world&#39;s leading virus ... Photoshop. &amp;nbsp;:)&lt;br /&gt;
&lt;br /&gt;
His comment and the opinion of the main stream media stuck with me. &amp;nbsp;I can&#39;t do anything about it, but it did get me wondering about the complete lack of an approval process for Android developers&#39; submissions. &amp;nbsp;Apple has one. &amp;nbsp;Windows Phone 7&#39;s is unbelievably&amp;nbsp;thorough. &amp;nbsp;I have had 2nd hand experiences with both. &amp;nbsp;Android has none. &amp;nbsp;That helps keep a low cost to entry, but it does open the door for some poor code to end up on users&#39; phones.&lt;br /&gt;
&lt;br /&gt;
Thank goodness there are a few good developers out there writing quality code; like me! &amp;nbsp;But wait, I wrote a &quot;virus.&quot; &amp;nbsp;It&#39;s true. &amp;nbsp;I downloaded the Android SDK, the Eclipse ADT plugin, Eclipse and even the Subclipse SVN plugin. &amp;nbsp;I have source repositories setup to store my code change by change and I maintain this blog to discuss the application, coding in general, etc. &amp;nbsp;I can Google anything and figure out how to make something work. &amp;nbsp;That doesn&#39;t mean that&#39;s how it should or needs to work. &amp;nbsp;Therein lies the problem. &amp;nbsp;I can write some fancy code, but you don&#39;t know what you don&#39;t know!&lt;br /&gt;
&lt;br /&gt;
So, why was my app a virus? &amp;nbsp;Several versions ago I switched the UI to a tabbed view. &amp;nbsp;There was major refactoring involved in doing so. &amp;nbsp;Shortly thereafter I was experimenting with JSON string parsing and how that might benefit my app. &amp;nbsp;I was debugging something in the JSON app I was building and had left the DDMS perspective in Eclipse open while I was researching. &amp;nbsp;I kept noticing screen updates in my peripheral vision but it wasn&#39;t until I stopped what I was doing to investigate that I realized I had a coding mistake. &amp;nbsp;My other app had been opened to do some other work and it was the culprit. &amp;nbsp;It was requesting a new ad from AdMob even though the application was not in the foreground. &amp;nbsp;It should have been paused and had no activity going on. &amp;nbsp;In all the refactoring I had lost my onPause() method. &amp;nbsp;After getting that back into my code things were normal again. &amp;nbsp;Thank goodness it was for something as small as an ad!&lt;br /&gt;
&lt;br /&gt;
That spurred me to start doing some reading on the Application Life Cycle. &amp;nbsp;There&#39;s fabulous documentation on it provided by Google.&lt;br /&gt;
&lt;br /&gt;
So is the Android Market really full of viruses? &amp;nbsp;I can tell you that I&#39;ve seen some really crappy code over the years. &amp;nbsp;I can also tell you that I take special care (certainly more than most!) to understand my code and do extensive testing. &amp;nbsp;There are no formal checks and balances and even with the best of intentions my code was consuming more data and thusly more battery power than it should have been. &amp;nbsp;Whether it&#39;s full of viruses or not I know that it has 1 less as of several weeks ago and I will be much more conscience of how my phone performs after I install something new.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/1402809579509020715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/1402809579509020715'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/05/android-market-is-full-of-viruses.html' title='The Android Market is FULL of Viruses!'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-571128472782458236</id><published>2011-05-03T08:21:00.003-04:00</published><updated>2020-12-14T08:17:44.765-05:00</updated><title type='text'>What Goes Into Source Control, Android?</title><content type='html'>From the very beginning of my Android App development I knew I would be releasing it into the market. &amp;nbsp;As such I wanted to keep it in source control. &amp;nbsp;I&#39;ll explain my reasons for that in another post, but here I want to talk about what exactly goes into source control, what to do if you inherit a project that needs cleaned up and finally, how to coerce Eclipse into helping you long term.&lt;br /&gt;
&lt;br /&gt;
I had never created a project outside of Eclipse&#39;s new Android Project Wizard so what was part of it&#39;s overhead versus what was needed for someone else to build this project on a difference machine? &amp;nbsp;I asked a few guys around the office and Stack Overflow. &amp;nbsp;As is always the case I got, &quot;whatever isn&#39;t required to build the project doesn&#39;t go into source control.&quot; &amp;nbsp;Thanks geniuses. &amp;nbsp;At least one of them actually pointed me to the official documentation from which I could start to cherry pick the fluff out of my project. &amp;nbsp;Here&#39;s the official documentation on what is required for your project:&amp;nbsp;&lt;a href=&quot;http://developer.android.com/resources/faq/commontasks.html#filelist&quot;&gt;http://developer.android.com/resources/faq/commontasks.html#filelist&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
My development environment is Eclipse with the Subclipse SVN plugin and I&#39;m using online repositories from both BeanStalk and Assembla. &amp;nbsp;A quick scan of my repository and I was a little bummed to find several things in there that did not need to be:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;bin/&lt;/li&gt;
&lt;li&gt;gen/&lt;/li&gt;
&lt;li&gt;.classpath&lt;/li&gt;
&lt;li&gt;.project&lt;/li&gt;
&lt;li&gt;default.properties&lt;/li&gt;
&lt;li&gt;proguard.cfg&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;A friend and longtime developer asked me why I wouldn&#39;t want .classpath included? &amp;nbsp;Our office has a mix of both Windows and Linux development platforms so I&#39;ve tried to mimic that as often as possible when doing personal development so I&#39;m familiar with the challenges faced by my colleagues. &amp;nbsp;Everytime I would sync my local machine after the alternate environment had updated the repo I had .classpath issues. &amp;nbsp;Some of this could be my own inexperience so if you know the way around this please share ;)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Back to the point ... I did some research and found that I needed a local SVN client in order to accomplish what I wanted to do. &amp;nbsp;The command is:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow; color: red; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;svn rm --keep-local {filename/folder}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Execute that for each of the files or folders you wish to get out of source control, but keep your local copy. &amp;nbsp;I had read on SO that you needed the trailing / after folder names, but I&#39;ve found that to be inaccurate. &amp;nbsp;Simply listing the folder &quot;bin&quot; works and actually adding the trailing / does not.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;After running the svn command to remove (rm) each of the items I wanted out of source control I executed a commit:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow; color: red; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;svn commit -q -m &quot;Removing unwated files/folders from source control&quot; .&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;The next thing I did was set the filesystem level properties to keep them from accidentally ending up in Source Control in the future, but it is leading somewhere. &amp;nbsp;You can execute the following command from your project folder to add the items to the ignore list:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow; color: red; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;svn pe svn:ignore .&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Just add each item, 1 per line, as above again excluding the trailing / on folder names.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;I had tried to do all these things in the SVN perspective from within Eclipse but it would not let me set file/folder properties. &amp;nbsp;That&#39;s what lead me through the exercise outline above. &amp;nbsp;My next goal was to start with a fresh project and get things into source in the easiest way possible. &amp;nbsp;As I dug through the entire process I found that I can actually add the ignore property from within the Team Sync perspective! &amp;nbsp;That&#39;s huge as it keeps me (and you) from dinking around at the command line unnecessarily. &amp;nbsp;After you&#39;ve &quot;shared&quot; your project go into the Team Sync perspective, right click the project and choose synchronize. &amp;nbsp;In the left pane you will be presented with a list of files that will be placed under source control. &amp;nbsp;You can right click them and choose to ignore them. &amp;nbsp;From here I can control exactly what is and is not going to get into my repo. &amp;nbsp;That was a big win and almost perfect, but&amp;nbsp;curiosity&amp;nbsp;had me wondering if I could go further.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Eclipse can help by default! &amp;nbsp;If you look at the Team section in Eclipse Preferences you can add the items to the &quot;Ignored Resources.&quot; &amp;nbsp;I added each item and again created a new project. &amp;nbsp;This time after sharing it and going to the Team Sync perspective I had only the items listed that were identified in the Android documentation. &amp;nbsp;Obviously you can start by just doing this and save yourself all the hoop jumping that I went through.&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/571128472782458236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/571128472782458236'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/05/what-goes-into-source-control-android.html' title='What Goes Into Source Control, Android?'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-6129269151896424976</id><published>2011-03-20T11:29:00.001-04:00</published><updated>2020-12-14T08:17:23.314-05:00</updated><title type='text'>Splitting Text At A Fixed Length</title><content type='html'>As part of my message app I had originally been splitting my message text &quot;by hand.&quot; &amp;nbsp;I found a method in the SmsManager that does the job for you. &amp;nbsp;Again, it&#39;s still a good bit of code so here it is. &amp;nbsp;Hope you find it helpful.&lt;br /&gt;
&lt;br /&gt;
This will split the message into 160 character chunks to include anything up to 160 characters at the end of the message.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;protected ArrayList&amp;lt;String&amp;gt; splitMsg(SmsMessage smsMessage) {
        ArrayList&amp;lt;String&amp;gt; smt;
        Pattern p = Pattern.compile(&quot;.{1,160}&quot;);
        Matcher regexMatcher = p.matcher(smsMessage.getMsgBody());
        smt = new ArrayList&amp;lt;String&amp;gt;();
        while (regexMatcher.find()) {
            smt.add(regexMatcher.group());
        }
        return smt;
    }
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/6129269151896424976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/6129269151896424976'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/03/splitting-text-at-fixed-length.html' title='Splitting Text At A Fixed Length'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-5156348474686290301</id><published>2011-03-20T10:43:00.003-04:00</published><updated>2020-12-14T08:17:11.067-05:00</updated><title type='text'>Sending a Single SMS to Multiple Addressees</title><content type='html'>The net-net-net of this, if you&#39;re wondering is, it can&#39;t be done. &amp;nbsp;Hear me out. &amp;nbsp;I don&#39;t want to send 10 SMS messages to 1 addressee. &amp;nbsp;I can do that just fine. &amp;nbsp;I was trying to send a single message to 10 addressees in order to get 1,000 addressees the same message rather than Android&#39;s 100 addressees/messages. &amp;nbsp;I learned a valuable lesson about the SDK documentation. &amp;nbsp;When it says it accepts a &quot;String&quot; it doesn&#39;t mean you can trick it to accept a String [].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public void sendDataMessage (String destinationAddress, String scAddress, short destinationPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent)&lt;/pre&gt;&lt;br /&gt;
I spent a lot of time yesterday getting the code in place to provide &quot;destinationAddress&quot; as a comma (as well as space, semicolon, and new line) delimited list. &amp;nbsp;No messages get sent unless your list contains only 1 item. &amp;nbsp;*sigh*&lt;br /&gt;
&lt;br /&gt;
But, I do like the code I came up with so I&#39;m storing it here in the hopes that it might someday be useful in another context.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;protected void sendMsg(Context context, SmsMessage smsMessage) {
        SmsManager smsMgr = SmsManager.getDefault();
        ArrayList&amp;lt;string&amp;gt; smsMessageText = smsMgr.divideMessage(smsMessage.getMsgBody());
        PendingIntent sentPI = PendingIntent.getBroadcast(context, 0, new Intent(&quot;SMS_SENT&quot;), 0);
        PendingIntent deliveredPI = PendingIntent.getBroadcast(context, 0, new Intent(&quot;SMS_DELIVERED&quot;), 0);
        int AddresseesPerMessage = 10;
        StringBuilder builder = new StringBuilder();
        String delim = &quot;&quot;;
        for (ContactItem c:smsMessage.getAddresseeList()) {
            //  For every phone number in our list
            builder.append(delim).append(c.getPhoneNumber().toString());
            delim=&quot;;&quot;;
            if (((smsMessage.getAddresseeList().indexOf(c)+1) % AddresseesPerMessage) == 0 || smsMessage.getAddresseeList().indexOf(c)+1 == smsMessage.getAddresseeList().size()) {
                // using +1 because index 0 mod 9 == 0 
                for(String text : smsMessageText){
                    //  Send 160 bytes of the total message until all parts are sent
                    smsMgr.sendTextMessage(builder.toString(), null, text, sentPI, deliveredPI);
                }
                builder.setLength(0);
                delim=&quot;&quot;;
            }
        }
    }
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/5156348474686290301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/5156348474686290301'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/03/sending-single-sms-to-multiple.html' title='Sending a Single SMS to Multiple Addressees'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-1348710059861467086</id><published>2011-03-06T10:06:00.002-05:00</published><updated>2020-12-14T08:25:26.462-05:00</updated><title type='text'>Android: Working with Sqlite Cursors &amp; Queries</title><content type='html'>If you&#39;re like me you learn to code by example. &amp;nbsp;One of the things I was having trouble with was selecting data from sqlite. &amp;nbsp;Not that I couldn&#39;t figure out how to get all the data, but how could I get just the data I needed.&lt;br /&gt;
&lt;br /&gt;
The generic getContentResolver.query(Groups.CONTENT_URI, null, null, null, null); just seemed wasteful. &amp;nbsp;Here&#39;s what I&#39;ve gleaned from other posts around the internet and from the SDK documentation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;ContentResolver cr = getContentResolver();
        Cursor groupCur = cr.query(
                Groups.CONTENT_URI, // what table/content
                new String [] {Groups._ID, Groups.NAME},    // what columns
                &quot;Groups.NAME NOT LIKE + &#39;System Group:%&#39;&quot;, // where clause(s)
                null, // ???
                Groups.NAME + &quot; ASC&quot; // sort order
        );
&lt;/pre&gt;&lt;br /&gt;
Further, if you want to just get a single row by it&#39;s _ID you can do this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;ContentResolver cr = getContentResolver();
        Uri myGroup = Uri.withAppendedPath(Groups.CONTENT_URI, &quot;16&quot;);
        Cursor groupCur = cr.query(myGroup, new String [] {Groups._ID, Groups.NAME}, null, null, null);
&lt;/pre&gt;&lt;br /&gt;
Hope this is helpful and saves you some grief ;)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/1348710059861467086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/1348710059861467086'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/03/android-working-with-sqlite-cursors.html' title='Android: Working with Sqlite Cursors &amp; Queries'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-2010761688055938367</id><published>2011-03-03T08:44:00.003-05:00</published><updated>2020-12-14T08:25:33.395-05:00</updated><title type='text'>Android: Tracking Version Usage</title><content type='html'>I had wondered and I&#39;ve heard it asked, &quot;How do I know what versions of my Android application people are using?&quot; &amp;nbsp;The quick answer that you&#39;ll get is, &quot;You don&#39;t.&quot; &amp;nbsp;I found a way using Google Analytics to track a couple of things: 1) you can track the number of people upgrading and/or 2) you can track the specific version usage!&lt;br /&gt;
&lt;br /&gt;
I created a pop-up dialog that announces the recent changes to the user after an upgrade. &amp;nbsp;Inside that logic I put a trackEvent call to Google Analytics with a label of the Application Version and a value of 1 so each time that dialog is presented I get a +1 for that label. &amp;nbsp;Here&#39;s how:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;if (!appPrefs.getAppVer().equals(getAppVerName())) {

    ...

    tracker.trackEvent(&quot;Upgrade&quot;, &quot;Click&quot;, getAppVerName(), 1);
    appPrefs.saveAppVer(getAppVerName());
    appPrefs.saveAcceptedUsageAggrement(false);

 }
&lt;/pre&gt;&lt;br /&gt;
getAppVerName() is just a helper method that does the following:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public String getAppVerName() {
    String text;
    try {
        text = getPackageManager().getPackageInfo(getPackageName(), 0).versionName;
    } catch (NameNotFoundException e) {
        text = &quot;Version Not Found&quot;;
    }
    return text;
}
&lt;/pre&gt;&lt;br /&gt;
On your application&#39;s main activity screen you can also add a trackEvent to help keep track of which versions are being executed like so:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;public class MyActivity extends Activity {

    GoogleAnalyticsTracker tracker;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        tracker = GoogleAnalyticsTracker.getInstance();
        tracker.start(&quot;UA-12345678-1&quot;, this);
        tracker.trackPageView(&quot;/HomeScreen&quot;);
        tracker.trackEvent(&quot;HomeScreen&quot;, &quot;Click&quot;, getAppVerName(), 1);
        tracker.dispatch();
        setupViews();
    }
}
&lt;/pre&gt;&lt;br /&gt;
Google Analytics will record 2 events for you: one called Upgrade and the other called HomeScreen.  Both will have a label of the version making the call and a counter. &amp;nbsp;Also of note; in the recent changes logic I also set the Accepted Usage Agreement to false allowing me to re-display the usage agreement on upgrade.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/2010761688055938367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/2010761688055938367'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/03/android-tracking-version-usage.html' title='Android: Tracking Version Usage'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-362051872387003849</id><published>2011-03-01T21:38:00.004-05:00</published><updated>2020-12-14T08:25:43.019-05:00</updated><title type='text'>My First Troll!</title><content type='html'>I, or my App rather, have/has arrived!&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: Arial, sans-serif; font-size: x-small;&quot;&gt;1-star&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #555555; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;span class=&quot;GOM05DHEH&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial;&quot;&gt;&lt;/span&gt;by rudo (March 1, 2011)&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;GOM05DHGH&quot; style=&quot;color: #555555; font-family: Arial, sans-serif; font-size: 13px; margin-bottom: 20px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;It sucks, does not work at all and freezes m phone&lt;/div&gt;&lt;div class=&quot;GOM05DHGH&quot; style=&quot;color: #555555; font-family: Arial, sans-serif; font-size: 13px; margin-bottom: 20px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: small;&quot;&gt;I figure if I&#39;m not doing something right I wouldn&#39;t have hate mail. &amp;nbsp;Internet trolls are an odd bunch. &amp;nbsp;The Android Developer Console doesn&#39;t report any Force Close or Freeze issues so my best guess is a competitor not liking how well my app is doing :)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;GOM05DHGH&quot; style=&quot;margin-bottom: 20px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;1,400+ downloads with ~400 active installs totaling more than 13,000 activity views since February 12. &amp;nbsp;There hasn&#39;t been a reported error from the app or from the Android Developer Console in over a week (since version 2.2.3).&lt;/div&gt;&lt;div class=&quot;GOM05DHGH&quot; style=&quot;margin-bottom: 20px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The best feature to date is very close. &amp;nbsp;If you text groups of people frequently and are, or are not a direct marketer you&#39;re going to really like the next update.&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/362051872387003849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/362051872387003849'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/03/my-first-troll.html' title='My First Troll!'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-1497058845059201263</id><published>2011-02-21T11:33:00.002-05:00</published><updated>2020-12-14T08:25:49.843-05:00</updated><title type='text'>SMS Message Limit Identified</title><content type='html'>And there it is ...&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;com&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: grey; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;/** Default checking period for SMS sent without uesr permit */&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;final&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; DEFAULT_SMS_CHECK_PERIOD &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;3600000&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: grey; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;/** Default number of SMS sent in checking period without uesr permit */&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;final&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; DEFAULT_SMS_MAX_ALLOWED &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
You can send 100 messages from any 1 application every hour. &amp;nbsp;Any more and your phone will get cranky. &amp;nbsp;Stay tuned. &amp;nbsp;I have a way around this that doesn&#39;t require you to elevate your permissions ;)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/1497058845059201263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/1497058845059201263'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/02/sms-message-limit-identified.html' title='SMS Message Limit Identified'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-2357248908932448812</id><published>2011-02-18T23:21:00.002-05:00</published><updated>2020-12-14T08:25:57.681-05:00</updated><title type='text'>AYDABTU Development&#39;s 1st $1.00</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/-Y8s4L8Bb6lE/TV9Fk0bXlVI/AAAAAAAAAAw/6LaUNhMBayU/s1600/AYDABTU_Development%2527s_First_Dollar%2521.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 180px;&quot; src=&quot;http://4.bp.blogspot.com/-Y8s4L8Bb6lE/TV9Fk0bXlVI/AAAAAAAAAAw/6LaUNhMBayU/s320/AYDABTU_Development%2527s_First_Dollar%2521.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5575251362559006034&quot; /&gt;&lt;/a&gt;After just 5 days AYDABTU Development has made it&#39;s first $1.00!  Whether that really goes anywhere or not remains to be seen.  This is all 1 big experiment for myself in application development.  I&#39;d be doing it for free, but since it&#39;s so easy to add ads to the application I might as well earn a little coin (very little!) for the effort.  Keep using the app ... (keep viewing the ads!)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/2357248908932448812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/2357248908932448812'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/02/aydabtu-developments-1st-100.html' title='AYDABTU Development&#39;s 1st $1.00'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/05587542189754296578</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-ENdvMcKXeqE/TV89-moOYMI/AAAAAAAAAAQ/KhL9p_Kmw40/s220/bmo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-Y8s4L8Bb6lE/TV9Fk0bXlVI/AAAAAAAAAAw/6LaUNhMBayU/s72-c/AYDABTU_Development%2527s_First_Dollar%2521.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-5863703815903194280.post-8817086761188841945</id><published>2011-02-18T22:55:00.002-05:00</published><updated>2020-12-14T08:26:03.882-05:00</updated><title type='text'>Broadcast SMS v1.0 Released</title><content type='html'>This is a historical posting as this really happened on 2/6/2011!&lt;div&gt;
&lt;/div&gt;&lt;div&gt;I was approached by Stuttering John Smith for assistance with a telemarketing application he was having trouble with.  I started looking through the code and identified some quick fixes to the issues he was having, but I also noticed some glaring design issues.  Within a few days I had it in a working state and gave him the source code.&lt;/div&gt;&lt;div&gt;
&lt;/div&gt;&lt;div&gt;That app really got me thinking ... I can do something like this and I had a lot of ideas about how to make it better!  The original code I hobbled together was a collection of a few activities and some static methods to handle the data transports.  This is my 1st attempt at OO code and my 1st attempt at Android.  I always want to learn and improve so I took this code to the local Cincinnati .NET Users Group meeting called BitSlingers.  It&#39;s an informal affair but I figured that was a good place to get a code review.  My good buddy Nate went with me and offered to provide some feedback.  That was awesome because I knew we were good enough friends that he could be brutally honest.  Man was my code a mess.  I was so proud to have published that app in the Android market, but it was a train wreck.  I took notes and watched a few more of O&#39;Reilly&#39;s awesome videos &quot;Developing Android Applications with Java.&quot;  That set me on a path of extensive refactoring ...&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/8817086761188841945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5863703815903194280/posts/default/8817086761188841945'/><link rel='alternate' type='text/html' href='http://www.aydabtudev.com/2011/02/broadcast-sms-v10-released.html' title='Broadcast SMS v1.0 Released'/><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/05587542189754296578</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-ENdvMcKXeqE/TV89-moOYMI/AAAAAAAAAAQ/KhL9p_Kmw40/s220/bmo.jpg'/></author></entry></feed>