[android-developers] Re: Cancel In App Purchase (V3)

2016-10-27 Thread trans
On Thursday, October 27, 2016 at 4:58:22 PM UTC-4, Colin Gordon wrote: > > How do I go about cancelling a purchase on a beta build of my app? I can > clear the local cache, but that will update with the Google Play Billing > server and my purchase will be 'restored' to the device. I want to

[android-developers] Re: Beta tester reports "Not Compatible", but I can't find a reason

2016-10-27 Thread trans
And I can't spell "Compatible" either. LOL. -- You received 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. To post to

[android-developers] Beta tester reports "Not Compatiable", but I can't find a reason

2016-10-27 Thread trans
Sorry, title should say "reports" not "reposts". -- You received 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. To post

[android-developers] Beta tester reposts "Not Compatiable", but I can't find a reason

2016-10-27 Thread trans
I have followed all the instructions I can find and did what seems like the right thing, setting compileSdkVersion 25, targetSdkVersion 25 and minSdkVersion 16 to support older versions of Android. But a beta tester reports that he could not install my app on his phone because it said his

Re: [android-developers] Re: AsyncTask reuse

2015-08-31 Thread trans
On Monday, August 10, 2009 at 2:12:10 PM UTC-4, Jason Proctor wrote: > > i'm not so much talking about AsyncTask specifically (indeed i had a > great day when i discovered this class), more as an example of > one-use objects, which always seemed like kinda bad form to me. does > it not seem

[android-developers] Restart InputMethodService

2015-03-19 Thread trans
I have a InputMethodService subclass, and I have implemented custom themes for it, calling `setTheme()` before `super.onCreate()` in the `onCreate()` method (as instructed). But when the user selects a new theme via a PreferenceActivity, I can't just call `setTheme()` again because I get an

[android-developers] InputConnection getSelectedText API 7 alternative?

2013-09-24 Thread trans
Since InputConnection.getSelectedText method is support only on API 9+, what do I do if I want to support API 7? Is there another way to get the selected text? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Add a new resource and an old resource is no longer found

2011-04-02 Thread trans
Hi-- I had a res/values directory like so: colors.xml dimens.xml strings.xml Everything worked fine. Then I added a new file, `dictionary.xml`. Now when I run my app I get a Resources$NotFoundException for a resource that is in the dimens.xml file. I don't see any reason for it. Any one

[android-developers] Re: Add a new resource and an old resource is no longer found

2011-04-02 Thread trans
On Apr 2, 4:25 pm, TreKing treking...@gmail.com wrote: On Sat, Apr 2, 2011 at 2:55 PM, trans transf...@gmail.com wrote: Then I added a new file, `dictionary.xml`. Where did you add that xml file? To `res/values` with the rest of them. -- You received this message because you

[android-developers] Re: Add a new resource and an old resource is no longer found

2011-04-02 Thread trans
On Apr 2, 5:42 pm, TreKing treking...@gmail.com wrote: On Sat, Apr 2, 2011 at 4:09 PM, trans transf...@gmail.com wrote: Then I added a new file, `dictionary.xml`. Where did you add that xml file? To `res/values` with the rest of them. Yeah, no. You own xml files go in the rex/xml

[android-developers] Java newb question about a public array class member

2011-04-01 Thread trans
I don't really get Java. I'm trying to define a public array member, like so: public class MyClass { // alphabetical list of words private String[] wordList; // constructor public MyClass() { String[] wordList = {

[android-developers] Re: Java newb question about a public array class member

2011-04-01 Thread trans
On Apr 1, 3:35 pm, Michael michaeldh...@gmail.com wrote: Replace: String[] wordList = { American,American,Brown,Christian,Congress,Doctor,England,En glish        }; with: this.wordList = new String[]{ American,American,Brown,Christian,Congress,Doctor,England,En glish        };

Re: [android-developers] Re: Confused by @Override

2011-03-22 Thread trans
My app is based on the SoftKeyboard example. Problem is the way the KeyboardView class is designed in the Android API, as far as I can see it only allows for one key background for all keys. As of yet the only way around it I can see is to create a IME from the ground up and dump the Keyboard

Re: [android-developers] Re: android.R.styleable can't be resolved?

2011-03-22 Thread trans
Why is this stuff documented as part of the SDK if it's not there? http://developer.android.com/reference/android/R.styleable.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: android.R.styleable can't be resolved?

2011-03-22 Thread trans
=keyWidth format=dimension|fraction / attr name=keyHeight format=dimension|fraction / attr name=horizontalGap format=dimension|fraction / attr name=verticalGap format=dimension|fraction / /declare-styleable But I still get an error: [javac] Compiling 4 source files to /home/trans/workspace

Re: [android-developers] Re: android.R.styleable can't be resolved?

2011-03-22 Thread trans
My own R class? What class is that? -- 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] Re: android.R.styleable can't be resolved?

