Click here to Skip to main content
15,904,153 members

Comments by David Crow (Top 200 by date)

David Crow yesterday View    
An EID (a 32-bit number) allows your tablet to connect to a cellular network without the need for a physical SIM card, so you do not need an app for that.
David Crow 6-May-24 16:23pm View    
At what point do you initialize mList? There is an assignment in settask(), but is that method ever called?
David Crow 13-Feb-24 9:23am View    
I suggest you make list the main activity, and when the FAB is clicked, call startActivityForResult() with the "data entry" activity. When that activity returns, add the user-entered data to the adapter and refresh it.
David Crow 30-Oct-23 10:54am View    
If your app is not in the foreground, scraping data from a web site is pointless. Do that when your app opens. If the data on that web site changes frequently enough, and your app could remain in the foreground long enough (studies show that most don't), you could set a refresh timer.
David Crow 26-Jul-23 8:19am View    
Is this a dynamic menu created at runtime or a static one defined in an XML file? If the latter, have you tried adding:
android:icon="@android:drawable/btn_star"