I'm trying to make a path animation with DashPathEffect. Have to be able to
replay it multiple times, using a button. Targeting KitKat.
Based on
http://www.curious-creature.org/2013/12/21/android-recipe-4-path-tracing/
My problem is, the animation works well the first 10 times or so, then the
point and
phase alone is not enough for this
float full = phase * pathLength;
return new DashPathEffect(new float[] {full, Float.MAX_VALUE},
//on, off
0);
}
Am Mittwoch, 16. Juli 2014 23:27:48 UTC+2 schrieb user123:
I'm trying
I just got another idea! lock the orientation change in the WebView :) It's
kinda bad UX but if there's no good solution I would go for that. At least
better than lose the inputs...
Am Samstag, 1. März 2014 23:25:16 UTC+1 schrieb user123:
Hi,
I'm working in a fragment based app. It has only
Hi,
I'm working in a fragment based app. It has only 1 activity. The activity
is used as frame and for the ActionBar etc. The different screens are
implemented as fragments.
We are using a combination of setRetainInstance(true), to preserve the
state of the fragment (e.g. data which was
Is it possible to skip the invitation process in Wifi direct of bluetooth
connections?
If for example I have a chatroom, where one user acts as the host, with
50 people, I just want that they just do discovery, see the name of the
host, select it - and can join directly. I don't want that the
Is it possible that, using any connectivity technology, unknown devices can
share information between without the user is controlling it?
It would be an app where the user previously gives permission to do so, and
which information is shareable. Then if 2 or more nearby devices have this
app
comes next.
Also, if the web call needs to download a lot of information, it's best to
implement a chunking mechanism and support being able to resume download,
killing your app will have less of an impact.
On Monday, August 19, 2013 10:27:29 PM UTC+3, user123 wrote:
I'm trying to implement
I'm trying to implement a pattern of accessing data source, independently
if it's local or remote, using a content provider.
So, inside the content provider, for example in the query method:
public Cursor query(Uri uri, String[] projection, String selection,
String[] selectionArgs, String
, user123 wrote:
Im trying to implement a fragment based navigation pattern, which can be
reduced to this:
https://lh4.googleusercontent.com/-Ws0I4LcPFNA/Uf4irMURI3I/A0s/D1wYtJBCwXc/s1600/screen2.png
https://lh4.googleusercontent.com/-4CuK_LmDSxA/Uf4iuRVg4cI
Update: The problem was that I was using a custom font and this didn't
contain these special chars. There was actually no difference between
xml/programmatically, I was testing incorrectly.
Am Mittwoch, 17. Juli 2013 12:58:43 UTC+2 schrieb user123:
I have a strange issue with vietnamese
Update: There is a flag to detect if the app was preinstalled:
ApplicationInfo.FLAG_SYSTEM
Am Dienstag, 9. Juli 2013 22:38:42 UTC+2 schrieb user123:
I need to identify certain builds of my app permanently. The reason is,
that these will be pre-installed in certain devices and they need some
searching on google:
http://stackoverflow.com/questions/8333117/is-there-a-way-to-have-a-masked-numeric-input-field
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Wed, May 22, 2013 at 3:09 AM, user123 ivans...@gmail.com javascript:
wrote:
Any
Im trying to implement a fragment based navigation pattern, which can be
reduced to this:
https://lh4.googleusercontent.com/-Ws0I4LcPFNA/Uf4irMURI3I/A0s/D1wYtJBCwXc/s1600/screen2.png
I have a strange issue with vietnamese translations. They're stored in
strings.vi file, in the app.
The translations which are attached to TextView directly in the layout
files display correctly, but if I get them programmatically:
`getString(R.string.foo)`, then some of the vietnamese special
I have a very stupid problem. We created an application in Google Play,
somebody else filled with all required information - translations,
screenshots, etc.
Now for testing reasons, we uploaded the first .apk with a different
package name (another already existent app).
The question: How
I recreated the app, seems its the only way.
Am Dienstag, 9. Juli 2013 14:07:07 UTC+2 schrieb user123:
I have a very stupid problem. We created an application in Google Play,
somebody else filled with all required information - translations,
screenshots, etc.
Now for testing reasons, we
I need to identify certain builds of my app permanently. The reason is,
that these will be pre-installed in certain devices and they need some
different tracking parameters.
I don't want to create a new app for this - the app has to be the same as
the normal one, which can be downloaded from
Nobody with experience on this? Similar problem?
Am Mittwoch, 22. Mai 2013 11:16:02 UTC+2 schrieb user123:
My soft keyboad doesn't show this button when I focus webview input
fields. Don't find anything about special settings to enable this - am I
missing something? It doesn't appear in any
I have a webview with input fields with attribute type=number, according
to docs this should open numeric keyboard. I just get qwerty like with the
rest of fields.
Does this need additional development effort? Or is it the device maybe?
(I'm using Galaxy S2, Android 4.0)?
--
--
You received
Any update on this? I have input fields in webview with type=number but
still get normal soft keyboard - showing letters first.
Am Freitag, 14. Januar 2011 15:14:39 UTC+1 schrieb linhadiretalipe:
Hi,
I have a input in a WebView and I would like to know how can
I call keyboard
My soft keyboad doesn't show this button when I focus webview input fields.
Don't find anything about special settings to enable this - am I missing
something? It doesn't appear in any kind of input field. Shouldn't this
button appear by default?
Android version 4.0.3
--
--
You received
I didn't create a release keystore because I have not released yet, and I
didn't need it. I was using the debug keystore.
I created the release keystore when I was finished, to put the app in
Google Play.
Am Dienstag, 30. April 2013 04:12:34 UTC+2 schrieb Ian Ni-Lewis:
I agree, you should
, they do sometimes happen. How would you prefer to be
notified of these changes? Have you ever obtained a v1 API key or uploaded
an app to Google Play? If not, then how would Google have communicated this
important information to you?
Ian
On Tuesday, April 23, 2013 2:59:07 AM UTC-7, user123
, they do sometimes happen. How would you prefer to be
notified of these changes? Have you ever obtained a v1 API key or uploaded
an app to Google Play? If not, then how would Google have communicated this
important information to you?
Ian
On Tuesday, April 23, 2013 2:59:07 AM UTC-7, user123
? Android developers have to roll with the punches and live with this
kind of abuse from Google, we cannot change it.
Complain if you have to to get it out of your system, but then move on.
Either drop the app or rewrite it to use the new API.
On Monday, April 22, 2013 3:47:10 AM UTC-7, user123
in. There was plenty of warning
that this would happen. Now it happened, live with it.
On Sunday, April 21, 2013 5:15:07 PM UTC-4, user123 wrote:
Thanks for the advice, but I also have other things to work on! And this
was supposed to be released!
And it's not easy map, it has a lot of custom stuff
Can you please stop using this conversation (only) to promote yourself :)
thanks.
I can google the information myself. This is not any serious help. What I
need is an API key for v1 to release my finished app.
Am Montag, 22. April 2013 12:27:57 UTC+2 schrieb VenomVendor™:
There is no other
...
On Sat, Apr 20, 2013 at 9:32 PM, user123 ivans...@gmail.com javascript:
wrote:
I need urgently a key for maps api v1. Is there any way to still get one?
The context: I finished an app a few months ago. I want to release it
now. Now I see that I need a new map key for the release
Thanks for the advice, but I also have other things to work on! And this
was supposed to be released!
And it's not easy map, it has a lot of custom stuff, overlays, with images
downloaded from web, animatied radius circle, clustering, etc. This will
not be a few minutes.
Am Sonntag, 21.
I have 2 images, one on top of the other. I paint a circle in the
front-image with xfermode to let the image bellow show through.
I realized this with 2 views in a RelativeLayout. The front-view acts as
mask and is a custom view.
The problem: Works well in 4.x, but on 2.x the circle is black,
I have 2 images, one on top of the other. I paint a circle in the
front-image with xfermode to let the image bellow show through.
I realized this with 2 views in a RelativeLayout. The front-view acts as
mask and is a custom view.
The problem: Works well in 4.x, but on 2.x the circle is black,
:07:16 UTC+2 schrieb user123:
I have 2 images, one on top of the other. I paint a circle in the
front-image with xfermode to let the image bellow show through.
I realized this with 2 views in a RelativeLayout. The front-view acts as
mask and is a custom view.
The problem: Works well in 4.x
I need urgently a key for maps api v1. Is there any way to still get one?
The context: I finished an app a few months ago. I want to release it now.
Now I see that I need a new map key for the release keystore.
Well, I go to the page to get the key, and it says, that I have to port my
maps to
, user123 wrote:
Well, then that's my question. Why the device is not showing them. I put
both min and target SDK to 8. I also don't have manifest element for
explicit support of large screens. So this option should appear. But I
don't see it. Just the action bar, with 3 dots for my custom
, so screen compatibility mode is not
applied if your value for android:largestWidthLimitDp is larger than
320.
On Wed, Apr 17, 2013 at 4:26 PM, user123 ivans...@gmail.com javascript:
wrote:
Ok, the issue is confirmed. I created a brand new project with a blank
activity, and ran
to spend a weekend working for free, because my company doesn't
targets the tablet market but Android thinks it's important?
Am Donnerstag, 18. April 2013 13:58:26 UTC+2 schrieb Mark Murphy:
On Thu, Apr 18, 2013 at 3:53 AM, user123 ivans...@gmail.com javascript:
wrote:
I did the work
to spend a weekend working for free, because my company doesn't
targets the tablet market but Android thinks it's important?
Am Donnerstag, 18. April 2013 13:58:26 UTC+2 schrieb Mark Murphy:
On Thu, Apr 18, 2013 at 3:53 AM, user123 ivans...@gmail.com javascript:
wrote:
I did the work to optimize
Donnerstag, 18. April 2013 22:30:18 UTC+2 schrieb user123:
Well, my layout is density independent. I misused the density folders as
approximation for screen size, and it worked well on smartphones
The issue is that this app was never intended for tablets - but, great, in
Android it's
) then the device will show the proper
compatibility options like the Zoom button or the 3 dots.
On Monday, April 15, 2013 10:37:42 PM UTC+3, user123 wrote:
I read here
http://developer.android.com/guide/practices/screen-compat-mode.htmlthat
under certain conditions, (optinal
/
Then the app goes in compatibility mode - Hello world! is zoomed. Fine.
But if I change to *321 dp *- It doesn't go into compatibility mode.
Is this a bug?
Am Dienstag, 19. März 2013 17:46:49 UTC+1 schrieb user123:
I'm trying to force compatibility mode on tablets, for a certain app,
because I
/
Then the app goes in compatibility mode - Hello world! is zoomed. Fine.
But if I change to *321 dp *- It doesn't go into compatibility mode.
I tested with a Nexus 7 tablet, Nexus 7 emulator, and 10.1 inches tablet
emulator.
Is this a bug?
Am Dienstag, 19. März 2013 17:46:49 UTC+1 schrieb user123
I read here
http://developer.android.com/guide/practices/screen-compat-mode.htmlthat
under certain conditions, (optinal) compatibility mode is available to the
users.
But I can't find it on the device, I looked in the menu of the app, in
app's settings, display settings, etc. Nothing with
is not in compatibility mode. *Why*?
Am Sonntag, 24. März 2013 01:48:16 UTC+1 schrieb user123:
Nobody uses compatibility mode? I thought it would be a superbasic
question, there are a lot of tablets and there are a lot of apps which
don't optimize for that size...
Am Dienstag, 19. März 2013 17:46:49 UTC
of the camera to the scene.
On Mon, Mar 18, 2013 at 3:02 PM, user123 ivans...@gmail.com javascript:
wrote:
Now I also noticed that it happens only with
android:hardwareAccelerated=false. When true, the text is displayed.
But I need to set it to false, because otherwise the views don't
It seems that this combination works:
uses-sdk android:minSdkVersion=7 android:targetSdkVersion=8/
*supports-screens android:largestWidthLimitDp=400 /*
Confirmation follows.
Am Dienstag, 19. März 2013 17:46:49 UTC+1 schrieb user123:
I'm trying to force compatibility mode on tablets
Ah, no, I became happy too quickly. I was launching an old version of the
app (where I used 320 dip). So the problem is still the same. No
compatibility mode.
Am Montag, 15. April 2013 23:05:37 UTC+2 schrieb user123:
It seems that this combination works:
uses-sdk android:minSdkVersion
what 2.27848101266 is in dp:
2.27848101266 * 160 = 364.556962026 dp
So, if you set it to 365dp or higher, then your phone should not go into
compatibility mode.
Thanks.
On Tuesday, March 19, 2013 11:46:49 AM UTC-5, user123 wrote:
I'm trying to force compatibility mode on tablets
Now I also tested with a tablet emulator with 10.1 diagonal. The smallest
side should be something around 7 inches. And I still get compatibility
mode only until max. 320 dp, like in the Nexus 7.
Am Montag, 15. April 2013 23:53:26 UTC+2 schrieb user123:
The problem is the Nexus 7
I'm running an app in a 4.2 Nexus 7 device. It has 64 mb app memory.
I have 2 activities - and a button to toggle between them. When I start
activity A, then B, then A, B, A, B, etc. After a while I get an out of
memory error.
I investigated this problem with a heap dump and the memory
5:56:39 PM UTC+1, user123 wrote:
I'm running an app in a 4.2 Nexus 7 device. It has 64 mb app memory.
I have 2 activities - and a button to toggle between them. When I start
activity A, then B, then A, B, A, B, etc. After a while I get an out of
memory error.
I investigated this problem
, floating-point division is done instead.
*Hillegass, Aaron (2011-11-22). Objective-C Programming: The Big Nerd
Ranch Guide (p. 45). Pearson Education (US). Kindle Edition. *
On Monday, March 18, 2013 12:51:58 PM UTC-5, user123 wrote:
Yes, sorry, it was in the original code, and I removed
Nobody uses compatibility mode? I thought it would be a superbasic
question, there are a lot of tablets and there are a lot of apps which
don't optimize for that size...
Am Dienstag, 19. März 2013 17:46:49 UTC+1 schrieb user123:
I'm trying to force compatibility mode on tablets
bitmap's desired width.
dstHeight
The new bitmap's desired height.
filter
true if the source should be filtered.
Returns
The new scaled bitmap or the source bitmap if no scaling is required.
On Monday, March 18, 2013 3:55:37 PM UTC-5, user123 wrote:
They are in a linear layout, each cell has
I'm trying to force compatibility mode on tablets, for a certain app,
because I don't work on it anymore - and currently it looks really really
messed up on tablets.
According to the documentation:
http://developer.android.com/guide/practices/screen-compat-mode.html
There are many different
, please file
a bug at b.android.com.
On Sun, Mar 17, 2013 at 4:38 PM, user123 ivans...@gmail.com javascript:
wrote:
I'm rotating a custom view, which contains a textview, using
getChildStaticTransformation:
@Override
protected boolean getChildStaticTransformation(View child
for this.
Am Montag, 18. März 2013 12:20:12 UTC+1 schrieb user123:
I just have 2 devices, Galaxy Nexus and Nexus 7, both with 4.2. Can't test
on more.
If nobody else has feedback on this, I would submit the bug anyways (?).
Am Montag, 18. März 2013 06:56:50 UTC+1 schrieb Romain Guy
I'm trying to make one of these animations where an image fades in with
tiles. (Note: I need this to work from Api 8)
To do that, I created a black grid and put it on top of the image and using
a handler, make each cell dissapear.
It works but the animation takes a bit more than 1 second,
= row.getChildAt(itemIndex - (rowIndex * ROWS));
But, as expected, this didn't have a noticeable improvement.
Am Montag, 18. März 2013 14:53:18 UTC+1 schrieb user123:
I'm trying to make one of these animations where an image fades in with
tiles. (Note: I need this to work from Api 8)
To do
Ah, the number of cells is not high, I'm testing between 8x8 and 12x12
Am Montag, 18. März 2013 14:53:18 UTC+1 schrieb user123:
I'm trying to make one of these animations where an image fades in with
tiles. (Note: I need this to work from Api 8)
To do that, I created a black grid and put
I 4 - colums grid where the items are an image on top and bellow a
textview. The image fills all the available width - no padding or anything.
My images will all have exactly the same size.
Now I want that the height of the view adjusts to the width - to keep the
images proportional. AFAIK
() and getHeight() to *double*s before
your division?
Thanks.
On Monday, March 18, 2013 9:41:26 AM UTC-5, user123 wrote:
I 4 - colums grid where the items are an image on top and bellow a
textview. The image fills all the available width - no padding or anything.
My images will all have
For a simple animation like this? That's a total overkill...
Am Montag, 18. März 2013 17:12:52 UTC+1 schrieb bob:
Maybe use OpenGL?
On Monday, March 18, 2013 8:53:18 AM UTC-5, user123 wrote:
I'm trying to make one of these animations where an image fades in with
tiles. (Note: I need
to some docs I read that the OpenGL
view is a hole in the screen.
Am Montag, 18. März 2013 18:55:28 UTC+1 schrieb user123:
For a simple animation like this? That's a total overkill...
Am Montag, 18. März 2013 17:12:52 UTC+1 schrieb bob:
Maybe use OpenGL?
On Monday, March 18, 2013 8:53:18 AM
(width,
newH);*
Maybe change LinearLayout to *GridView*?
On Monday, March 18, 2013 12:51:58 PM UTC-5, user123 wrote:
Yes, sorry, it was in the original code, and I removed it before pasting
here (thought it could be unnecessary)
the line is
double factor = loadedBitmap.getWidth
*android:hardwareAccelerated=true* ...
*http://developer.android.com/guide/topics/graphics/hardware-accel.html*
On Monday, March 18, 2013 1:03:31 PM UTC-5, user123 wrote:
Well, the simple is my opinion, of course, fading out 50-100 cells
quickly, doesn't feels like OpenGL to me.
Besides I have
implementation).
Am Montag, 18. März 2013 12:52:28 UTC+1 schrieb user123:
It seems to be 4.2 only. I tested in the emulator 4.0, 4.1 and 4.2 and
happened only on 4.2.
As mentioned, concerning devices, I have only 4.2, where it happens.
I'm using Google maps api (the emulators have
I'm rotating a custom view, which contains a textview, using
getChildStaticTransformation:
@Override
protected boolean getChildStaticTransformation(View child, Transformation
t) {
t.clear();
t.setTransformationType(Transformation.TYPE_MATRIX);
camera.save();
final Matrix imageMatrix =
:11 PM, Mark Murphy
mmu...@commonsware.comjavascript:
wrote:
On Thu, Mar 14, 2013 at 7:00 PM, user123 ivans...@gmail.comjavascript:
wrote:
What is the problem with singleton?
http://stackoverflow.com/questions/7026507/why-are-static-variables-considered-evil
http
I can't find how to do this. There's this documentation:
https://developers.google.com/analytics/devguides/collection/android/v2/advanced
- it shows this method:
gaInstance.getTracker(trackingId)
I tried this:
GoogleAnalytics gaInstance = GoogleAnalytics.getInstance(context);
Tracker
What is the problem with singleton?
It works very well. I use it to hold global state, for example,
translations. They are fetched at the start of the app, and updated each
screen launch (if necessary). This holds the translations in memory and I
can get them from any activity using simple
:20 PM, user123 ivans...@gmail.com javascript:
wrote:
I defined a scale animation from 0 to 1 for entering activity:
overridePendingTransition(R.anim.scale, 0);
In application tag in Manifest:
android:theme=@android:style/Theme.NoTitleBar
But I get a black topbar on the entering
, that's a cancel.
On Monday, February 25, 2013 4:51:18 PM UTC-6, user123 wrote:
I want to apply certain transforms to a view and it's children during
pressed state, e.g. a color filter.
As far my current knowledge, I can't do this using StateListDrawable or
XML configuration
Thanks. This sounds interesting but I'll go for the other solution, because
it's very easy to implement and it worked. But I might use this one for
other things.
Am Dienstag, 26. Februar 2013 09:31:01 UTC+1 schrieb skink:
On 25 Lut, 23:51, user123 ivanschu...@gmail.com wrote:
I want
I have an instance variable in a singleton class which I'm using in all the
app. It's basically a global configuration parameter.
I initialize it in the first (launcher) screen of the app. The app will not
continue without this initialization (where it's sure that the variable is
not null).
it if
it is null.
On Monday, February 25, 2013 3:52:30 AM UTC-6, user123 wrote:
I have an instance variable in a singleton class which I'm using in all
the app. It's basically a global configuration parameter.
I initialize it in the first (launcher) screen of the app. The app will
not continue
Ok, thanks. I couldn't reproduce this case, so I wasn't sure. I'll handle
it in other way then.
Am Montag, 25. Februar 2013 17:34:43 UTC+1 schrieb TreKing:
On Mon, Feb 25, 2013 at 3:52 AM, user123 ivans...@gmail.com javascript:
wrote:
And I'm wondering, if there's any case where I can
, February 25, 2013 11:34:43 AM UTC-5, TreKing wrote:
On Mon, Feb 25, 2013 at 3:52 AM, user123 ivans...@gmail.com wrote:
And I'm wondering, if there's any case where I can get a null pointer?
Because e.g. the system kills the app while it's in the background, and
tries to restart it in the last
I want to apply certain transforms to a view and it's children during
pressed state, e.g. a color filter.
As far my current knowledge, I can't do this using StateListDrawable or XML
configuration.
The concrete situation: A GridView where the cells have a background
drawable, an ImageView,
I convert a view in a bitmap using drawing cache. But when I use a
transparent background in the view, the bitmap doesn't show. The code:
//View v = inflate etc.
v.setDrawingCacheEnabled(true);
v.setLayoutParams(new
LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,
I'm implementing an image cache for PNGs, downloaded from the web.
Works well so far, besides that on images with a transparent background,
get a light-green background, when they are read from the cache (external
storage).
Tested on 3 devices, the problem was in 2 of them, a Samsung Galaxy
P.S: The original is not transparent, as I wrote. It's white.
On Tuesday, October 2, 2012 9:31:24 AM UTC+2, user123 wrote:
I'm implementing an image cache for PNGs, downloaded from the web.
Works well so far, besides that on images with a transparent background,
get a light-green
are trying to do
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Wed, Aug 22, 2012 at 9:14 AM, Carlos A. M. dos Santos
unix...@gmail.com javascript: wrote:
On Wed, Aug 22, 2012 at 10:58 AM, user123 ivans...@gmail.comjavascript:
wrote
I want to detect each time the user opens the app, by tap on home / desktop
icon. There seem not to be a straight forward way to do it. Found a few
workarounds but nothing seems to be really reliable.
Things like, extend application object and use method onCreate(), but
this is not what I
on a regular
basis.
On Wednesday, August 22, 2012 12:33:29 PM UTC+1, user123 wrote:
I want to detect each time the user opens the app, by tap on home /
desktop icon. There seem not to be a straight forward way to do it. Found a
few workarounds but nothing seems to be really reliable.
Things like
, casantos wrote:
On Wed, Aug 22, 2012 at 8:33 AM, user123 ivans...@gmail.com javascript:
wrote:
I want to detect each time the user opens the app, by tap on home /
desktop
icon. There seem not to be a straight forward way to do it. Found a few
workarounds but nothing seems to be really
I want to detect exactly when the user says, hey, let's open the app, and
taps on the app's icon, not anything else. Is this hard to understand?
On Wednesday, August 22, 2012 1:33:29 PM UTC+2, user123 wrote:
I want to detect each time the user opens the app, by tap on home /
desktop icon
This will not be executed always. Android lets apps running in the
background, although user closed it. When you launch the app it will not
necessarily be created.
On Wednesday, August 22, 2012 3:00:40 PM UTC+2, casantos wrote:
On Wed, Aug 22, 2012 at 9:23 AM, user123 ivans...@gmail.com
I implemented a file cache to load small images for a long grid view. After
scrolling a while, I get a lot of `libcore.io.ErrnoException: open failed:
EMFILE (Too many open files)`
How do I avoid this? This is the code to read one bitmap:
File fullCacheDir = new
Hi,
I have a big problem with bitmaps and the listview's behaviour of calling
getView() on each position multiple times.
My list contains only bitmaps and fetches them asynchronously from a remote
location. Now, when the listview is displayed, since getView() is called
about 4 times for each
Another possibility which comes to my mind, but feels like a terrible
solution, is to pre-fetch the bitmaps, so, before the list scrolls, I have
already next x bitmaps in the cache. This would be implemented in
combination with a scrolllistener, where scrolling causes to fetch the next
x
, item 1, item 2, item 3 - 16 bitmaps, and I just needed 4).
On Monday, August 13, 2012 4:14:30 PM UTC+2, bob wrote:
Why not use the convertView parameter to getView?
On Monday, August 13, 2012 8:45:15 AM UTC-5, user123 wrote:
Hi,
I have a big problem with bitmaps and the listview's
Hi,
I have a jpg with a white background, and after saving and loading it to
external storage, it's corrupted. Looks like:
https://lh6.googleusercontent.com/-9vcaZSUl50o/UCkrum2278I/AAM/mPPofE7qhrk/s1600/img.jpg
The code:
Save:
try {
outStream = new
:
On Aug 13, 2012, at 7:31 PM, user123 ivans...@gmail.com javascript:
wrote:
What am I doing wrong? Thanks.
This is a long shot but are you sure original image is JPG and not a PNG
with alpha channel? Alpha could cause some unexpected behaviour once
storing image as JPG.
--
H
--
You
= httpClient.execute(request);
return response.getEntity().getContent();
}
On Monday, August 13, 2012 7:05:01 PM UTC+2, user123 wrote:
What do you mean exactly with original? I'm downloading it from the web,
the image in the web has jpg extension.
Maybe it's important, this is the code I
I defined a scale animation from 0 to 1 for entering activity:
overridePendingTransition(R.anim.scale, 0);
In application tag in Manifest:
android:theme=@android:style/Theme.NoTitleBar
But I get a black topbar on the entering activity, while it scales... looks
very ugly since the
Well, for now I surrounded
pager.setAdapter(adapter);
with a try - catch. Happens mostly when the screen is not visible anymore,
so it's not critical.
But it still would be good to understand it and be able to fix correctly. I
was reading the source and as far as I remember, it was related
Well, for now I surrounded
pager.setAdapter(adapter);
with a try - catch. Happens mostly when the screen is not visible anymore,
so it's not critical.
But it still would be good to understand it and be able to fix correctly. I
was reading the source and as far as I remember, it was related
android:toYScale=1
android:fillAfter=true
/
On Saturday, August 11, 2012 11:20:52 PM UTC+2, user123 wrote:
I defined a scale animation from 0 to 1 for entering activity:
overridePendingTransition(R.anim.scale, 0);
In application tag in Manifest:
android:theme=@android:style/Theme.NoTitleBar
I want to understand this exception in order to implement a proper fix.
Overview:
There's a ViewPager and it uses a FragmentStatePagerAdapter to instantiate
2 fragments via getItem and MyFragmentClass.newInstance(...).
Adapter's getItem looks like this:
@Override
public Fragment
somewhat symmetric.
On Monday, July 30, 2012 9:12:47 AM UTC-5, user123 wrote:
Uhm... don't remember. Is there a solution for any of the cases? I'll
check it again.
On Monday, July 30, 2012 3:50:52 PM UTC+2, bob wrote:
Rotated 180 degrees or flipped horizontally? The latter seems more
1 - 100 of 133 matches
Mail list logo