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

gradle android commonsware not found maven

App build is failing with the below error message com.intellij.openapi.externalSystem.model.ExternalSystemException: Could not find any version that matches com.commonsware.cwac:colormixer:0.6.+. repositories { maven { url…
nAkhmedov
  • 3,522
  • 4
  • 37
  • 72
1
vote
1 answer

Cannot make a fullscreen Android Presentation on the second screen

My question is about the Android facility for utilizing the secondary screen of device, i.e. android.app.Presentation I'm using this wrapper: https://github.com/commonsguy/cwac-presentation Unfortunately I cannot force the second screen layout to be…
mangusta
  • 3,470
  • 5
  • 24
  • 47
1
vote
2 answers

Commonsware CWAC switching fragment

I am trying to implement the Commonsware CWAC-Camera and I am running into an issue incorporating it into an existing fragment. I am getting an issue where I cannot use .add or .replace and it wants me to change CameraFragment to…
Coova
  • 1,818
  • 5
  • 36
  • 63
1
vote
1 answer

Having trouble getting MediaRouteActionProvider button to show up

I'm working on an android app that isn't using an AppCompat based theme, and I'm trying to add chromecast integration using cwac-mediarouter library but I can't seem to get the action provider button to show up. Relevant code bits:…
Keirathi
  • 397
  • 1
  • 5
  • 18
1
vote
2 answers

Using Endless Adapter for listview in android

What i am trying to do:: I am trying to use Commonsware endless Adapter functionality What i have done:: I followed all the documentation in here and came up with my program What is happening:: I am getting log errors as…
Devrath
  • 42,072
  • 54
  • 195
  • 297
1
vote
1 answer

StreamProvider - getExternalFilesDir - is there a syntax for multiple externals? MicroSD card on Android 4.4

I have a modern Android 4.4 device - LG L34C that comes with KitKat 4.4 Relative to the https://github.com/commonsguy/cwac-provider library - I see that there is mention of getExternalFilesDir - but not the plural version. My testing of…
1
vote
1 answer

Multiple Tables in Cursor Adapter (or MergeAdapter

I am building a workout tracker that utilizes two tables. One is the Workout_Container , that can have multiple movements. The next is the Movements table, which contains the actual movement (name, weight, percentage, etc.). Each table as a unique…
1
vote
1 answer

Adding Custom Controls to Commonsware RichEditText in android

Create an activity which comprises of 1) an edittext (Commonsware RichEditText) 2) a toolbar with the following buttons Bold, Italic, underline, strikethrough, font, Center Align, Left Align, Right Align, Justified,...etc 4) A Save…
1
vote
1 answer

ArrayAdapter with Filter crashes

I have my own ArrayAdapter and inside of this adapter class I have a Filter. In this filter I am overriding the publishResults(CharSequence constraint, FilterResults result) method. @Override protected void publishResults(CharSequence…
1
vote
1 answer

How to set cwac-camera preview to use scaleType centerCrop?

Currently cwac-camera (https://github.com/commonsguy/cwac-camera) zooms in on the preview of a picture, then when the picture is taken it is a different size. What I'd prefer is for it to work like Snapchat, the image is cropped until it fills the…
1
vote
1 answer

Boot Receiver having multiple task working strangely

My app needs to do some background task after boot completed and also in sleep mode. So I'm using WakefulIntentService to avoid flow problem in sleep mode and it works well. But when I'm trying to use the boot receiver for continuing data flow after…
1
vote
1 answer

Find Listview clicked section adapter in mergeadapter?

I am using merge adapter to merge two custom cursor adapters in android.I could not find clicked section to get data from my custom cursor adapter.How can I get adapter object when listview clicked?. I tried following way in my onitemclick of…
BABU K
  • 917
  • 13
  • 35
1
vote
0 answers

Access values of SQLite loader in thread

I'm using SQLIte loader (cwac-loaderex). i'm performing set of operation in a background thread. the operation includes inserting new record, updating the existing one as well as deleting the record. These operations i'm performing on cursor object…
Naruto
  • 9,476
  • 37
  • 118
  • 201
1
vote
1 answer

CWAC updater issue with notification

I'm using this library https://github.com/commonsguy/cwac-updater to provide feature of auto update for an app. I read the demoUpdater it uses a deprecated API for Notification, so I used the following code: ConfirmationStrategy…
Nitin Misra
  • 4,472
  • 3
  • 34
  • 52
1
vote
1 answer

Make LinearLayout with TextView and ExpendableListView scrollable using CWAC-Merge

My problem is, that I have an activity with one big TextView and one ExpandableListView underneath the TextView. Unfortunately the text of the TextView is too long, so I can't see the details when I expand the ExpandableListView. So my question is,…