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

Android CWAC-Camera rotation issues after upgrading to 0.6.3

I am using the CWAC-Camera library within my Android application. Recently it was upgraded to v0.6.3, but since then I have noticed that rotation of images doesn't seem to work as expected. I am starting a CameraFragment within an Activity that is…
jmc
  • 620
  • 14
  • 24
1
vote
2 answers

Cwac Camera add thumnail image

I want to thumbnail image on camera view with cwac library. cameraFragment.takePicture(); Bitmap bitmap = Utility.decodeSampledBitmapFromPath( cameraFragment.cameraHost.getPhotoPath() …
devcelebi
  • 878
  • 7
  • 11
1
vote
0 answers

Keep currentItem of ViewPager when dataSetChanged()

I'm using android.support.v4.view.ViewPager with cwac-pager to add or remove Fragments dynamically. Also this ViewPager has negative PageMargin and LayoutTransition (for API >= 11) animates for DISAPPEARING, CHANGE_APPEARING, CHANGE_DISAPPEARING. In…
1
vote
3 answers

CWAC Camera - Implementing switch camera button

I'm trying to create a switch camera button with my custom gui. In my CustomCam extends SherlockFragmentActivity I have a method called onSwitch() that gets called from the xml android:onClick="onSwitch" Here is the method: public void…
user2676468
1
vote
1 answer

CWAC Camera - Unsure of using setCameraView()

I'm using CameraDemo-Layout as an example for how to properly put buttons on a screen with the camera fragment. I'm trying to use setCameraView() /** * Use this if you are overriding onCreateView() and are * inflating a layout containing…
user2676468
1
vote
1 answer

cwac-camera showing blurry Image Preview even on Continuous Focus

I am using S3 with my 2.3 Version everything was fine and preview was ok. However after upgrade I am facing a little blurry preview. Even Continuous Focus is not removing this. The FFC is working just fine. Back Camera has this problem Secondly,…
Muhammad Umar
  • 11,391
  • 21
  • 91
  • 193
1
vote
1 answer

Why commonsware uses ActionBarSherlock and not native libs?

I am trying to build an app for Android 4.0 and above using ActionBar. I am disappointed because the code examples related to ActionBar underlies in ActionBarSherlock, and I don't wanna use any external library. Is not there any workaround examples…
Fran
  • 417
  • 2
  • 6
  • 15
1
vote
2 answers

Using context within an intent

I am using the WakefulIntentService 3rd party IntentService implementation. Basically I have a few planned tasks and I can only run them here: protected void doWakefulWork(Intent intent) { System.out.println("This is where I do the work for…
Sarp Kaya
  • 3,686
  • 21
  • 64
  • 103
1
vote
6 answers

Trying to inflate layout in Activity not working

I'm trying to add a custom view that I made to an adapter of mine. I'm trying to do this to add a view to merge adapter by commonsware. https://github.com/commonsguy/cwac-merge This is my code of me trying to inflate the layout: LayoutInflater…
EGHDK
  • 17,818
  • 45
  • 129
  • 204
1
vote
1 answer

CWAC Camera - Video Recording Flash Torch (Android)

I'm using cwac-camera lib for my android camera application. the purpose for this camera is to record video. this video camera has features like a normal video camera like toggling Flash on/off before video recording. but the problem is, I'm having…
1
vote
0 answers

Android commonsware rich text editor

I successfully used rich edit text. I like the effects provided in the rich text editor. In my project i added a bold button to make the text bold. Now i am able to make bold text on selected text. Now i want to make the typing text after…
Sunny
  • 1,066
  • 1
  • 13
  • 32
1
vote
2 answers

cwac-loaderex and Proguard

I'm using @CommonsWare's CWAC-LoaderEx library and its SQLiteCursorLoader in my application. But when I try to use Proguard, I got the following warnings: Warning: com.commonsware.cwac.loaderex.SQLCipherCursorLoader: can't find referenced class…
leocadiotine
  • 3,295
  • 2
  • 22
  • 19
1
vote
1 answer

cwac-camera: SingleShotMode: picture taken not being showed up on S3 and S4

I'm using cwac-camera library to take pictures in my app. I've written my own CameraHost class which overrides useSingleShotMode method so it returns true. public boolean useSingleShotMode() { return true; } It works great on Samgung Galaxy Tab…
gringoh
  • 11
  • 2
1
vote
1 answer

CWAC-Camera Take Photo on touch screen

I've tried implementing an onClickListener on a CameraFragment, however, it never seems to be called. I am probably missing something quite simple. Does anyone have any ideas? public class CWACCameraFragment extends CameraFragment implements…
buckettt
  • 319
  • 2
  • 12
1
vote
3 answers

Force close for Android Custom Camera app

I am developing an android custom camera application without using the intent (to avoid getting android's built in camera features). I have enabled auto focus feature in my app. I am taking the picture on press of a keyVolume Button. And I am using…
sanjana
  • 641
  • 2
  • 15
  • 36