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
0 answers

Add and Remove tabs for ArrayPagerAdapter

I am trying to add and remove tabs the same way the demo does in my code. I have a toggle button that calls arrayAdapter.remove from the remove() method exactly how it is done the demo. When arrayAdapter.remove is called the tab at the requested…
1
vote
1 answer

CWAC camera Images Orientation automatically change after clicking one image

I am using your library which is very helpful to create custom camera but I am facing issue after taking multiple images.I have also checked your demos,in that image orientation is proper after taking pic as you are displaying image in new…
user1414160
1
vote
0 answers

Adding EndlessAdapter implicitly adds READ_PHONE_STATE permission

Using git bisect, I tracked down which commit in my project was causing the READ_PHONE_STATE permission to be implicitly added (ie, the permission is not in my manifest, but appears in the Play Store). In the commit, I extend an adapter with the…
Mike Ortiz
  • 4,031
  • 4
  • 27
  • 54
1
vote
1 answer

Video Previewing in CWAC-CAMERA

In the CWAC-CAMERA DOCUMENT it is written "From a UI standpoint, the CameraFragment solely handles the preview pane.".But for videos i don't see any preview is avalaible after i capture video.Do CWAC-CAMERA library has inbuilt video previewing?Below…
Android Developer
  • 9,157
  • 18
  • 82
  • 139
1
vote
0 answers

ColorMixer Screenshots

Does anyone have screenshots of Commonware's ColorMixer widget? I am specifically considering using the ColorMixerDialog, but want to know how it looks before I go forward with using it over other color pickers.
Tony Wickham
  • 4,706
  • 3
  • 29
  • 35
1
vote
0 answers

cwac RichEditText not working

It appears trivial even on the 'Usage' section here My edit text appears just the same, when i type on it everything appears as usual, when i select text everything is still normal. No "FORMAT" entry on the action mode. What am I doing wrong?? My…
kev
  • 1,148
  • 2
  • 14
  • 29
1
vote
1 answer

Android expected android.support.v4.app.Fragment for CameraFragment subclass

The fragment manager looks like this: FragmentManager fragmentManager = getSupportFragmentManager(); switch (position) { case 0: fragmentManager.beginTransaction() .replace(R.id.container,…
Bryce Langlotz
  • 303
  • 1
  • 4
  • 17
1
vote
0 answers

EditText inside ListView loses focus on keyboard show

EditText inside ListView loses and gains focus 3 or 4 times when keyboard shows up. I have properly configured ListView (beforeDescendants) and Activity (adjustPan). I have over 500 items in ListView so I can't use ScrollView. I've made some…
Lucy Fair
  • 901
  • 7
  • 9
1
vote
0 answers

Camera not working after android 5.0.2 update

I was working on an android app that is using the camera (CWAC) and it worked ok before updating to android 5.0.2, after the update if I take a picture the camera.takePicture is called in CameraView: postDelayed(new Runnable() { …
1
vote
0 answers

How to enable lazy loading of listview items while scrolling up as well as scrolling down the listview in Android?

How to use cwac's endlessadapter library to enable lazy loading of listview items while scrolling up as well as scrolling down the listview in Android? I have previously used the endlessadapter library to enable lazy loading while scrolling down but…
1
vote
0 answers

Add title and subtitle to Chromecast loading screen with cwac-mediarouter?

I am working android chromecast app and since I want to have default actionbar rather than using android support v7 actionbar I used cwac-mediarouter. The problem I'm facing right now is I was unable to add a title and subtitle to the Chromecast…
Chrishan
  • 4,076
  • 7
  • 48
  • 67
1
vote
0 answers

How can i create a portrait video using Android's MediaRecorder

I have an Android application which is able to record and play a videos in portrait mode, those features are working fine on Android phones. The issue comes up because this video is needed to be played also on iOS devices (after being shared…
1
vote
1 answer

Footer on MergeAdapter by CommonsWare

I'm using MergeAdapter by CommonsWare to merge two ListViews. How can i add a fixed footer to this list? I'm doing this way: MergeAdapter adapter = new MergeAdapter();; View…
Lucas
  • 11
  • 1
1
vote
2 answers

Android repeating alarm calls service but eventually gets "process is bad" error

My main activity uses the handy WakefulIntentService by CommonsWare to schedule an alarm that polls my server for changes in data. When the alarm fires, I call a service: Intent backgroundIntent = new Intent(context,…
1
vote
0 answers

android commonsware endless adapter fetch content before list reaches the end

I am using the endless adapter from https://github.com/commonsguy/cwac-endless This works great for me, but I am looking to fetch rows not when the users reach the end, but rather before. In other words, I prefer that the user will not see the…
Oved Yavine
  • 442
  • 6
  • 12