I've been pushing new versions to Beta, but the IAP is still active. Now,
I'm just changing the version code and not the version name... I'll try
changing the name.
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from thi
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 be able
to test the purchase code more than once, and would rather not modify the
Someone?
On Thursday, July 28, 2016 at 9:59:10 AM UTC+3, Martin Gordon wrote:
>
> Hi guys,
>
> I started working on an existing app that has been developed based on
> BaseActivity.
> Because i wanted to use the action bar and the toolbar, i created an
> AppCompatDelegate.
Hi guys,
I started working on an existing app that has been developed based on
BaseActivity.
Because i wanted to use the action bar and the toolbar, i created an
AppCompatDelegate.
Everything works great, except the items are always hided (even if i marked
the item as "showAsAction=always".
I
I am trying to get the Bluetooth advertisement example to work. It never
sees my devices, but BLE scanner app works fine.
Any suggestions,
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving
g the uppercase equivalent, e.g. É.
My understanding is that Android SQLite does not support this
automatically as it does for ASCII characters, but is there a solution
within Android? I have no control over what is in the database (it comes
from an outside source) or what the user inputs.
Doug G
I've seen this happen in a number of places when uploading images. The
basic issue is that there are two ways to save a "rotated" image: save the
raster data in the correct orientation and without metadata, or save the
raster data in its "native" orientation and set the metadata value to
indica
ling
> - Scroll positions
>
> Or I would try to debug into the view pager's onMeasure / onLayout /
> populate + scrollToItem
>
> For this second part, I would perhaps add a button in the layout that
> calls requestLayout or setCurrentItem on the pager, to trig
t?
>
> Another thing I often use in cases like this -- is to set the background
> color of various views to distinct noticeable colors, like pink, cyan, etc.
> In this case, I'd try the view pager itself, its parent view, and your
> fragments' views.
>
> -- K
>
&
hat also uses a ViewPager with fragments, and it continues to work with
either the native or support library classes. (I'm about to throw in the
towel and just forget this whole update.))
Doug Gordon
--
You received this message because you are subscribed to the Google
Groups "Android
this a Lollipop bug?
Doug Gordon
GHCS
--
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+unsubsc
Yes, and that's what's so frustrating, Kastya. The breakpoints appear to
indicate that everything is working, as does the fact that it responds to a
swipe. For example, if I start it off by calling ViewPager with
setCurrentItem(3), my instantiateItem is called with position=3, followed
by posit
of child views.
Any clues on where to look? I've implemented a FragmentPagerAdapter
elsewhere with no issues, but this does seem like it would be easier,
especially since these views have no controls on them (just data).
Doug Gordon
GHCS Software
--
You received this message because yo
I don't believe that would (or could) be possible. After all, the Android
o/s doesn't "understand" the content of your background image. Those
rounded corners just exist as pixels in an image and are not defined
mathematically in any way so that the drawing software could clip to them.
All that
alled? Can I switch it on
and off (once I had collapsed the string to the constant, I could
not get it to revert until I opened the file again)?
--
Doug Gordon
GHCS Software
http://www.ghcssoftware.com
g...@ghcssoftware.com
--
You received this message because
This may not be related to your problem, but I believe that there are
basically two ways that the orientation of a JPEG photo is determined. One
is simply by the way the actual data in the file is laid out; for example,
whether it is stored as 1024x768 or 768x1024. The other determinate is an
(
1) It seems like you could figure this out just by setting a few
breakpoints and following what happens when the long-press menu is
activated.
2) Do you really have a separate copy of code for each fragment that differ
only by the FRAGMENT_DAY_NAME constant? This is bad practice for a number
o
My app seems to have passed the tests once I added some 7-inch tablet
screen shots. I do have some resources in folders with the *-xlarge*attribute,
so maybe that's a clue to what they're looking for.
On Friday, November 22, 2013 4:20:28 PM UTC-5, b0b wrote:
>
>
> I have an app that I think is t
supposed to
now be providing graphic resources in a "drawable-xxhdpi" resource
subfolder?
That's about all I need is yet another set of graphics to resize and
tweak endlessly! :-(
Doug Gordon
GHCS Software
--
You received this message because you are subscribed to the Google
Gr
According to Bank of America's site, all three payouts did go into my
account. I guess the simplest thing would be to just consider it an
"advance" for the next couple of months. At least it wasn't like the guy
whose Paypal account got an erroneous balance of 94 quadrillion dollars the
other da
Excuse me for a minor rant, but is anyone else bothered by what I call
the "overloading" of the Android Back key? What I mean by this is that
pressing it can have two vastly different results: it can return you to
an earlier "view" in the app you are using, or it can effectively exit
the app an
If you hide the app title and icon and use the splitActionBar option, you
can get up to 4 tabs on the top row on a smartphone-size screen. I think
that 4 is about the limit, but if there is not enough room for all the tabs
in the top row, Android converts the tabs to a spinner (dropdown) selecto
n
items on the right. In this case, the tab highlight correctly follows
when swiping.)
Doug Gordon
GHCS Software
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-devel
. Animator anim = AnimatorInflater.*loadAnimator*(
>mActivity, fragment.mNextAnim);
>
>
> -- K
>
> On Monday, January 28, 2013 4:14:36 AM UTC+4, Doug Gordon wrote:
>>
>> The following code used to work fine in a previous iteration of my app
>> that was
The following code used to work fine in a previous iteration of my app
that was targeted to V11 but used the support library to support
fragments, etc., from the minimum V7 and up:
Fragment frag = ShowExhibit.ShowExhibitFrag.newInstance(args);
FragmentTransaction ft =
m
kaged into a single download that almost instantly gets me back to
being productive. I think the only thing I needed to do was to tell it
where the SDK was and download some earlier platforms.
So thanks to whoever it was that did this work -- greatly appreciated!
Doug Gordon
GHCS Software
-
My development PC just took a dive, and most of the decent PCs that I can
find locally are now coming with Windows 8. I really don't want to go that
route, but if I do, will the Android development environment, i.e., Eclipse
and the various SDK tools, run OK on Windows 8? And how about drivers f
Hi Android Developers,
Looks there is no source code for AMR-WB encode.
Can you tell if andriod has AMR-WB encode function, if yes, where the
source code could be found? Great thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
Good info. This actually explains some of the "buggy" behavior I've seen,
not on my own apps, but on various others on my own devices. Especially
when I apply an update and then the screen widget stops working with an
"App not installed" error popping up.
On Sunday, June 3, 2012 10:57:37 PM UTC
d to remove the existing instances and add back the
updated widget?
Doug Gordon
GHCS Software
--
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 fr
I'm suddenly unable to run my app due to this error, where the
ClassNotFound refers to my main activity class. It happens on my phone
as well as in the emulators in various versions. This is an existing
stable app that's been around for quite a while, and I haven't made any
code changes since t
the Market description?
Doug Gordon
GHCS Software
--
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
Are you saying that the "X" gets scaled up to the full size of the
ImageView as though the transparent "border" were not there? I have an
ImageView that displays photos in their "native" pixel dimensions up
to a max size by doing this:
This does *not* scale up images that are less th
I believe that there is a maximum file size limit of 2Gb, but this has
more to do with Android in general than specifically with SQLite.
Performance has more to do with your database schema than with the
size of the file, but Android was not designed as a "database engine"
and I had to resort to so
This is why I sometimes envy developers who write for iOS -- they have
only a few well-defined form factors to consider and don't have new
"surprises" coming out every few weeks! :-)
Doug Gordon
GHCS Software
On Jan 20, 9:09 pm, jtoolsdev wrote:
> I have a similar prob
e
container".
In general, the Android documentation is good, but sometimes
inconsistent in terminology when read closely.
On Jan 9, 11:38 am, TreKing wrote:
> On Mon, Jan 9, 2012 at 9:27 AM, Doug Gordon wrote:
> > So what is the difference behind the scenes between these two method
Doug Gordon
GHCS Software
--
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...@googlegrou
How do I get paid technical support from Google for Android
development? Someone asked this question two years ago and did not
get an answer. There must be some way of getting direct support from
Google for Android development for a fee.
--
You received this message because you are subscribed t
Are you sure you're using the correct symbol, i.e.
Configuration.SCREENLAYOUT_SIZE_XLARGE?
Doug Gordon
GHCS Software
On Dec 12, 7:39 pm, martypantsROK wrote:
> seems to be an Eclipse problem. Build target is set to 11 but it
> doesn't recognize it.
> Got all the latest
Please post any more information you find out about this its a great
post anda very interesting topic
People must be using junit for android somewhere
tiz?4, 6:11 pm, Doug wrote:
> > I think this goes some way to explaining why there are many bad
> > practices in the Android examples and the API
You are not very specific about what you are doing, but in general the
"container" section of your layout -- the RelativeLayout part -- would
be set to "match_parent", but a typical widget such as a Button would
be set to "wrap_content" because you don't want it to be any larger
than it has to be.
To wrap this up, I've found that the arguments "sent" to the fragment
with setArguments are preserved when the fragment is reinstantiated by
the framework. So what I'm now doing is only creating a new fragment
if there is no previous one after a config-change restart. For
example:
mTabBar = (
Rony, you are correct, but of course if (savedInstanceState != null)
then I'd need to use the manager findFragmentByTag call to find these
recreated fragments since I need to be able to add them to their
container view and also to be able to call custom methods that update
the displayed data, etc.
My app is built with V4 of the Compatibility Library (in case that makes
a difference) and all of my fragments are "dynamic". That is, I
explicitly create the fragment objects and put them in a view with an
"add" or similar transaction, etc.
What I have discovered is that, when my activity is
Thanks for the confirmation; I sort of expected that. After browsing
StackOverflow, one of the posts gave me an idea for an alternative
design that will actually make everything much simpler and more
elegant than what I was thinking of doing. So it worked out for the
better. :-)
Doug Gordon
On
t have a really good
grasp on how fragments are implemented and managed. Thanks.
Doug Gordon
GHCS Software
--
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
Hi,
When I trigger search interface in my app calling
"onSearchRequested()" the search panel appear but I can't show option
panel. "onOptionsItemSelected()" is not called and no option menu is
shown. When I'm not in search mode, the menu appear without any
problems.
Surprisingly, on the default s
This is a shameless plug. I need help developing an android based
point of sale similar to POS Lavu. Anyone help me?
Looking to utilize it for my own business and bundle it for resale.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To po
On 11/1/2011 3:45 PM, Marc Petit-Huguenin wrote:
The method String.isEmpty() exists only since Java 1.6/Android API 9.
Thanks. That explains a lot. This was a recent change. I thought surely
I'd used that method before, but when I searched my entire project,
"isEmpty" was nowhere to be found!
m not pointing to a valid String
object or anything.
Interestingly, this only appears to happen when running it on my actual
Android 2.2 phone. It works OK on a V2.3.3 emulator. It is built with
the V2.3.3 SDK. What gives?
Doug Gordon
GHCS Software
--
You received this message because you a
,
so why these dimensions?
Same thing with the fragment ID; is this the ID of the view created by
the fragment, or of its container, or something else?
I must be missing a concept here, but maybe I just have to start working
on my own code conversion to fragments and see what happens...
It seems to be fixed by removing the @Override that precedes the method
in the code. Anyone else had this issue? Are these methods indeed not
overrides?
Doug Gordon
GHCS Software
--
You received this message because you are subscribed to the Google
Groups "Android Developers" gro
't see any way to
change that value. Am I missing something?
Doug Gordon
GHCS Software
--
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 unsub
r this, but I'm wondering if it
would be OK to call layout() on my child views from within onDraw
instead of within onLayout. The parent view does get drawn first, so I
would guess that this wouldn't hurt anything.
Doug Gordon
GHCS Software
--
You received this message because you are
using fragments on 3.x without having to start with too much of a clean
sheet? I could see some real ugly code and kludges creeping in if I try
to force fragments into what I currently have.
Doug Gordon
--
You received this message because you are subscribed to the Google
Groups "An
I'm more concerned there will be a _maximum_ age and I'll have to drop
out of the community. :-)
On Jun 19, 3:07 pm, Mehwar Raza wrote:
> Is there a minimum age requirement to become an android developer? I
> have been trying to hunt down the answer to no avail.
--
You received this message bec
The databases are user-generated, so I need a "public" solution. I
can't use my web server to store megabytes of data for thousands of
users, manage usernames and passwords, etc.
On May 18, 9:41 pm, Nikolay Elenkov wrote:
> On Thu, May 19, 2011 at 4:31 AM, Doug Gordon wr
s: 20
pages of confusing text, and then you see a sample implementation and
it's just a couple dozen lines of code!
Any help getting me started on this would be appreciated!
Doug Gordon
GHCS Software
--
You received this message because you are subscribed to the Google
Groups "Andr
that the Xoom
*only* supports MTP, etc.
So how can MTP be used to transfer files to the device that don't really
fit into the "Media files" category, and how do I locate the directory
from my app? What do getExternalStorageDirectory and getExternalFilesDir
return for a device like th
it all out. I would also hope that you'll be updating
some of your publications accordingly; they were a big help when I was
just starting out with this project.
Doug Gordon
On Feb 21, 4:43 pm, Mark Murphy wrote:
> On Mon, Feb 21, 2011 at 4:36 PM, Doug Gordon wrote:
> > Ma
has all been thought of and will be covered when the final
SDK is released. But I would also like some guidance on how to handle an
increasingly fragmented array of devices.
Doug Gordon
GHCS Software
--
You received this message because you are subscribed to the Google
Groups "Android Deve
OnBackgroundThread yourself,
> it's an implementation method.
>
> Use getFilter().filter("some text") to kick things off.
>
> http://developer.android.com/reference/android/widget/Filter.html#fil...)
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.
hat I
get if I call curs.getCount() in the runQuery routine. It's almost as if
the adapter's changeCursor method is not being called, even though it
states in the documentation that it will be called.
Did I miss something here?
Doug Gordon
GHCS Software
--
You received this message beca
k completes. This
is all working, but is there a more elegant way of effectively
requerying the database with a new WHERE clause from withing the
existing adapter/cursor and avoiding having to create new object
instances each time? Any examples of this technique?
Doug Gordon
GHCS Software
--
Doug Gordon
GHCS Software
--
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...@googlegrou
be called
until the activity has resumed (and is in the foreground)?
It seems like it has to work this way, but I'm not sure exactly how the
threading model works in Android.
Doug Gordon
GHCS Software
--
You received this message because you are subscribed to the Google
Groups "Andr
Among other things, my app displays photos in an ImageView in a popup
Dialog. These images come out of a database that is created on the
user's PC. Before storing them in the database, I resize them for max
dimensions of 320x320 pixels.
So, in almost all cases, on the Android device I simply d
27;m also
surprised that I haven't heard of this from any other users (or maybe
they're just not aware that an update is available).
Doug Gordon
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this
nd upload it somewhere, and I could end up getting phone calls or text
messages. With my pay-per-call/text phone plan that's the last thing I need!
Can anyone tell me if there's anything I'm missing about granting this
privilege? Is there any reason to require it other than ju
ore
interesting and helpful!
Doug Gordon
--
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-developer
The problem I've had with AsyncTask is that if the main activity exits
and the background task finishes a bit later, the UI that the b/g task
wants to update in its PostExecute method no longer exists, and I get
a Force Close when it tries to use one of the Views that I'd
previously saved. So you m
In a similar situation, I stopped using AlertDialog and went directly
to the Dialog class. You can do everything you need to do that way,
but a bit more complex since you don't get some of the shortcuts that
AlertDialog provides.
Doug Gordon
On Dec 10, 7:39 am, sat
t can do things like cache indices, etc. I also put
my query work into an AsyncTask to keep from stalling the UI, but even
so when I took a PC-like approach to my queries the busy-dialog was up
there way too long.
You really have to optimize everything.
Doug Gordon
On Dec 8, 3:49 pm, carbi84
e
basically at this level of simplicity. I'll take a look at the
database on the Android using the sqlite3 utility and see what it
tells me, but overall SQLite is a somewhat restricted subset of what a
typical database server would provide. Still, I'd like to exhaust any
possible avenues
erates
630,000 records (15 tables), so there's only so much that's possible!)
Doug Gordon
GHCS Systems
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-develo
s another story!
Doug Gordon
GHCS Software
On Nov 18, 9:52 am, Christophe
wrote:
> well, that's great, but it would be better to know what we are suppose
> to put in these pictures (icon & "feature") and where it is going to
> be used BEFORE making it manda
Anyone else having trouble getting "Server error" messages instead of
their crash reports on AM? This didn't just start today after the recent
updates -- I couldn't get them a couple days ago either.
Doug Gordon
GHCS Software
--
You received this message because you a
care of them. I am mightily impressed with this feature!
Doug Gordon
--
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
I need to do some custom drawing on the screen and am a bit overwhelmed
when looking at documentation on extending a View, what a Canvas is,
Paint, strokes, determining current size of screen space, etc. All I'm
looking for is a good sample or tutorial that explains the concepts
behind all of t
I am definitely impressed with the error reporting capabilities!
Doug Gordon
GHCS Software
--
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 th
Yes. It occurred to me at the time that my technique was a bit of a
kludge to avoid writing some additional routines, so I'm going to take
TreKing's suggestion and put it into onCreate.
On Oct 21, 6:55 pm, William Ferguson
wrote:
> In ActivityA's #onCreate are you invoking super#onCreate before y
27;t completed within the o/s under these conditions.
Doug Gordon
GHCS Software
--
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
Seems like this just gets the version that you compiled the app on. I
think the OP is looking for a runtime version for an app that can run
on multiple versions.
Doug Gordon
On Oct 20, 7:34 pm, Mark Murphy wrote:
> On Wed, Oct 20, 2010 at 7:32 PM, cindy wrote:
> > Ho could I ge
I was configuring a two-column table where the TextView column on the
right sometimes has a long text string and I wanted it to wrap around
and expand the table cell vertically as it would in HTML. I found that I
had to configure the TextView with layout height & width of wrap_content
in order
I have a 2-column table where the right-hand column in the rows might
have too much text to fit on one line, so I wanted it to wrap and
expand the table cell similar to the way it would work on a web page.
This turned out to be more difficult than I expected. When I
configured that TextView to wrap
I have a 2-column table where the right-hand column in the rows might
have too much text to fit on one line, so I wanted it to wrap and
expand the table cell similar to the way it would work on a web page.
This turned out to be more difficult than I expected. When I
configured that TextView to wrap
...with this operating system and tool chain. When I decided to "port"
my old PalmOS app over a few weeks ago, I faced a steep learning curve
since this was all new to me: Android, Java, and Eclipse. Now that
I've worked up the mountain much more quickly than expected and am
making excellent progre
27;t think
that any such device was ever produced).
> On Fri, Sep 10, 2010 at 2:33 PM, Doug Gordon wrote:
> A marketing or engineering department that can't accept limitations is an
> organization that will never ship a product.
>
> --
> Dianne Hackborn
> Android fram
I am really surprised that the Android design would only account for
one of anything. In my experience, any time you say "we're only going
to support one of feature X", the marketing or engineering departments
decide to add another "X". In any case, having support for more than
one is the same as h
My app will have an SQLite database with some embedded JPEG images --
basically the binary contents of a JPEG file stored as a Blob in the
database. Can someone point me in the general direction of where to
start to figure out how to convert this "array of bytes" into a Bitmap
object that can be fu
An Eclipse question, I know, but maybe some Android-specific
considerations. When I'm in Eclipse and running my app in debug mode,
if it halts due to a runtime exception, where can I look to find the
java source line number that was executing at the time?
I've been able to find the error message,
When I try to override the default list selector by setting
listSelector to a solid color in my layout file, touching an item in
the list causes the entire list background to be set to the color.
What gives?
Also, is there someplace where it describes how to create your own
graphic for the list se
My users will want to toggle between two different "presentations" of
their current data selection, with differing layouts. I want to handle
this part of the app in a single activity, so am thinking of simply
calling setContentView to change the layout and then of course fill in
the data accordingl
I can see that I'm going to have to get an actual phone sooner than
later, and for various reasons I'll need to get an "unlocked" version.
As long as I'm laying out that many $$$, I might as well get one that
I can use personally and shop some apps, etc.
So would the Samsung Galaxy S be suitable f
I'm just getting into developing my app, which will have quite a
number of activities and thus quite a few XML files to lay out the
screens and define all the views. What I'm just seeing is that if I
assign the IDs using "@+id/name", I'll have to have a unique name for
every widget on every screen
ot;global" variables that are visible everywhere.
But learning to program in Java will eventually cure me of this
ailment. :-)
On Aug 21, 11:38 pm, Mark Murphy wrote:
> On Sat, Aug 21, 2010 at 11:12 PM, Doug Gordon wrote:
> > Am I correct that this is the only way to do this?
>
&g
I'm not sure if this is an Android question or just due to my being
new to Java as well. I'd like to use the getString method to get
strings from my resources (R.string.whatever). I see that this is a
method of the Context class, and I can call it directly from within my
main Activity class.
But I
s data files on the SD card? This
> might be a setup that the old time Palm users (such as myself :*) are
> comfortable with.
>
> On Jul 27, 7:04 am, Doug Gordon wrote:
>
>
>
> > Actually not that large by today's standards -- just in the low
> > megabytes (&
Actually not that large by today's standards -- just in the low
megabytes (<10 Mb I'd guess). The reason for the uncertainty is that
it entirely depends on how much data the user has in their original
database, which can vary widely.
I can understand the web server solution, and of course I alread
e for secure
storage of files that can be uploaded from a PC and then downloaded by
an Android device? Does Google provide anything like this?
Doug Gordon
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this
1 - 100 of 104 matches
Mail list logo