2011-03-22 Thread trans
= getResources().getDrawable(R.drawable.key_space); super(keyIndex); } But I get: [javac] Compiling 2 source files to /home/trans/workspace/microboard/bin/classes [javac] /home/trans/workspace/microboard/src/com/tabcomputing/android/microboard/PhoneticKeyboardView.java:45

Re: [android-developers] Re: android.R.styleable can't be resolved?

2011-03-22 Thread trans
My bad. mKeyBackground is private. So I don't see how that can work either. Back to re-implementing. -- 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

[android-developers] Bounty for a SoftKeyboard Example

2011-03-22 Thread trans
Well, my attempt at creating a Keyboard app has come to a disappointing end. After three weeks utilizing the SoftKeyboard example code as a template to create my own keyboard, I have now come to a hard wall with no reasonable notion for overcoming it. I simply can not find a way to the

[android-developers] Confused by @Override

2011-03-21 Thread trans
Hi-- I am not very experienced with Java, and I am confused about overriding a method. I am trying to override the OnBufferDraw() method by extending KeyboardView, like this: public class PhoneticKeyboardView extends KeyboardView { @Override private void onBufferDraw() {

Re: [android-developers] Confused by @Override

2011-03-21 Thread trans
Ah, I see. I'm used to Ruby and it doesn't have this kind of restriction. So I do have to redefine all this stuff. Gets to the point that I think I might as well just copy the whole class instead of extending it. Ugh. Thanks. -- You received this message because you are subscribed to the

Re: [android-developers] Confused by @Override

2011-03-21 Thread trans
non-sense? I need to change it's behavior. How else am I going to do it? -- 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] Re: Confused by @Override

2011-03-21 Thread trans
The alternative would be to copy the code from that class and create your own, making those fields protected or providing methods to mutate them. That's what I've started to conclude myself and attempted to do so, but ran into the problem of accessing `com.android.internal.R`. Which means that

[android-developers] Re: cropping and changing images on a soft keyboard

2011-03-06 Thread trans
Tried this and it does not seem to work for me :-( In my code image[i] holds the resource reference: Log.v(debug, res: + image[i]); Bitmap bmp = BitmapFactory.decodeResource(res, image[i]); BitmapDrawable bmpDraw = new BitmapDrawable(bmp); k.icon =

[android-developers] Change the Icon on a Keyboard key.

2011-03-06 Thread trans
Well, I've looked for an answer for over an hour, but I can't figure out how to change the icon image of a keyboard key. Here is the particular field involved: http://developer.android.com/reference/android/inputmethodservice/Keyboard.Key.html#icon My current attempt is this (where image[i]

Re: [android-developers] Re: Change Keyboard Key label at runtime

2011-03-06 Thread trans
Ok. I am sorry if I upset you. I felt a little bruised myself. -- 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] Re: Change Keyboard Key label at runtime

2011-02-26 Thread trans
That's exactly what I did (though it took me considerably longer as I am very new to Java and Android). I only asked the question b/c that's where I was at in the process when I followed up to my original question. And I hadn't had a whole lot of immediate success in finding answers up until

[android-developers] Change Keyboard Key label at runtime

2011-02-24 Thread trans
I am writing a Keyboard app. I want to change the label on a key at runtime, but can't seem to do it. This is what I have tried: Keyboard currentKeyboard = mInputView.getKeyboard(); ListKeyboard.Key keys = currentKeyboard.getKeys(); keys.get(1).label = TEST; But no effect.

[android-developers] Re: Change Keyboard Key label at runtime

2011-02-24 Thread trans
I figured out that it is actually changing the label, but it's not redrawing the key to show it. So how to tell it to redraw? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to