Joshua Pinter

Results 159 comments of Joshua Pinter

Came here for this. I needz the blindz automation! And it needs to be retrofit, not all-new blinds. Here are the current two I've been considering. https://www.indiegogo.com/projects/movez-motorize-blinds-and-shades-gadget#/ http://helloaxis.com/

I thought the same thing. I'm surprised somebody hasn't come up with a good solution that isn't in pre-order. But, everything is always harder than it first appears. If you...

We were also seeing this. @sbuettner put me on the right path. In our case, we are using JodaTime for `DateTime` fields like `created_at`, `updated_at`, etc.: ```java @Expose @Column public...

You need to provide an Array of Strings instead of just String params, so do this instead: ```java new Select( new String[]{ "cached_id, group_id, server_time" } ).from( CachedObject.class ).where( "type...

Another example, using ActiveAndroid specifically to get the database: ```java String query = "SELECT SUM( file_size ) as file_size_sum FROM files"; Cursor cursor = ActiveAndroid.getDatabase().rawQuery( query, null ); cursor.moveToFirst(); long...

A nifty trick if you don't want to extend the `ContentProvider` to put your dynamic configuration in there, is to just `dispose()` of the `ActiveAndroid` database connection on your app...

Can you setup a (simple) test project that reproduces this?

Without you setting up a test project to reproduce this, my guess would be that you need to `Select` the `_id` column as well, perhaps? Without the `_id` column the...

FYI, for selecting what columns you want, you typically want to do something like this: ```java new Select( new String[]{"categories.Id,categories.name"} ) ``` See the following StackOverflow Q&A for an example:...