LAN strategy (Android)128 (7/30/2012 11:02:10 PM) comp.lang.java.programmer What's the best way to do this?
I have to read from a LAN using UDP.
I open a socket by doing a name lookup (the name of a PC I want to
connect to) and port number as the app starts.
In a thread I loop... Dirk
Accessing a thread223 (7/30/2012 9:54:14 AM) comp.lang.java.programmer File1
public class controller extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(saved... Dirk
Android URI to drawable655 (11/4/2011 1:33:52 AM) comp.lang.java.programmer Drawable d = Drawable.createFromPath("e:\\Config\\$NetRadioCovers\\Other\\96.7 Ashbourne Radio.jpg"); This returns null, even though the path is correct. Any ideas on how to do it? -- Dirk The New Futuris... Dirk
char to decimal7532 (5/5/2011 12:43:51 AM) comp.lang.java.programmer IU need to take a char in UTF-8 and convert it to an ascii int (decimal) eg "a" = 97 which is then converted to the string "97" Is there a simple way to do this? -- Dirk http://www.neopax.com/technomage/ -... Dirk
Initializing from context passing738 (4/23/2011 3:39:13 PM) comp.lang.java.programmer I have a Data class of the form: Data ( public static ListView albumsLV; public static ArrayAdapter albumsTitleAdapter public static ArrayList albumsTitleArrayList = new ArrayList(); Data(Context ctx) {... Dirk
ArrayList in Eclipse930 (4/21/2011 12:05:14 AM) comp.lang.java.programmer I have an arraylist that I load with stuff when the app starts. Is there any way I can check its contents in debug mode in an ongoing basis? -- Dirk http://www.neopax.com/technomage/ - My new book - Magick a... Dirk
Android: create drawable from path1451 (4/14/2011 5:37:41 PM) comp.lang.java.programmer For some reason d=null when creating a drawable from coverArtURLStr, which is the full http path to the resource on the LAN. Anything obvious wrong? It's a path to a .png [I can access the LAN OK, and Data.def... Dirk
Android app "closing"361 (4/12/2011 11:08:12 AM) comp.lang.java.programmer When an Android app is closed the OS keeps a record of its state so it can be restared quickly. How do I tell it that when an app is closed it should really be closed and all variables wiped? -- Dirk http:... Dirk
Threads and statics1644 (4/7/2011 12:34:15 PM) comp.lang.java.programmer Is there a problem with multiple threads using the same static method of a class? -- Dirk http://www.neopax.com/technomage/ - My new book - Magick and Technology ... Dirk
Threads and UI in Android1939 (4/3/2011 6:16:52 PM) comp.lang.java.programmer Part of the problem I have been having with adding data to a listview stems from the threads I have running. Specifically, I have a thread that constantly checks for messages coming over the Wifi/LAN. When it... Dirk
Accessing a thread #3424 (7/31/2012 6:02:30 PM) comp.lang.java.programmer From: "Dirk Bruere at NeoPax"
From: Dirk Bruere at NeoPax
File1
public class controller extends Activity {
/** Called when the activity is first created. */
@Override
public ... Dirk
Accessing a thread #2326 (7/30/2012 7:00:56 PM) comp.lang.java.programmer From: Dirk Bruere at NeoPax
File1
public class controller extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstance... Dirk
Android URI to drawable655 (11/4/2011 1:33:52 AM) comp.lang.java.programmer Drawable d = Drawable.createFromPath("e:\\Config\\$NetRadioCovers\\Other\\96.7 Ashbourne Radio.jpg"); This returns null, even though the path is correct. Any ideas on how to do it? -- Dirk The New Futuris... dirk.bruere(465)
char to decimal7532 (5/5/2011 12:43:51 AM) comp.lang.java.programmer IU need to take a char in UTF-8 and convert it to an ascii int (decimal) eg "a" = 97 which is then converted to the string "97" Is there a simple way to do this? -- Dirk http://www.neopax.com/technomage/ -... dirk.bruere(465)
Initializing from context passing738 (4/23/2011 3:39:13 PM) comp.lang.java.programmer I have a Data class of the form: Data ( public static ListView albumsLV; public static ArrayAdapter albumsTitleAdapter public static ArrayList albumsTitleArrayList = new ArrayList(); Data(Context ctx) {... dirk.bruere(465)
ArrayList in Eclipse930 (4/21/2011 12:05:14 AM) comp.lang.java.programmer I have an arraylist that I load with stuff when the app starts. Is there any way I can check its contents in debug mode in an ongoing basis? -- Dirk http://www.neopax.com/technomage/ - My new book - Magick a... dirk.bruere(465)
Android: create drawable from path1451 (4/14/2011 5:37:41 PM) comp.lang.java.programmer For some reason d=null when creating a drawable from coverArtURLStr, which is the full http path to the resource on the LAN. Anything obvious wrong? It's a path to a .png [I can access the LAN OK, and Data.def... dirk.bruere(465)
Android app "closing"361 (4/12/2011 11:08:12 AM) comp.lang.java.programmer When an Android app is closed the OS keeps a record of its state so it can be restared quickly. How do I tell it that when an app is closed it should really be closed and all variables wiped? -- Dirk http:... dirk.bruere(465)
Threads and UI in Android1939 (4/3/2011 6:16:52 PM) comp.lang.java.programmer Part of the problem I have been having with adding data to a listview stems from the threads I have running. Specifically, I have a thread that constantly checks for messages coming over the Wifi/LAN. When it... dirk.bruere(465)