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
http://www.netmite.com/android/mydroid/cupcake/frameworks/base/core/java
Hey monica
were you able to create Map in My Maps.
what is google star??
Thanks
On Mar 11, 6:49 pm, monica 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
>
>
>
> > You can use Google map data api for r
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
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 wrote:
>
>
> On Mar 27, 3:03 pm, Mark Murphy wrote:
> > em
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 behavior.
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 You need
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
c
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 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, hard Drive repl
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,
t
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 wro
My droid was from Indianapolis, IN, dead battery though.
Good luck with yours.
On Mar 27, 6:07 pm, Darshan 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 Brightpoint in Indiana, bu
On Sat, Mar 27, 2010 at 5:07 PM, Darshan 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 because you are subscr
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 wrote:
> Well, it's obvious that these 2 methods are blocking your UI thread
> w
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 aske
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 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 to check
this with G
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
http://developer.android.com/reference/android/widget/AdapterView.html#getSelectedItemPosition()
On Mar 26, 2010 6:10 PM, "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 the item
selected (wh
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 wrote:
> Anyone in or around Colorado receive anything yet
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 Com
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 fo
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
th
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. It
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 em
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
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
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 wrote:
> I am curious tho.. can your app download a .jar file a
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
http://phones.verizonwireless.com/motorola/droid/
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" wrote:
> Hi Tao,
>
> Tao wrote:
> > Droid, Blo
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
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
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
description/
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 virt
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 af
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 th
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.
Any
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 resizes
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 modif
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
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 wrote:
> Droid, Nashville TN.
>
> --
> Greg Donald
> destiney.com | gregdonald.com
--
You received this message because yo
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
andr
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;
@Ove
the v.getContext() did it!!!
ty dude
On 27 mrt, 16:48, Adrian Vintu wrote:
> in the onClick you also have
>
> v.getContext();
> v.getParent();
> v.getRootView();
>
> On Sat, Mar 27, 2010 at 4:41 PM, Adrian Vintu wrote:
> > A. create one time the container view then use setVisibility() to show or
On Mar 27, 3:03 pm, Mark Murphy 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 that make up
>
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 implement
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
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 t
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 Googl
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 gro
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 co
in the onClick you also have
v.getContext();
v.getParent();
v.getRootView();
On Sat, Mar 27, 2010 at 4:41 PM, Adrian Vintu 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 gives you back the.
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 wrote:
> Same error,
>
> how can such
hello, I didn't understand what you meant.Is it impossible?
2010/3/27 Mark Murphy
> 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://twi
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 wrote:
> So toggle the visibility from GON
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 thi
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 wrote:
> It's my pleasure to help :)
>
> I think an easy solution is to use view.setVisibility(View.GONE)
>
> Does thi
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 wrote:
> checkboxrifle.setOnClickListener(new View.OnClickListener() {
>public
checkboxrifle.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Patient p = (Patient) spinner.getSelectedItem();
Service s = new Service("RIFLE");
if (((CheckBox) v).isChecked()) {
p.add
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 ema
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 wrote:
> Yeah, figured out that yet, if i do th
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 Arr
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 wrote:
Yes I know. Warren brought that up. But the "game changer" was when I found
out that I can remove:
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 own.
So then I can just keep the new "install apps" behin
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
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 I
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
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 De
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 alarm
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 wrote:
> AuxOne wrote:
> > It just occurred to me that if I create it from a static co
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 | http://twitter.com/c
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 wrote:
> I'm starting the AlarmManager from a BOOT_RECEIV
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
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 doesn'
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 messag
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 seei
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
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 wrote:
> You use the same intent that original started the task. Tasks started from
> launcher are ACTION_MAIN, CATE
Maybe there is somewhere else I can ask?
On Mar 25, 12:57 am, Nate wrote:
> No one can offer any suggestions?
>
> On Mar 24, 12:32 am, Nate wrote:
>
> > I have a G1 Dev Phone. I am unable to install the 1.6 radio update
> > from this page:http://developer.htc.com/adp.html
> > The file name is:
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
Guys pls help ...
On Fri, Mar 26, 2010 at 5:02 PM, satish bhoyar wrote:
> 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 fling i am chan
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. That
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 wrote:
> Good stuff Bob.. hurry up with your blog.. its empty right now. ;)
>
> I am happy to hea
Uhmm nope, that title actually goes to the Nokia 6310i.
On Mar 26, 2:05 pm, Ken H wrote:
> The greatest phone ever.
>
> On Mar 26, 11:20 am, ernie wrote:
>
> > Just got the Nexus One via FedEx, in Southern California. Thank you
> > Google.
--
You received this message because you are subscrib
83 matches
Mail list logo