I'm trying to improve the transition of an Activity containing a ListView
that navigates to another Activity containing a ListView when the user
selects an item.
In ICS, the holo theme has a list selector that has a very nice fade-out
transition. Maybe I am just doing something stupid, but
I came across TV-out feature available on many Android devices. So I
would like to know whether any detection control APIs for TV-out is
available on android SDK. Please share information if any are
available.
Regards,
Ruppin
--
You received this message because you are subscribed to the
hi kristopher,
can you justify your staement that how can my
application is not possible to implemented. please be specific.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
hi tryking,
then suggest me some diffrent appraoch rather than
broadcastreceiver to build my application .
--
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
Thanks for answering.
However I already knew that, and it's not really the point of my question :)
--
BoD
On 04/20/2012 01:13 AM, lbendlin wrote:
Rotating the screen restarts the activity unless you explicitly tell
the OS not to do that.
On Thursday, April 19, 2012 7:38:52 AM UTC-4, BoD
Hi,
We have designed an app which renders video from IP camera on the
Android mobile (Samsung Galaxy SII) through RTSP, the video frames get
decoded by ffmpeg and rendered on ImageView. We get the RTSP responses
and video packets from the IP camera using a socketchannel and
asynchronous
Please include DiskLruCache
(http://developer.android.com/training/displaying-bitmaps/cache-bitmap.html)
to next version of support package.
Alexey Zakharov
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
On 20 Apr, 07:36, Febi.M.Felix Maliakkal febimfe...@gmail.com
wrote:
Hi,
Hello.
If my url iswww.example.com/sender=21receiver=34msg=smiley to insert
then, how can i send smiley to the particular receiver using this url???
You can't, as mail (SMTP) is strictly ASCII plain text. It was
post it there - http://b.android.com
Regards,
Marcin Orlowski
*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray* http://bit.ly/dateintraypro - current date at glance...
WebnetMobile on *Facebook http://webnetmobile.com/fb/*,
hi,
I have created a camera application which will capture the image and
store it on SD card as well as on external server.
This application works fine on android 2.1 version but when i try to
execute same application on gteater than 2.2 versions it wont work and
gives exception
fail to connect
This wouldn't be the first time when the support library is somewhat
inconsistent with native platform code.
Have you tried debugging into the library code?
The sources are available under
android-sdk\extras\android\compatibility\v4\src.
-- K
20.04.2012 11:43, BoD ???:
Thanks for
Note that createScaledBitmap may return the same bitmap as the input...
when the input parameters *width *and *height *are the same as the
width/height of your input bitmap:
Change the code as follows (bold part is the changed part):
Bitmap bmp1 = Bitmap.createScaledBitmap(src, width, height,
Err... Your spelling is a little off...
But basically, if you're trying to write a spy app, the point of
anyone doing Android systems development is to try to make sure your
app is impossible to write.
You also seem to lack a fundamental understanding of how broadcast
receivers work: they are
I am not exactly sure if this is the cause of your problem but your
fragment creation code is flawed. When you use *setRetainInstance(true)* you
don't need to create the fragment every time the activity is created. Also,
I don't know why you check for saveInstance to be null. When the phone is
I think there is another forum specifically for people trying to write
spy applications on Android. I am unable to recall where. Or maybe I saw
it when I was dreaming in my sleep. I just don't seem to remember.
Oh and reading the docs to understand basic framework concepts also help.
--
You
This has nothing to do with Android. Please find a suitable forum for this.
On Thursday, April 19, 2012 11:36:44 PM UTC-6, Febi.M.Felix Maliakkal wrote:
Hi,
If my url is www.example.com/sender=21receiver=34msg=smiley to insert
then, how can i send smiley to the particular receiver using
On Fri, Apr 20, 2012 at 2:21 AM, asheesh arya asheesharya...@gmail.comwrote:
then suggest me some diffrent appraoch rather than broadcastreceiver to
build my application .
I can't, because you haven't explained what you're trying to do (beyond
spy application) and what you're asking for help
On Friday, April 20, 2012 4:21:48 AM UTC-4, Jxn wrote:
then, how can i send smiley to the particular receiver using this url???
You can't, as mail (SMTP) is strictly ASCII plain text. It was
developed before HTML and the web.
I was under the impression that smiley's _are_ plain text.
Hi
I'm displaying a OPENGL ES 1.X square with a texture, and the user can zoom
in and out the square scaling it.
When the user zoom's out the square (the square get's scaled going smaller
in the screen) the texture of the square get's rare translucent squares,
like tiles from googlemaps.
When trying to blend the full-size camera image with an equal-size
bitmap for the filter, unless I reduce the image size, I get an
out of memory error. I really would like to allow users to get the
maximum resolution possible.
After scanning through the thread I've noticed that no one has
Ok, so there are two types of 'smiley's there is an actual smiley character
in the one of the unicode character sets, but that is not ascii because it
is unicode.
then there are the markups: things like :) or :( or :P which are really
just two characters that interpreted in a different way,
Description
Discuss developing Android
applications using the SDK:
troubleshooting apps, advice on
implementation, strategies for
improving your app's speed and user
experience. This group is for
development-related topics only, not
for job opportunity announcements,
On Friday, April 20, 2012 11:55:42 AM UTC-4, barrett wrote:
Does that help? See how this has NOTHING to do with Android?
Presumably the poster wants to send the message from an android device, or
something like that.
Or they are just clueless...
--
You received this message because you
On Friday, April 20, 2012 11:55:42 AM UTC-4, barrett wrote:
Does that help? See how this has NOTHING to do with Android?
Presumably the poster wants to send the message from an android device, or
something like that.
But then again, it's a poorly stated question so we can only speculate as
Presumably the poster wants to send the message from an android device, or
something like that.
Just because they are developing for Android doesn't mean the question has
anything at all to do with Android development... It does use the Java
language. There are often many java tutorials for
On Friday, April 20, 2012 1:30:45 PM UTC-4, MagouyaWare wrote:
Presumably the poster wants to send the message from an android device, or
something like that.
Just because they are developing for Android doesn't mean the question has
anything at all to do with Android development...
Still adjusting to the changes in Android 4.0 regarding AsyncTask.
If I understand right, the default behavior of execute is changing to one
single thread pool with only one thread? With the reason cited that
programmers are not capable of handling a bigger threadpool (I'm
paraphrasing).
Have setup an ssl connection app, have already setup connection between
client and server using single thread. Since my app deals with remote
desktop access, i am trying to implement threading.
Don't know why the application just stops after creating socket, it neither
fails nor performs
On Fri, Apr 20, 2012 at 3:16 PM, Nathan nathan.d.mel...@gmail.com wrote:
If I understand right, the default behavior of execute is changing to one
single thread pool with only one thread?
I have not been able to confirm that this change is in place. When I
try testing a bunch of tasks, they
The default, starting with 4.0, is to use the serial executor:
https://github.com/android/platform_frameworks_base/blob/master/core/java/android/os/AsyncTask.java#L192
But there is also an way to explicitly use the thread pool executor:
20 апреля 2012 г. 23:29 пользователь Mark Murphy
mmur...@commonsware.comнаписал:
On Fri, Apr 20, 2012 at 3:16 PM, Nathan nathan.d.mel...@gmail.com wrote:
If I understand right, the default behavior of execute is changing to one
single thread pool with only one thread?
I have not been able
2012/4/20 Kostya Vasilyev kmans...@gmail.com:
The default is definitely serial on my GNex with 4.0.2.
Did they revert it again for the 4.0.3 that you have?
Here's how I am testing it (sloppy code, but it meets the need):
import android.app.Activity;
import android.os.AsyncTask;
import
On Friday, April 20, 2012 12:29:24 PM UTC-7, Mark Murphy (a Commons Guy)
wrote:
On Fri, Apr 20, 2012 at 3:16 PM, Nathan wrote:
If I understand right, the default behavior of execute is changing to one
single thread pool with only one thread?
I have not been able to confirm that this
On Fri, Apr 20, 2012 at 4:26 PM, Nathan nathan.d.mel...@gmail.com wrote:
I don't download the source myself, but if this source listing is accurate,
it must be fully in place.
https://github.com/android/platform_frameworks_base/blob/master/core/java/android/os/AsyncTask.java
I've seen that,
On Friday, April 20, 2012 12:31:01 PM UTC-7, Kostya Vasilyev wrote:
The default, starting with 4.0, is to use the serial executor:
https://github.com/android/platform_frameworks_base/blob/master/core/java/android/os/AsyncTask.java#L192
But there is also an way to explicitly use the thread
21 апреля 2012 г. 0:36 пользователь Nathan nathan.d.mel...@gmail.comнаписал:
It's not quite so easy for a project that wants to run on pre 3.0
platforms. If you have an elegant solution for that, it will save me some
time.
Idea 1: Write a wrapper method in a utility class somewhere...
*Curiouser and curiouser*! *Cried Alice*
Running your code on my GNex with official 4.0.2 I get this:
04-21 00:41:08.327 I/ParallelTasks(14355): A started
04-21 00:41:18.335 I/ParallelTasks(14355): A ended
04-21 00:41:18.335 I/ParallelTasks(14355): B started
04-21 00:41:28.335
Yes if your targetSdkVersion is = 12, then as of that release the default
executor is serial.
This change was made because we realized we had a lot of bugs in the
platform itself where async tasks where created that had implicit ordering
dependences, so with the default parallel execution there
On Fri, Apr 20, 2012 at 5:24 PM, Dianne Hackborn hack...@android.com wrote:
Yes if your targetSdkVersion is = 12, then as of that release the default
executor is serial.
Bingo! It's the targetSdkVersion that's controlling the behavior.
Looking at the AsyncTask source code, I can't quite see how
Sorry yes it is API 13, I turned around the logic of the code when I
glanced at it:
// If the app is Honeycomb MR1 or earlier, switch its AsyncTask
// implementation to use the pool executor. Normally, we use the
// serialized executor as the default. This has to happen
Perhaps the documentation needs to be updated?
As of right now, it says:
Note: this function schedules the task on a queue for a single background
thread or pool of threads *depending on the platform version*.
... and makes no mention of the target sdk setting in the manifest.
Still, an app
On Friday, 20 April 2012 23:24:34 UTC+2, Dianne Hackborn wrote:
Yes if your targetSdkVersion is = 12, then as of that release the default
executor is serial.
This change was made because we realized we had a lot of bugs in the
platform itself where async tasks where created that had
On Fri, Apr 20, 2012 at 6:26 PM, b0b pujos.mich...@gmail.com wrote:
Conclusion: there's probably man apps broken in subtle ways on ICS because
of this change.
Probably not, only because they have to explicitly set the
targetSdkVersion to 13+, and I don't know how many people are setting
it that
2012/4/20 Kostya Vasilyev kmans...@gmail.com
Perhaps the documentation needs to be updated?
Yes sorry it wasn't updated in ICS, I have it updated in the current dev
tree.
--
Dianne Hackborn
Android framework engineer
hack...@android.com
Note: please don't send private questions to me, as I
On Fri, Apr 20, 2012 at 3:26 PM, b0b pujos.mich...@gmail.com wrote:
While I understand why this change why made it introduced some subtle bugs
in apps running on ICS with the SerialExecutor vs the the Threaded Executor.
It is unfortunate and I'm not sure it was a wise decision to change such
To complete on this topic, I think it would be very useful to post an
article on this issue on the developer's blog,
asking developers whose app run on APi 13+ to review all their AsyncTask
execute() code to check
if it can use the default Executor or if it must use the Threaded Executor,
for
On Friday, April 20, 2012 3:26:26 PM UTC-7, b0b wrote:
On Friday, 20 April 2012 23:24:34 UTC+2, Dianne Hackborn wrote:
Yes if your targetSdkVersion is = 12, then as of that release the
default executor is serial.
This change was made because we realized we had a lot of bugs in the
21 апреля 2012 г. 2:39 пользователь Mark Murphy
mmur...@commonsware.comнаписал:
On Fri, Apr 20, 2012 at 6:26 PM, b0b pujos.mich...@gmail.com wrote:
Conclusion: there's probably man apps broken in subtle ways on ICS
because
of this change.
Probably not, only because they have to explicitly
Conclusion: there's probably man apps broken in subtle ways on ICS
because
of this change.
Probably not, only because they have to explicitly set the
targetSdkVersion to 13+, and I don't know how many people are setting
it that high.
Bumping targetSdkVersion to the latest version is
21.04.2012 2:52 пользователь b0b pujos.mich...@gmail.com написал:
Conclusion: there's probably man apps broken in subtle ways on ICS
because
of this change.
Probably not, only because they have to explicitly set the
targetSdkVersion to 13+, and I don't know how many people are setting
it
To illustrate this further, consider this code from Tim Bray downlading
images in a ListView. Something that must be implemented in thousand apps:
http://android-developers.blogspot.fr/2010/07/multithreading-for-performance.html
This code running unmodified on ICS will download images
There are some subtle activity lifecycle callback changes starting with 3.0,
some not so subtle home screen widget changes starting with 4.0... just what
comes to mind right away...
And don't forget hardware acceleration that gets turned on when targetSdk=14+
--
Romain Guy
Android framework
21.04.2012 3:09 пользователь Romain Guy romain...@android.com написал:
There are some subtle activity lifecycle callback changes starting with
3.0,
some not so subtle home screen widget changes starting with 4.0... just
what
comes to mind right away...
And don't forget hardware
On Fri, Apr 20, 2012 at 06:27:18AM -0700, Streets Of Boston wrote:
Note that createScaledBitmap may return the same bitmap as the input...
when the input parameters *width *and *height *are the same as the
width/height of your input bitmap:
Change the code as follows (bold part is the
On Fri, Apr 20, 2012 at 05:18:05AM -0700, Sumedh wrote:
I have created a camera application which will capture the image and
store it on SD card as well as on external server.
This application works fine on android 2.1 version but when i try to
execute same application on gteater than 2.2
Some of this is a little over my head, but from what I can understand, if
the targetSdkVersion is set to 13 or greater and I have a long running
AsyncTask (not exactly sure what is considered a long running task), I
should use this code to execute the AsyncTask?
2012/4/20 Kostya Vasilyev kmans...@gmail.com
So, changing the targetSdk may break code in various ways and requires
careful (re)testing.
Yes, the whole reason for targetSdkVersion is to allow the platform to turn
off various compatibility behavior for older applications. If you bump up
your
on a totally unrelated side note - you don't need to specify
uses-permission
android:name=android.
permission.ACCESS_COARSE_LOCATION / when you are already asking for fine
location. If you get fine location permission, you are implicitly also
getting coarse location permission.
On Friday,
My app targets sdk 15 (tested on CM9) and uses AsyncTask in every activity
but only one at a time. Explains why I did not notice the change. I agree
that this change deserves better documentation in the API reference in
addition to a blog post.
--
You received this message because you are
On Apr 20, 12:16 pm, Nathan nathan.d.mel...@gmail.com wrote:
In my opinion, this a deplorable punishment for those developers who have
dutifully followed the AsyncTask pattern, which, to this day, the Android
platform has encouraged.
Add it to the list... ;) I can't exactly call the
The real problem that is see with this change is that while you can modify
all of your own uses of AsyncTask to suit you can be entirely hamstrung by
one or more 3rd-party libraries that are also using AsyncTasks.
Personally I've been using my own replication of AsyncTask for the last 12
Hi guys i am getting a problem on uploading large video files to ftp
server,files are uploading but the data got courrpted and when we
download that file,it is not playable and showing file is
courrpted,could anyone please help me how to achieve this and why this
is going on
--
You received
Are you referring to a multi-pane layout with multiple fragments?
On Friday, April 20, 2012 2:25:16 PM UTC+8, Jon Perlow wrote:
I'm trying to improve the transition of an Activity containing a ListView
that navigates to another Activity containing a ListView when the user
selects an item.
63 matches
Mail list logo