Search for 'gluUnproject' on this developer-group board. You'll find
quite a bit of info on this topic (mapping 2dimensional mouse-
coordinates into 3dimensional model-coordinates).
On Aug 13, 11:36 am, souza sadita...@gmx.net wrote:
I have found the APIDemos example but I couldn't find the
I fear that allowing the user to dynamically select a new skin (even
with a restart of your app) is a very very difficult thing to do, if
not impossible.
There is a method called 'Activity.setTheme(int resourceId)', but this
changes only the theme and would allow for dynamically changing only a
I think that you can't change a free app to a paid app because Google
wants avoid developers trying to game the market.
A free app gets tons more downloads than paid app (even if paid app is
only $0.99); the difference is not measured in fractions, but in
orders of magnitude. If the developer
open my ass?
I'd better shut my mouth :-)
On Sep 7, 10:14 pm, saras sa...@itch.com wrote:
when did open platform start blocking hardware google unfuck your self
ps sorry the red am seeing red
--
You received this message because you are subscribed to the Google
Groups Android Developers
You can call execute(...) once on one instance of an AsyncTask. But
you can create a new instance of an AsyncTask and call execute(...) on
that new instance.
Multiple instances of an AsyncTask share a limited pool of threads. An
AsyncTask instance is put into a queue when 'execute(...)' is called
Just google this
On Apr 9, 11:40 pm, jfbaro jfba...@gmail.com wrote:
Hi,
Is there any best practice to deal with plural messages?
string name=info_files_deleted_plural%d files successfully
deleted/string
string name=info_files_deleted_singular1 file successfully
http://groups.google.com/group/android-developers/browse_thread/thread/815f7c18da64e0f4
Use plurals element in your strings.xml.
On Apr 9, 11:40 pm, jfbaro jfba...@gmail.com wrote:
Hi,
Is there any best practice to deal with plural messages?
string name=info_files_deleted_plural%d
Yep,
You don't directly see it, but if i have understood older posts
correctly, sBackground has a reference to a context that was used when
it was created. This context is the activity-context that holds on to
the activity that originally was used when creating sBackground.
So, via via,
An Android application (APK) may consist of more than one Activity,
more than one Service.
Each Activity or Service can run in its own process, can share a
process or are run in the process of the calling Activity (and the
calling Activity may not even be part of your application: e.g. the
Contact
Yep,
Use reflection on the R.string class for strings.
Or use reflection on the R.drawable class if you need to map strings
to drawables.
Query the (publicly) declared fields of R.string using reflection.
The code below doesn't follow your example mappings exactly, but
you'll get the idea:
Does Android even do anything with thread priority?
In my experience: Yes.
You can set a Thread's priority and it has an effect. Note, however,
that the actual priority will never be higher than the groups
priority.
When i change a background thread's priority and set it very high, the
UI
AFAIK, there's no way to work on the full image directly
Yes there is. My application Snap FX does that. It takes quite a bit
of work, but i managed to be able to apply color-effect to 5MPixel
(1st gen Android phones) or 9MPixel (2nd gen Android phones) images.
On Apr 14, 9:24 am, mike
Depends.
But since the OP mentioned Notifications, i guess the search results
should be presented even when the user left the application. If so,
yes, then a Service would be best.
Still, i would use an AsyncTask (inside the Service) to do the actual
work. This way you'll be sure that the
...@gmail.com wrote:
@Streets Of Boston, Is there anything further you can explain about
your implementation? Even a high-level strategy would be helpful.
On Apr 14, 10:45 am, mike enervat...@gmail.com wrote:
On 04/14/2010 07:17 AM, Streets Of Boston wrote:
AFAIK, there's no way to work
Due to bug http://code.google.com/p/android/issues/detail?id=6579 is
it safe to put this into my AndroidManifest.xml file?:
!-- Below is a workaround due to the Market bug
http://code.google.com/p/android/issues/detail?id=6579 --
activity-alias
The 750,000 bytes are the size of the *compressed* JPEG.
A Bitmap instance holds the *raw* color data, not the compressed data.
E.g. if the raw color data has format ARGB_, then each pixel uses
4 bytes: 5MPixel images will use 20MBytes of memory. If the raw color
data has the format RGB_565,
Bumped it a little... ;)
On Apr 14, 9:49 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Due to bughttp://code.google.com/p/android/issues/detail?id=6579is
it safe to put this into my AndroidManifest.xml file?:
!-- Below is a workaround due to the Market
bughttp://code.google.com/p
How big, in pixels, is the image?
On Apr 18, 5:50 am, Kofa elk...@gmail.com wrote:
I really don't know why it's giving me this error...
I load an ImageView with an image of 692kb .jpg, using scroll options,
so you can scroll it around... the strange it's that when the mobile
it's connected to
Unfortunately Android does not have the same luxury to do this
Where did you hear/read this?
And, it's the opposite, it *does* have that luxury.
Unless you specified in your app's manifest file that Android should
not try to scale up your app's UI, Android will try its best to fit
your app in the
I am also wondering how this all works with the
getExternalStorageState() state function, does it always return
MEDIA_MOUNTED ?
Maybe not when you connect your phone to a PC and select 'Mount', for
example...
On Apr 19, 2:44 pm, webmonkey webmonke...@gmail.com wrote:
According to this post:
mm that looks strange.
From the stack-trace it (almost) looks like you're trying to access a
2nd camera on the device. I have no idea of how that could happen or
why it would even try to do so.
But, then again, i could be completely wrong and of no help to you at
all.. :)
) is not
part of the DalvikVM and won't show up when you do java memory
profiling. However, this memory is part of the overall memory used by
the app's process.
On Apr 21, 2:57 pm, Kofa elk...@gmail.com wrote:
the image it's 1920x1440 pixels
On 18 abr, 17:59, Streets Of Boston flyingdutc...@gmail.com wrote
i'm just throwing it out here.
Have you looked into the SMACK library for Android?:
http://code.google.com/p/asmack/
On Apr 21, 4:17 am, SLY sly.andr...@gmail.com wrote:
Hi,
I am currently working on a project which requires a server to request
data from the devices which are currently
What thread is calling 'new ViewFlipper(ctContext)'?
Is it the main UI-thread?
If not, the calling thread must have a message-loop associated with it
(A looper-thread).
If it's not a looper-thread, you can't call 'new
ViewFlipper(ctContext)' this way.
On Apr 22, 10:58 am, Nithin
though.
It would be great if other people with a HTC Desire could try the
Camera Preview API demo to verify that they experience the same
problem.
Cheers,
-- Jo
On 20 apr, 23:45, Streets Of Boston flyingdutc...@gmail.com wrote:
mm that looks strange.
From the stack
Hi Jerome,
I'm using your restlet libaries as well on Android clients. So far, it
has worked great :-)
One thing i'd love to see implemented is a framework that helps in
implementing caches. Not so much the implementation and handling of an
actual cache, but some framework part of Restlet that
Looks like a bug in the Android framework.
What is your targetSdk value?
What actual SDK version are you running your code on?
On Mar 15, 10:13 pm, licorna lico...@gmail.com wrote:
A few days ago I was trying to fix this issue: I have a header (three
ImageButton's) and a ListView. If I use the
. See
this RFE for details:http://restlet.tigris.org/issues/show_bug.cgi?id=25
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Technical Lead ~http://www.restlet.org
Noelios Technologies ~http://www.noelios.com
Le 24/04/2010 19:46, Streets Of Boston a écrit :
Hi Jerome,
I'm using
Maybe that's a permission issue. Astro File manager is not allowed to
look at your app's local data (data/files in its sandbox).
However, why don't you just read the contents of the text-file you
wrote? If that's successful, writing to the text-file was successful
too.
On Apr 26, 9:11 am, Tommy
You may experiencing a bug, since e-mails should be sent out to
customers to update their incorrect payment details.
At least it work sometimes, since i do see customers trying to update
their payment info when authorization failed.
You lost 120 sales... only 120... I lost wy more than that.
What are the launch-properties of your sub-activity?
Is it a 'singleTask' or 'singleInstance'? If so, the sub-activity
won't report a result to your main-activity's 'onActivityResult()'.
I ask this, because i was struggling with this same issue for a while
until i discovered that my sub-activity
the targetSdkVersion version. Do you know if this can cause problems?
Also, by building my app while running the code on the 1.6 SDK will it
still be available to 1.5 devices in the market?
Thanks in advance.
Cheers,
Jason
On Apr 24, 6:48 pm, Streets Of Boston flyingdutc...@gmail.com wrote
I would strongly advise against fighting the normal stack-based work-
flow of android activities.
If the user pressed the back-key, he/she probably wants to 'go back'.
Don't fight your customer on this. Don't try to break or modify the
work-flow model of Android.
But, if you must, you could warn
Just great! NOT!
I'll start another thread on this forum asking if
Environment.getExternalStorageDirectory() still works on the
Incredible or not... It looks like it doesn't.
I hope some Google engineers can chime in.
On Apr 27, 12:49 pm, webmonkey webmonke...@gmail.com wrote:
It appears to
Question for Google engineers:
Since the HTC Incredible does not come with an SD-card, what is the
return value of this call:
Environment.getExternalStorageDirectory()
The documentation says this:
Gets the Android external storage directory as a File.
What is the return value of this method
Thank you Mark.
I just updated my app's description that it requires an SD-card.
On Apr 27, 7:11 pm, Mark Murphy mmur...@commonsware.com wrote:
Streets Of Boston wrote:
Just great! NOT!
I'll start another thread on this forum asking if
Environment.getExternalStorageDirectory() still
Try to call the startPreview no earlier than the onResume. Maybe
calling it in the onCreate is too soon. The SurfaceHolder may not yet
be fully 'functional' (this is all guess-work on my part, but you
could try :-)).
On Apr 28, 9:54 am, Pavol Ban zum...@gmail.com wrote:
That's the order i have
I'll settle for the good ol'you :)
Thank you Mark! That clears up a lot.
On Apr 28, 1:54 pm, Mark Murphy mmur...@commonsware.com wrote:
Streets Of Boston wrote:
Question for Google engineers:
I hope you'll settle for little ol' me.
Since the HTC Incredible does not come with an SD-card
Sometimes a *successful* authorization can take more than a day.
99% of them are immediate (at least when measured in minutes).
A few of them take up to a few hours and occasionally some take up to
a day.
On Apr 28, 9:41 pm, Paul idi...@gmail.com wrote:
Well I'm really trying to address the
this
in a way that won't break on other phones?
On Apr 28, 1:54 pm, Mark Murphy mmur...@commonsware.com wrote:
Streets Of Boston wrote:
Question for Google engineers:
I hope you'll settle for little ol' me.
Since the HTC Incredible does not come with an SD-card, what is the
return value
I'm still curious as well :-) :
How do we developers get access to a shared partition on the internal
storage (e.g. /emmc)? What method call can we use to obtain it so that
at least we can select it if necessary (e.g. give user the option to
use external storage or shared internal storage)? How
Exactly.
And how is the shared internal storage of the Desire
(GLOBAL_CONTENT_URI, '/emmc') being accessed when the user wants to
copy images from his/her PC onto the phone, and vice versa? What
happens to the MediaScanner (if /emmc can be mounted and
unmounted...)? I'm curious
On Apr 29,
It's still very 'beta' like. I can't see the feedback of any app but
my own. At least in IE8, when i choose to see the feedback of
com.android.browser (or another that's not mine), my browser keeps
refreshing until eternity (although haven't waited *that* long :-)).
I now can remove my
Below is a snippet of code that turns a buffer from GL into a buffer
that can be used by a Bitmap.
I'm not sure if you can get a buffer from GL without been having
showing it before or if this is what you're exactly looking for.
But here goes anyway :-)
public void
create a thumbnail by myself?
Yes.
I found that thumbnails are not always generated.
On May 3, 4:39 am, Vincent Tsao caojunvinc...@gmail.com wrote:
i'm trying to fetch a thumbnail with picture URI using these code below:
long id = ContentUris.parseId(selectedImageURI);
lightweight! I bet you could get substantial performance gains doing
that conversion natively and passing the processed array up to java.
On May 2, 4:34 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Below is a snippet of code that turns a buffer from GL into a buffer
that can be used
I wrote some comments for bug #1480 (under the name
flyingdutc...@gmail.com).
On May 3, 10:09 pm, Vincent Tsao caojunvinc...@gmail.com wrote:
On Mon, May 3, 2010 at 9:55 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
create a thumbnail by myself?
Yes.
I found that thumbnails
My apps haven't reached piracy rates that high (yet). But i'll keep an
eye on your solution :-)
Keep us updated.
On May 4, 5:20 pm, dadical keyes...@gmail.com wrote:
I've spent the last few weeks developing a new tool to stop piracy of
my paid apps on the Android Market. In a nutshell,
I'm writing some JUnit tests for my Android Activity.
They run fine and report proper results.
However, when i automate the test and start the emulator, the emulator
starts with an unlock screen. This prevents the test from running
correctly.
How do I start an emulator without the unlock screen
.
Perhaps this setting would work there, too? It's under developement
settings, next to allow usb debugging.
-- Kostya
2010/5/6 TreKing treking...@gmail.com
On Wed, May 5, 2010 at 3:05 PM, Streets Of Boston
flyingdutc...@gmail.com wrote:
How do I start an emulator without
nounlock_package/
nounlock_package.NoUnlockScreenActivity
From this moment you can run the (re)installation of your actual app
and test-app and run the 'shell am instrument' to run your test-app.
On May 5, 4:05 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
I'm writing some JUnit tests for my Android
I can't help you with the preemptive authorization, but why can't you
use cookies?
Cookies, when used as user authentication/authorization, do not
violate any REST principles. In this case, cookies don't hold resource-
state. They hold application-state.
On May 6, 8:31 pm, Preston
Wow, do you have a big screen TV capable of displaying 8192*8192 pixel
images!?
I doubt it :-)
If you have an HDTV of 1080p, then the max resolution is 1920*1080
(about 2MPixels). There's no need to go larger.
On Jun 27, 12:06 pm, xhy xhyg...@gmail.com wrote:
i want to paly a 8192*8192 image
a value greater than 1).
On Jun 27, 8:02 pm, xhy xhyg...@gmail.com wrote:
In fact the clients demand it,so i have no idea.
2010/6/28 Kostya Vasilyev kmans...@gmail.com
27.06.2010 21:25, Streets Of Boston пишет:
Wow, do you have a big screen TV capable of displaying 8192*8192 pixel
in the About/Thank You section of my
app :)
Bara
On Jun 23, 1:44 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
thisListView.setAdapter(r_adapter);
r_adapter.notifyDataSetChanged();
If you do 'setAdapter', calling notifyDataSetChanged() is not
necessary, if i'm not mistaken
Actually, it works the same for both Objects and primitive types.
The == operator checks if the value held by both variables is the
same.
For primitive types (e.g. int), this value is a 32-bit value (or 64-
bit for long, etc).
For Objects, this value is the *reference* to an object, not the
Depends on the size of the bitmaps.
If they are for display only, i would advise loading them with RGB_565
(not ARGB_). This way, an image with 'width' by 'height' pixels
will take up 'width*height*2' MByte.
Your app's total available memory is either 16MByte (1st gen phones)
or 24MByte (2nd
to refresh from the
filesystem (this may be the sticking point)
Any thoughts?
On Jun 21, 7:18 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Compress (Bitmap.compress) the image yourself into a file.
Then use the
getContentProvider().insert
Don't check the qName. Use the localName instead.
(localName.equals(event)).
On Jun 30, 10:07 pm, Michael michael...@gmail.com wrote:
Thanks again, but I'm still having a problem.
public void endElement(String uri, String localName, String qName)
{
if
Thanks Jake,
I already had a hard time believing Bump would do that... :-)
I think it's a great idea to let friends (bumpers? :-)), share app-
discoveries like that!
On Jun 30, 1:50 pm, Jake Mintz jmi...@gmail.com wrote:
Hi all, I am one of the founders of Bump Technologies, the company
behind
Good luck with that one... i tried but no luck.
If you think about it, it makes sense that this is not 'easy' to do
with the standard controls (like the text view).
The text-view knows about its parent (the rel. layout), not about its
siblings (imageview).
If you center the text-view in the
Register your broadcast receiver like this:
IntentFilter intentFilter = new
IntentFilter(Intent.ACTION_MEDIA_EJECT);
intentFilter.addAction(Intent.ACTION_MEDIA_MOUNTED);
intentFilter.addDataScheme(file);
intentFilter.addDataAuthority(*, null);
intentFilter.addDataPath((mIsExternal
, 2010 at 9:23 PM, Streets Of Boston
flyingdutc...@gmail.com wrote:
Register your broadcast receiver like this:
IntentFilter intentFilter = new
IntentFilter(Intent.ACTION_MEDIA_EJECT);
intentFilter.addAction(Intent.ACTION_MEDIA_MOUNTED);
intentFilter.addDataScheme(file
I myself use the android.sax.* classes and the
org.xmlpull.v1.XmlPullParserFactory that's configured to use the
org.xmlpull.v1.sax2.Driver class for the actual hard work.
(I wrapped some extra classes of my own around these (android.sax.*)
to better track the the current context (i.e. which
in receiver onReceive.
On Jul 10, 9:23 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Register your broadcast receiver like this:
IntentFilter intentFilter = new
IntentFilter(Intent.ACTION_MEDIA_EJECT);
intentFilter.addAction(Intent.ACTION_MEDIA_MOUNTED);
intentFilter.addDataScheme
You have no control over the application and/or activity life cycle.
This will make is very hard to determine when the user 'exits' the
app.
I would do this:
1. Consider an explicit 'log-out' option for your users.
2. Add a time-out to your login-sessions. Refresh the session (time-
out) when the
presses the home button, they can get back in quickly.
On Jul 17, 3:40 am, Streets Of Boston flyingdutc...@gmail.com wrote:
You have no control over the application and/or activity life cycle.
This will make is very hard to determine when the user 'exits' the
app.
I would do
I'm not sure if this will work or not in your situation or if you are
already doing this, but you could try this:
Implement the callback method 'onNewIntent(Intent newIntent)' in your
class 'A'.
Then when the oNewINtent is called, be sure to call
'setIntent(newIntent)'.
The thing here is, that
First a small correction on DanH's reply, ARGB_ uses 32 bits (4
bytes), not 64 bits.
The memory used by a Bitmap is roughly Width*Height*Depth bytes. (e.g.
a 1MPixel image in RGB_565 uses 2MByte of memory). I say roughly,
because the Bitmap object itself, holding the raw data, occupies a few
Search for ACTION_MEDIA_EJECT on this forum.
On Jul 24, 1:02 pm, Joseph Earl joseph.w.e...@gmail.com wrote:
I would like my Activity to be informed when the SD card is removed,
since it relies on files from the SD card (to keep apk size down) but
for compatibility reasons is not targeted at
or not the bitmap is allocated in Java heap, freeMemory()
is not real useful, at least not without actually running a (full) GC
cycle first.
On Jul 24, 5:20 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
First a small correction on DanH's reply, ARGB_ uses 32 bits (4
bytes
Hello,
I have this test-code:
=
package somepackage;
import android.test.ActivityInstrumentationTestCase2;
import android.util.Log;
import com.kronos.mobile.android.Constants;
import com.kronos.mobile.android.ExceptionsSummaryActivity;
import
I'm glad to not have to use pre-processors and hash-defines.
I hated them when i worked in C (and C++) (they tended to get over-
used, made code unreadable and difficult to debug) and for the last
decade of Java programming i really never ever needed them.
How can you develop on a mobile without
One possibility is to have an 'About' screen, reachable from your menu
or from your settings/preferences activity. Put the references/
citations in the About screen.
On Jul 31, 3:39 pm, AUandroid thevk...@gmail.com wrote:
Hi All,
I am about to release my first app on the market for free. How
I made a typo in my question.
The last change to the static variable declaration should read:
...
...
When i then change that line to (changing String to Object, still
using 'final'):
private static final Object USER = tturner;
...
...
On Jul 30, 6:02 pm, Streets Of Boston flyingdutc
A colleague of mine tried it and he found out that not calling
'super.tearDown()' makes this problem go away.
But not calling 'super.tearDown()' is probably not a good idea for
these type of test-cases (instrumentation won't be properly cleaned
up).
On Jul 30, 6:02 pm, Streets Of Boston
of implementing this method
seems worse than the problem it tries to solve.
On Jul 30, 6:02 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Hello,
I have this test-code:
=
package somepackage;
import android.test.ActivityInstrumentationTestCase2;
import
I didn't know this until just now, when i got a chargeback request
from Google.
Chargeback fees (that were $3) for purchases from the Android Market
under $10 have been waived since June 2010. This is only my second
chargeback ever, but still: $3 is three dollars :-).
--
You received this
I'm facing the same problem.
Did you find any solution?
On Aug 26, 12:13 pm, Sebastián Treu sebastian.t...@gmail.com wrote:
Hi there,
I'm trying to realize how the focus and selection in theGallery
widget is doing their job. I'm facing weird situations when trying to
update information
Again, that is normal behavior.
When the user comes back to your app, the last activity that was
visible to the user will be shown. If your app's process wasn't
killed, that last activity is just shown. If your app's process was
killed, then that last-activity will be re-created first. The fact
AsyncTasks are like Future(Task) instances executing on
ExecutorServices (java.util.concurrent).
On Sep 23, 6:17 pm, John Gaby jg...@gabysoft.com wrote:
I am using AsyncTask. When I call the 'execute' function, a new
thread is created. However, when the doInBackground function returns,
the
Customers can uninstall their app within about 24-48 hours (the exact
number of hours is not quite clear to me), without your intervention
and their purchase is nullified.
After that period, their credit-card (through Google Checkout) gets
charged and the purchase has been made.
Customers can no
Yep.
Make sure that the items (the things returned by your adapter's
getItem(int position) method) contain a boolean that determines
whether one list-item is selected or not. E.g. 'isSelected=true'.
In your list-view' onItemSelected listener, do a
adapter.getItem(position) to get hold of the
Yes, you could. But don't spam the users be careful :-)
On Sep 25, 6:30 am, sblantipodi perini.dav...@dpsoftware.org wrote:
Excellent, so am I authorized to send email to that email address to
communicate something like free updates
or news about the software?
Thanks.
On Sep 25, 12:13
And in to avoid button-mashing in general, you could disable the
button when clicked.
On Sep 25, 2:05 am, Doug beafd...@gmail.com wrote:
Why would you ever call onStart() manually (assuming that it's the
onStart of your activity)?
You might want to look into using showDialog() provided by
How did you set the sizes of your text (font)?
Don't use 'dp'/'dip' and certainly don't use 'px'. Instead use the
'sp' measure for fonts (scale independent pixels).
On Sep 24, 11:33 pm, pawpaw17 georgefraz...@yahoo.com wrote:
Guys,
I was cooking along with the basic Google Maps 1.5 SDK and
I don't know why not, but i had the same problem (when the original
Motorola Droid came out) and using 'sp' instead of 'dp' fixed the
problem.
On Sep 27, 12:19 am, Kumar Bibek coomar@gmail.com wrote:
On Sep 25, 7:46 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
How did you set
Hi,
I get this stack-trace in my e-mail at times from my application:
java.lang.RuntimeException: Fail to connect to camera service
at android.hardware.Camera.native_setup(Native Method)
at android.hardware.Camera.init(Camera.java:118)
at
Thank you Mark!
If it is a time-gap, i'd wonder how would one go about fixing this
issue? How long does one needs to wait to call Camera.open after it's
released?
On Sep 28, 9:45 am, Mark Murphy mmur...@commonsware.com wrote:
On Tue, Sep 28, 2010 at 9:41 AM, Streets Of Boston
flyingdutc
Yep,
When using the copyPixelsToBuffer you're copying compressed data (e.g.
the JPEG raw data) into the buffer.
When using decodeByteArray, it is expecting uncompressed raw data
(e.g. ARGB_ or RGB_565 and such).
This means that when you send compressed data (from the call
copyPixelsToBuffer)
The Eclipse plugin sucks if you do a bit more than just simple layouts
or drawables. The only way to check if it all works fine, is to check
it during runtime (either on the emulator or, better, a real device).
On Oct 1, 3:08 am, Shawn Brown big.coffee.lo...@gmail.com wrote:
If you know or can
Since quite a while (i think after the the OTA update to Froyo (2.2)),
my Voice Search from the keyboard stopped working.
A Voice Search from Google Search, for example, still works fine
without problems.
But when clicking on the keyboard's microphone button to speak a text
that needs entering in
You haven't shown us enough of your code (code snippets) for us to
begin figuring out what may be wrong with your app. Could you provide
more details?
But to your questions;
1. The onCreate is called once per Activity instance.
If you have instance-variables/fields in you activity, you can assume
Also, your app may not work on HIS hero-phone.
It could be tons of things, depending on your app, that may have
nothing to do with a particular (brand of) device, but with software
loaded on it.
E.g. your app uses services that a task-manager on his device keeps
killing.
E.g. your app may use
When i create an activity that uses a custom-theme, e.g.
android:theme=@style/MyLogonTheme.
I create my theme in styles.xml:
style name=MyLogonTheme parent=android:Theme
item name=android:typefacesans/item
item name=android:windowBackground@drawable/
android_screen_logon_bg/item
/style
launch time.
On Fri, Oct 8, 2010 at 3:50 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
When i create an activity that uses a custom-theme, e.g.
android:theme=@style/MyLogonTheme.
I create my theme in styles.xml:
style name=MyLogonTheme parent=android:Theme
item name
mmur...@commonsware.com wrote:
You could try Traceview and see where the time is going:
http://developer.android.com/guide/developing/tools/traceview.html
On Sat, Oct 9, 2010 at 5:32 PM, Streets Of Boston
flyingdutc...@gmail.com wrote:
Thank you Dianne,
I'll make sure to use
My app zooms in and out of pics and lets the user moved the (zoomed)
in pic around.
The key methods for mapping a sub-picture (the one the size of the
screen) is done by using the calls Matrix.setRectToRect and
Bitmap.createBitmap(Bitmap source, int x, int y, int width, int
height, Matrix m,
Take a look at this method on developer.android.com:
Bimtap BitmapFactory.decodeByteArray(byte[] data, int offset, int
length, BitmapFactory.Options opts)
and how to draw a Bitmap on the screen (onDraw; dispatchDraw; Canvas;
etc.)
On Apr 27, 6:20 am, lohith loh...@gmail.com wrote:
Hi,
Can
One work-around works rather well if you do the onTouchEvent handling
in the main GUI-thread and drawing the screen in another (background)
thread.
In your handling of your onTouchEvent (especially when handling the
ACTION_MOVE) add a sleep statement for about 20 milliseconds (or a bit
longer)
401 - 500 of 1463 matches
Mail list logo