Just have the AsyncTask's 'doInBackground' method return an object
that contains the result of your background computation (including any
possible error).
myAsyncTask = new AsyncTaskMyParams,Progress,MyResult() {
@Override
protected MyResult doInBackground (MyParams... params) {
Just read the reference on developer.android.com.
I'll give you a hint :-)
Bitmap.getPixels( ... )
On Jul 20, 9:54 pm, Sharmila sharmcg...@gmail.com wrote:
Is it possible to create a byte array from bitmap?How can I do so?
Thanks,
Sharmila
That depends...
You can do floatNumber == 0 in many cases or floatNumber1 ==
floatNumber2.
But you have to remember that precision-errors could be a problem.
It depends on how floatNumber(1/2) has been assigned and what you're
using it for.
But to say 'never', that's a bit too strong. :-)
On
It's hard to tell why this happens with your app.
Try to debug it:
Attach the Eclipse debugger to your process when it hangs and then
pause the entire process. Then open up (expand) the threads and see
where the stack-trace of each thread is currently at. This may give
you a hint about why your
You forgot GL_TEXTURE_WRAP_T. :=)
On Jul 21, 2:30 am, kalyan simhan kalyansim...@gmail.com wrote:
thanks for the reply.. but it still does not work..
the bitmap still repeats...i did this..
gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER,
Use Calendar instead for locale sensitive info (timezone, dst, etc).
Code snippets:
Date timeStamp = ...;
...
// Get the system calendar for 'here' and set the timestamp (universal
time).
Calendar cal = Calendar.getInstance();
cal.setTime(timeStamp);
// Get the system calendar for 'somewhere'
Did you try to have the rendering done in a seperate thread?
On Jul 21, 4:33 pm, klirr haskell...@gmail.com wrote:
I use SurfaceView for my game, tried normal View first but that was to
slow.
Problem is, it still is. The redrawing just isn't anywhere fast enough
for a game. So unless it is a
A seperate thread should not implement/extend SurfaceView or any other
view.
You still create your GameView as you had before, but you add a new
class called (for example) GameRenderer.
This GameRenderer will implement a Thread.
The GameRenderer will execute its 'run()' method at some point.
Same here.
I have successfully removed (by asking moderators of online forums) my
app from multiple forums where it could be downloaded freely, but I
have not been able to keep up lately :(
It's a fact of life, alas. Every piece of software is pirated. I just
hope that most people think that 99
Why not make it smaller? Or load it scaled (inSampleSize 1).
Your screen is only 320x480; you don't need 1000x1000.
On Jul 22, 7:00 am, Y2U usman@gmail.com wrote:
Hey guys,
I am using bitmap image that i have to rotate on fling. its actually a
circular image that will act like a spin
This is actually one of the forums which honored my request to remove
my app from offered to download.
However, i see that some now post links from other sites on this forum
(instead of hosting the apks on ip-forum itself) to download my, and
many other, apps.
On Jul 23, 12:01 am, NitroDesk
Android does not provide an Exif Reader or Exif Writer in its SDK (it
has a native implemenation, though, but that API is private).
The Sanselan library, however, does provide a full fledged set of
functionality for reading and writing Exif metadata.
However, Sanselan pur sang cannot be
= @43d0e2b8
pos = 2, v = @43d0e2b8, v.tag = 2
You can also notice I'm getting conView=null *twice* for position 0,
this is also a problem i think.
Any ideas?
Mor.
On Feb 26, 1:29 am, Bolha lucasros...@gmail.com wrote:
Hi, Streets Of Boston.
I haven't thought about that, maybe
This error message is thrown when the process' memory limit has been
reached.
In other words, there is no hard limit to the size of bitmap that can
be constructed by the system.
Most phones have a 16MByte heap-limit. Phones with larger cameras
(allowing to snap pics with 5 or 8MPix) may have a
constructor).
My main concern is:
Why if I'switch between this two views (Gamescreen and Gallery) 30
times, I have always the same amount of bitmap memory, and if I do it
2 times after pause-resume-pause-resume my memory consumption grows
(driving me to a crash)?
On Feb 25, 6:03 pm, Streets
Yes, you're right.
The OOM exception is thrown if your process' memory would exceed
16MByte (or 24MByte on some phones). This includes non-JVM memory such
as raw bitmap-data. You may have 9MByte available in the java-heap,
but if your process is still holding on to almost 7MByte of bitmap-
data
Note that your code is not synchronized and may cause problems.
Your stopThread method sets blinker to null and stopThread is probably
called by the UI thread.
The 'run' method runs in the other thread and reads the value of
'blinker'.
Since you haven't synchronized the writing and reading of
mm... my app makes use of saving and restoring instance state a
lot and it works as well on the Nexus One as on the Droid or G1. But i
don't use the onStop callback at all. And I don't use the
onRestoreInstanceState either. Instead, i use the
onRetainNonConfigurationInstance() and
...@greenrobot.de wrote:
On 3 Mrz., 23:01, Streets Of Boston flyingdutc...@gmail.com wrote: Yes,
you're right.
I hope I am not, let's see...
The OOM exception is thrown if your process' memory would exceed
16MByte (or 24MByte on some phones). This includes non-JVM memory such
as raw bitmap-data
the onstart and onstop methods to coordinate their work, how come so
few people have noticed that?
Zuli
On Mar 5, 6:00 am, Streets Of Boston flyingdutc...@gmail.com wrote:
mm... my app makes use of saving and restoring instance state a
lot and it works as well on theNexusOneas
Because the openFileOutput opens a file on your phone memory, not on
your sd-card.
Use Environment.getExternalStorage() to get to the root of your sd-
card instead.
(i may have mis-types the method above, but you get the idea :-)).
On Mar 5, 10:01 pm, Ozymandias jor...@gmail.com wrote:
I can't
That's not good. :(
Have you tried contacting the other developer?
On Mar 5, 4:15 pm, greenrift jtgi...@gmail.com wrote:
I have an app that was published last fall. Recently a developer
published an app with the exact same name as my app on the market.
His app is very similar to mine. He
The Samsung Moment moment has a flash onboard that can be used for
taking pics. But, from customers i learned that the Samsung Moment
does not return anything when parameters.getSupportedFlashModes() is
called.
If this is a bug, what is are the android.os.Build.MODEL,
android.os.Build.DEVICE and
I am reviving this thread again...
http://groups.google.com/group/android-developers/browse_frm/thread/6ce3f666d4a64bd5/e22a089fd7fcfb50
I have tried Marco's suggestion, but it doesn't work.
It seems the broadcast is not ordered and canceling/aborting it has no
effect. This causes for both my and
Try a 'content:' Uri instead of a 'file:' Uri.
On Mar 7, 9:38 am, ryan_f bluebaracu...@gmail.com wrote:
I have Photoshop.com 1.1.0 (build 3) installed on my T-Mobile G1,
Android 1.6 phone. When trying to use the described intent, no
application was found to handle it.
scheme, please. =)
On Mar 7, 1:45 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Try a 'content:' Uri instead of a 'file:' Uri.
On Mar 7, 9:38 am, ryan_f bluebaracu...@gmail.com wrote:
I have Photoshop.com 1.1.0 (build 3) installed on my T-Mobile G1,
Android 1.6 phone. When
.
On Mar 6, 11:26 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
The Samsung Moment moment has a flash onboard that can be used for
taking pics. But, from customers i learned that the Samsung Moment
does not return anything when parameters.getSupportedFlashModes() is
called
This is similar to the seeding program for Android Market Developers.
I don't know what the criteria are to get selected for this seeding
program (which forums, how many posts, etc.), but many more of us can
now expect an Android device being shipped to them.
Thanks Google :)
--
You received
Hi,
When creating a thumbnail (either by a plain 'insert' or by calling
MediaStore.Images.Thumbnails.getThumbnail), is is it possible to use
any value for KIND, or does it *have to be* either MICRO_KIND or
MINI_KIND?
If it has to be one of these 2 values, can you have more than one
thumbnail per
If you want to test the case when Android kills your app, just use the
DDMS view (as you said) and hit the red stop/kill button. This'll kill
your app's process. Then restart your app and see what happens.
On Mar 9, 7:40 am, qvark joseluishuertasfernan...@gmail.com wrote:
Hi,
I'm having
Try to avoid subclassing the Application class.
Just use static variables. Initialize them to null/0/whatever and
check them in the onCreate of your activity. If these are null/0/
whatever, initialize these static variable properly and continue. But
re-initializing them *won't maintain* state.
anyone... ?
On Mar 8, 10:49 am, Streets Of Boston flyingdutc...@gmail.com wrote:
Bump.. sorry...
Anyone knows how to control the flash on Samsung (Moment)? I guess
it's some set of name/value pairs to be set in the Camera.Parameters
instance.
The Camera.Parameters.get(flash-mode-values
@Kevin
Or being a top contributor to these community forums. I'll get an
Android device as well.
On Mar 9, 11:18 pm, Moto medicalsou...@gmail.com wrote:
I can't wait for mine! But they said it would be random selection...
Droid or Nexus One...
@Kevin you would gotten an email. Supposedly
?
On Mar 10, 1:28 am, Dianne Hackborn hack...@android.com wrote:
Flash APIs we defined in 2.0, so if this is a pre-2.0 device then there is a
good chance this is a feature that is not visible to applications.
On Tue, Mar 9, 2010 at 8:36 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
anyone
Hello everyone,
I have gotten some stacktraces from Acer Liquid A1 phones that failed
to open the camera:
java.lang.RuntimeException: Fail to connect to camera service
at android.hardware.Camera.native_setup(Native Method)
at android.hardware.Camera.init(Camera.java:85)
I guess the 'this' value of the activity of the second onCreate is
different than the 'this' value of the onDestroy after that. It looks
like a new activity is created first and then the old one is
destroyed. The fact that onDestroy is not called when you hit Back
could be OK (when you show the
I don't know what determines whether you get an Android device or not.
I have 600 msgs overall on this board (in the top 10) and about 150 in
Android Discuss.
On Mar 10, 5:53 pm, nikhil nik...@gmail.com wrote:
Whats the cut?
On Mar 9, 10:37 am, Streets Of Boston flyingdutc...@gmail.com wrote
I've never seen the @SdkConstant annotation either. Maybe this drives
some JavaDoc compilation?
I would just ignore this annotation.
On Mar 11, 10:56 pm, a a harvey.a...@gmail.com wrote:
I read the code in the intent.java, there have a lot of definition
like following:
, Streets Of Boston flyingdutc...@gmail.com wrote:
I am reviving this thread
again...http://groups.google.com/group/android-developers/browse_frm/thread/6...
I have tried Marco's suggestion, but it doesn't work.
It seems the broadcast is not ordered and canceling/aborting it has no
effect
Tried the above: Did not work! :(
On Mar 12, 10:28 am, Streets Of Boston flyingdutc...@gmail.com
wrote:
I found an answer
here:http://groups.google.com/group/android-beginners/browse_frm/thread/b0...
Put this in your manifest:
receiver android:name=.MyReceiver
intent-filter
Like Mark said, AsyncTasks use a pool of threads that manages itself.
An AsyncTask is NOT a thread. It uses a pool of threads to execute a
task on. It is based on the FutureTasks and ExecutorService of the
java.util.concurrent package.
When you create a new AsyncTask, you don't create a new
Works pretty well on my Nexus One. I get about 30 - 35 frames a
second.
On Mar 15, 10:25 am, Kevin S. dada...@gmail.com wrote:
I've completed my first Android application. It as 3D demo with a
physics engine. It uses the phone's accelerometer so that you can
shake the world by moving
What's the name of your app (the name as it would appear on the
Android Market)?
On Mar 15, 10:51 am, BlackLight blacklight1...@gmail.com wrote:
Hello.
I've got several messages from my users that they cannot download my
app. My app should be available in any market from sdk 1.5 and up, but
or loadProxyBitmaps
All the load Bitmaps methods are called in the gamescreen
constructor.
- When do you clear out the mBitmap and mProxy caches? (in onPause,
onDestroy, ...?)
I clear my bitmaps in the gamescreen onDetachedFormWindow
On Mar 3, 8:26 pm, Streets Of Boston flyingdutc
Do you have android-market installed on your nexus?
If so, do you have a SIM in your nexus?
I noticed that when i remove my SIM from my Android phone, i no longer
have access to paid apps.
On Mar 16, 12:01 pm, g...@devicedriven ginokur...@gmail.com wrote:
the funniest part is..on the emulator
True and not true.
If google thinks that making an XNA like framework could enhance
Android's adoption and device sales enough to bring more ad-revenues/
SaaS-revenues (because more phones would be around if such a framework
existed), then google could be interested in creating such framework.
Relax,
2.1 will come to your droid starting this week.
http://androidandme.com/2010/03/news/verizon-droid-does-android-2-1-this-week/
On Mar 16, 11:54 pm, Kevin Duffey andjar...@gmail.com wrote:
Well if it makes you feel any better, us Moto Droid owners were supposed to
have an Android
Sorry for this bump...
I have no idea where else to ask this question...
On Mar 10, 7:53 am, Streets Of Boston flyingdutc...@gmail.com wrote:
Thank you Dianne,
But wouldn't there be a value/name pair that one can set in the
Camera.Parameters instance, e.g. 'cameraParms.set(flash-
mode,auto
If you want to 'dynamically' load these strings, you probably could
use reflection.
Some 'pseudo' code:
public String somehowGetStringAnotherWay(Resources res, String
stringName) {
try {
Field stringField = R.string.class.getField(stringName);
int stringID = stringField.getInt(null);
for it:
BRAND: Samsung
DEVICE: SPH-M900
MODEL: SPH-M900
VER: 3
PRODUCT: Samsung
On Mar 18, 11:48 am, Streets Of Boston flyingdutc...@gmail.com
wrote:
Sorry for this bump...
I have no idea where else to ask this question...
On Mar 10, 7:53 am, Streets Of Boston flyingdutc
You should show some code-snippets of how you show/dismiss your
progress dialog and how the download is handled. Right now, there is
not enough info to help you.
On Mar 19, 2:31 pm, dsukhram duanesukh...@gmail.com wrote:
I am downloading a 230MB database file from a server. I am displaying
the
Big chance that the JAR file needs to use some Java classes that are
not part of the Android SDK.
In other words, if you would compile the classes in the JAR (instead
of just including it), you would have gotten compiler errors.
On Mar 21, 9:39 am, ColletJb collet...@gmail.com wrote:
It seems
I think it's un-ordered, since abortBroadcast() is called, when i
debug my app, but it doesn't abort anything.
Since my code is reached (i.e. no abortion by the default camera app
earlier) and my app's call to abortBroadcast doesn't help (default
camera still starting up), i'm assuming it's an
All callbacks into an Activity happen on the same thread, the main UI
thread.
Just call, in onCreate, the method 'Thread.currentThread().getId()'
On Mar 22, 10:04 am, MobDev developm...@mobilaria.com wrote:
Hi,
I'd like to retrieve the Thread Priority of one or more Activity's...
To do so I
-by management of who will get the
sticky binding.
Way Hard for all vs Way Easy for all, respectively.
I do not know why this is not working for us. It seems to work for
Button Shortcut.
tone
On Mar 21, 10:32 pm, Streets Of Boston flyingdutc...@gmail.com
wrote:
I think it's un-ordered
If it's a limited menu, just show a list of ImageButtons.
Show and hide them when the user presses the menu key.
On Mar 22, 11:18 am, Kofa elk...@gmail.com wrote:
wow...so...should I build a menu myself? there isn't another
way to create something like the menu I need??
I just need
Yes.
On Mar 22, 1:07 pm, RAJ trra...@gmail.com wrote:
I am facing same problem too.
I dont ahve AIDL in both projects (i have it only in my service
project)
Am i supposed to have same AIDL in both projects?
On Mar 17, 1:58 am, Andreas andreas.bex...@gmail.com wrote:
Hi,
Do you set
...
I've switched to Jericho parser and the issue is now that log4j is not
found (even if it is included next to jericho's jar into the build
path)
On 21 mar, 15:16, Streets Of Boston flyingdutc...@gmail.com wrote:
Big chance that the JAR file needs to use some Java classes
Cache the list as a file on the phone's SD-card. Fill it up as more
and more data is downloaded from the server (this does require some
for of syncing, though).
Then load your list from the file on the SD-card, but only partially
as not to make the ArrayAdapter too large (to have too many
I wonder how Amazon.com (Music Store/MP3 Store) interprets these rules/
contract...?
You can download music from Amazon.com on your Android phone without
going through Android Market for each song/album purchase.
You can buy movie tickeds from the Fandango application. Movie tickets
are not
What if you just close the connection to the database in the
onDestroy?
If the total number of connnections reaches 0, doesn't the database
eventually shut-down?
On Mar 23, 7:39 am, westmeadboy westmead...@yahoo.co.uk wrote:
On Mar 11, 8:38 am, westmeadboy westmead...@yahoo.co.uk wrote:
In
connection to
activities, but rather to the application/VM itself.
On Mar 23, 5:24 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
What if you just close the connection to the database in the
onDestroy?
If the total number of connnections reaches 0, doesn't the database
eventually shut
I tried this on G1, N1 and Nexus one, and it works for me:
final Intent intent = new Intent(com.android.camera.action.CROP);
intent.setData(mImgUris[1]);
intent.putExtra(noFaceDetection, false);
//intent.putExtra(outputX, width);
//intent.putExtra(outputY, height);
//intent.putExtra(aspectX,
: ERROR/AndroidRuntime(222): Caused by:
android.content.ActivityNotFoundException: No Activity found to handle
Intent { act=com.android.camera.action.CROP ...
Maybe I'm missing a required configuration somewhere else?
--Paul
On Tue, Mar 23, 2010 at 2:22 PM, Streets Of Boston
flyingdutc
): at
android.app.Activity.startActivityForResult(Activity.java:2661)
What do you think?
On Tue, Mar 23, 2010 at 2:57 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
Did you try my example? It works fine on my Motorola Droid and many
other droids i know of.
On Mar 23, 5:29 pm, Paul Tongyoo paul.tong
23, 2010 at 8:08 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
... very strange, how come it works fine on my Droid (2.0.1),
on my G1 (1.6) and my Nexus One (2.1-u1)...? I just tried it on all
three phones.
What phone are you trying it on?
On Mar 23, 6:46 pm, Paul
,
Paul
On Wed, Mar 24, 2010 at 7:26 AM, Streets Of Boston
flyingdutc...@gmail.comwrote:
Note that the emulator's camera application is NOT the ones running on
most actual devices.
Test it on an actual device, a few of them if possible.
On Mar 24, 2:35 am, Paul Tongyoo paul.tong
In the SDK, you can't.
There's no access to the camera's shutter-time, aperture, ISO, white-
balance (you can query the white-balance type, but not the exact
kelvin and such), etc. No access for reading, no access for writing.
On Mar 23, 6:16 am, g k gilad.priv...@gmail.com wrote:
Hello,
I
It looks like the MySurfaceView instance is created during the XML
inflation of your activity.
It is indeed a bit puzzling :)
What does the body of the 'public void run()' method contain?
On Mar 24, 1:25 pm, Floof floofy.lagayovi...@gmail.com wrote:
Hi list,
I'm having hard times getting my
I haven't heard anything yet. I think we just need to have a little
patience :-)
On Mar 25, 2:10 pm, Jeremy Logan jeremy.lo...@gmail.com wrote:
I (as well as many others) received an email telling us that Google
would like to give us a new Android device for your contribution to
the success of
You can't 'automatically' upgrade your application. It always need
user approval.
When installing an APK, the user will be informed of the permissions
and he/she can decide to install or upgrade the application.
This is a good thing. If apps could automatically upgrade themselves,
without user
thinking of how you can download,
say plugins to a browser for example... is that even possible or does
Android's classloader hierarchy completely prevent this ability to
dynamically load classes from .jar files?
On Sat, Mar 27, 2010 at 8:50 AM, Streets Of Boston
flyingdutc...@gmail.comwrote
Dianne,
In the future, is there support planned for right-to-left locales on
Android?
On Mar 28, 12:37 am, Dianne Hackborn hack...@android.com wrote:
But why do you want to put a scroll bar on the left? Scroll bars on Android
are on the right. Making that different just makes things
Good answer! :-)
On Mar 28, 7:36 pm, Romain Guy romain...@android.com wrote:
Yes.
On Sun, Mar 28, 2010 at 2:21 PM, Streets Of Boston
flyingdutc...@gmail.com wrote:
Dianne,
In the future, is there support planned for right-to-left locales on
Android?
On Mar 28, 12:37 am, Dianne
Maybe you can code your app differently. Instead of publishing your
progress by your background thread (pushing progress info), your main
gui-thread could instead query for the updates (pulling progress
info).
Save the progress of your AudioTrack's audio stream into a variable of
the background
It's quite a bit of work! My app is The Gube and i needed to dust of
my geometry books :-)
Do a search of gluUnproject in this group and you'll be able to find
out quite a bit.
On Mar 29, 3:19 am, CMF manf...@gmail.com wrote:
Is there any one has an experience on converting the code from the
The Android SDK in Java 1.5 (v5) compatible.
On Mar 26, 8:40 pm, Poldie pol...@gmail.com wrote:
I've read that Android apps use Java syntax, and not Java per se,
presumably because of the Davlik VM. I'm a Java noob, so I may not be
making sense here, but don't different versions of Java
I second that! :)
On Mar 29, 8:36 am, anton.slut...@gmail.com
anton.slut...@gmail.com wrote:
Sure, makes sense. My two cents is, it seems like a whole lot of
people need to grab an image from the gallery and plop a chunk of a
certain size out of that image. Ofcourse, doing that by hand is
Usually, calling System.exit() should not be done.
Depending on your manifest settings of your activity, it could be that
your activity is loaded into a process of another application. Calling
System.exit() will kill the entire application, not just your
activity.
In short, don't call
It would be nice if the Android Market would have some form of an
'enterprise application' section, where companies can publish apps
just for their employees or customers outside of the general public.
I'm not aware of any such plans by Google.
It is possible with the 'Unknown Sources' setting
Nope. Your emulator won't 'shake'.
I'm not sure what the call to
'context.getSystemService(Context.VIBRATOR_SERVICE);' returns when
there is no vibration device in the phone. But i would check the
return value of this call.
If this call throws an exception, put it inside a 'try - catch' block:
It is income, so you ought to report it to the IRS. The fact Google
doesn't send your income-details to the IRS (and it doesn't send you a
1099), doesn't mean it's exempt from taxes... we can wish, though. And
who knows, the IRS may be able to figure it out when you get an audit.
And i think
It's strange that it already had been activated
I received a free droid about 2 months ago (and i just received
another one) and it had a one-month subscription. If the month runs
out, the 'signal' indicator will still indicate that all is fine and
dandy (you can still call 911), but as soon
Google this:
ColorMatrix threshold
Here is a link that may be useful:
http://keywon.com/wiki/index.php?title=ColorMatrix
Draw your bitmap (newBitmap) into a bitmap-backed canvas (c) that has
a ColorMatrixColorFilter set with a ColorMatrix that represents a so-
called 'threshold' filter (see
Yep, with the same results as you: The phone is still 2.2.2 and the update
to 2.3.3. has not happened.
--
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
(Lossless) compression is not necessarily faster than writing larger files.
The speed you gain by not using compression may be lost because you need to
write larger files (IO is not that fast).
But you could experiment and see what's faster.
If you don't want to use compression at all, you
I don't know how your app declares your activities, if they are public to be
used by any other component/app installed on the phone.
Let's assume your activities are all private, then there is a way to deliver
2 apps in one APK. You could do this by creating two separate code-paths for
the 2
From that link:
Oh and I believe on Market that if you put up a new version of your app
with a higher minSdkVersion, the most recent older version will still be
visible to older devices. That is, the .apks you upload are never deleted;
a new version just supersedes an older one for the devices
After doing a very quick read of your code snippet, move this code:
// Bind the data to the new widget from the data from given list
itemView.setName(device_list.get(position).getName());
itemView.setText(device_list.get(position).getText());
The 'convertView' is one of the CheckBoxItemViews you created when
'convertView == null':
When returning a new CheckBoxItemView, it will be used for the given
'position' and it will be re-used if the CheckBoxItemView scrolls out of
sight later.
When it scrolls out of sight, it can be re-used.
The @Override annotation can be used to guard against a failing override of
a method.
E.g. you try to override a method of a base-class but make a subtle spelling
mistake or the list of input-parameter is just a little different (different
signature of the sub-class' method). When you use
Just before you call this.notifyDataSetChanged(), do you modify the arrays
scripVector, closeVector and changeVector?
BTW: I see a LOG message that examines the count of list-view childer
(aView.getChildCount()). The number of children in the list-view (aView) is
not the same as the number of
You append to the file, not the the ROOT element.
--
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
Have you tried copying the JAR that was download with that package into your
Android project (and adding it to your Java library path)?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
- Get the full path to your image file on your SD-card:
Environment.getExternalStorageDirectory()+directory+filename
- Create a file from the above path.
- Create a FileInputStream from the above path.
- Use the above file input stream in the
BitmapFactory.decodeStream(InputStream is) method.
When you call 'setChecked', the OnCheckChangedListener is called. Depending
on the OnCheckChangedListener's implementation, the setChecked could have
some side-effects. These may be the problems you have seen.
--
You received this message because you are subscribed to the Google
Groups Android
BTW: There is a BitmapFactory.decodeFile(String pathName) as well... you
could skip the second and third step from my post above :-)
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Look up the 'Sony Ericsson Tutorials' on the market. They have a list view
with complex animations of the list-items that remain clickable even when
animating. They, indeed, apply transformation matrices to the touch event,
if I remember correctly.
--
You received this message because you are
Forgot to mention: That tutorial comes with links to blog posts by SE
engineers explaining it all.
--
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
Even in *onResume*, the layout heights and widths can still be 0.
Instead, you could use the *Activity.onWindowFocusChanged(boolean
hasFocus)*method instead, when hasFocus==true.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
801 - 900 of 1463 matches
Mail list logo