Questions tagged [commonsware-cwac]

Questions about the CommonsWare CWAC series of Android libraries.

Mark Murphy, who helps here at Stack Overflow as CommonsWare, has published the CommonsWare Android Components (CWAC for short).

Questions tagged with should pertain to one (or more) of the CWAC libraries.

398 questions
1
vote
1 answer

Problems using location poller (cwac-locpoll) android

I am currently developing an application which gets the users location from time to time and stores it, later on it sends it over the network. I have been testing out the location poller but have had some issues, it seems that in some android models…
Eduardo Mayer
  • 359
  • 1
  • 3
  • 10
1
vote
1 answer

Cwac-camera crash when picture taken

When my picture is taken via takePicture() function, Cwac-camera crash (depending device, work well on Desire HD, crash on Nexus S). Referring to this post : camera.setParameters failed in android I would like to know how to do this with…
Quentin Rousseau
  • 330
  • 5
  • 13
1
vote
1 answer

Cannot convert from SQLiteCursorLoader to Loader

I'm using an activity and a fragment based on ActionBarSherlock. To read rows from an SQLite database I'm trying to use a Loader instead of a ContentProvider, and I'm trying to get LoaderEx to work for me. I'm stuck with a stubborn problem: in my…
1
vote
2 answers

Android Debugging - Simulate unplugged phone

I have a program that works great when its plugged in. But, when its unplugged I am having a problem somewhere in the program. I don't know where in the program the problem is coming from because its unplugged from eclipse. Is there a way to…
iBoston
  • 69
  • 1
  • 9
1
vote
1 answer

Returning _id from SQLite update using SQLiteCursorLoader

I'm refactoring an Android work-in-progress app to use the Loader framework, and since the data is all stored in the SQLite database I'm using the commonsware loaderex package and SQLiteCursorLoader rather than a ContentProvider layer. The…
ejoftheweb
  • 301
  • 1
  • 2
  • 10
1
vote
1 answer

ArrayOutOfBounds When using addHeaderView() with EndlessAdapter

I am using EndlessAdapter by Commonsware. When I have a header view added I get my listView, this I get this error and LogCat: 04-22 17:06:15.200: E/AndroidRuntime(6401): FATAL EXCEPTION: main 04-22 17:06:15.200: E/AndroidRuntime(6401):…
1
vote
1 answer

java.lang.IllegalStateException for the cw endless adapter

First of all thanks to CommonsWare for this great component. But I have an issue which has been giving me grief some times. That is --> java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a…
rick
  • 4,665
  • 10
  • 27
  • 44
1
vote
1 answer

Screen Rotation with Android Endless Listview

I'm trying the CommonsWare's android endlist adapter. https://github.com/commonsguy/cwac-endless After loading a couple of pages, i rotated the screen, and the listview loses all the pages except the first one. Doesn't it supposed to retain the…
syloc
  • 4,569
  • 5
  • 34
  • 49
1
vote
1 answer

EndlessAdapter only loads one page

I'm using the absurdly simple EndlessAdapter to load paged data from Facebook. In my project the EndlessAdapter to wrap a custom BaseAdapter. I'm also using a PullToRefreshListView which is from this library. Everything loads fine to start up, I get…
Wenger
  • 989
  • 2
  • 12
  • 35
1
vote
1 answer

CWAC - EndlessAdapter with ArrayAdapter

How's everyone doing, for the past week I have been trying to figure out what exactly it means to wrap my adapter with the endlessadapter without success. I've tried all my limited knowledge allows, so far I'm loosing the battle. I've read a couple…
Nick
  • 59
  • 2
  • 9
1
vote
1 answer

Working with MergeAdapter and BaseAdapter

I already have used MergeAdapter and works really well with ArrayAdapter, but when I used with LazyAdapter extends BaseAdapter, it doesn't show any error on Logcat and the emulator don't show nothing of the LazyAdapter content. Question: So is…
Marckaraujo
  • 7,422
  • 11
  • 59
  • 97
1
vote
2 answers

Wakelock implementation in a service

I have a service that executes in 2 phones. They communicate with each other using sockets and execute some script (which may take 1-2 minutes approx.) and exchange files (using HTTP Post) between them. I want this execution to continue, even when…
user1741274
  • 759
  • 3
  • 13
  • 25
1
vote
1 answer

Android: AlarmManager sometimes doesn't call BroadcastReceiver

In my app, I've got a BroadcastReceiver, which is called by an AlarmManager. That BroadcastReceiver calls CommonsWare's WakefulIntentservice. I tested this on my phone, and it appeared that sometimes, my BroadcastReceiver isn't called at all. I'm…
Xander
  • 5,487
  • 14
  • 49
  • 77
1
vote
1 answer

How can I provide my own layout for commonsware EndlessAdapter

I am working with the awesome endlessAdapter provided here: https://github.com/commonsguy/cwac-endless Everything seems to work fine with the examples and I would like to work with my own layout, so as usual, I override the getview of my…
Waza_Be
  • 39,407
  • 49
  • 186
  • 260
1
vote
1 answer

Retrieving data from commonsware endlessAdapter

Originally, I have my own Adapter extended the BaseAdapter and it works fine. Then, I tried to adopt the commonsware EndlessAdapter by the following code: public class MyEndlessAdapter extends EndlessAdapter { private RotateAnimation rotate =…
crystalWing
  • 69
  • 1
  • 11