If i understand you correctly, you'd want to assign 'singleTop' to an
activity's Launch Mode (in the manifest).
This mode makes sure that there is at most one instance of your
activity in your app, never more than one.
When a 'singleTop' activity is created, its onCreate method is called.
When a
Hackborn hack...@android.comwrote:
It's not by design. If you could me code + an .apk that runs on both GB
and HC and tell me what to look for in different behavior between the two, I
can take a look.
On Fri, Jan 28, 2011 at 1:43 PM, Streets Of Boston
flyingdutc...@gmail.com wrote
Hi Dianne,
I haven't made an apk yet (i can't send you our entire app, my boss
would kill me :-)), but when i do send the apk-sample, where do i send
it? To your e-mail address?
On Jan 29, 10:23 pm, Streets Of Boston flyingdutc...@gmail.com
wrote:
Thank you Dianne,
When I get back to work
Email is on its way.
Thank you!
On Jan 31, 2:20 pm, Dianne Hackborn hack...@android.com wrote:
Yeah just send it to me e-mail address. Thanks!
On Mon, Jan 31, 2011 at 7:59 AM, Streets Of Boston
flyingdutc...@gmail.comwrote:
Hi Dianne,
I haven't made an apk yet (i can't send you our
There was word from google (although a bit burried :-)):
http://twitter.com/#!/androiddev
On Jan 31, 4:13 pm, tvo tvoverb...@gmail.com wrote:
FYI, am downloading the Honeycomb preview now via the SDK AVD
Manager. Did not work an hour ago, now it does. Do not know what
happened since it
This problem you describe is hard. If you find the magic bullet, you'd
be rich. However, others have tried to solve this problem:
I'm not sure which platforms (i.e. phones) are currently supported by
each of them, but try to use PhoneGap, AppCelerator, RhoMobile, etc.
or just plain HTML5.
On
I read this on android-developers.blogspot.com, from Dianna:
http://android-developers.blogspot.com/2011/02/android-30-fragments-api.html
Quote:
To address this, we plan to have the same fragment APIs (and the new
LoaderManager as well) described here available as a static library
for use with
LOL
And not much of snow melt or ice-away pellets either!
On Feb 3, 11:44 pm, Maps.Huge.Info (Maps API Guru)
cor...@gmail.com wrote:
Android is good for everything!
EVERYTHING I say!!!
I can tell you from experience, Android makes a very poor laundry
additive.
-John Coryat
--
You
Hi,
The Android Layout Editor has been somewhat problematic for me when it
shows the layout of the widgets on the screen. Some of the widgets are
all shown crowded to the top. However, when showing the outline of the
widgets, the outlines are drawn in the correct spot.
However, when i select
Why do i really really really want a serialized queue?
Our app uses AsyncTasks to complete HTTP requests. Multiple requests
can happen at the same time and in some situations we really really
really want it that way. As long as the onPostExecute is called
correctly, it should not be a problem
Perfect! :)
On Feb 4, 3:29 pm, Romain Guy romain...@android.com wrote:
That's why AsyncTask now lets you execute tasks on your own thread pool.
On Fri, Feb 4, 2011 at 11:51 AM, Shane Isbell shane.isb...@gmail.comwrote:
On Fri, Feb 4, 2011 at 11:24 AM, Streets Of Boston
flyingdutc
Hi Xavier,
I sent you an e-mail with a zip file containing the XML.
On Feb 4, 4:18 pm, Xavier Ducrohet x...@android.com wrote:
Streets, can you send me the XML you're inflating?
thanks,
Xav
On Fri, Feb 4, 2011 at 1:11 PM, Xavier Ducrohet x...@android.com wrote:
On Fri, Feb 4, 2011 at
nope, i don't think a web-page that loads a java-applet will be
displayed on an Android browser. You'll probably get a warning/message/
text that the incorrect JRE is loaded.
On Feb 4, 6:47 pm, Indicator Veritatis mej1...@yahoo.com wrote:
Applets running under Android: but don't we already have
When the user hits retry, you should create a new AsyncTask instance,
giving it the same parameters/input as the original one (essentially
clone it) and execute it.
If you don't know the original AsyncTask's parameters/input, you
should change your asynctask-baseclass and add some public methods
Exactly.
Just clone the original finished AsyncTask and call 'execute' on that
clone.
On Feb 7, 11:36 pm, Kevin Duffey andjar...@gmail.com wrote:
What happens when the async task finishes? Whatever created the first
instance of it, or whatever handles the response, should be able to create a
The new Kyocera Echo has *two* screens.
Would 'regular' Android apps run on Kyocera Echoes?
If so, is there SDK support for this?
What problems can we expect for this dual screen phone? Or should it
all run fine like any other new Android phone?
Thanks!
--
You received this message because you
How do you call the showing of the dialog?
Is it on the main UI thread (and not on the test-case thread)?
On Feb 8, 11:47 am, Matthias m.kaepp...@googlemail.com wrote:
Hi,
we're running into an issue here where in a unit test for an activity,
we test a dialog that's part of the activity.
Does logging out of your Facebook application remove the entire
Facebook account?
(go to Menu -- Settings -- Accounts and check for the Facebook
account).
If so, then your app should also no longer be able to login.
If not, then your app should be able to still login.
If your app still logs in
You can call 'isFinishing()' in the onPause method to determine if the
onPause is called during the destruction of an activity.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I have received these emails (there were several of them). If they go to
your spam folder, you should change your spam-filters :-)
However, the run-up to the new monthly payment schedule seems to have
generated strange deposits into my checking account the last week or so...
--
You received
That would have been fun! But I already booked my flight and wouldn't be
able to make it.
--
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
Dianne said that Android 3.*0* will not be loaded onto any phone. Phones
will just skip 3.0 and start with 3.1 (or anything after 3.0). This way you
don't need two disjoint branches.
There would only be trouble if the api-level of 2.3.3=10, the API level of
Android 3.0=11 and a new
First, welcome to the Android dev community! :-)
Whether the Android is MVC framework or not, why are you specifically
searching for one?
I would just learn the Android SDK, its concepts and start creating my app
that fits these concepts, MVC or not.
But if your question is a question
The documentation of the *startTag* method mentions this:
... If namespace is null no namespace prefix is printed but just name...
Regardless of the XML starndard, this means that null is a valid and
documented input for this method. If this has suddenly become broken in 2.3
(i haven't seen
I think it was mainly meant for XML documents that don't use namespaces at
all, since there is no startTag(String elementName) method.
And i think you can leave it null if it implicitly takes on the namespace of
its parent-element.
Whether the acceptance of null for this parameter is OK or
There are many ways to tackle this problem.
But what about putting a horizontal LinearLayout at the bottom of the
RelativeLayout, with width set to fill_parent, height to wrap_content.
Then put 5 buttons inside this horizontal layout, give them equal weight.
--
You received this message because
When an activity is *finishing*, the onDestroy will be called.
The documentation states that onPause is guaranteed to be called, but not
the onDestroy in case an activity is part of a process that is about to be
killed:
Apps with foreground activities won't be killed -- onPause will be called,
Padding does not control any rounding of borders at all. If you want rounded
border, use 9-patches or drawables:
Drawables:
http://developer.android.com/guide/topics/resources/drawable-resource.html
http://idunnolol.com/android/drawables.html (look at 'shape' with a 'corner'
element)
Indeed something like the code above, but with a different pattern for
SimpleDateFormat:
// for something like 'monday 14-feb-2011'
new SimpleDateFormat(* d-MMM-*);
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
LOL :)
--
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,
Your 'activity' idea seems to be the best one.
Fragments can be used to better separate Views from Controllers, where
Fragments (and it constituent child-views) are the Views and Activities are
the Controllers (note that Activities would still 'directly' update the
action-bar, the title-bar,
(i think that the implementation of onNewIntent is the only place where you
can reliably call 'setIntent')
I tried it, too, changing the intent like this, but was unsuccessful.
What i did instead:
Set the launch-mode of the activity to at least singleTop (i.e. the
activity's current
Is HTTP REST a better option for communication between my android client
and server?
Yes, much better option.
--
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
Don't get hung up on the *preview* SDK.
The api-level value 'honeycomb' will not be the real value. It will be a
number, like 11 or 12.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
the original intent might be restored by the system when the activity is
restarted
This is not my experience. The system restores the intent with which the
activity was called last.
If your activity is singleTop, its onNewIntent(...) is called with the
intent that was used by the call to
No, the device doesn't *always* know where it is. That's why
getLastKnownLocation() returns null sometimes.
Obtaining and maintaining a GPS fix (location) is expensive for the battery.
Only when needed locations are obtained and maintained.
I think that in API-level 8 a new location provider was
The answer is; not necessarily.
It is best described here:
http://stackoverflow.com/questions/2917847/serialization-performance-and-google-android
In other words: Don't serialize.
Another reason is that it's relatively slow on Android. Use the Parcelable
interface instead.
--
You received
Not in my experience.
See my previous posts in this thread.
E.g.:
public class MyActivity extends Activity {
...
...
// This method is called when you need to 'refresh' the activity with
modified intent-data.
public void refreshWithNewData() {
Intent newIntent = new
Romain,
There has been a bug in 1.0 and 1.1. that the onPrepareDialog is not
properly called after a configuration change happened. Has this been
fixed?
http://groups.google.com/group/android-developers/browse_frm/thread/a32351c7ecfb24e9/b9970b4dd3700220
On Jun 8, 11:28 pm, Romain Guy
As far as i know, upgrading just happens when you click a link (e-mail
attachment) that is a valid and signed APK file.
As long as your new APK has the same signature as your current APK,
all should go automatically and smoothly.
What i have not 'tested', is the case that you downloaded the app
Take a look at the Goolge IO sessions for gaming:
http://code.google.com/events/io/sessions.html
http://code.google.com/events/io/sessions/WritingRealTimeGamesAndroid.html
On Jun 9, 10:38 am, Noonien Soong nooniensoong2...@gmail.com wrote:
Is OpenGl rendering faster than the normal Java Canvas
you could still use onCreate/onDestroy.
Just override the onRetainNonConfigurationInstance method.
This method will be called before onDestroy.
If this method is called, remember this fact by setting a boolean to
true.
Then in the onDestroy,
if this boolean is true, a configuration change will
Ugh.. this is still the case :(
In my app, i program around it. I have some code that determines if
onPrepareDialog should have been called and, if not, that calls
onPrepareDialog explicitly.
On Jun 9, 1:04 pm, pawpaw17 georgefraz...@yahoo.com wrote:
Guys,
That's what I'm seeing.
Thanks!
But looking at your code, you can't stop an already ongoing download
(i.e. cancel a download that takes too long).
I've written a similar helper class does the same, like AsyncTask, but
allows you to cancel or interrupt I/O operations immediately, e.g.
cancel the download of an image
I actually do use the Thread.sleep as a hack (i don't like it, but it
works...)
It just sleeps for just 20 milli seconds, though. It's enough for a
notable improvement in the frame-rate of the other thread (game-
thread) and not too big to miss input events.
I only do it on the ACTION_MOVE.
On
As long as your transformation fits into a transformation Matrix (x,y
and z), you can do anything you like.
http://developer.android.com/reference/android/view/animation/Animation.html#applyTransformation(float,%20android.view.animation.Transformation)
Since the application of a
the HttpUrlConnection. I decided to keep it simple for the moment but
it would be nice for the ImageLoader class to dispatch progress and
complete events.
On Jun 9, 4:05 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Thanks!
But looking at your code, you can't stop an already ongoing download
Why don't you use OpenGL ES for your 2D game. Take a look at the
Google I/O session talks about gaming on mobile platforms.
On Jun 11, 10:21 am, Avatar Ng ngchee...@gmail.com wrote:
I only concern of my animation quality ...
Caused the current approach give me a flickering effect (yes which is
i've seen that happen on occasion on various web-pages.
However, just rolling the trackball back and forth, moving the
selection off the link and back on the link again, and then clicking
usually works fine...
On Jun 11, 2:11 am, jerryfan2000 jerryfan1...@gmail.com wrote:
We found a way to
Note that the onDestroy (or the onStop) are not always called when
your activity exits/ends.
Read the info on developer.android.com and look at activities' life-
cycle events.
A process can be killed, and the only thing guaranteed to be called in
your activities is onPause, and possible
Yes, they will be notified automatically by the Market application.
On Jun 11, 5:06 pm, TjerkW tje...@gmail.com wrote:
When i update my application in the android market..
Will users be automatically notified to download a new version?
I just implemented veecheck for my game..
...@gmail.com wrote:
20 ms would be 4ms too long for 60fps :). 16ms would be better, that's
the time the device has to perform the rendering for a target of
60fps.
On Jun 10, 7:20 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
I actually do use the Thread.sleep as a hack (i don't like
mrchazmob...@googlemail.com wrote:
I can't for the life of me get it to work, anyone more suggestions?
On Jun 10, 6:20 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
I actually do use the Thread.sleep as a hack (i don't like it, but it
works...)
It just sleeps for just 20 milli seconds
there are no guarantees, but this might be a better way for
Max to *try* to determine whether the application is shutting down or
an Activity is merely being closed.
On Jun 11, 10:35 am, Streets Of Boston flyingdutc...@gmail.com
wrote:
Note that the onDestroy (or the onStop) are not always
My solution works fine to check if you have a configuration-change or
not.
But it won't work in case the OS decides to kill the process, e.g.
when memory runs low or when the phone is shut off. The Application's
onTerminate, as Mark noted, may help a little, but it's not guaranteed
that this
You could call setAsyncThread(Thread.currentThread()) inside/during
the AsyncTask's doInBackground method, likely at the start of the
doInBackground.
You'd create the public and synchronized methods setAsyncThread and
getAsyncThread yourself as part of the AsyncTask's subcllass.
On Jun 14, 7:14
It's a dirty work-around, but call the onPrepareDialog yourself if it
has not been called after a config-change.
On Jun 15, 10:52 am, Spencer Riddering ponderyon...@gmail.com wrote:
Hi Romain Guy,
So, I updated the original issue.
I don't see a problem with leaving the code as it is as long
Why do you create a byte-array (content)? If the wall-paper is big,
you're using quite a bit of extra memory.
If you want to be able to monitor download progress, wrap it inside
your own implementation of an input-stream
URL url = new URL(address1);
HttpURLConnection uc =
Coupons won't work ...
http://www.google.com/support/forum/p/Android%20Market/thread?tid=4e8d63c44e5a22echl=en
On Jun 17, 2:29 pm, Jeff j...@trackaroo.com wrote:
I have refunded the money back to a tester and that works.
I haven't used this yet, but Google Checkout has Coupon Codes
Hi everyone,
I've been looking around on the net and in this group, but i have not
found any java package that can read and write EXIF data.
I tried Sanselan. They say they don't use ImageIO/AWT, but they
actually do use AWT. The class can not be loaded because there is an
AWT dependency:
Do you have any static variable that references (and therefore caches)
an object that is either an activity/view or that is (indirectly)
refering to an activity/view?
If so, you may be leaking activities/views when doing a configuration
change.
Avoid the use of statics or be absolutely sure to
Yes, you are on the right track. :-)
However, i could not get gluUnProject to work. I wrote my own:
http://groups.google.com/group/android-developers/browse_frm/thread/9d2bf53e3a798cb6/c722628acdf6e2d9
(see messages no. 6 and 8)
On Jun 18, 4:21 am, quill quill...@163.com wrote:
Thank you
I think he means this:
http://en.wikipedia.org/wiki/Near_Field_Communication
mainly for using your cell-phone as a payment device...? Am i correct,
BPB?
Here in the USA i have seen it only on credit cards. E.g. Chase
Freedom cc has a RFID chip that allows you to pay with a quick swipe.
It's
That's indeed how I saw it work on the G1.
However, i think you cannot assume anything. If you write a content-
provider, it can be bound by any process.
This causes me to believe that it can be called by several threads at
the same time.
Just to be sure, synchronize where necessary, depending
xxx jpeg error 53 Not a JPEG file: starts with 0x%02x 0x%02x
It seems that the file on your sd-card is not a JPEG file, at least
not one recognized by SKIA.
On Jun 19, 8:23 am, Shre555 shreyas1...@gmail.com wrote:
Hi,
I am tring to get a image from the images stored on the sdcard of
coordinates?
On Jun 19, 12:21 am, Streets Of Boston flyingdutc...@gmail.com
wrote:
Yes, you are on the right track. :-)
However, i could not get gluUnProject to work. I wrote my own:
http://groups.google.com/group/android-developers/browse_frm/thread/9...
(see messages no. 6 and 8
Really? *immediately*?
I thought that invalidate() must be called on the UI thread. But
invalidate() does not draw your view *immediately*, does it? I thought
it will schedule a draw 'action' as soon as the UI-message thread gets
a chance. If you call multiple invalidate()-s in a row, your view
You're right :)
It's friday and i should read the posts a bit more carefully :)
On Jun 19, 11:14 am, Marco Nelissen marc...@android.com wrote:
On Fri, Jun 19, 2009 at 7:43 AM, Streets Of Boston
flyingdutc...@gmail.comwrote:
Really? *immediately*?
I thought that invalidate() must
It wil be smaller than the heap size limit per apps
Not true. :=)
I could imagine creating an app of 50MBytes. 2MBytes worth of code and
48MBytes worth of resources (images/assets/etc.). And if these
resources are not loaded all at once, it should work.
Of course, who would download such a big
You can't create shared libraries like that.
You can link your Android's Eclipse project up to 'regular' JARs
(Project build path). When deploying, the classes in these jars will
be 'dalviked' and these classes will be deployed with your app on the
phone.
You can link your Android's Eclipse
Short question.
Short answer :-)
onGestureDetector
On Jun 22, 11:13 am, Kent Loobey k...@uoregon.edu wrote:
How do you detect a horizontal or vertical finger swipe?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Sorry, typo... I typed an extra 'on':
Here it is for real:
http://developer.android.com/reference/android/view/GestureDetector.html
On Jun 22, 11:22 am, Streets Of Boston flyingdutc...@gmail.com
wrote:
Short question.
Short answer :-)
onGestureDetector
On Jun 22, 11:13 am, Kent Loobey k
You should not be paying the $10. You're out of the $3 (plus the 0.99
for your app), but you should not be paying the extra $10 (10.99).
I would not send a message back to Robert, but to the team. I don't
know where, but find the place where you can log an official
complaint, 'cause what happens
Try this: Before setting it to null, call mpBitmap.recycle().
But be sure, though, that the reference held by mpBitmap is not held
somewhere else in your program by another heap variable, cache or an
active View.
On Jun 23, 9:07 am, hamlatzis i.hamlat...@gmail.com wrote:
My application crashes
I assume that Thread B is the main UI-thread, handling messages,
'holding' the View.
Thread A is a background thread doing some computation or other stuff.
If I'm correct in this assumption, you can just post to the View from
thread A.
While in thread A:
myViewInThreadB.post(new Runnable() {
As long as you have the default pool-size set to 1, there should be no
issues what-so-ever.
On Jun 27, 8:00 am, joshv jvanderb...@gmail.com wrote:
Interesting issue. I can see the need to make this configurable
though. In some cases it would be nice to make sure that these
background tasks
Your code in your getView implementation of the adapter looks good at
first sight. The structure of this method looks good.
I think there are a few issues though.
In your getView(...) method, you access the variable 'appList':
if (position = appList.size()) {
Hints:
Instead of gluProject, you likely need gluUnProject (going from the
touch (x,y) coordinate on the screen to the (x,y,z) coordinate of your
model-space).
To obtain the model-view matrix and the projection-view matrix needed
for gluProject and gluUnProject, take a look at the API Demoes
Load the picture in the size you need it, by setting the
BitmapFactory.Options.inSampleSize to a value larger than 1 (so far, i
have only managed to use value that are powers of 2 for this
inSampleSize attribute). Look at the api-docs for more info on this
attribute.
What i mean is that if you
I've had this issue even with regular HttpUrlConnection.
Instead, i used the HttpClient interface instead (using HttpGet/
HttpPut/HttpResponse/etc) and this worked well for me.
On May 20, 10:17 am, Binesy ross.bi...@gmail.com wrote:
Hi
I have been working with the HttpsUrlConnection class and
thread and AsyncTask.
Can somebody explain that ?
Best Regards,
Brad
On 7月1日, 下午10時09分, Streets Of Boston flyingdutc...@gmail.com wrote:
Like Dimitris said:
Try to call 'cancel(true)' on the AsyncTask. It will invoke the
thread's 'interrupt()' method, making sure that if the thread
You can't (at least on in sdk1.1)
You have to not show the title bar and put one yourself, a View, at
the top of your activity (a title bar that is a View inflated from
your layout-files). Then you can hide/show this View whenever you
want.
On Jul 2, 8:36 am, l hx lihongxia8...@gmail.com wrote:
Do you have static variables that reference (indirectly) an Activity
or a View?
If so, get rid of these static variables or make absolutely sure that
you clean them up (set them to null, clear cache, whatever) when the
activity's onDestroy is called.
On Jul 7, 5:50 pm, schwiz sch...@gmail.com
Take a look at these two:
http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance()
http://developer.android.com/reference/android/app/Activity.html#getLastNonConfigurationInstance()
On Jul 9, 4:30 pm, Keith Wiley kbwi...@gmail.com wrote:
I have an
These two links don't work well (the parenthesis mess it up).
Look at the onRetainNonConfigurationInstance and
getLastNonConfigurationInstance methods.
On Jul 9, 5:00 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Take a look at these
two:http://developer.android.com/reference/android
I'm not sure at all if this would work,
but have you tried to put the content-observer code inside a *service*
(instead of in your activity).
Start the service and keep it around.
And if the content changes, create a notification.
The notification can be noticed by the user and allows him/her to
I'm seeing this behavior now too (Cupcake release).
showDialog(id) -- config change -- dismissDialog(id) won't work more
When calling dismissDialog(id) after a config change doesn't do
anything (not dismissing the dialog, but no error-message either).
Something is wrong here...
On May 21,
Some hackers have been able to enable multi-touch on the G1. The
hardware is there, but because of legal issues, it has not been
enabled.
It is a patent issue. Just google this:
apple patent multi touch
And to be honest, i don't miss multi-touch that much. I like that i
can use only one hand
Simple. :-)
The error says that the file does not exist... that means you should
create it.
Use File#createNewFile().
On Jul 13, 5:53 pm, doubleminus doublemi...@gmail.com wrote:
Romain is? I don't understand. Is there something I should be doing
to avoid filenotfound exception?
On Jul 13,
First:
You directly modify the activity's attribute 'items' (that serves as
your data in your list-adapter) in your background thread, without any
proper synchronization with the main GUI-thread. This is bad news. It
may work for a while, but it's bound to fail at some point.
Second (and i
Take a careful look at the API Demo code.
And then take a look at the OpenGL ES documentation (http://
www.khronos.org/opengles/)
Having the code that shows you how to rotate around the X or Y axis,
it should not be hard to figure out how to rotate along the Z axis
On Jul 14, 11:23 am, quill
(mModelViewMatrix, 0) to reach the
previous state and then do glRotatef, it can work when I slip my
finger quickly, but it works bad when I slip slowly.
On Jul 14, 11:34 pm, Streets Of Boston flyingdutc...@gmail.com
wrote:
Take a careful look at the API Demo code.
And then take a look
I'm not a google engineer, so i don't know the answer, but i have a
theory why this may happen.
In your layouts, do you use 'weights' (weightsum and layoutweight)?
If i remember correctly, if you use these attributes, layout-code is
called twice.
If the layout-code for a list-view includes the
It looks like your Animal class is abstract and should never be
constructed. Declare Animal 'abstract' and see if you get an
instantiation error.
Have your tried to put the 'public static final Parcelable.Creator
CREATORCat' and 'public static final Parcelable.Creator
CREATORDog' variables and
I think this is deliberate.
If the user chooses Airplane Mode, he/she expects that all radios that
need to be turned off (by law/airline-regulation) are indeed turned
off.
What's the use of Airplane Mode if it leaves some radios turned on
that would make the phone not be in Airplane Mode, i.e.
Currently I'm writing an app that contains an image viewer. I
implemented zooming as follows:
Zoom in:
Long press; Then a zoom-in icon appears at your finger-location. Then
drag a rectangle (with aspect ratio of your screen) from your current
finger position to another position; Move your finger
Be careful with DST and such. I work for a company that tracks time
(timecards, scheduling etc.). Handling DST properly is tricky.
The method Date.getTime() is timezone-less. It is a 'universal' time,
a *timestamp*, just a time without a definition of place/location! It
returns the number of
Kizza,
If you need to be able to tranlate 'on the fly', then you need to do
all translations yourself. Don't use the strings.xml file.
On Jul 20, 9:52 am, Mark Murphy mmur...@commonsware.com wrote:
kizza wrote:
Hi, and thanks for your help.
I've managed to make my own ListAdapter now, but
For no repeat:
http://www.khronos.org/opengles/documentation/opengles1_0/html/glTexParameter.html
and look at GL_CLAMP.
Texture y-coordinates go from the bottom to the top when y increases.
Bitmaps/images usually go from the top to the bottom when y increases.
Just flip your bitmap along the
Doubles and floats have a limited precision.
The extra -0.0019 you have in your result is a precision error.
You'll find this behavior on any machine that implements floats and
doubles according to the most prevailing spec:
http://en.wikipedia.org/wiki/IEEE_754-2008
On Jul 18, 7:41 am,
701 - 800 of 1463 matches
Mail list logo