Different versions handle memory differently, some might just have bugs
that affect the way you handle your code.
I'd check that you're not leaking any of the images (watch the memory
allocation when switching fragments)
Just load each image once it is needed for display. there are more than a
That's not possible unless you distribute the library as part of the firmware.
Why wouldn't you want the code to be part of the APK? Perhaps there's
something else you could do.
Kris
On Wed, Jul 31, 2013 at 9:19 AM, lgaur wrote:
> Hi Jelly Chan,
>
> I am trying to compile apk with some jar fil
Oh ok, so do I need to use something like lazy list or is there any way
that i can handle it in my code. I am using Fragment Activity and have
created two fragments and replacing them alternatively for displaying all
the images one by one.
One more thing that i don't understand is why only on
I looked at your video.
It seems that the drawing itself is not an issue. The framerate doesn't
stutter nor is it slow. It just lags behind the position of your finger.
It seems that the delivery of the touch-events is delayed (at least as far
as the rendering is concerned).
Try to create a no
I have modified one of the strings in android binary resource(.arsc) file
successfully. By successfully I mean I am able to replace a string with a
bigger one, move other binary data, update offsets and lengths. I also
tested it out by trying to parse/read this same modified arsc file.
Now the iss
Hello, all right?
I am using "AndroidAnnotations" in my project and I am having trouble to
understand this RestTemplate, how do ...
is this need my Json stay that way:
Parameters: {"user"=>{"email"=>"userte...@example.com",
"firstname"=>"anotheruser", "password"=>"[FILTERED]",
"password_confirmati
Since pretty much everyone agrees that the CTS misses things...
Wouldn't it be worthwhile to not only track device specific issues, but to
also add tests to a fork of CTS?
Google might then accept those enhancement, or might not, it would still be
helpful in any case.
-- K
On Wednesday, July
On Thursday, August 1, 2013 2:01:29 AM UTC+4, Nathan wrote:
>
>
>
>
>> In older Android versions that error was not treated gracefully and the
>> database file could get corrupted. In newer versions you are greeted with
>> an exception. When the database file gets corrupted, the default behav
On Wednesday, July 31, 2013 12:35:04 PM UTC-7, Nobu Games wrote:
>
> Just another related thought: SQLiteDatabase contains some implicit
> "transaction magic" under the hood which is meant to prevent "accidents"
> due to simultaneous accesses from different threads. That does not always
> work
Just another related thought: SQLiteDatabase contains some implicit
"transaction magic" under the hood which is meant to prevent "accidents"
due to simultaneous accesses from different threads. That does not always
work that great and can lead to some kind of indefinite deadlock situation.
You
Just another related thought: SQLiteDatabase contains some implicit
"transaction magic" under the hood which is meant to prevent "accidents"
due to simultaneous accesses from different threads. That does not always
work that great and can lead to some kind of indefinite deadlock situation.
You
On Wednesday, July 31, 2013 9:21:59 AM UTC-7, Nobu Games wrote:
>
> How are you handling transactions in your queries?
A single record written is done as a single transaction. I believe, though,
that the writing part is all done and it is now just reading. No
transactions on reading.
>
Oh ok, so do I need to use something like lazy list or is there any way
that i can handle it in my code. I am using Fragment Activity and have
created two fragments and replacing them alternatively for displaying all
the images one by one.
One more thing that i don't understand is why only on 4.1.
Oh ok, so do I need to use something like lazy list or is there any way
that i can handle it in my code. I am using Fragment Activity and have
created two fragments and replacing them alternatively for displaying all
the images one by one.
One more thing that i don't understand is why only on 4.1.
Thanks for the explanation
On Wednesday, July 31, 2013 12:52:14 PM UTC-5, Romain Guy (Google) wrote:
>
>
> glSurfaceView.getHolder().setFormat(PixelFormat.RGBA_);
>>
>
> This gives you a translucent surface, which means that any pixel that is
> not drawn completely opaque will be blended with
> glSurfaceView.getHolder().setFormat(PixelFormat.RGBA_);
>
This gives you a translucent surface, which means that any pixel that is
not drawn completely opaque will be blended with whatever window is behind
your app. It will affect your performance btw.
> Should I change the surface view fo
Hi Romain,
thanks for your reply. It seems I do not understand the surface view
initialization for making the alpha channel within OpenGL ES work. I set up
the surface view with:
glSurfaceView.getHolder().setFormat(PixelFormat.RGBA_);
The game is already out with that surface view setup si
Is your SurfaceView marked with the transparent pixel format? If so, what
you are seeing would be expected. If your SurfaceView is opaque then you
*must* draw every pixel opaque on screen.
On Wed, Jul 31, 2013 at 8:25 AM, Nobu Games wrote:
> I got a big problem with a game of mine and the latest
I see in your code sample in your original post that you log the event
coordinates. That can stall your app and may be a reason for these delays.
Also, how do you communicate the touch events to your rendering thread?
On Wednesday, July 31, 2013 12:06:22 PM UTC-5, Edvinas Kilbauskas wrote:
>
>
>
Just because a test suite doesn't cover all possible behavior doesn't
mean stricter enforcement wouldn't help developers.
Test suites don't cover all of the codebase by definition, that's why
they're called test suites :-)
So I'm in favor of setting up a tracker for device bugs, but that
doesn't
2013 m. liepa 31 d., trečiadienis 19:28:23 UTC+3, Streets Of Boston rašė:
>
> Is your render-mode continuously or when-dirty?
> If it is when-dirty, be sure to call surfaceView.requestRender() in your
> onTouchEvent implementation.
>
>
It's RENDERMODE_CONTINUOUSLY.
Also, I took the advice, and
Not that I am in favor of such a behavior but I've seen apps with parental
control feature doing that. They provide something like a controlled
sandbox environment as an app (and not as a home screen replacement), so
children cannot download stuff or do whatever they want with the device.
Whene
On 07/31/2013 05:17 PM, Kristopher Micinski wrote:
Yes. To install Google Play or Google apps, you absolutely are
required to pass the CTS.
But, from your discussion, the CTS obviously doesn't test all parts of
the Android platform: it's just a test suite.
Yes, and never will.
It may be a g
Hi Thomas,
The bug trackers I proposed are all free to use and cloud bug trackers
(meaning no one has to maintain a server or something).
What's needed are admins for that bug tracker.
Categories can be created when needed.
If there are enough maintainers I think it can be done, the community
As a humble start you could tell us what you tried to do and why exactly it
doesn't work (error messages etc.). Also be careful with PHP related online
tutorials. A lot of beginners provide you with material who do not grasp
basic concepts of code / SQL injection and hardening your web service.
Oops, I sent my reply just to you, so here again for all to see:
on the one hand that's a good idea. On the other hand we would need someone
who is willing to host and maintain that bug tracker. Setting up products,
versions etc. is a lot of work in a bug tracking system. That's why I think
tha
Is your render-mode continuously or when-dirty?
If it is when-dirty, be sure to call surfaceView.requestRender() in your
onTouchEvent implementation.
On Tuesday, July 30, 2013 7:14:22 AM UTC-4, Edvinas Kilbauskas wrote:
>
>
> The best solution to your problem is probably to "bite the bullet" and
How are you handling transactions in your queries? In later versions of
Android SQLite writes by default temporary "journaling" data files that are
not immediately merged with the actual database file (see here:
http://www.sqlite.org/tempfiles.html). This might be an explanation for the
reporte
On 07/31/2013 05:58 PM, Nobu Games wrote:
I think a central website for collecting known issues and workarounds
would be a great idea. There are free wiki hosting services that could
be used for that:
https://en.wikipedia.org/wiki/Comparison_of_wiki_hosting_services
I think a wiki is not a good
Tiny update: The SHA1 digest as displayed on the Google Play developer
console is identical with the one from my uploaded APK on my computer. So I
just guess that the Google Play app installs things differently or it is a
really bizarre device quirk. And I do hope it's a rare one because I reall
I think a central website for collecting known issues and workarounds would
be a great idea. There are free wiki hosting services that could be used
for that: https://en.wikipedia.org/wiki/Comparison_of_wiki_hosting_services
On Wednesday, July 31, 2013 10:14:40 AM UTC-5, Omer Gilad wrote:
>
> I
I got a big problem with a game of mine and the latest version of Android.
Semi-transparent pixels rendered on the OpenGL ES surface let the
underlying activity shine through as following screen shot shows.
This problem only appears in a new "AppGratis" promoted version of the game
I just relea
Yes. To install Google Play or Google apps, you absolutely are
required to pass the CTS.
But, from your discussion, the CTS obviously doesn't test all parts of
the Android platform: it's just a test suite.
Kris
On Wed, Jul 31, 2013 at 11:06 AM, Omer Gilad wrote:
> I just came upon this by acc
I would certainly support by adding known issues if there was such a system.
I'm not familiar with any free website that can easily create such a
database - anyone?
On Wednesday, July 31, 2013 4:59:19 PM UTC+3, Daniele Segato wrote:
>
> On 07/31/2013 03:36 PM, οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½-οΏ½οΏ½οΏ½οΏ½οΏ½οΏ
I am missing the point of this post.
Are you saying that there is no solution?
If so, what do you suggest? Just stop developing for Android?
When I say "not aware of that", I mean that it doesn't show up as a
practical solution from the eyes of developers.
Maybe they're aware of that and do inter
I just came upon this by accident
http://officialandroid.blogspot.co.il/2012/09/the-benefits-importance-of-compatibility.html
This seems like the right approach, but my own experience is that the
Android reality is very far from this ideal.
I've heard about the CTS.
The question is - are vendors
>
> 1. Share and find some practical solutions, if there are any.
>
There isn't any, for some specific use cases (games) best solution is to
use higher level API (game engine).
2. Bring the seriousness and span of this issue to Google's attention - as
> there seems to be complete ignorance and
Your images are not 2.3MB, their compressed data is... the images when
loaded by Android are much more than that (their size according to android
is basically their resolution times the bit depth per pixel you defined).
The last image you loaded asked for 8.4MB alone...
I assume that you don't a
On 07/31/2013 03:36 PM, Παύλος-Πέτρος Τουρνάρης wrote:
I really dont get any of your points Daniele!
I can see that ;)
Every developer that till
now sent an email in this discussion has already stated his/her opinion
in order to answer at Omer's first question...
I'm asking you all to think
Hi all,
I am loading several images on Fragments. I have about 22 images of total
2.3 MB. I am getting OutOfMemory error every time I test my app on devices
with Jelly Bean 4.1.2. The weird thing is, this happens only when I test it
on devices with Android version 4.1.2. It works fine on any o
Yeah, that was just me being dumb and writing up a quick response
without thinking while working on other things. Piren's solution is
the obvious thing to do: you don't really want to cache hundreds of
contacts and you'd end up writing your own implementation of what the
lookup's already doing any
I really dont get any of your points Daniele! Every developer that till now
sent an email in this discussion has already stated his/her opinion in
order to answer at Omer's first question...
We can bring Google's attetntion at this problem but we should be focused
on it! If you don't create any wo
On 07/31/2013 03:05 PM, Omer Gilad wrote:
Flaming is not the purpose of this discussion - the purpose is to:
1. Share and find some practical solutions, if there are any.
That's the primary reason I bothered to reply in the first place.
I saw you wasn't try to flame. But, since you were pissed
was wondering how you've missed that ;-)
On Wednesday, July 31, 2013 3:18:28 PM UTC+3, Kristopher Micinski wrote:
>
> Heh, this is also a good point, I was dumb not to point the OP in that
> direction sooner :-)
>
>
> On Wed, Jul 31, 2013 at 2:59 AM, Piren >
> wrote:
> > what the hell? why are
Hi Jelly Chan,
I am trying to compile apk with some jar file and I don't want jar file to
be part of .apk. I want at runtime apk should take jar file contents or
.classes from system or device.
I am developing this using ADT . Could you please provide more info how to
achieve it while using ec
On 07/31/2013 03:10 PM, Kristopher Micinski wrote:
I think various people outlined possible solutions if you'd read the
previous messages. One possible solution is stricter certification
requirements.
That's something Google can do, and is probably doing.
I asked what WE can do. If we don't ta
I think various people outlined possible solutions if you'd read the
previous messages. One possible solution is stricter certification
requirements.
Kris
On Jul 31, 2013 8:49 AM, "Daniele Segato" wrote:
> On 07/31/2013 02:40 PM, Kristopher Micinski wrote:
>
>> You're wrong about calling it frag
Flaming is not the purpose of this discussion - the purpose is to:
1. Share and find some practical solutions, if there are any.
2. Bring the seriousness and span of this issue to Google's attention - as
there seems to be complete ignorance and self-delusion regarding it.
So far I haven't seen any
Daniele, I think Omer has been constructive. He asked clearly: how do you
deal with this situation? It's obvious there's no bullet proof solution to
this problem, he has told us what he did until now and asked the community
what are they doing to deal with it.
El miércoles, 31 de julio de 2013
On 07/31/2013 02:40 PM, Kristopher Micinski wrote:
You're wrong about calling it fragmentation: fragmentation means there
are n versions of Android, and you have to consider that.
What Omer is saying is that there are actually x >> n "versions" of
Android, when you take into account all of the v
You're wrong about calling it fragmentation: fragmentation means there
are n versions of Android, and you have to consider that.
What Omer is saying is that there are actually x >> n "versions" of
Android, when you take into account all of the vendor ROMs, with their
long list of bugs.
So it's no
The i9000 - oh yeah!
The file system freezes alone were a killer, and then when they implemented
a "fix", it was preventing apps from saving their own shared preferences.
Today's top of the line Samsung devices seem to be much better (haven't run
into anything on my Galaxy Note 2, myself, but t
On 07/31/2013 01:47 PM, Omer Gilad wrote:
No problem - you want practical examples, I have literally an endless
amount...
I will try not to collapse Google servers or something, so I'll post
just a few.
Thanks for that.
By the way - read the original post - I am NOT talking about official
fr
Heh, this is also a good point, I was dumb not to point the OP in that
direction sooner :-)
On Wed, Jul 31, 2013 at 2:59 AM, Piren wrote:
> what the hell? why are you scanning the entire DB and in such a bad fashion?
> You do know that the reason there's a ContentResolver is for you to run
> que
The Galaxy S (especially the i9000) is one of the shittiest devices i've
worked on, without a doubt.
On Wednesday, July 31, 2013 2:47:38 PM UTC+3, Omer Gilad wrote:
>
> No problem - you want practical examples, I have literally an endless
> amount...
> I will try not to collapse Google servers
No problem - you want practical examples, I have literally an endless
amount...
I will try not to collapse Google servers or something, so I'll post just a
few.
By the way - read the original post - I am NOT talking about official
fragmentation.
Not screen sizes, API levels features and so on
Either you intentionally ignored the message of his post or you're playing
dumb.
No one is complaining about fragmentation (which sucks, but that's besides
the point).
We're talking about APIs not performing as they should.If you claim that
this never happened to you, you're either lying, inexp
On 07/26/2013 12:39 AM, Omer Gilad wrote:
.I am wondering how developers here are dealing with the fact that there
are 1000's of devices out there, some of them running your applications
in very broken ways
.I keep running into these kind of issues again and again for the past 3
years, and to be
You are missing
set flag activity clear top
Read this flag in Intent documentation.
...
Dalvinder
On Fri, Jul 26, 2013 at 12:50 AM, Amit Mangal
wrote:
> sorry the code is
>
> Intent previewMessage = new Intent(getParent(), Detail_Screen.
> class);
>
>
>
> TabGroupActivity
Hi,
It is done.
simply start your activity with flag excludeFromRecents= true and it will
not show your activity in the home app switcher.
On Monday, July 29, 2013 7:01:58 PM UTC+5:30, ashish wrote:
>
> i want to bring my application to foreground when it goes to background.
> when my applicati
60 matches
Mail list logo