Re: [android-developers] App to read a scanned booklet document

2014-06-18 Thread Cliff Davies
...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. Best regards, Cliff Davies -- Sent from my Android device -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Problem signing up for Google Play for Education

2013-11-26 Thread Cliff Davies
these problems? - Cliff Davies -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

Re: [android-developers] How to load a Test APK into Galaxy-S4 and Nexus 7

2013-11-19 Thread Cliff Davies
this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Cliff

Re: [android-developers] imageButton as global variable not working... why??

2011-06-04 Thread Cliff Davies
If you mean that you're putting the line ImageButton imgBtn=(ImageButton) findViewById(R.id.imgBtn); with your declarations for silent and ringer then you're initialising the variable before the view has been created On Fri, Jun 3, 2011 at 9:24 PM, TreKing treking...@gmail.com wrote: On

Re: [android-developers] Installation Error

2011-04-07 Thread Cliff Davies
The first, most important step, would be to try repeatedly bumping your post. If that fails you could take the second, slightly more extreme, step which would be to post the question again under a different heading. If at this point you're still having no luck (and you should only try this as a

Re: [android-developers] How to Position a android button properly?

2011-04-05 Thread Cliff Davies
You can do this by setting the margins appropriately On Tue, Apr 5, 2011 at 6:16 PM, TreKing treking...@gmail.com wrote: On Sun, Apr 3, 2011 at 2:18 PM, Ibrahim Khan phirebur...@gmail.comwrote: Does anyone know how to position a android button exactly where you want it? Yes.

Re: [android-developers] How to Position a android button properly?

2011-04-05 Thread Cliff Davies
* It would probably be better to do this using layouts appropriately. But I like TreKing's answer... It answers the OP's question quite nicely. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 5, 2011 at 11:47 AM, Cliff Davies cliff.dav

Re: [android-developers] Small Size Activity Layout as compare to Original Device size

2011-03-25 Thread Cliff Davies
windowBackground to transparent stops the white border from being displayed around the dialog. Transparent is set in my colours.xml file as - color name=transparent#/color Then in your manifest file set the theme for your activity to @style/ModifiedDialog Regards, Cliff Davies On Fri, Mar

Re: [android-developers] Small Size Activity Layout as compare to Original Device size

2011-03-25 Thread Cliff Davies
of login button it will launch *login screen* something like alert at the center of the screen. * *So, actually how to do this? On Fri, Mar 25, 2011 at 12:44 AM, Cliff Davies cliff.dav...@gmail.comwrote: The way I go about this is to use a theme such as - style name=ModifiedDialog

[android-developers] Re: Problem positioning scaled images

2011-03-18 Thread Cliff Davies
I'm quite bamboozled by this. I would have thought that the width and height of an ImageView would have scaled with the image that's being scaled. Just giving a final quick shout to see if anyone knows if I'm overlooking something? On Thu, Mar 17, 2011 at 8:35 PM, Cliff Davies cliff.dav

[android-developers] Re: Problem positioning scaled images

2011-03-18 Thread Cliff Davies
Sorted (thanks to stackoverflow.com) - how I never noticed the adjustViewBounds parameter is beyond me... On Fri, Mar 18, 2011 at 8:22 AM, Cliff Davies cliff.dav...@gmail.comwrote: I'm quite bamboozled by this. I would have thought that the width and height of an ImageView would have scaled

Re: [android-developers] Disable Button after click

2011-03-11 Thread Cliff Davies
Set a boolean variable when the button has been pressed and check the boolean is false in the on click listener so that you don't process it once it's already been clicked On Fri, Mar 11, 2011 at 6:54 PM, pabbot pabloabads...@gmail.com wrote: Hi all, In my application, when I click on a

Re: [android-developers] Error

2011-03-02 Thread Cliff Davies
That just happened to me. Cleaning the project made no difference yet, weirdly, closing all my source code windows and then cleaning the project seemed to fix it. On Tue, Mar 1, 2011 at 2:59 PM, SuperCop saketsrivasta...@gmail.com wrote: Conversion to Dalvik format failed: Unable to execute

Re: [android-developers]

2011-02-23 Thread Cliff Davies
You shall be missed. Android's loss is J2ME's gain On Wed, Feb 23, 2011 at 6:10 PM, saurabh sinha saurs...@gmail.com wrote: I had much sturggled in android finally decided to leaving android I love to enjoy life except struggling in android android has no end it like sea better before too

Re: [android-developers] AlphaAnimation

