This is the expected behavior. If a View is blended (with transparent
or translucent regions) and has to redraw, any Views behind it must be
redrawn as well. This behavior changes when hardware acceleration is
turned on. The behind Views are redrawn but the onDraw() method is
not called since each
Dear all,
I want to read images from sdcard. These images are of different names like
a.jpg and موافق.jpg etc. Some of them are english names and some are with
arabic names.
The problem is that when I make File as File imageFile = new
File(pathFromSDCard), It shows file does not exists for all
Did you get the file name by enumerating the directory contents or entering
the file name some other way?
What version of Android are you trying this on?
On Wednesday, August 15, 2012 9:35:38 AM UTC+1, Muhammad Rashid wrote:
Dear all,
I want to read images from sdcard. These images are of
I get the file path like /mnt/sdcard/DCIM/Camera/حفظ.jpg. Then I made file
by File file = new File(path). Here it says file does not exists.
I am using Android OS 2.3.6
On Wednesday, August 15, 2012 2:29:27 PM UTC+5, RichardC wrote:
Did you get the file name by enumerating the directory
How did you get the path name into your program? If you used cut/paste
there could be problems with Unicode. Have you tried enumerating the
directory contents from your Android program and opening the file using the
path returned from:
Exactly by enumerating... using listFiles()
On Wednesday, August 15, 2012 2:58:43 PM UTC+5, RichardC wrote:
How did you get the path name into your program? If you used cut/paste
there could be problems with Unicode. Have you tried enumerating the
directory contents from your Android
Does android supports the external USB microphone (Like PC)? OR can an
external accessory device (in Accessory mode) have a microphone and stream
the audio from the accessory to android device?
Prabudas S.
--
You received this message because you are subscribed to the Google
Groups
Hi
I am trying to access mymaps in my Google account in an android
application. I want to be able to access the placemarks as objects to
display the details and perhaps edit the notes attached to the placemark. I
can't find any way to do this can anyone help?
Thanks
Sean
--
You received this
I have an app whose initialization is quite CPU and thread heavy for 3-5s
on startup.
During that period, the logcat reports several:
08-15 15:33:24.804: I/dalvikvm(8550): threadid=3: reacting to signal 3
08-15 15:33:24.882: I/dalvikvm(8550): Wrote stack traces to
'/data/anr/traces.txt'
every
On Wed, Aug 15, 2012 at 8:24 AM, Sean751 sean...@gmail.com wrote:
I am trying to access mymaps in my Google account in an android
application. I want to be able to access the placemarks as objects to
display the details and perhaps edit the notes attached to the placemark. I
can't find any
Did you set minSDK? Where does it crash?
On Tuesday, August 14, 2012 8:27:12 PM UTC-5, Numair Qadir wrote:
Dear Bob,
I tried my app in API 11 with largeHeap=true, but the app crashes. It
didn't work. :(
On Mon, Aug 13, 2012 at 7:06 PM, bob b...@coolfone.comze.comjavascript:
wrote:
So I guess you just do a bunch of *adb push* and *adb pull* commands to
have a conversation with an Android app?
On Tuesday, August 14, 2012 5:07:25 PM UTC-5, Paul Turchenko wrote:
All Android devices use ADB to talk to computer
On Tuesday, August 14, 2012 2:27:53 PM UTC-5, bob wrote:
When you say old and abandoned do you think there might be a new and
improved Maps API for Android any time soon?
It will be messy but I will find another way to do what I want.
Thanks
Sean
On Wednesday, August 15, 2012 9:53:59 AM UTC-4, TreKing wrote:
On Wed, Aug 15, 2012 at 8:24 AM, Sean751
I set the minSDK to version 3.0, but it crash on the same line.
On Wed, Aug 15, 2012 at 7:14 PM, bob b...@coolfone.comze.com wrote:
Did you set minSDK? Where does it crash?
On Tuesday, August 14, 2012 8:27:12 PM UTC-5, Numair Qadir wrote:
Dear Bob,
I tried my app in API 11 with
That would be one way to do it, we've also used some intent firing
mechanisms from ADB to implement things for testing apps.
kris
On Wed, Aug 15, 2012 at 10:18 AM, bob b...@coolfone.comze.com wrote:
So I guess you just do a bunch of adb push and adb pull commands to have a
conversation with an
What part of abandoned was unclear?
On Wednesday, August 15, 2012 10:19:04 AM UTC-4, Sean751 wrote:
When you say old and abandoned do you think there might be a new and
improved Maps API for Android any time soon?
It will be messy but I will find another way to do what I want.
Thanks
Sean
Ouch
If you have nothing good to say then say nothing.
I am not saying anything more.
On Wednesday, August 15, 2012 11:40:48 AM UTC-4, lbendlin wrote:
What part of abandoned was unclear?
On Wednesday, August 15, 2012 10:19:04 AM UTC-4, Sean751 wrote:
When you say old and abandoned do
Are you doing an app to send the image from phone to PC via usb?
Regards,
Michael
http://www.itblogs.info
http://www.michaelleumg.info
2012-8-16 上午12:20 於 bob b...@coolfone.comze.com 寫道:
So I guess you just do a bunch of *adb push* and *adb pull* commands to
have a conversation with an
I think that is a bit out of topic in here.
Regards,
Michael
http://www.itblogs.info
http://www.michaelleumg.info
2012-8-15 上午4:30 於 Rocky rkjhaw1...@gmail.com 寫道:
Let me know your comments
Dear All,
I've developed an app that registers a receiver in the onResume()
constructor.
This receiver need not to be deallocated as it processes intent even when
my app is not running on the foreground.
For that reason, the receiver is not deregistered by onPause().
Now, when the app goes in
On Wed, Aug 15, 2012 at 12:34 PM, frantz lohier floh...@gmail.com wrote:
Question: is there a way to ensure that receiver are programmatically
registered at run-time are not deallocated when an app goes in background?
IMHO, a better implementation would be to register the receiver in the
On Wed, Aug 15, 2012 at 9:19 AM, Sean751 sean...@gmail.com wrote:
When you say old and abandoned do you think there might be a new and
improved Maps API for Android any time soon?
There is zero indication that I'm aware of that the Android Maps API will
see even so much as a bug fix update
On Wed, Aug 15, 2012 at 1:15 PM, TreKing treking...@gmail.com wrote:
There is zero indication that I'm aware of that the Android Maps API will
see even so much as a bug fix update any time soon.
FWIW, in at least two Google I|O sessions, the Android team was asked
about the Maps add-on for
Hey. Why nobody cant tell me? Google says that this is bug and it is fixed.
But i test that on several modern devices with latest updates it is the
same. (also on 4x Android on Archos 101 tab) .
понедельник, 13 августа 2012 г., 15:01:44 UTC+3 пользователь Pavel Brans
написал:
I mean don't
Hi,
I'm novice in Android app developement. I recently started building theme
packs for different launchers and uploaded them on Play Store. These apps
are having issues with devices using Jelly Bean ROM. And not just the mass
reported encryption related issue. I had heard that only paid apps
Interesting discussion but how are we supposed to handle setContentView()
(which calle the layour inflater, which instantiates views),
taking a lot of time for complex layouts ?
In ICS+, if the main UI thread is stuck for more than approx 500ms the
system great the app with a super
FYI, these are my installed ADK packages -
https://lh3.googleusercontent.com/-j1BMiwFXarg/UCv1rc26mkI/ONo/UWH8XBZccUU/s1600/package.jpg
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Wed, Aug 15, 2012 at 3:05 PM, Pavel Brans thesn...@gmail.com wrote:
Google says that this is bug and it is fixed.
AFAIK, the behavior of sensors with the screen off is undefined and is
up to the device manufacturer.
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
What sensor are you trying to read? Also, why not just display a black
screen instead of turning the screen off?
On Monday, August 13, 2012 7:00:25 AM UTC-5, Pavel Brans wrote:
I have android 2.2.2 on my phone(LG-P970) but sensors don't collects data
with partial wake lock. Why? How to
Hi,
I am trying to find the *package name *of an application based on
'Application Name' by scanning through all installed applications on the
device. Using the below code, it works, but takes about 15~20 secs to find
the package name on a device loaded with applications.
public String
Instead of I Missed my Phone at Home maybe call it I Left my Phone at
Home? It's better grammar.
On Tuesday, August 14, 2012 1:27:07 PM UTC-5, RKJ (Android developer) wrote:
Let me know your comments
Well, does it ask if you want to Force Close? If not, it sounds like there
isn't clearly a problem. You'll probably never understand every line in
logcat.
On Wednesday, August 15, 2012 8:49:24 AM UTC-5, b0b wrote:
I have an app whose initialization is quite CPU and thread heavy for
An ANR is triggered if the UI thread is blocked for 5 seconds, not 500ms.
On Aug 15, 2012 9:15 PM, b0b pujos.mich...@gmail.com wrote:
Interesting discussion but how are we supposed to handle setContentView()
(which calle the layour inflater, which instantiates views),
taking a lot of time for
Accel and Magnetic field. black screen will draine batary much faster
then turn screen off as i understand..
That is absoulutly not clever from google to give posibility to vendors to
disable sensors when screen off and for vendors to use this posibilyty. Now
i have service that save batery
Hi all,
I'm getting the below error when I compile and try to run my project in the
simulator:
[2012-08-15 16:08:31 - LANTA] Installation error:
INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2012-08-15 16:08:31 - LANTA] Please check logcat output for more details.
[2012-08-15 16:08:31 - LANTA]
On Wed, Aug 15, 2012 at 4:23 PM, Dan Uff danny@gmail.com wrote:
I'm getting the below error when I compile and try to run my project in the
simulator:
Most likely, you are running this in the emulator, not a simulator.
[2012-08-15 16:08:31 - LANTA] Installation error:
On Wednesday, 15 August 2012 22:07:46 UTC+2, Romain Guy (Google) wrote:
An ANR is triggered if the UI thread is blocked for 5 seconds, not 500ms.
Yes, but until the ANR hapens (or not if the UI thread is blocked fior
say...3s), the logcat spams these messages every 500ms (CM9, ICS 4.0.4):
My Asus TF101 running stock ICS doesn't display the Wrote stack traces
line in the logcat every 500ms the UI thread is not responding, which make
me think it could be a CM9 issue or bug ?
On Wednesday, 15 August 2012 22:39:09 UTC+2, b0b wrote:
On Wednesday, 15 August 2012 22:07:46 UTC+2,
Kedves Tamás,
It's really strange. What are you doing in your view's constructor? I
view's constructor mostly reads's out the given attributes depending
on the given style. Init some members, like Paint objects, but usually
that's all.
Every hard work comes after it's attached to the hierarchy
I'm now convinced it is a CM9 issue as it writes stack traces for almost
any app, at startup but also sometimes during normal execution.
To prove I am not affabulating, this when starting the camera app (in
between lines omitted):
08-15 23:08:57.078: I/dalvikvm(30403): Wrote stack traces to
Mark,
Thanks for the help. :-)
Dan
On Wednesday, August 15, 2012 4:23:31 PM UTC-4, Dan Uff wrote:
Hi all,
I'm getting the below error when I compile and try to run my project in
the simulator:
[2012-08-15 16:08:31 - LANTA] Installation error:
INSTALL_FAILED_MISSING_SHARED_LIBRARY
Check to make sure that you run on a google api emulator
On Wednesday, August 15, 2012 3:23:31 PM UTC-5, Dan Uff wrote:
Hi all,
I'm getting the below error when I compile and try to run my project in
the simulator:
[2012-08-15 16:08:31 - LANTA] Installation error:
You may want to look at this:
http://stackoverflow.com/questions/1113088/install-failed-missing-shared-library-error-in-android
Does this apply to you:
To get past INSTALL_FAILED_MISSING_SHARED_LIBRARY error with Google Maps
for Android:
The first answer explains how to get past this error.
On
I'd like to resurrect an old thread.
In my app, I keep seeing LVL timeouts.
It started back in May (re: the old thread link below) and at that time, I
was able to get logcat output from two users to confirm that:
1 - The app binds to the Market app / service
2 - It queues up a license check
After more investigations, it look like each of this Wrote stack traces
logcat line will write a /data/anr/slow??.txt :
shell@android:/data/anr $ ls
slow00.txt
slow01.txt
slow02.txt
slow03.txt
slow04.txt
slow05.txt
slow06.txt
slow07.txt
slow08.txt
slow09.txt
traces.txt
My question to thows
Then you would need to talk to the makers of the roms that are doing
this...
As for onCreate() you shouldn't really be doing ANYTHING except calling
setContentView() and initializing a few member variables. Anything else
needs to go in a separate thread (perhaps using AsyncTask) to do heavy
Oh man. Thanks alot. That is the wonderful book that teaches me alot
regarding media stuff. The problem is solved :)
On Wed, Aug 15, 2012 at 10:24 AM, Jim Graham spooky1...@gmail.com wrote:
On Wed, Aug 15, 2012 at 06:35:43AM +0500, Numair Qadir wrote:
I like the solution you proposed for
In the above example directly inserted children values.like this
*private*
Stringhttp://android.grepsrc.com/source/s?defs=Stringproject=ics-mr1[][]
children http://android.grepsrc.com/source/s?refs=childrenproject=ics-mr1= {
{ Arnold, Barry, Chuck, David },
{ Ace,
My app only required a single positive response and then would never
query again. I had a few people every day with OK orders who couldn't
validate, starting around May I guess, as you say. I don't know what
the cause was.
The only thing that helped was uninstall-reinstall.
After giving Google a
Hi all,
My client has a requirement of reading a file from apps private space. A
file that can be a doc/pdf/txt file, has to be read from my apps internal
memory with the permissions like read or read write.And i have to open that
file from the third party app.i have that it is not possible
On Thu, Aug 16, 2012 at 07:53:03AM +0500, Numair Qadir wrote:
Oh man. Thanks alot. That is the wonderful book that teaches me alot
regarding media stuff. The problem is solved :)
No problem...I agree completely. It's definitely a very good book, but
you need to read it along with the relevant
How to get cpu elapsed of other processes which are in background in
android?
In my application I want to get CPU elapsed time of other processes which
are running in background. How can I do it. Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups
I have an idea for an app. In the interest of helping the user conserve
battery power, I want to provide the OPTION of disabling battery-draining
services like wifi, GPS, Bluetooth, and cellular.
How do I implement this? Are there good tutorials/examples that implement
such functionality?
I am working on a client-server project in android.I need to parse xml from
url and place it in Expandablelistview. The problem arises when i am trying
to place childs inside each group based on the data coming from server. My
code only places the first child inside first group, but i can't
press airplane mode!
On Wed, Aug 15, 2012 at 10:33 PM, Jason Hsu jhsu802...@gmail.com wrote:
I have an idea for an app. In the interest of helping the user conserve
battery power, I want to provide the OPTION of disabling battery-draining
services like wifi, GPS, Bluetooth, and cellular.
Hi everyone,
I'm the main developer of ACRA and just read this topic after receiving
messages from devs who could not get their logcat anymore on JB devices.
Until now, ACRA was checking that the READ_LOGS permission was granted
before exec-ing logcat and retrieving DropBoxManager events.
56 matches
Mail list logo