Uhmm nope, that title actually goes to the Nokia 6310i.
On Mar 26, 2:05 pm, Ken H hunt1...@gmail.com wrote:
The greatest phone ever.
On Mar 26, 11:20 am, ernie ernest...@gmail.com wrote:
Just got the Nexus One via FedEx, in Southern California. Thank you
Google.
--
You received this
TypePad failed to save, leaving me with a draft from 11 hours earlier.
I gritted my teeth and recreated it.
I hope it's not less coherent as a result, but probably.
On Mar 26, 10:22 pm, Kevin Duffey andjar...@gmail.com wrote:
Good stuff Bob.. hurry up with your blog.. its empty right now. ;)
Thanks. But it slipped my mind as I was writing it that immediately
deleting the new app is going to be a loser, because it'll refund your
payment.
You'll have to arrange to do that at another time. Or not, and live
with the clutter. Or simply use your .apk as the storage for your
characters.
Guys pls help ...
On Fri, Mar 26, 2010 at 5:02 PM, satish bhoyar getsatonl...@gmail.comwrote:
Hi all,
Hi all,
I am stuck in a situation,where I have onClick() method onTouchEvent()
method. The situation is the my onTouchEvent() is handling the fling
gestures (like left,right), after each
Ok, reviving an older thread.
Is there a way, to have View elements (TextView, Button, whatever)
that are not run on the main UI thread?
What about if I set up a game thread, with its own View (like in the
LunarLander sample, for instance) and then create View elements on the
fly and attach them
Maybe there is somewhere else I can ask?
On Mar 25, 12:57 am, Nate nathan.sw...@gmail.com wrote:
No one can offer any suggestions?
On Mar 24, 12:32 am, Nate nathan.sw...@gmail.com wrote:
I have a G1 Dev Phone. I am unable to install the 1.6 radio update
from this
Thanks Dianne. What about if your app has multiple potential Root
Activities and so you cannot be sure (from the Notification) which one
it is?
On Mar 27, 2:26 am, Dianne Hackborn hack...@android.com wrote:
You use the same intent that original started the task. Tasks started from
launcher are
Neilz wrote:
Is there a way, to have View elements (TextView, Button, whatever)
that are not run on the main UI thread?
No.
What about if I set up a game thread, with its own View (like in the
LunarLander sample, for instance) and then create View elements on the
fly and attach them to the
Hello Everyone,
Is it possible for an app to upgrade itself?
I am trying it but it doesnt seem to work. My app downloads its
upgrade, starts the upgrade/installation process which finishes
successfully but when I start the app its still the old one.
When I installed my app normally I was
Hi all,
I work with a gallery and a BaseAdapter.
In my XML file I specified, on my gallery, android:unselectedAlpha.
When I select an item (using click or pad) image are moved but they
take the alpha defined for (normally) the unselected image.
Do you have any idea ?
--
You received this
I'm starting the AlarmManager from a BOOT_RECEIVED broadcast and it
works like a charm. I've noticed, however, that it requires a restart
to take effect because it's triggered from a broadcast. In light of
this I also start the AlarmManager from the onCreate() of my activity
so that the user
AuxOne wrote:
I've read that Alarms/Services set from the Activity are destroyed
when the Activity is.
I don't know where you have seen that, but I am not aware of such a
limitation. Got a link?
The only times I know of when alarms get nuked are:
-- on a reboot, all alarms go poof!
-- if the
It just occurred to me that if I create it from a static context it
shouldn't really die with the Activity. That's what I used to be
doing, but later I switched it to an instantiated class. I'll see what
happens.
On Mar 27, 9:12 am, AuxOne tyler.thack...@gmail.com wrote:
I'm starting the
AuxOne wrote:
It just occurred to me that if I create it from a static context it
shouldn't really die with the Activity.
AFAIK, AlarmManager alarms are not dependent upon the particular
component that created them.
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Then maybe it's the Service that is dependent? All I know is it works
after reboot, but not after immediately installing (and starting Alarm
from Activity). It's a 1 hour+ timer.
On Mar 27, 9:18 am, Mark Murphy mmur...@commonsware.com wrote:
AuxOne wrote:
It just occurred to me that if I
AuxOne wrote:
Then maybe it's the Service that is dependent? All I know is it works
after reboot, but not after immediately installing (and starting Alarm
from Activity). It's a 1 hour+ timer.
Like I said, I am not aware of any such limitation. As I wrote, the only
times I know of when alarms
Hi,
i'm trying to create a new TextView when a button is clicked.
TextView b = new TextView(this); isnt working cause 'this' refers to
new View.onClickListener.
Been searchin for hours, cant find a solution.
--
You received this message because you are subscribed to the Google
Groups Android
Hi all,
I'm kind of to android development. I'm creating an app containing
several activities, and one of them is an ListActivity. Each row
contains a ImageView (thumbnail) and two TextViews.
When the ListActivity is loaded everything looks fine, but when I
start to scroll it scrolls very slow.
I am sure they will but I wouldn't hold my breath on WHEN. There was a
lengthy thread going about two weeks ago on here about improving the market.
I just skimmed it to follow along but they wanted to do a petition and
everything. I am not sure what happened to that. I would bet money that
google
Your code probably looks like this
AlertDialog a = builder.create();
a.setButton(AlertDialog.BUTTON_POSITIVE, Ok, new OnClickListener()
{
public void onClick(DialogInterface dialog, int which)
{
TextView b = new TextView(this);
...
}
You need to create the TextView outside the scope of
Yes I know. Warren brought that up. But the game changer was when I found
out that I can remove:
category android:name=android.intent.category.LAUNCHER /
from the manifet.xml which hides the new app's from the user (hides the
clutter) and also doesn't allow the user to start it them on their
Yeah, figured out that yet, if i do that it works if i push the button
1 time, the second time i push it the application just crashes.
Logcat gives me this error: You must call removeView() on the childs
parent first.
I need some way to 'flush' the textview.
On 27 mrt, 15:44, Adrian Vintu
Why do you want to put an edittext, listview already have an keystroke
filter.
I have a similar problem because my listview is not filtering, even
implementing the toString method os the class from my custom Adapter.
Ialso have a ListView with a custom Adapter that extends ArrayAdapter.
It's a
you should probably call removeView() :)) sorry, i could not help it :))
how about you just add the textview one time only?
or how about you just post your code?
BR,
Adrian Vintu
http://adrianvintu.com
On Sat, Mar 27, 2010 at 3:52 PM, rubeN_vl rvanluch...@hotmail.com wrote:
Yeah, figured
Hello,.
Is there a way to have a scrollbar on the left side?
Thanks in advance
--
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
checkboxrifle.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Patient p = (Patient) spinner.getSelectedItem();
Service s = new Service(RIFLE);
if (((CheckBox) v).isChecked()) {
It's my pleasure to help :)
I think an easy solution is to use view.setVisibility(View.GONE)
Does this work for you?
BR,
Adrian Vintu
http://adrianvintu.com
On Sat, Mar 27, 2010 at 4:10 PM, rubeN_vl rvanluch...@hotmail.com wrote:
checkboxrifle.setOnClickListener(new View.OnClickListener()
So toggle the visibility from GONE to VISIBLE. I think this would be a quick
solution :)
BR,
Adrian Vintu
http://adrianvintu.com
On Sat, Mar 27, 2010 at 4:14 PM, Adrian Vintu adrianvi...@gmail.com wrote:
It's my pleasure to help :)
I think an easy solution is to use
emna zeddini wrote:
Hello,.
Is there a way to have a scrollbar on the left side?
Not with any of the built-in classes. Sorry!
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books
--
You received this
Same error,
how can such a simple thing be so difficult :D
if i create those outside the onclick scope, its like i can use them
only one time.
final TableRow tr = new TableRow(this);
final TextView b = new TextView(this);
On 27 mrt, 16:16, Adrian Vintu adrianvi...@gmail.com wrote:
So toggle
hello, I didn't understand what you meant.Is it impossible?
2010/3/27 Mark Murphy mmur...@commonsware.com
emna zeddini wrote:
Hello,.
Is there a way to have a scrollbar on the left side?
Not with any of the built-in classes. Sorry!
--
Mark Murphy (a Commons Guy)
http://commonsware.com
A. create one time the container view then use setVisibility() to show or
hide it
or/and
B. you also have alert.getOwnerActivity() which gives you back the...
context :) you can then play around with it as you wish
On Sat, Mar 27, 2010 at 4:36 PM, rubeN_vl rvanluch...@hotmail.com wrote:
Same
in the onClick you also have
v.getContext();
v.getParent();
v.getRootView();
On Sat, Mar 27, 2010 at 4:41 PM, Adrian Vintu adrianvi...@gmail.com wrote:
A. create one time the container view then use setVisibility() to show or
hide it
or/and
B. you also have alert.getOwnerActivity() which
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
I can add that I've also tried the ViewWrapper pattern without any
performance difference.
--
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
Hi,
I notice there is popup menu on gmail application once you click on
the left checkbox of each message item. If there is no message
checked, this menu would disappear. What is that menu? How to
implement it?
Thanks,
-Eric
--
You received this message because you are subscribed to the
Hello,
Could you tell me please if I can modify the checkbox preference in order to
inverse the direction from
left to right to right to left.
Best regards.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
emna zeddini wrote:
hello, I didn't understand what you meant.Is it impossible?
I mean that none of the built-in classes (e.g., ScrollView) offer
scrollbars on the left side.
You are welcome to examine the 2,400 lines of code that make up
ScrollView.java and HorizontalScrollView.java to see if
emna zeddini wrote:
Hello,
Could you tell me please if I can modify the checkbox preference in
order to inverse the direction from
left to right to right to left.
You would need to write your own Preference subclass for this, perhaps
by cloning CheckBoxPreference and altering its
On Mar 27, 3:03 pm, Mark Murphy mmur...@commonsware.com wrote:
emna zeddini wrote:
hello, I didn't understand what you meant.Is it impossible?
I mean that none of the built-in classes (e.g., ScrollView) offer
scrollbars on the left side.
You are welcome to examine the 2,400 lines of code
the v.getContext() did it!!!
ty dude
On 27 mrt, 16:48, Adrian Vintu adrianvi...@gmail.com wrote:
in the onClick you also have
v.getContext();
v.getParent();
v.getRootView();
On Sat, Mar 27, 2010 at 4:41 PM, Adrian Vintu adrianvi...@gmail.com wrote:
A. create one time the container view
Np. There are many ways to get your desired behavior. I will post one of
them, just in case someone needs it. This is actually a toggle layout, so
it's a little bit more than what you asked.
cb.setOnClickListener(new OnClickListener()
{
TableLayouttl;
Droid, Nashville TN.
--
Greg Donald
destiney.com | gregdonald.com
--
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
Damnit, got a DROID today in Madison WIum I already have a DROID.
I doubt anyone is ever gonna wanna trade a Nexus one for this..lol
-
On Mar 27, 11:21 am, Greg Donald gdon...@gmail.com wrote:
Droid, Nashville TN.
--
Greg Donald
destiney.com | gregdonald.com
--
You received this
Droid, Bloomington, IN.
But, it automatically reboots with battery put in, COME ON.
Already sent email to android-market-seed...@google.com for
replacement.
Here are the symptons:
If I plugin the usb cable and boot the phone without battery, it works
perfectly.
If I put the battery
After calling play you need to keep calling write so you can feed
AudioTrack´s internal buffer and keep the audio playing. Then, before
you call read you can process your stream the way you want.
About upsampling, downsamplig: it´s a tecnique for changing the
samplerate of a signal trying to
Hello,
Right now I´m working on the UI of my first app and I´d like it to
work on as many different devices as possible.
I´ve read on the net about Android´s rule not to resize bitmaps on
views (background, buttons, etc), is it true? Does android rescale
skinned views sizes the same way it
Hi Tao,
Tao wrote:
Droid, Bloomington, IN.
[...]
If I plugin the usb cable and boot the phone without battery, it works
perfectly.
If I put the battery back in and the usb cable, the phone starts for
about 2 minutes(I can see the droid
logo and locking screen) and then reboot automatically.
Gabriel Simões wrote:
I´ve read on the net about Android´s rule not to resize bitmaps on
views (background, buttons, etc), is it true?
I do not know what you are referring to here. Some bitmaps (e.g.,
nine-patch PNGs) are designed to be resized.
Does android rescale
skinned views sizes the
Got an idea for the deletion of add-on toons for you. Use a simple sqllite
db on the device... when your main app finds/installs a toon, log a little
date in the db (or some other way). Every time your main app starts up, just
scan for any rows.. if any are there, check the timestamps... if it's
Hmm.. just looked up google checkout.. turns out paypal and google checkout
charge .30 + 2.9%.. so you're still stuck losing 30% for a $1 fee.. actually
2.9% more. So what, .33 per toon. Still.. not a big deal if it's utilized..
making 67% or so is great, especially if more and more people buy
I am curious tho.. can your app download a .jar file and dynamically load it
and use the code in it? I would guess not, but not sure how Android
prevents? I am thinking along the lines of virtual goods. Not that virtual
goods have to be written code.. ideally they would be some sort of
Kevin Duffey wrote:
I am curious tho.. can your app download a .jar file and dynamically
load it and use the code in it? I would guess not, but not sure how
Android prevents? I am thinking along the lines of virtual goods. Not
that virtual goods have to be written code.. ideally they would be
The stutter, from what I've picked up on other threads, is as Mark said, due
to various other tasks, apps, and more likely garbage collection kicking in
randomly. One thing that seems to be a common thread for most real-time
like UI updating games is to do some sort of time based setup. I forget
Hi Jonas,
Thanks for the tips.
I just went to a local Verizon store, they have confirmed for me that
the battery is dead.
I have sent emails to Google to see what they want me to do, quite
disappointing though.
On Mar 27, 1:31 pm, Jonas Petersson jonas.peters...@xms.se wrote:
Hi Tao,
Tao
Look over here:
http://sites.google.com/site/developermarketandroidgiveaway/faq
point 8: My phone was not working when I received it OR it stopped
working while under warranty. Can I request a replacement?
If you received a Droid, then please go to
JARs can be downloaded (see Mark's post earlier), loaded by the class
loader and run.
However, i think that these JARs must oblige by the permissions given
to the APK that downloads and executes them.
On Mar 27, 2:46 pm, Kevin Duffey andjar...@gmail.com wrote:
I am curious tho.. can your app
Streets Of Boston wrote:
However, i think that these JARs must oblige by the permissions given
to the APK that downloads and executes them.
Agreed. AFAIK, permissions are applied to the application as a whole,
whether that is existing code, code loaded dynamically, or code created
directly on
Well, it's obvious that these 2 methods are blocking your UI thread
which makes it starve:
1. i.getShortDescription()
2. Utils.getTimeLeft(i.getEndDate())
If you'd explain in more details what these methods do, perhaps there
could be come kind of solution to your problem.
On Mar 27, 5:52 pm, jw
Is it possible to upgrade Android dev phone (the first version) to
latest release (either 2.0 or 2.1)?
I appreciate if you can point me right links.
Thanks
Joe
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
We must be on the same wave length because I am ready doing what you just
explained. :-)
When in install app (I started calling them modules in my code) is download
I check the db, if that character is there then it updates that character
in the DB if it is not then inserts the character info.
But there is no drive platter on my phone! And dammit I need to renew my
sub now.
http://xkcd.com/378/
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Beginning Android 2_ from Apress Now Available!
--
Writing code is one of few things
that
Good point Kevin
Although we can't just look at this from the coder implementation point of
view (my website, using paypal, market place etc). We have to think how
people buy crap.
If the highest chance that they will have an account with Market place then
that will makes a big difference for
Wayne Wenthin wrote:
But there is no drive platter on my phone!
You need to upgrade your butterflies to 1.3.7 or higher to write dex
bytecodes to flash.
And watch out -- some unscrupulous individuals are trying to pawn off
moths as being white-label (OEM) butterflies.
--
Mark Murphy (a
Got mine in Las Vegas today so it should be by Monday for you :)
I am really loving this Nexus one. Had it for about 2 hours so far and
it is really impressing me. Apps install run and download SO FAST its
crazy!
On Mar 25, 8:20 am, g1bb corymgibb...@gmail.com wrote:
Anyone in or around
http://developer.android.com/reference/android/widget/AdapterView.html#getSelectedItemPosition()
On Mar 26, 2010 6:10 PM, oddgeir.kv...@gmail.com oddgeir.kv...@gmail.com
wrote:
I want to obtain the index of the selected item in a spinner.
I am aware of the method getSelectedItem() which returns
Hello everybody,
After surfing in the source code of the android OS, I made out
that you are using preference_screens.Could you please tell me where is the
root
preference_screen that you are using for almost all layouts.
Thanks in advance.
--
You received this message because you are subscribed
I did see that and tried to find a link for replacement. No luck so
far.
That link will just redirect you to the Droid Ads page. \
Local Verizon representative refused to replace the battery for me
since she cannot find
the number of the phone in their system. And she asked me to check
this with
Can someone who received a Droid in the US let us know who/where it
was shipped from? Several people have mentioned that the Nexuses are
coming from Brightpoint in Indiana, but I'm not sure if the Droids are
coming from there or elsewhere.
Thanks,
Darshan
On Mar 27, 9:21 am, Greg Donald
Tao wrote:
I did see that and tried to find a link for replacement. No luck so
far.
That link will just redirect you to the Droid Ads page. \
Local Verizon representative refused to replace the battery for me
since she cannot find
the number of the phone in their system. And she asked me
I don't think that's the problem, unfortunately. Cause even if I set
static texts to the TextViews it still scrolls very very slow. These
operations does not affect the performance.
On Mar 27, 9:05 pm, Paul Turchenko paul.turche...@gmail.com wrote:
Well, it's obvious that these 2 methods are
On Sat, Mar 27, 2010 at 5:07 PM, Darshan darshan.ish...@gmail.com wrote:
Can someone who received a Droid in the US let us know who/where it
was shipped from?
Mine came from
1251 South Perry Rd.
Plainfield, IN 46168
--
Greg Donald
destiney.com | gregdonald.com
--
You received this message
My droid was from Indianapolis, IN, dead battery though.
Good luck with yours.
On Mar 27, 6:07 pm, Darshan darshan.ish...@gmail.com wrote:
Can someone who received a Droid in the US let us know who/where it
was shipped from? Several people have mentioned that the Nexuses are
coming from
Thanks Mark.
I am thinking of the same thing.
Just feel quite frustrating this week.
Bought a new DELL studio 15, ends up motherboard, hard Drive replaced.
Received a free Droid(thanks to Google), ends up dead battery.
..
On Mar 27, 6:09 pm, Mark Murphy
Hi,
I'm trying to query the e-mails from my Gmail account in source code.
I've tried various combinations for the URI but the cursor returned is
always null. Has anyone managed to retrieve emails programmatically
from Gmail?
Some combinations I tried for the URI are below (as I mentioned above,
Hi,
My DROID was delivered by FedEx and was shipped by BrightPoint just as
some people's N1's were.
-
On Mar 27, 5:18 pm, Tao grea...@gmail.com wrote:
Thanks Mark.
I am thinking of the same thing.
Just feel quite frustrating this week.
Bought a new DELL studio 15, ends up motherboard,
Let me point out that the code that I posted doesn't delete without
user confirmation. It just takes the user to the system's delete this
application screen under Manage applications, where they can choose
to delete or not.
I don't know of a standard way to delete an application without user
Actually, the first part is not true -- you just have to use the right
'this'. Just use MyOuterClassName.this and all will be fine. You
could also copy it to a final variable but there's no need since Java
provides this mechanism for just this situation.
On Mar 27, 7:44 am, Adrian Vintu
Comparing a MapView as used in an app through Google Maps API against
the Google Maps app, I found that the granularity of all elements,
most visibly, street labels, in Google Maps is bigger than the street
labels in MapView. This is on a Nexus One, presumably other devices
show a similar
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 gratuitously
different for the user, for no reason I can see.
On Sat, Mar 27, 2010 at 9:09 AM, skink psk...@gmail.com wrote:
On Mar 27, 3:03 pm, Mark Murphy
Hey i need to send AT command to modem in android phone.
But by searching android i could not find any API to send AT command.
Please can any did it or can any one share any idea regarding AT
command.
Please it is very much important for me
--
You received this message because you are subscribed
Hey monica
were you able to create Map in My Maps.
what is google star??
Thanks
On Mar 11, 6:49 pm, monica chen.h2...@gmail.com wrote:
Thank you for the information!
Do you ever found there is APIs for Google star such as for my maps?
2010/3/11 janaki janakime...@gmail.com
You
Hi,
I know Android calculates the orientation of the phone by fusing the
acceleration and magnetic field readings. The related APIs are
getRotationMatrix() and getOrientation(). I looked into the source
code of these two APIs
83 matches
Mail list logo