2011-02-21 Thread Cliff Davies
Using xml script fillAfter or Animation.SetFillAfter() should achieve this for you On 21 Feb 2011 12:35, dashman erjdri...@gmail.com wrote: I'm doing an AlphaAnimation from 0 to 0.5 the problem is that at the end of the animation it resets to opaque (1.0). any way to just go from 0 to 0.5

Re: [android-developers] Re: How to get the best double buffering?

2011-02-19 Thread Cliff Davies
Painting to a bitmap and copying to the canvas works fine and is ideal for what you're doing. No need to clear your bitmap between frames. On 19 Feb 2011 14:59, MobileVisuals eyv...@astralvisuals.com wrote: I can't paint the whole screen for every frame, since the animation is based on new

Re: [android-developers] sqlite databases path

2011-02-18 Thread Cliff Davies
It should be stored in data/data/package/databases/ If you have a database already prepared that you want to use, you can store it in the assets folder of your project and copy it across to the necessary folder at run time (assuming you want read/write access to it) On Thu, Feb 17, 2011 at 4:52

Re: [android-developers] eclipse logging not working

2011-02-18 Thread Cliff Davies
When this has happened to me it's usually fixed by either clearing the log window or ensuring the correct device is selected in the DDMS perspective On Fri, Feb 18, 2011 at 8:59 PM, dashman erjdri...@gmail.com wrote: my app no longer displays Log.i() printout to the Log tab - all blank. It

Re: [android-developers] Re: Sliding Drawer question

2011-02-12 Thread Cliff Davies
Out of interest, what are the other reasons? I find the visual editor doesn't give an exact idea of the final layout (doesn't auto-scale properly, show custom views sometimes or show sliding drawers at all) but it helps get the basic framework up and running quickly On 12 Feb 2011 10:46, Indicator

Re: [android-developers] SlidingDrawer to go full screen

2011-02-10 Thread Cliff Davies
Can you elaborate on your problem? The nature of a sliding drawer is to go over the existing layout. Are you having trouble getting the drawer to work at all, or having trouble getting it to display as you want it to? On Thu, Feb 10, 2011 at 7:48 PM, Salsero69 vaillancourt@gmail.comwrote:

[android-developers] Opening SlidingDrawer completely

2011-01-31 Thread Cliff Davies
I'd like to use a regular SlidingDrawer but with one exception - when it's open I'd like it to completely fill the screen (so that even the handle slides from the screen). I can do this by setting a negative topOffset in the XML but need to know the size of the drawer's handle before I can know

[android-developers] Re: Opening SlidingDrawer completely

2011-01-31 Thread Cliff Davies
screen. On Mon, Jan 31, 2011 at 2:31 PM, Cliff Davies cliff.dav...@gmail.comwrote: I'd like to use a regular SlidingDrawer but with one exception - when it's open I'd like it to completely fill the screen (so that even the handle slides from the screen). I can do this by setting a negative

Re: [android-developers] Code please : Youtube video player API for my Android

2011-01-21 Thread Cliff Davies
You could try asking in a bigger font On Fri, Jan 21, 2011 at 10:32 AM, Pradeep M pradeepmad...@gmail.com wrote: *How can I configure Youtube video player API for my Android application to play Youtube video* -- ** ** * * -- You received this message because you are subscribed to

Re: [android-developers] Problem with using back button when on home activity

2011-01-20 Thread Cliff Davies
Do something along these lines - Intent i = new Intent(mContext, HomeActivity.class); i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); mContext.startActivity(i); That will clear the stack back to, and including, the previous instance of HomeActivity and then create a new HomeActivity. If you want to

Re: [android-developers] Problem with using back button when on home activity

2011-01-20 Thread Cliff Davies
(Note that using the FLAG_ACTIVITY_CLEAR_TOP and singleTop combination will mean that your home activity's onNewIntent function will be called as opposed to the onCreate) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How can I freeze top row of TableLayout when scrolling?

2011-01-20 Thread Cliff Davies
I'm creating a table layout at run time which is contained in a scroll view, and am looking for a method of freezing the top row so that it remains locked at the top of the screen while the rest of the table is able to scroll up/down. The only way that comes to mind is to - Create a table1

[android-developers] Re: How can I freeze top row of TableLayout when scrolling?

2011-01-20 Thread Cliff Davies
Hmmm is copying column widths even possible? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] ImageView frame-by-frame animations scaling at bounds of RelativeLayout

2011-01-18 Thread Cliff Davies
I've done further tests on this and the description of the problem wasn't entirely accurate. If I set up a RelativeLayout and put a ViewImage (with the image on the background - not the src) so that it's partly inside and partly outside the screen bounds, the image will scale rather than clip. I