I know it's too late now, but after you create a keystore, back it up!
If it gets corrupted or lost, you can restore it.
On Sep 24, 11:19 am, CaseyB wrote:
> I had the same problem. It happened right around the time I updated
> to the 1.5 SDK. I also updated Java around the same time. I don'
This may get you into trouble if a time-span crosses a DST change.
A day does not necessarily have 24 hours. In many areas in the world,
twice a year, a day does not have 24 hours, but 23 or 25 instead.
Not to mention the occasional leap-seconds that are added to some
years.
On Sep 25, 12:22 am,
"lf.hl" wrote:
> Hi,
>
> so onItemClickListener does not fire on views inside one row?
>
> I would like to handle all UI events in a central point and expected
> to do this in onItemClickListener.
>
> Thanks and best,
>
> lf.hl
>
> On 24 Sep., 21:46,
Question:
Does Eclipse automatically zipalign?
In other words: If you use the Android 1.6 SDK, having it installed in
Eclipse, and use Eclipse to sign your apk (right-click: Android Tools
--> Export Signed Application Package), will your apk be zipaligned?
--~--~-~--~~~---
If you want to keep your thread running after you press the home or
back button, i'm afraid you'd have to use a service.
When your activity is popped off the back-stack (e.g. pressing home),
the OS could kill the process in which your activity is running and
your thread will be terminated. As far
ipalign-easy-optimiza...
>
> Xav
>
> On Mon, Sep 28, 2009 at 9:42 PM, Streets Of Boston
>
> wrote:
>
> > Question:
> > Does Eclipse automatically zipalign?
>
> > In other words: If you use the Android 1.6 SDK, having it installed in
> > Eclipse, an
http://www.netmite.com/android/
I don't know how well this MIDP runner works, but it's worth a try :-)
On Sep 29, 1:21 pm, Ray da Costa wrote:
> A helping hand, I have an Android G2 and would like to run the same
> applications that are running J2ME on my other cell E62. Is it possible?
> What
t I read a lot of information concerning the subject.
>
> On Sep 29, 4:32 pm, Streets Of Boston wrote:
>
>
>
> > If you want to keep your thread running after you press the home or
> > back button, i'm afraid you'd have to use a service.
>
> > When your activit
No well, at least I haven't found any.
I'm writing an app that creates images. I needed to code this from
scratch:
- Call bitmap.compress to store JPEG of full image and then use
MediaScannerConnection to insert it into the MediaStore.
- Generate thumbnails for my images: Insert new one into
I think that using the Number.valueOf and Number.toString methods
should work fine.
The system should deal with the currently installed and active locale.
Unless you're creating an app that needs to deal with multiple locales
at the same time or do some fancy formatting, i wouldn't bother much
wi
Implement your subclass of BaseAdapter (e.g. JSONArrayAdapter).
Implement/override the getCount(), getItem(int position), etc. to make
your BaseAdapter a proper list-adapter around your jsonarray.
Implement the getView method; it provides the 'position' and
'contentView' parameters.
- Use positio
I meant 'valueOf' method of the various Number subclasses... :-)
You're right. I just took a look at the code that is executed by
Double.valueOf(...).
It is hard-coded for using periods as decimal seperators.
On Sep 30, 12:55 pm, Gerald wrote:
> There is no valueOf method in the Number class. I
) == 1 ? mIcon1 :
> mIcon2);
> ...
>
> Which is basically list14 example from SDK. But, holder.text.setText
> (valArray2[position]); returns error that Array is expected and mine
> is JSONArray. How to cast my JSONArray to expected format?
>
> On Sep 30, 6:37 p
"I can't depend on onPause/onStop/onDestroy to dismiss them."
Why not?
Just add a method to your own TextView class that allows communication
between the activity and the text-view.
Best would be to show/dismiss this dialog in the Activity and have
your TextView call your Activity's methods (e.g
Yep,
I just checked my check-out account and it happened to me too a few
times as well.
On Oct 2, 9:56 am, Moto wrote:
> First sorry about posting this in this group, but I think every
> developer should be aware!
>
> During the past few days Google checkout was charging on some sales
> 92% tran
But, I looked a bit further.
They fixed it for me.
Look in your Payout section in the 'Other Activity' colummn.
I have been re-imbursed for these extra fees. All seems to be ok
now :-)
On Oct 2, 10:00 am, Streets Of Boston wrote:
> Yep,
> I just checked my check-out account an
when the
> orientation changes but not in activty's onPause etc for the above said
> reason.
>
> On Fri, Oct 2, 2009 at 8:57 AM, Streets Of Boston
> wrote:
>
>
>
>
>
> > "I can't depend on onPause/onStop/onDestroy to dismiss them."
> > Why not
ot;
wrote:
> Thanks for this - very useful and works perfectly.
>
> But it compiles to 300kb which doubles to 600kb for copy protected
> apps.
>
> Anyway to make a streamlined version of this app to just embed a gps
> location in a jpeg file?
>
> Alex
>
> O
It's quite a bit of code, but one thing's missing that you have to do:
In your onCreate, you're not calling setContentView(...). You have to
do this to show at least something :-)
On Oct 3, 4:39 pm, vorcigernix wrote:
> Hello,
>
> I didn't found clear answer for why my code does not work. I ass
Why not. I don't think Google prohibits that.
All the earnings (from Google Checkout) will go to the US publisher.
It is up to him and his Russian counter-part to iron out all the
copyright/legalities/payments/tax-issues between them.
On Oct 7, 12:03 pm, polyclefsoftware wrote:
> The country wh
Your activity (and your list-view) is not yet visible in the onStart.
Don't use 'getChildCount' and 'getChildAt' method to check your
preference-settings.
BTW: If your activity is not yet visible, how can a user make a
selection?
Shouldn't you query in the onPause, for example.
And also, the pos
> ListView. The breakdown occurs when I try to set these items as
> checked in the ListView when the activity starts back up.
>
> > Don't use 'getChildCount' and 'getChildAt' method to check your
> > preference-settings.
>
> What is the proper metho
The issue is about the location-services making the phone act very
slow because of excessive CPU consumption:
http://code.google.com/p/android/issues/detail?id=3453
Has this one been solved in Donut?
--~--~-~--~~~---~--~~
You received this message because you are
I might be mistaken,
But this part of the stack-trace worries me a bit:
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
com.altcanvas.readerscope.ItemDetails.(ItemDetails.java:
145)
com.altcanvas.readerscope.ItemDetails.getInstance(ItemDetails.java:
566)
com.altcanvas
Two solutions:
Remove the 'this':
okIntent.putExtra("com.example.challenge_no",
challenge_number);// This is the problem line
startActivity(okIntent);
finish();
Or add Example.:
okIntent.putExtra("com.example.challeng
There are sooo many more web-site offering paid Android apps for
download.
Some do it for free and other actually ask for money, either per
download or a membership of their web-site/forum.
On occasion I was able to remove my app from these sites. The owners
of these sites were cooperative. Other
When you store it in the EXTERNAL_CONTENT_URI, your image can already
be shared with every other app on the phone.
When you added (inserted) the image, your result was a Uri. This Uri
can be used by any other app to obtain your image.
On Oct 13, 4:42 pm, m_vitaly wrote:
> My program creates a b
Thanks!
Does this work for every android phone out there?
On Oct 8, 6:50 am, Anirudh wrote:
> Hi,
>
> I have figured out a way to do this. You have to set the parameter key
> called "orientation" to the value "portrait" using the set() method of
> CameraParameters class.
> Snippet:
>
> Paramete
Wrap another Layout (ViewGroup) around your text-view.
Set this new layout's width to 50% of the parent's width (using Weight
(or WeightSum... i can't remember) of 100 in the parent and
layoutWeight or 50 of your new layout. Then the child of your new
layout, your text-view, has a layoutWidth of
The market compresses the uploaded images heavily.
Just check the size of the images in your Market-Publish site of your
app. They are quite small and tons of JPEG artifacts show up. Even if
you uploaded PNGs, the images will become JPEGs, heavily compressed
ones.
On Oct 16, 11:48 am, westmeadbo
If I remember correctly, if you post a Runnable to a Handler instance
(AsyncTask does this), the messages(/Runnables) are posted back to
your application on the main UI-thread, regardless whether your
activity is active or destroyed.
You do have to check *which* Activity instance is active (or ma
Thanks Dianne, you posted your answer when i was typing mine. It
confirms what i thought should work :-)
About not processing any messages between the destruction and creation
of activitie during config-change:
Does this mean that i never have to check for 'ACTIVE_INSTANCE==null'
in an onPostExec
t; On Oct 14, 4:20 am, Streets Of Boston wrote:
>
>
>
> > When you store it in the EXTERNAL_CONTENT_URI, your image can already
> > be shared with every other app on the phone.
>
> > When you added (inserted) the image, your result was a Uri. This Uri
> > can be u
sorry for the bump, but i'm curious :-)
On Oct 9, 3:53 pm, Streets Of Boston wrote:
> The issue is about the location-services making the phone act very
> slow because of excessive CPU
> consumption:http://code.google.com/p/android/issues/detail?id=3453
>
> Has this one
RichardC and String are correct.
You can't and shouldn't do this. Re-design your app so that the user
does not need to push a GUI to the front at any possible given time.
Also, your background service that waits in the background may have
been killed by the Android OS due to low memory or low re
where do I temporary store the image ?
> I can store it in EXTERNAL_CONTENT_URI, Context.getCacheDir() or
> Context.getFilesDir() ...
> But what's preferable and why ? (considering: deletion timing, permissions,
> locks, etc.)
> Personally, I would choose cache dir.
>
>
No need to call 'invalidate()' on your list-view.
Call 'notifyDatasetChanged()' on your customer adapter instead,
whenever you add or delete elements in your ArrayList or change the
contents of existing elements in your ArrayList.
On Oct 21, 7:53 am, Marc Lester Tan wrote:
> Hi Migs,
>
> You can
> using
> > > > Sprint HTC Hero devices. This problem hasn't been reported on any other
> > > > phone. Is it fair to assume that it's a problem in that particular ROM?
> > If
> > > > that's so, then what options do I have to resolve this issue - should
Same here.
If they indeed did that, then i won't put my app there.
On Oct 20, 1:25 pm, niko20 wrote:
> Hi,
>
> Maybe I will wait until I find out if you really stole the code for
> your app store from the andAppStore developers. At least that is the
> current allegation.
>
> -niko
>
> On Oct 20,
Hi everyone,
Without (sample) code or a log-trace, there is not much that we can do
to help you.
On Oct 20, 11:44 am, "kevin.hooke" wrote:
> I'm having a similar problem where BitmapFactory.decodeStream() is
> working reliably in the emulator, but the same app transferred to the
> phone is retu
Not good to hear this.
This means, like JBQ said, that they (whoever 'they' is) need to
really tighten the compatibility reqs. Google puts a lot of effort in
to make it as easy as possible to support various devices but if
manufactures (or even OHA members) are becoming lax...
Most of the proble
s the problem for HTC Heros. If so, your particular
problem is fixed.
On Oct 21, 11:34 am, Jayesh Salvi wrote:
> --
> Jayesh...
>
> read more »
>
> On Wed, Oct 21, 2009 at 7:39 PM, Streets Of Boston
> wrote:
>
>
>
> > I still would try to inflate your view inside
ndAppStore are right but I don't
> think why Archos should stole codes...
>
> On 21 oct, 16:11, Streets Of Boston wrote:
>
>
>
> > Same here.
> > If they indeed did that, then i won't put my app there.
>
> > On Oct 20, 1:25 pm, niko20 wrote:
>
>
You're right.
Even better! :-)
If you back just a simple java.util.List, then the ArrayAdapter will
take care of most, if not all, of your requirements for a list-view.
On Oct 21, 11:58 pm, Miguel Paraz wrote:
> Hi Marc and "Streets of Boston",
>
> Thanks for the t
Doesn't that happen anyway?
If memory is low, Android starts closing all kinds of process down.
But it will do so on its own terms and time :-)
On Oct 21, 8:26 pm, "B++" wrote:
> The Content Provider starts when the first applicable URI is resolved.
> This will make the ContentProvider run forev
I cannot answer this question for you,
but try to reproduce this issue on a real device while having it
connected to your PC so that you can debug it.
Let it run until it hangs.
Then start the ADB debugger and pause all threads. See which threads
are causing the deadlock. This may give you some m
Put the data whether a checkbox of a list-item is selected inside the
*adapter's* data, like my example i gave you in an earlier post
(selectableString.isSelected).
If you want to pre-select a check-box of a list-item, set its
corresponding element in the adapter (SelectableString) as selected
(s
Kind-a burried inside the blog-post on developer.android.com (http://
developer.android.com/sdk/android-2.0-highlights.html), i saw that
multi-touch is now supported:
>>
Android virtual keyboard
•An improved keyboard layout to makes it easier to hit the correct
characters and improve typing speed
API allows for an
> arbitrary number of fingers, not just 3. I just happened to define
> convenience constants for the first 3 finger down/up actions, but given
> their weird naming as seen above and the finger ID mask is actually 255, it
> is perhaps best just to ignore those constants.
I have the same issue.
I started android.bat from the command prompt.
Since android.bat is in the directory that is reported to be locked,
my command prompt is holding a lock to it when starting
android.bat not very handy...
On Oct 27, 7:36 pm, Xavier Ducrohet wrote:
> Hi,
>
> the issue is
he lock problem.
>
> Xav
>
> On Tue, Oct 27, 2009 at 5:44 PM, Streets Of Boston
>
>
>
>
>
> wrote:
>
> > I have the same issue.
>
> > I started android.bat from the command prompt.
> > Since android.bat is in the directory that is reported
should work
> from Eclipse.
>
> Xav
>
> On Tue, Oct 27, 2009 at 5:59 PM, Streets Of Boston
>
>
>
>
>
> wrote:
>
> > It doesn't work under Eclipse either... same message as when using the
> > command prompt.
>
> > I guess all Windows use
.
However, when i click on 'Available Packages', i get the message "Some
packages were found but are not compatible updates."
On Oct 27, 9:16 pm, Streets Of Boston wrote:
> I wish i could say that; i had only my Eclipse open and a few browser
> windows...and still i got t
I still have this "Some packaget ... updates" message, but it does not
seem to affect anything negatively.
On Oct 27, 9:33 pm, Streets Of Boston wrote:
> It looks like adb.exe holds a lock to the problematic directory.
> When you start Eclipse, adb.exe is started. And when
I agree with Piotr.
Tomei,
We may be able to help you with the *how*, if you told us *what* you
are trying to accomplish. I am almost 100% it could be done without
trying to circumvent Android's lifecycle management.
On Oct 28, 4:42 am, Piotr wrote:
> If you think how to get "around" applicatio
all
>
> > That's correct.
>
> > Windows users who are not using eclipse, we recommend that you
> > download the SDK package at
> >http://developer.android.com/sdk/index.html
>
> > This is basically only the tools folder, but it also includes a "SDK
> >
Eclipse loads from a work-space (e.g. try to start eclipse up twice in
a row and the second time it'll complain that the works-space is
already in use).
Create a different workspace that does not have Android SDK. Then
start Eclipse from there.
On Oct 29, 11:04 am, Teo wrote:
> Can i stop that?
Or you could use the getTag and setTag methods on your view:
myView.setTag(myActivity)
...
myActivity = (MyActivity)someView.getTag();
...
On Oct 28, 5:08 pm, ClarkBattle wrote:
> Very tricky. I like it! Thanks.
>
> On Oct 28, 1:12 pm, RichardC wrote:
>
>
>
> > In your activity onCreate meth
How large is the bitmap (in pixels)?
Don't make the bitmaps/pics in your resources too large. Don't make
the larger than you absolutely need to (e.g. not much larger than your
screen or larger than the view in which you tend to put them).
On Oct 30, 6:17 am, Richard wrote:
> I'm getting some re
Probably System.exit().
But why would you want to do that? Why not leave it up the the OS to
kill your process when necessary?
Your activities should be able to handle the Android life-cycle
process correctly (onCreate, onResume, onPause, onDestroy, etc).
On Apr 28, 8:56 am, Sudha wrote:
> So
orks fine, and pretty fast ( on all 100
> > > elements ),
> > > but than begin problems with last cell.
> > > Animation not child-view's. Each cell is a imageView with animation on
> > > it.
>
> > > On 27 апр, 20:43, Streets Of Boston wrote:
&g
; working fine in that case, but don't working if I run it in getView
> method, even with your algorithm?
>
> On 28 апр, 16:55, Streets Of Boston wrote:
>
>
>
> > Don't rely on the order in which getView is called. It is not a bug.
> > It is a decision of the d
er ( e.g. something
> > >> >> like .addView() method ) ?
>
> > >> >> On 27 апр, 21:38, Illidane wrote:
>
> > >> >> > My GridView shows all 100 cells on the screen ( all visible at one
> > >> >> > moment )
> > &
It's a bug. I don't know if it's fixed in Cupcake, but in 1.1 and 1.0
this does not work. The icon will always be on the left.
On Apr 29, 4:39 am, quill wrote:
> Hi all,
> I just want to set an icon in the right of titlebar, so I use:
> Window w = getWindow();
> w.requestFeature
lease
(see its note about how it is more finnicky about the depth and width
of view-hierarchies). Instead, you have just one view with 100 small
bitmaps/drawables.
On Apr 29, 3:03 am, Illidane wrote:
> Extend the GridView or write my own class which will manipulating 100
> cells as drawables
w with 100 small
> > bitmaps/drawables.
>
> > On Apr 29, 3:03 am, Illidane wrote:
>
> > > Extend the GridView or write my own class which will manipulating 100
> > > cells as drawables?
>
> > > On 29 апр, 00:27, Streets Of Boston wrote:
>
> >
In my app, i've been dillegently 'unloading' bitmaps when i need
memory.
I clear out as much as I can.
E.g. when a view becomes invisible (onPause) or just before you start
loading a big bitmap:
- do a setImageBitmap(null) (or similar methods, depending on which
class of View you're actually usin
c variables in Android as the plague. And, if i really need one,
i make absolutely sure the static variable is either cleaned up
properly (set to null) and/or that it holds no (indirect) references
to activities.
On Apr 30, 4:39 pm, Ward Willats wrote:
> Thanks for these tips.
>
> At
I had the same problem.
You can fix it yourself (for now), by running the MediaScanner over
the file you just saved.
Get the DATA column of your image-uri. The DATA ("_data") column holds
the physical file-path of your image. Use this file-path in the
MediaScanner (and MediaScannerConnection) to
You can load full-size pics with restrictions.
I found out, i can load a full-sized pic (3MPixels) in RGB_565 mode.
But trying to load it in ARGB_ fails (OOM exception) and i need to
load it in a smaller size.
Still, in my app i dilligently try to clean up bitmap memory (call
recycle and
Hi Robert,
I'm developing my apps on my retail G1. I don't have a dev-phone.
The advantage of having a dev-phone is that you can flash it with the
latest SDK (1.5/CupCake) and try your apps out on a real device. With
my retail G1, i cannot load 1.5 on it. But, for me, that's not a
biggie. I can
I really hope that this is *not* possible.
A background application that steals key-strokes is not a good idea.
I won't doubt that your application only has good itentions, but the
idea that i could be downloading a key-stroke sniffer is not very
appealing. I'd rather not have my passwords stolen
I see you already tried to put it in a service.
How do you stop/start this service?
If your activity just binds to the service, the service will stop when
the activity goes away. To fix this, do a 'Context.startService' as
well. This will cause your service to stay running in the background,
even
Nope.
Try this.
-Create a mutable bitmap the size of the screen. Save this bitmap as a
variable of your instance.
-Create a Canvas from this bitmap (i think you can 'cache' it, save
this canvas as a variable of your instance).
-Draw your touches into this canvas.
Then in the 'onDraw(Canvas scre
Nope.
Try this.
-Create a mutable bitmap the size of the screen. Save this bitmap as
a
variable of your instance.
-Create a Canvas from this bitmap (i think you can 'cache' it, save
this canvas as a variable of your instance).
-Draw your touches into this canvas.
Then in the 'onDraw(Canvas scr
Handango.com
MobiReach.com (mobihand.com)
slideme.com
and a bunch of others :)
On May 6, 10:51 pm, Jose de Paula Eufrasio Junior
wrote:
> I know that this list's objective is not to talk about the Market, but if I
> need a developer's POV...
> I just now discovered I can't even signup on the Ma
You have to wait until the mediascanner posts a callback when you it
is done.
I wrote a wrapper around this behavior, which you can call by this
example:
// msListener's 'ready(...)' method is called when the imgUri has
been scanned completely.
MediaScannerNotifier.run(getApplicationContext()
Developers need to backup their key-stores (and save their passwords
to it) to prevent the exact problems you have right now.
If one could change the signature of an app with a new key and the
Market would allow the app with this different signature to be
uploaded, people could hijack your app re
thrownCardsImgs[thrownCardIndex].setImageBitmap(null)
this will clear the image from your ImageView (card).
On May 8, 1:33 pm, Sheepz wrote:
> can you elaborate on that?
>
> On Apr 7, 6:51 pm, Streets Of Boston wrote:
>
>
>
> > Try to do setImageBitmap(null) instead.
Your image is probably too big.
By setting a 2048x1536 pixels image, you will eat up about 6MByte of
memory right there.
The memory of the large bitmap may not be cleaned up quick enough when
chaning orientation.
To get around this issue, scale the bitmap yourself:
Read in the full-size bitmap by
Hi,
I'm developing under Eclipse 3.3, Windows Vista 64bit.
It took me quite a while, but finally i got my projects to build on
the new 1.5SDK.
I created two devices, one for target 1.1 and the other for 1.5.
When i run my projects in the emulator, it all works well for the 1.1.
device. However,
I'm running under Windows Vista 64bit and after installing SDK 1.5, i
no longer can use the DDMS perspective.
All views that are tried to get opened fail (LogCat, Heap, Threads,
etc.).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I just installed the SDK1.5 and i get this message when i try to look
at my logcat:
Problems occurred restoring perspective.
Could not find view: com.android.ide.eclipse.ddms.views.LogCatView
I use Eclipse 3.3 under Windows Vista 64bit.
Is this a known issue?
--~--~-~--~~--
t; Please run the emulator manually with your avd with debugging
> information and post the result here:
>
> emulator -debug all @your_avd_name
>
> Thanks,
> R/
>
> On Fri, May 8, 2009 at 6:35 PM, Streets Of Boston
>
>
>
> wrote:
>
> > Hi,
>
> >
I'm not absolutely sure, but i remember reading that sdk1.5 is much
much more conservative on the allowable depth and width of your
screen's layout.
If you go very deep (from parent-views to child-views) or very wide
(many 'sibling' views), sdk1.1 had a bit of a hard time, but could
handle it. Ho
Hi,
Part of my application allows the user to color-correct images. When i
open an image for editing, i'd like to know what, more or less, the
available bitmap memory is for the device that the app is running on.
For the G1, the limit is use is about 6MByte (about a full-size image
that can be t
is limited to 16MB.
>
> On Wed, May 13, 2009 at 10:35 AM, Streets Of Boston
>
>
>
>
> > wrote:
>
> > Hi,
>
> > Part of my application allows the user to color-correct images. When i
> > open an image for editing, i'd like to know what, m
wise allocate it and tell the VM to account for that as part of its
> heap usage).
>
> On Wed, May 13, 2009 at 11:24 AM, Streets Of Boston
>
>
>
>
> > wrote:
>
> > Hi Dianne,
>
> > Thanks for your response.
>
> > I know that there is no r
I had similar issues.
I have no idea exactly how i fixed it. At some point i noticed i
forgot to set the target for each project i have (target is 1.1 or
1.5) and after setting this, and after re-starting Eclipse, refreshing
and rebuilding, the issue was resolved. I don't know if this was *the*
f
As a side-note: I think the TextView's (and EditText) 'gravity' should
have been called 'alignment'. It's called that way in most UI's. :=)
On May 14, 10:54 am, Romain Guy wrote:
> Hi,
>
> Well, first of all RelativeLayout ignores layout_gravity. Then you
> need to know that gravity means "app
That's what i do right now. My app does its best to have as much
memory as possible before starting to open a big image for editing (i
have written a notification-system that caches and other classes can
register with. They'll then get notified when bitmap memory is
necessary, asking them to free
You can map it onto the 3D world. You just have to do some math.
Get the x and y coordinates of your touch-event.
Then you have to do this for both z=0 (near plane) and z=1 (far
plane):
Translate the line (x,y,0) --> (x,y,1) in screen-coordinates into your
3D coordinates (hint: use gluUnProject(
This works for me:
E.g. In one of my apps, I load an HTML page as follows:
webView.loadUrl("file:///android_asset/help/helpgube.html");
Below is a snippet from the helpgube.html:
And here a snippet from helpgubecss.css
body {
BACKGROUND-POSITION: 0px 0px;
BACKGROUND-IMA
You want a delay between changing the button's text and showing the
new content-view?
If that's the case,
private void markUser(int index) {
btnArray[index].setText(mark);
btnArray[index].setClickable(false);
postDelayed(new Runnable() {
I think the color values are values between 0 (rgb = 0) and 1 (rgb =
255).
And, if i'm reading your code correctly, the 'red', 'green' and 'blue'
values in your code-example have values between 0 and 255 (in fixed
format: 0.0, 1.0, 2.0 --> 255.0).
http://www.khronos.org/opengles/documentation/open
Note that this code may not compile (typo's), but i hope you'll get
the idea.
[code]
Date sampledate = ... ...;
...
Calendar cal = Calendar.getInstance();
cal.setTime(sampleDate);
int weekNumInYear = cal.get(Calendar.WEEK_OF_YEAR);
int dayOfWeek = cal.get(Calendar.DAY_OF_WEEK);
...
etc.
etc.
[/co
As far as i know, you can't do this.
Maybe you want to implement a modal dialog.
Launch a (subclass of) android.app.Dialog instead.
However, even when using dialogs by calling yourDialog.show(), the show
() call returns immediately. It doesn't wait.
It looks like you have to re-write some of you
on't be any faster.
>
> On Wed, May 20, 2009 at 10:58 AM, Streets Of Boston
>
>
>
> wrote:
>
> > In your example, it seems you don't need the getCount() or moveToFirst
> > () at all.
>
> > The snippet below works well without using getCount or mov
In your example, it seems you don't need the getCount() or moveToFirst
() at all.
The snippet below works well without using getCount or moveToFirst().
[code]
Cursor c = db.query(var1, var2, var3 .);
while (c.moveToNext()) {
// do something with cursor c
...
}
[/code]
On May 18, 10:47
"But I'm confident I don't deal with so much levels."
I count about 30 draw() calls on either ViewGroup or FrameLayout in
the stack.
You are dealing with quite a number of levels... probably too many of
them.
On May 21, 4:44 am, Vince wrote:
> Hi fadden,
>
> Here is the stack trace:
>
> 05-21 08
301 - 400 of 1319 matches
Mail list logo