activeandroid Questions

10

I have an app that is using ActiveAndroid and it's been working fine. However; now when I try to save a model to the database I'm getting a SecurityException. The stack is: Error saving model ja...
Formulate asked 28/8, 2017 at 18:37

4

Solved

i am getting this Error java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.activeandroid.TableInfo.getIdName()' on a null object reference when i disable Ins...
Radicalism asked 21/8, 2016 at 19:7

3

I would like to know if it is possible and how I could do a where clause in ActiveAndroid with a "IN" clause. For example, I would like do do something like this: new Select().from(Table).where("...
Peluso asked 11/2, 2015 at 13:29

6

I have been using ActiveAndroid for a while and i recently heard about Realm being another good option. I was thinking about changing my app to use Realm but before doing that,i was looking if some...
Pentheas asked 16/5, 2015 at 18:23

2

Solved

thank you for reading and helping :) I am using ActiveAndroid 3.0 - Android 2.2 - In my app I have a model called "user". initially I only created the model with (id, name, passcode) columns/attri...
Telegu asked 29/6, 2013 at 22:59

2

Solved

I have about 20-30 tables in my ActiveAndroid database. When I press logoutButton I want to clear all the tables. How can I do it in ActiveAndroid? public void logOut() { //clear all tables } ...
Germaun asked 21/5, 2015 at 3:53

3

Solved

I’m currently using ActiveAndroid, and have been trying to get a many-to-many relationship to work for the past few hours, however I just can’t get it to work. I hope you can help me out: I have t...
Popularity asked 5/10, 2014 at 22:39

6

Solved

I am using Active Android in my app. It was working fine till I upgraded my Android Studio to 2.0 from 1.3. With this upgrade my gradle also got upgraded to 2.0 which is causing some issue with the...

1

I am trying to implement robolectric testing in an existing app. I can run simple static tests but when I add testing with ActiveAndroid I get NullPointerExceptions, I think ActiveAndroid can not b...
Gunthar asked 9/1, 2016 at 15:51

3

Solved

I'm trying to make a bulk update to a column using ActiveAndroid. Here's my code: new Update(SomeModel.class).set("Enabled = 0").execute(); But I'm getting a StackOverflowError. (Edit: My bad, t...
Earleenearlene asked 10/4, 2014 at 19:30

6

Solved

I'm having a problem with active-android. I at trying to fetch user location, number of passengers and general direction. I want to save these to phone storage in a table called "Splits" using acti...
Lamelli asked 3/11, 2014 at 22:42

1

Does anyone know if it is possible to create a table for an abstract class in ActiveAndroid. For example i could have an abstract class Animal with two concrete classes Dog and Cat. I want to be ab...
Desta asked 30/6, 2015 at 11:4

1

I developed an Android-App where I saved data in a SQLite database using the SQLiteOpenHelper. I am wondering if I could update my app by using ActiveAndroid, but in a way that the user data previ...
Overflight asked 17/2, 2015 at 19:30

2

Solved

I'm using Gson to serialize an Active Android model. The model class contains only primitives, and Gson should have no issues serializing it with the default settings. However, when I try, I get th...
Fireback asked 28/4, 2015 at 0:14

1

Solved

It started on an Android phone, simple create statement in a file inside the assets/migrations folder (I use a 3rd party library called ActiveAndroid and for 2 years it worked okay - I did not chan...
Benzoic asked 7/4, 2015 at 14:8

1

Solved

I'm using activeandroid in my android app. Everything works fine running a debug build while developing. After creating a release build of my project the app is now crashing. This happens on a Nex...
Jean asked 10/12, 2014 at 19:6

2

Solved

I would like to define my model classes in AndroidManifest.xml file using AA_MODEL tag and disable auto search. Because currently I get errors when application starts similar to: Couldn't create c...
Harald asked 28/5, 2014 at 8:56

1

Although this question is about ActiveAndroid, anyone who is familiar with ORMs could probably answer this question. ActiveAndroid doesn't seem to give you a way to do many-to-many relationships o...
Rubberneck asked 15/7, 2013 at 2:24

1

As the title says. I am aware that there is a limited in memory database provided in robolectric. Is there any way to use this with Active Android? Under the default configuration, it appears that ...
Renounce asked 30/10, 2013 at 18:17

1

Solved

What can I do to get some test coverage on ActiveAndroid's ContentProvider in Robolectric? This simple test fails. The model: @Table(name = "Things") public class Thing extends Model { public T...
Robrobaina asked 1/5, 2013 at 19:16

3

Which is the best ORM tool available for Android? I am seeing ORMlite and ActiveAndroid are the most discussed across and a friend of mine suggested me to use GreenDAO. So looking for some ...
Kylix asked 3/12, 2012 at 10:6

2

Solved

The error im getting is "java.lang.IllegalArgumentException: class com.activeandroid.DatabaseHelper declares multiple JSON fields named mContext" I am using AndroidAnnotations RestClient to pull d...

2

are there any significant differences in terms of speed, scalability, ... between theese two ORM solution for Android SQLite - ORMlite vs. ActiveAndroid? First one is free, second is commerci...
Jotun asked 25/8, 2011 at 9:53
1

© 2022 - 2024 — McMap. All rights reserved.