--
--
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...@googlegroups.com
For more options,
Not at random ... only when needed.
On Sunday, March 17, 2013 6:33:01 PM UTC+2, G. Blake Meike wrote:
On Sunday, March 17, 2013 9:09:54 AM UTC-7, Piren wrote:
If your application has a singleton that takes 200MB of memory and takes
a minute to load (dont ask why :-) ), but is only needed
Generalizing is bad, which is why i didnt agree with the Singletons are
bad, m'kay mentality here :)
But yeah, i agree with all your points. In some cases lazy loading makes
sense, in some it doesn't.
Though i'm not sure how concurrency is an issue, Pill Pugh's implementation
is probably the
Romain Guy romain...@android.com wrote:
Does it happen on all 4.x versions? (4.0, 4.1 and 4.2?) If so, please file a
bug at b.android.com.
On Sun, Mar 17, 2013 at 4:38 PM, user123 ivanschu...@gmail.com wrote:
I'm rotating a custom view, which contains a textview, using
InputMethodManager contains a function called isFullscreenMode() that is
supposed to return a boolean that indicated whether the soft keyboard is in
extract mode (full screen) or not.
In my application I switch from portrait to landscape mode and bring up the
keyboard:
Hello,
Even i am facing similar kind of problem.
Basically my old file consists of 1 table and new file consists of 4 tables.
I just want to replace old file by new file so that i can
insert/update/delete records on device.
If you found out the solution please let me know as soon as possible.
On
I am using webview to play youtube videos . This is working fine. But i
wanted to try this. How can i play the videos from SD card in Webview using
Iframe in android.
I have googled alot about this.
Anyone can suggest me about this?
Any suggestions / ideas would be highly appreciated.
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 (Google):
Does it happen on all 4.x versions? (4.0, 4.1 and 4.2?) If so,
Hi friends,
i am developing CRM application in android,but when retriveing data from
server it is take much time for displaying data on device.How can i improve
thid problum.
*For Example.*
In Server has 100 records,when i am retriveinng these records i need to
display with in the fraction of
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 to be configured to use this
instead of plain 4.x), but I think it's not relevant for
If I have understood your problem correctly this link will help you.
http://stackoverflow.com/questions/7268908/access-the-phone-internal-storage-to-push-in-sqlite-database-file
Thanks Regards,
Nirav Parmar
On Mon, Mar 18, 2013 at 3:20 PM, rachana govilkar
rachana.govil...@gmail.com wrote:
There's not really any way to speed up the transfer.
If there is some application specific compression you can do, you
might try that, but otherwise it's basically impossible.
Kris
On Mon, Mar 18, 2013 at 7:26 AM, sree android
android.sreeni...@gmail.com wrote:
Hi friends,
i am developing
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,
I did a tiny optimization, I prefill a list with the children, such that I
just do
childrenList.get(index);
instead of
int itemIndex = done.get(index);
int rowIndex = (int)Math.floor(itemIndex / ROWS);
ViewGroup row = (ViewGroup)imageMask.getChildAt(rowIndex);
View child =
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
Well, the payment showed up in my bank account today (*March 18*), which is
one business day after the ides of March. This was also the case with my
last payment from Google - showed up one day after the payout in Google's
records.
They may have to pay about ten thousand developers, so I
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
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 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,
Why must you use a WebView?
Why not just use a *VideoView* where this can be done without much hassle?
Thanks.
On Monday, March 18, 2013 5:39:46 AM UTC-5, Meena Rengarajan wrote:
I am using webview to play youtube videos . This is working fine. But i
wanted to try this. How can i
Shouldn't you convert the getWidth() 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
Why not download a telnet app and try to telnet to 10.0.2.2 on port 80?
Thanks.
On Sunday, November 20, 2011 12:40:50 PM UTC-6, mark kelly wrote:
Hi
Im trying to connect to a mysql database which is on localhost. i get
the error:
Error in http connection
Maybe put a breakpoint here in InputMethodManager?
* /** @hide */*
*public void setFullscreenMode(boolean fullScreen) {*
*mFullscreenMode = fullScreen;*
*}*
Then you can at least see if that gets called.
On Monday, March 18, 2013 3:48:47 AM UTC-5, AndroidCompile wrote:
Hi All,
I have custom view_pager. And i am using pagertabstrip to show view title.
but the view and pager title strip are overlapping with each other when i
am swiping to change view. Am i missing anything? Please comment on below
code.
media.galleryAir.ViewPager_TransitionEffects
Hi!
I'm having a weird problem with one of my apps. I'll try later to extract
some code and make a sample project to share if it's useful but by now I'm
just asking to see if anyone found this one or can give me a hint on how
to tackle it.
I have two activities.
Activity A extends
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() / (loadedBitmap.getHeight() * 1d);
Am Montag, 18. März 2013 18:08:56 UTC+1 schrieb bob:
Shouldn't you convert the getWidth()
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
Well, the simple is my opinion, of course, fading out 50-100 cells
quickly, doesn't feels like OpenGL to me.
Besides I have a sliding menu on the side (like Facebook app), and my
experiences with OpenGL, is that it will not slide with the rest of the
content. Which makes sense according to
Hello,
I have a Nexus 7 running 4.2.2. I'm trying to trace an OpenGL ES 2.0
application, but I can never seem to get OpenGL ES Tracer to work. I'm
following the instructions
here: http://developer.android.com/tools/help/gltracer.html
The tracer seems to load fine, and when I put in the
I think this only works if your images are in a LinearLayout.:
*LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(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
Why don't you take out the recycle() calls altogether and see if it works?
Even if you assign after recycling, the following could happen:
*bitmap.recycle();*
*
*
* thread switch *
*
*
*other thread tries to use bitmap*
On Monday, March 18, 2013 12:50:37 PM UTC-5, Marina
Maybe try this?
In your Android manifest file, add the following attribute to the
application tag to enable hardware acceleration for your entire
application:
application *android:hardwareAccelerated=true* ...
*http://developer.android.com/guide/topics/graphics/hardware-accel.html*
On
On Monday, March 18, 2013 7:17:26 AM UTC-7, bob wrote:
Also, I would imagine the amount of money most of us earn thru this
mechanism is so insignificant that it doesn't impact our finances much
having to wait a business day.
That part is sad if true ;(. But I would agree that if the
They are in a linear layout, each cell has a (linear) layout... This also
would cause a class cast exception.
Am Montag, 18. März 2013 20:15:17 UTC+1 schrieb bob:
I think this only works if your images are in a LinearLayout.:
*LinearLayout.LayoutParams params = new
I've never used GridView, but that sounds fishy using a LinearLayout for
each cell.
Why not just use wrap_content, wrap_content for the ImageViews and scale
all bitmaps using this:
public static Bitmap *createScaledBitmap* (Bitmap src, int dstWidth, int
dstHeight, boolean filter)
Added in API
I've been able to find the Android PDK
on http://www.kandroid.org/online-pdk/guide/index.html but would like to
know where I can find it directly from Google? I've searched around and
was able to find news articles talking about the PDK but apparently
kandroid is the only place that actually
Doesn't help... I think it's even worser now.
Am Montag, 18. März 2013 20:28:21 UTC+1 schrieb bob:
Maybe try this?
In your Android manifest file, add the following attribute to the
application tag to enable hardware acceleration for your entire
application:
application
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 rotate
correctly... (it's a well known issue e.g. with this
http://code.google.com/p/android-coverflow/coverflow
If you're doing a 3D rotation the problem might be due to a combination of
angle of rotation and size of the rotated elements. The element you are
rotating might end up being clipped by the camera and disappear. To work
around this we expose an API in Camera that lets you specify the distance
of
I can find:
https://android.googlesource.com/platform/development/+/ics-mr1-release/pdk/
but it's gone from:
https://android.googlesource.com/platform/development/+/jb-mr0-release
On Monday, March 18, 2013 9:46:39 PM UTC, Ryan Loebs wrote:
I've been able to find the Android PDK on
Is it possible to have a service which runs in the bkg of the existing
native launcher (eg. Touchwiz on my Samsung Galaxy Note 2) and add
additional functionality to allow better organization of the users
on-screen icons? For example the user can now highlight multiple icons
across multiple
*QUESTION
Where does a rooted Android device store the positioning information for
all icons for its Home and App screen? Does it log it in the Sqlite
database?
*
--
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi, thanks for the response. Please don't assume as its not me. Even I also
notice the same question posted by someone.
I saved my file into sdcard and would like to know if I can use that path
to display it in web view.
I achieved the same by using below code for PDF and would like to know if
Store the image as base64 in sqlite browser but we are not able to see the
5 or 6 image.
In samasung galaxy y we only see 2 image which we store.In Lemon mobile we
only see 2 or 4 images.
In micromax only to see 5 or 6 image after that all image we took is seen
as black screen we don't know
On Wed, Mar 13, 2013 at 02:32:57PM -0700, bob wrote:
I tried intelliJ on Mac yesterday, and it *was* a hassle telling it where
the JDK and Android SDK were.
I'm not even sure how I got past that part. A lot of fiddling and googling
were involved.
I just downloaded it and got started
How can we insert video in android application and there will be a button
icon by pressing it we may turn on and turn off the music.
what is the procedure of inserting embedded video in android applications.
--
--
You received this message because you are subscribed to the Google
Groups
So, the NDK stuff is pretty simply if your project is created in an NDK
Friendly way. That is, you have a folder called jni and in that folder
you have an Android.mk and an Application.mk file. Basically the process
documented here (
Ah, nice find. I wonder if they canned the idea or if it's become a
private offering for OEM's?
On Monday, March 18, 2013 7:42:11 PM UTC-7, RichardC wrote:
I can find:
https://android.googlesource.com/platform/development/+/ics-mr1-release/pdk/
but it's gone from:
Hello group,
I am adding gamepad support for one of our games and I intend to have a
graceful fallback from gamepad controls to the tilt/touch ones when the
gamepad is removed. However I don't seem to be a able to find an event
triggered when a gamepad controller is attached/removed. The
48 matches
Mail list logo