Reputation: 212 Stalwart
- Active Posts:
- 1,119 (0.49 per day)
- 13-March 09
- Profile Views:
- Last Active:
- 59 minutes ago
- Viewing Topic: working with SQLite in android
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
- Expert In:
Posts I've Made
Posted 30 Jun 2015As the Exception is telling you: You've not created a table with the name parts_of_speech.
You need to check that the table exists. Maybe there has been a typo somewhere?
Posted 30 Jun 2015In onstartCommand you need to call mGoogleApiClient.connect();
From what I can see, you're only making that call at onConnectionSuspended.
But as you're never connected in the frist place, onConnectionSuspended can never be called.
Posted 29 Jun 2015If you know how to interact with a server, then you can more or less write the same code in the service and you'd use in the activity (in this case).
A few things like displaying a toast, can't be done from the service it self.
But the examples on locationlistener found here will work just fine in a service.
Posted 29 Jun 2015It's not a super easy task you're taking on.
Yes, you should apply the same callback/listener for when preparing the camera.
The callback should do something like increase an integer.
I guess that you storage all the videos url in an array, so you have a easy way to find out how many videos you're waiting for to load.
As each thread (even the camera thread) triggers the same listeners, then you just check the integer.
When the integer is equal to the number of videos (+ 1 from the camera), then you'll change the boolean and restart both the playbacks and recording at same time (or very close to the same time)
Don't forget to vote posts if they are helpful
Posted 28 Jun 2015If it's crashing, then it's throwing and exception.
If you check the logcat when launching the application, you'll see the exception and stacktrace being printed there.
Please post both the exception and the stacktrace here.
If you don't know what those are, then I suggest you to look into debugging in Android.
- Member Title:
- These are the droids you're looking for
- 23 years old
- May 18, 1992
- Years Programming:
- Programming Languages:
C++, VB .net 2005/2008/2010, C#, Arduino,