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

2014-06-18 Thread Cliff Davies
stop receiving emails from it, send >an email to android-developers+unsubscr...@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 Goo

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

2013-11-26 Thread Cliff Davies
Has anyone else had 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 a

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

2013-11-19 Thread Cliff Davies
ived 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

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 wrote: > On Wed, Jun 1, 2011 at 1

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 v

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

2011-04-05 Thread Cliff Davies
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, 2

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 wrote: > On Sun, Apr 3, 2011 at 2:18 PM, Ibrahim Khan wrote: > >> Does anyone know how to position a android button exactly where you want >> it? >> > > Yes. > > > ---

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

2011-03-25 Thread Cliff Davies
s present and on press 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 wrote: > >> The way I go about this is to use

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

2011-03-25 Thread Cliff Davies
dowBackground to transparent stops the white border from being displayed around the dialog. Transparent is set in my colours.xml file as - # Then in your manifest file set the theme for your activity to @style/ModifiedDialog Regards, Cliff Davies On Fri, Mar 25, 2011 at 8:28 AM, Deepak Kum

[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 wrote: > I'm quite bamboozled by this. I would have thought that the width and > height of an ImageView would have scaled with the i

[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 Davie

[android-developers] Problem positioning scaled images

2011-03-17 Thread Cliff Davies
I'm trying to create a 2 x 3 set of ImageViews which use scaled down images. The three rows are spaced equally to fit inside a LinearLayout (by using three equally weighted linear layouts). If I put two images in each row and use centerInside, fitStart or any other scale type that maintains the a

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 wrote: > Hi all, > > In my application, when I click on a button that inserts a reco

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 wrote: > Conversion to Dalvik format failed: Unable to execute dex: wrapper was not > prope

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 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 late I will en

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" 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 and stop. > >

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" wrote: > I can't paint the whole screen for every frame, since the animation is > based on new polygons painting over the

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 wrote: > my app no longer displays Log.i() printout to the Log tab - all blank. > > It used to work... > >

Re: [android-developers] sqlite databases path

2011-02-18 Thread Cliff Davies
It should be stored in data/data//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 AM, smr

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 wrote: > How do I get the sliding d

[android-developers] Re: Opening SlidingDrawer completely

2011-01-31 Thread Cliff Davies
r the full screen. On Mon, Jan 31, 2011 at 2:31 PM, Cliff Davies wrote: > 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 n

[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 th

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 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 the Google

[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 android-developers+unsub

[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 co

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

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] 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