Matt Pavlovich

Ranch Hand
+ Follow
since Aug 14, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Matt Pavlovich

Ha! Not to worry. The ECB will print the money to cover the Greek debt and you all in Europe will just pay even more taxes in the form of inflation (just like us) to finance it. Too many important and powerful people have too much to lose to let the Euro die.
9 years ago
Thanks. Yes that was definitely a factor in getting it done sooner rather than later.
9 years ago
Yes, I know. That actually was a factor in not sending in the paper work for a residence visa - though there were other non-Belgium reasons.

Yes, the US system is a mess. We claim to be a democracy but in reality we are a Corporatocracy. It is really a sad state of affairs...I could go on and on. On a happier note, though, I would love to be in Belgium for Devoxx! That exchange rate, though...ouch.
9 years ago
lol I lived in several different spots in Europe over the past several years (UK, Switzerland, France, Austria) and they all mocked US beer, so I had to tease you a bit! But really, I can't blame them. Coincidentally, I also don't drink so we'll have to have a nice lemonade - my treat . Hope to be back in the EU soon. Love it it there. Thought about immigrating to Belgium as I speak French. Not so easy for a US person, though. Dare to dream...
9 years ago
No problem, Roel. If I am ever in Belgium, I'll make sure to buy you the finest can of Key Stone Light money can buy!
9 years ago
Thanks, Roel. Couldn't have navigated that mess without you.
9 years ago
lol I know, right?
9 years ago
Eight weeks to the date and I got my exam score back! Thank you to Roel and Roberto - Roel for your patience and input, and Roberto for that great paper you wrote which really made things clear. You guys are great. Also, thanks to the other nice people here on the forum who took the time to help me out as well.

Off to celebrate!!!
Matt

9 years ago
This was my thinking as well. My only concern was the slim possibility of the database hanging for some reason, since the thread could technically continue to run from activity 1 even after that activity has stopped. However, the chances of that happening are, I think, pretty remote. I just wanted to get a second opinion.

Thanks for your input.
Matt
9 years ago
I have two activities. In activity 1 I write a value to a SQLite database by entering that value into an EditText field. Once I press the submit button, the data is written and I am moved along to another activity - activity 2. Activity2 also does the same thing in that I can write new data and persist it to the database with a button click. So, my question is: do I need to synchronize the method (which is on a separate thread from the UI) in activity 1, as well as the method in activity 2 in order to prevent thread safety issues in the database? Keep in mind that both methods access the same database but from different activities. Technically, activity 1 should be complete with onStop having been called and the new activity (activity 2), now being visible. Is it even possible for these two activities and their corresponding threads accessing the database (via different methods) to have any kind of concurrency problems given the Android activity life cycle?

Thanks very much, Matt
9 years ago
Hey, congrats!
9 years ago
Hey guys,

I am packaging it all up and am using the command line prompt in Linux to create the final jar. However, this command of course creates a META-INF folder and puts it in the jar along with all my work. Is Oracle going to have a problem with that? Even after I delete the this folder from the final jar, it still pops up when I unpack the jar file on another computer.

Thanks,
Matt

UPDATE - Sorry - I should have looked first...I found the answer here in the forum.
Hey guys,

I have made my GUI thread safe as per the Java tutorials buy launching my windows with:


However, I notice this code is absent from the SCJD book and was wondering if there is a reason not to use it in a multi-threaded environment such as this project.

Thanks,
Matt