harvinder wrote:
[2] while scrolling onMeasure and onLayout rely on _scroller to get the
correct scrolling positions,
why do onMeasure and onLayout need to know scroller?
pskink
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Thanks Mark. I'll use the following structure:
misc/
misc/market/
misc/market/screenshots/
Should be enough for most of my projects.
On 14 Jan, 18:51, Mark Murphy mmur...@commonsware.com wrote:
I wouldn't call it tmp/, as that would make me think of Linux and OS X
/tmp, which are files that
I have been trying to get my head around the IO session listed below.
http://bradabrams.com/2011/05/google-io-session-overview-android-app-engine-a-developers-dream-combination/
Everything seems straight forward till I tried to create my own custom
method in the auto generated CloudTasksService
I dont think its worth speding too many thought on MVC at all. IMO,
that term in itself is not well defined at all, its just one more of
those terms that are fashionable in the software dev community for a
certain time frame. I remember when it was first coined - that was
back in the days of
Eclipse Indigo SR1, Windows 7 Home Premium 64bit.
When I reconnect, I always have to reclick on the device in the Devices
view (of the DDMS perspective).
However, in the latest version of ADT, I have a similar problem, where
clearing the log output results in subsequent log messages not
@ pskink
The CustomView may have hundreds of children and it is not appropriate to
create all the views and keep in the memory. So when the scrolling starts,
to get the latest position displayed (with correct views) on the screen, I
get the latest scroll position in onMeasure and onLayout and
same here
On 15 Jan., 11:50, Mark Carter mjc1...@googlemail.com wrote:
Eclipse Indigo SR1, Windows 7 Home Premium 64bit.
When I reconnect, I always have to reclick on the device in the Devices
view (of the DDMS perspective).
However, in the latest version of ADT, I have a similar problem,
I appreciate your answers very much. I am currently experimenting with
the WakeLock and the AlarmManager, that were great hints !
Just a few words concerning the use case:
I am writing an educational app for the barometer (contained in the
Nexus Prime). Surely it does not make sense to measure
harvinder wrote:
@ pskink
The CustomView may have hundreds of children and it is not appropriate to
create all the views and keep in the memory. So when the scrolling starts,
to get the latest position displayed (with correct views) on the screen, I
get the latest scroll position in
hi,
I am getting the frames from onPreviewFrame method, and convert
these frames to jpeg and send it on a network. but i want the size of
each image to QVGA that is 320x240. Please tell me what is the right
way to convert the onPreviewFrame to QVGA, but i am doing like add 320
and 240 as a
I think MVVM is more suitable for Android.
That is widely use in WPF.
On Sun, Jan 15, 2012 at 8:35 PM, sell.bergstr sell.bergst...@googlemail.com
wrote:
I dont think its worth speding too many thought on MVC at all. IMO,
that term in itself is not well defined at all, its just one more of
well there are hundreds of view and I trust keeping *hundreds* of view in
memory is not the wise thing to do. I believe the listview implementation
in the android may also be reusing the views.
--
You received this message because you are subscribed to the Google
Groups Android Developers
Since awesomePager is a ViewPager you can call
awesomePager.setCurrentItem(position).
http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setCurrentItem(int)
http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setCurrentItem(int,
boolean)
Hope
harvinder wrote:
well there are hundreds of view and I trust keeping *hundreds* of view in
memory is not the wise thing to do. I believe the listview implementation
in the android may also be reusing the views.
yes, listview uses this aproach, so maybe its wise to look at sources
of
i'm new in android and i want to use achartengine to implement time chart
that represent the daily outgoing call durations from call log
does any one know how can i do this and what should i do
Thanks
--
You received this message because you are subscribed to the Google
Groups Android
On Sun, Jan 15, 2012 at 2:44 AM, Dusk Jockeys Android Apps
duskjock...@gmail.com wrote:
My point was more that although there is no explicit law requiring
home screens to support animations, from my reading of the CTD there
is also no explicit law requiring views in normal Activities to
Hi,
My requirement is to build an app that will send email to user at
regular intervals but without any input from the user. Is there any
way to do that? I am aware of the javamail-android available at the
following link but would like to know of any other way (perhaps
something mentioned in the
On Sun, Jan 15, 2012 at 8:59 AM, ambi ambi1...@gmail.com wrote:
My requirement is to build an app that will send email to user at
regular intervals but without any input from the user. Is there any
way to do that?
Use JavaMail or another email API. Or, do the mailing from some Web
service that
A particular device may have an Email application different from the
one in Android sources (e.g. HTCs and the new Samsungs come to mind).
The user may install any of the third-party Email clients (K9,
ProfiMail, Mail Droid, Enhanced Email, Yahoo Mail, Yandex Mail, )
The user may not have
Thanks Mark. You mean the source code for the three jar files
additionnal.jar, mail.jar, activation.jar is available from the
following link. I tried the download tab and it just has the jar
files for download (on expanding these jar files I could only see the
class file). Perhaps I should try
On Sun, Jan 15, 2012 at 9:15 AM, ambi ambi1...@gmail.com wrote:
Thanks Mark. You mean the source code for the three jar files
additionnal.jar, mail.jar, activation.jar is available from the
following link. I tried the download tab and it just has the jar
files for download (on expanding
Thanks mark, I got the source code now.
Regards,
Ambi.
On Jan 15, 2:19 pm, Mark Murphy mmur...@commonsware.com wrote:
On Sun, Jan 15, 2012 at 9:15 AM, ambi ambi1...@gmail.com wrote:
Thanks Mark. You mean the source code for the three jar files
additionnal.jar, mail.jar, activation.jar is
Is there a resource or link that helps you read what is going on with
your app
I'm plagued by an out of memory error and I have no idea why
TypeCount Total Size
Smallest LargestMedian
free 929
On Sun, Jan 15, 2012 at 11:06 AM, New Developer secur...@isscp.com wrote:
Is there a resource or link that helps you read what is going on with your
app
I'm plagued by an out of memory error and I have no idea why
Type Count Total Size Smallest
Hello,
I have been reading up on how to use XML from within android. Apparently
the interfaces are SAX which allows callbacks to be called when each element
is processed, DOM which allows in-memory tree representations of XML, JAXP
which can be used to validate XML given an XML Schema, and JAXB
If you control the other application (Application X), then when you launch
it pass in another value in the extra data part, and don't specify the
screen orientation, but, if the intent has this other value set correctly
then it is forced to landscape mode.
So, basically, the default is to not
If the application is free this is a good choice, but if it is something
that people paid for, then forcing them to pay again just because you
change the package name would be really annoying, so for a paid version
supporting both may be better.
On Sat, Jan 14, 2012 at 11:54 PM, Ricardo Amaral
You may want to ask this on stackoverflow, but, more importantly, DOM takes
up more memory for the XML file, so why use that on a mobile device with
less memory?
Do you have a business need to prefer DOM over just processing the file?
If not, then you may want to rethink what you are asking
Hi
In my application when I press a button then it starts downloading in a
background service.
Its a huge file to download. Though I close my application it continues
downloading in service.
I want to notify in my activity when download finish. Please note the cases:
These cases after starting
On Sun, Jan 15, 2012 at 6:06 PM, James Black planiturth...@gmail.comwrote:
You may want to ask this on stackoverflow, but, more importantly, DOM
takes up more memory for the XML file, so why use that on a mobile device
with less memory?
Do you have a business need to prefer DOM over just
I was wondering about the availability of good tutorials on Java XML DOM
though.
This shouldn't be your concern, there is a vast amount of literature
(in the form of references, tutorials, etc...) on both XML, and DOM,
Android also has an XmlPullParser that you might want to look into,
I'm
http://commonsware.com/blog/2010/08/11/activity-notification-ordered-broadcast.html
And a sample app demonstrating what that blog post discusses can be found here:
https://github.com/commonsguy/cw-advandroid/tree/master/Broadcast/Ordered
On Sun, Jan 15, 2012 at 12:36 PM, Goutom
On Sun, Jan 15, 2012 at 6:47 PM, Kristopher Micinski krismicin...@gmail.com
wrote:
I was wondering about the availability of good tutorials on Java XML DOM
though.
This shouldn't be your concern, there is a vast amount of literature
(in the form of references, tutorials, etc...) on both
Hi,
I'm new in Android, need to work on Service Activity, Any demo code or
link for Guidance.
Regards
--
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
Yes, for instance the fact that with DOM you can not only parse but also
build XML models in memory. I would say both are just as easy to learn,
but with DOM I can also presumably validate my document once it's in
memory. Maybe I can do that with SAX as well, not sure.
Did you try googling
Hi,
I need to add multi-language capabilities to an Android App I'm
developing, and I've been thinking about building a tool to parse my
strings.xml file, and automatically add the translations for the
translations I want (using the Google Translate API). Anyone know if
something like this
I think MOTODEV Studio for Android supports this.
On Sun, Jan 15, 2012 at 1:24 PM, Brad Gies rbg...@gmail.com wrote:
Hi,
I need to add multi-language capabilities to an Android App I'm developing,
and I've been thinking about building a tool to parse my strings.xml file,
and automatically
On Sun, Jan 15, 2012 at 7:17 PM, Kristopher Micinski krismicin...@gmail.com
wrote:
I would highly doubt that there are significant api differences in xml
parsers between java 6 and 7..
kris
Thanks.
Another API for XML which I have not mentioned is StAX (the streaming API
for XML).
I
On Sun, Jan 15, 2012 at 1:32 PM, John Goche johngoch...@googlemail.com wrote:
Another API for XML which I have not mentioned is StAX (the streaming API
for XML).
I guess that would be another alternative, which, presumably, being part of
java 6 also
works on android?
Android does not support
Hi,
I am now using javamail-android but getting the
javax.mail.AuthenticationFailedException error. I have rechecked
username, password and all seem to be correct. Can someone please give
hint to resolve the javax.mail.AuthenticationFailedException
exception?
ps: I am sorry if this may not be
Hi all,
I'm forcing hardware acceleration on my galaxy Nexus.
Every apps that uses canvas are slowed down when this acceleration is
enabled.
Why?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I suggest you use StackOverflow, with an question tagged 'javamail'.
On Sun, Jan 15, 2012 at 1:55 PM, ambi ambi1...@gmail.com wrote:
Hi,
I am now using javamail-android but getting the
javax.mail.AuthenticationFailedException error. I have rechecked
username, password and all seem to be
Thanks. I think i have to live with what the current name is then. :(
On Sun, Jan 15, 2012 at 9:01 AM, James Black planiturth...@gmail.com wrote:
If the application is free this is a good choice, but if it is something
that people paid for, then forcing them to pay again just because you change
hi,
I am getting frames from onPreviewFrame, compress to jpeg image
with YUV and send over the network,
but the problem is, i want to increase the frame rate. Now it is 4fps
but i want 15fps what can i do to increase frame rate, here is my
code
public void onPreviewFrame(byte[] data, Camera
Hi,
I have an EditText, I would like to activate autocomplete on it.
Something that help user to autocomplete with the correct email
address.
Is there some code snippet I can read on how to do it?
Thanks.
--
You received this message because you are subscribed to the Google
Groups Android
Every apps that uses canvas are slowed down when this acceleration is
enabled.
That is certainly not true since *every* app uses Canvas :) It depend
on what you do with Canvas and how your code works (for instance if
you keep creating new bitmaps/paths/paints it's going to be slow.)
--
Romain
This is what I saied, every apps seems to be slower.
Sincerely I am trying many apps and every apps seems slower when
hardware acceleration is on.
I really don't find any improvements in this hardware acceleration
on android platform.
On other OS it clearly boost performance, on android it slow
What it takes is:
- Extending AutoCompleteTextView or MultiAutoCompleteTextView
- Providing a suitable adapter
Take a look at the built-in Email app:
So far I've been testing apps during dev using emulator. I understand
I can test directly on an android phone attached by USB. I'd like to
try.
In order to get a few cheap phones for testing I am looking at used
units with bad ESN. Will they work for testing by USB to my
development PC? They
All the standard apps use hardware acceleration and we've measured
large performance improvements. What apps exactly are slower using
hardware acceleration?
On Sun, Jan 15, 2012 at 1:45 PM, sblantipodi
perini.dav...@dpsoftware.org wrote:
This is what I saied, every apps seems to be slower.
Thanks
MAT shows the following
The class*android.content.res.Resources*, loaded by*system class
loader*, occupies*2,805,432 (26.30%)*bytes. The memory is accumulated
in one instance of*java.lang.Object[]*loaded by*system class loader*.
*Keywords*
java.lang.Object[]
All apps that heavily use canvas to draw something like drawLine(),
drawRect(),
and other primitives.
I'm not the only one who is experiencing the problem, there are many
other developers
that are experiencing the problem also on honeycomb with tablets. XDA
is full of complaining
about this
I don't understood how to pass contacts from phonebook to
AutoCompleteTextView or MultiAutoCompleteTextView
On 15 Gen, 22:52, Kostya Vasilyev kmans...@gmail.com wrote:
What it takes is:
- Extending AutoCompleteTextView or MultiAutoCompleteTextView
- Providing a suitable adapter
Take a
Please tell me about specific examples so I can see why it is so.
On Sun, Jan 15, 2012 at 2:25 PM, sblantipodi
perini.dav...@dpsoftware.org wrote:
All apps that heavily use canvas to draw something like drawLine(),
drawRect(),
and other primitives.
I'm not the only one who is experiencing the
The auto-complete list is provided by an adapter, which is responsible for:
1) Filtering
2) The drop-down list item views (sort of like with spinner and list view).
Here is the adapter from the built-in Email app:
One examples:
https://market.android.com/details?id=MortgageCalculatorPRO.DPsoftware.orgfeature=search_result#?t=W251bGwsMSwyLDEsIk1vcnRnYWdlQ2FsY3VsYXRvclBSTy5EUHNvZnR3YXJlLm9yZyJd
there a dozens of similar app that is slowed down by hardware
acceleration.
On 15 Gen, 23:31, Romain Guy
I finded this examples:
http://www.betaful.com/2011/02/multiple-e-mail-autocomplete-in-android/
but I don't find the way to use it.
On 15 Gen, 23:37, Kostya Vasilyev kmans...@gmail.com wrote:
The auto-complete list is provided by an adapter, which is responsible for:
1) Filtering
2) The
Any comments? Thanks.
On Jan 14, 9:24 am, ambi ambi1...@gmail.com wrote:
Hi,
Is there a way to read the sensor value without using the
SensorEventListener? My understanding is that the
SensorEventListener.onSensorChanged() method will tell me the sensor
value but only when the value
No, you must use a SensorEventListener.
On Sun, Jan 15, 2012 at 6:04 PM, ambi ambi1...@gmail.com wrote:
Any comments? Thanks.
On Jan 14, 9:24 am, ambi ambi1...@gmail.com wrote:
Hi,
Is there a way to read the sensor value without using the
SensorEventListener? My understanding is that the
I think Romain Guy was looking for specific examples from the stock
Android apps. You said that *all* apps slowed down, if some random
market app slows down, that's not really unexpected, if you can
substantiate your claim by pointing out an app running on many devices
because it comes preloaded,
That app should not remove noise,now i want to konw how to compute a dit
duration from the buffer of audiorecord???
2012/1/13 RLScott fixthatpi...@yahoo.com
Have you tested the app to see how much noise it can tolerate? And
have you listened to how much noise there is in actual use on the
On Sun, Jan 15, 2012 at 12:13 PM, ALi omaisat...@gmail.com wrote:
I'm new in Android, need to work on Service Activity, Any demo code
or link for Guidance.
Service Actvity is not a thing - they are two separate things. Read the
documentation.
This question shouldn't be on this list. This is a signal processing
question, and not a really simple one.. You'll need a signal and
audio processing library, which you can probably find somewhere. The
Android part of this question is how you get the audio, but actually
processing it and
Treking, did you see the new Service Activity Content Provider demo
included in the SDK?
OP: Right, these are two separate things, the first page of the
Android develop guide explains but it boils down to this:
Activities: a way to do GUI stuff (think: actions associated with a screen)
http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-ap
On Jan 15, 2012 7:29 PM, ambi ambi1...@gmail.com wrote:
Hi,
My requirement is to build an app that will send email to user at
regular intervals but without any input
Hi All,
Any one could help for the key board localization in android.
Thanks and Regards
--
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
Hi,
I am working on a App that supports several languages and got an offer to
have my strings.xml file translated into several languages. However, the
persons doing that are not technical and I would really prefer to give them
an Excel file or something like that.
Anybody using something else
Has anyone else had this issue. I'm trying to play video and the video
window is not present although I can hear audio. I tried creating the
Mediaplayer as an AsyncTask and the same thing happens although UI
performance is much better.
Any ideas on what could be wrong?
--
You received this
I have a web view that in it's HTML/Javascript makes an Http call with
Put/Delete methods. those calls seems to be ignored (I test them on chrome
and they work fine).
Any idea?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
On Sun, Jan 15, 2012 at 9:04 PM, Kristopher Micinski krismicin...@gmail.com
wrote:
Treking, did you see the new Service Activity Content Provider
demo included in the SDK?
Nope - and can't find it either ... what you talkin' about, Willis?
On Sun, Jan 15, 2012 at 11:30 PM, aru padam deepesh...@gmail.com wrote:
Any one could help for the key board localization in android.
http://www.catb.org/~esr/faqs/smart-questions.html
-
TreKing
71 matches
Mail list logo