Thnks you so much Shane Carr, thats look greet (y)
>
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to android-developers+unsubscr...@googlegroups.com.
>
> I liked the big nerd ranch book on amazon.
>
I liked this to get started, very organized.
http://developer.android.com/training/index.html
I also used a lot of youtube and pluralsight.
--
You received this message because you are subscribed to the Google Groups
"Android Developers"
I have only written one large android application. In my experience volley
was outstanding. http://developer.android.com/training/volley/index.html. I
grabbed that from teh first web search. It lists some of the benefits, it
is extremely advanced. You can find a ton of examples on github. I am
If a 2D map is required i'd suggest you look at using OSMDroid and creating
a custom tile layer for the galaxy background:
http://code.google.com/p/osmdroid/
You can then use the OSMDroid classes to add planets and spaceships etc.
And you can detect taps and long taps on these planets and
If you want to use 3D graphics then you need to brush up your OpenGL
knowledge and optionally use one of the available game engines out there
that also support Android.
If it's 2D and performance is not a big concern then you can write your own
custom View for that map (you also could create
Anyone?
On Sep 4, 2011, at 6:30 PM, Greg D. wrote:
Just got done with Hello, Android from Pragmatic and have my first
question. My apologies for the newbie-ish-ness. I'm coming from the
Windows / C# / .NET world...
How would you recommend creating a common authentication / login
module
On Mon, Sep 5, 2011 at 11:47 AM, Greg Deward greg.dew...@gmail.com wrote:
Anyone?
Please bear in mind that Sunday is part of the weekend, and today is a
holiday in the US. So, the fact that you did not receive a response in
18 hours is not unexpected.
How would you recommend creating a common
To: Android Developers
Subject: [android-developers] Re: Advice Wanted: Common Authentication App for
Suite
Anyone?
On Sep 4, 2011, at 6:30 PM, Greg D. wrote:
Just got done with Hello, Android from Pragmatic and have my first
question. My apologies for the newbie-ish-ness. I'm coming from
If you want to authenticate via a common database,you can create a wcf
service and authenticate via that and may be save a auth token which
can be reused by othr parts of the app
On Sep 4, 6:30 pm, Greg D. greg.dew...@gmail.com wrote:
Just got done with Hello, Android from Pragmatic and have
Thanks! Now to figure out how to use them, hopefully I won't be back
later with a 'uh, how do i do this?' question.
On Aug 27, 9:50 am, Mark Murphy mmur...@commonsware.com wrote:
On Sat, Aug 27, 2011 at 10:32 AM, erik wagner erik.j.wag...@gmail.com wrote:
Hi, I guess this is more of a design
On Sat, Aug 27, 2011 at 11:34 AM, erik wagner erik.j.wag...@gmail.com wrote:
Thanks! Now to figure out how to use them, hopefully I won't be back
later with a 'uh, how do i do this?' question.
Here is a sample project showing using SharedPreferences and a
PreferenceActivity:
Hello again,
I've made a bit of progress with this onclick madness:
This time when I click on an item the app force closes:
ListView lv = getListView();
lv.setTextFilterEnabled(true);
lv.setOnItemClickListener(new OnItemClickListener() {
public void
Hello again,
I've made a bit of progress with this onclick madness:
This time when I click on an item the app force closes:
ListView lv = getListView();
lv.setTextFilterEnabled(true);
lv.setOnItemClickListener(new OnItemClickListener() {
public void
James wrote:
Hello again,
I've made a bit of progress with this onclick madness:
This time when I click on an item the app force closes:
ListView lv = getListView();
lv.setTextFilterEnabled(true);
lv.setOnItemClickListener(new OnItemClickListener() {
Is info.class in your mainfest?
On Thu, Apr 8, 2010 at 4:17 PM, James jkavana...@gmail.com wrote:
Hello again,
I've made a bit of progress with this onclick madness:
This time when I click on an item the app force closes:
ListView lv = getListView();
Ah yes that was it, cheers everyone for all your help :)
--
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
Thanks for all the responses !!!
public routes void onLongClick(View v){
Intent i = new Intent(v.getContext(),info.class);
startActivity(i);
}
this is my new bit of code. routes being my string with all the list
stuff in it.
On Tue, Apr 6, 2010 at 3:02 PM, Pedetre pede...@gmail.com wrote:
yet it's still not working, anyone have any ideas??
Again ... what is not working in your case? No one is going to be able to
help you if you don't clearly explain what problem you're having.
Oh yeah sorry,
When you click on one of the list items nothing happens.
thanks
On Apr 6, 9:51 pm, ~ TreKing treking...@gmail.com wrote:
On Tue, Apr 6, 2010 at 3:02 PM, Pedetre pede...@gmail.com wrote:
yet it's still not working, anyone have any ideas??
Again ... what is not working in your
On Tue, Apr 6, 2010 at 3:54 PM, Pedetre pede...@gmail.com wrote:
When you click on one of the list items nothing happens.
You posted *onLongCllick*, so if you're just clicking the entry and nothing
happens, that's expected.
oh yeah I was meant to change that before I posted the code.
At the moment its onclick and its not working. (by not working I mean:
When you click on one of the list items nothing happens. )
On Apr 6, 10:00 pm, ~ TreKing treking...@gmail.com wrote:
On Tue, Apr 6, 2010 at 3:54 PM, Pedetre
On Tue, Apr 6, 2010 at 4:02 PM, Pedetre pede...@gmail.com wrote:
At the moment its onclick and its not working. (by not working I mean:
When you click on one of the list items nothing happens. )
Why do you have a return type of a list of Routes? You're probably not
overriding the actual
new OnClickListener() {
...
Intent i = new Intent(this, info.class);
this here points to your OnClickListener instance, while you need
Context. Try new Intent(getApplicationContext(), ...) instead
On Apr 2, 12:22 am, Pedetre pede...@gmail.com wrote:
Hello there,
I'm new to android
On Sat, Apr 3, 2010 at 4:01 AM, Vladimir vladimir.funti...@gmail.comwrote:
this here points to your OnClickListener instance, while you need
Context. Try new Intent(getApplicationContext(), ...) instead
No, DO NOT use getApplicationContext() ... EVER. It causes nothing but
problems.
Use
You're right, that was bad advice on my part, although I never had any
problems with getApplicationContext() myself.
On Apr 3, 9:57 pm, ~ TreKing treking...@gmail.com wrote:
On Sat, Apr 3, 2010 at 4:01 AM, Vladimir vladimir.funti...@gmail.comwrote:
this here points to your OnClickListener
Often you won't. Then someday you will, and won't know what happened
to you!
Sometimes, the context you need has to be the current activity -- and
it won't be.
And even worse -- sometimes the context won't even be for your current
application -- but rather, the first application that started in
Hey Vijay,
I have HTC Hero, and using it for Debugging. Just that need to enable
the option in Settings.
On Mar 29, 5:05 pm, Venky.Vijay venkyinw...@gmail.com wrote:
Hello everyone,
I'm from India and I want to buy an Android phone for developing
applications for it. I shortlisted two phones
Displaying the data in the ListView and storing it offline and
updating the offline data at some certain interval [or every time your
app is launched or whatever you want to do] would feel much more
native and I believe user's will prefer that over a link to the
Webpage. If you want to put it on
Can´t any android device use any android version just like the iphone?
On 29 mar, 17:52, Sean Hodges seanhodge...@googlemail.com wrote:
On Mon, Mar 29, 2010 at 1:05 PM, Venky.Vijay venkyinw...@gmail.com wrote:
Hello everyone,
I'm from India and I want to buy an Android phone for developing
I didn't know the iPhone supported all Android versions. Good to
know ;-)
- dave
On Mar 29, 7:02 pm, Gabriel Simões gsim...@gmail.com wrote:
Can´t any android device use any android version just like the iphone?
On 29 mar, 17:52, Sean Hodges seanhodge...@googlemail.com wrote:
On Mon, Mar
how's about htc legend?
much better to have sense UI, better UI.
On Tue, Mar 30, 2010 at 10:25 AM, davemac davemac...@gmail.com wrote:
I didn't know the iPhone supported all Android versions. Good to
know ;-)
- dave
On Mar 29, 7:02 pm, Gabriel Simões gsim...@gmail.com wrote:
Can´t any
I'd suggest using a trie, if the data is static, or mostly static. (If
you need to add additional words, you can stick them in a splay tree).
It's fast, it's simple. It can be constructed in a way that it can be
encoded as a byte array, and relevant portions read from a file,
rather than loading
Hello Harry,
If you are talking about the typical dictionary (which means the
words are roughly uniformly spread out across each starting character
node a,b,c,d...), then I would say Splay trees would be a good
choice. They are easier to implement and they are considerably faster
or at least
Harry you mean using a HashMap or an ArrayList with the 5000 words
hard-coded? That sounds like a bad idea, not to mention you'll go
crazy programming it.In my opinion the best approach is a SQLite
database, but I'm just a Newbie with Android, maybe some of the Gurus
out there can give you a
On Feb 20, 7:52 pm, joshbeck josh.beck2...@gmail.com wrote:
Hello all,
I'm looking for a starting point on this:
Here's a good example:
-When you create a 'ListView', as the user swipes up or down the
list scrolls
in accordance with how fast the user swiped. Give it a fast swipe, and
Ok, I've done some reading and I have a working theory:
It's done using something this:
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
switch (keyCode)
{
case KeyEvent.KEYCODE_DPAD_DOWN:
(increment static value X by Y );
Actually, I'm working with openGL. So, it looks like
I'm supposed to set up a GestureListener and override
onFling to increment Y or X. Then use Y and X from there to rotate my
object and
slow it down and stop it using a math function.
On Feb 20, 1:28 pm, joshbeck josh.beck2...@gmail.com wrote:
On Feb 20, 8:28 pm, joshbeck josh.beck2...@gmail.com wrote:
Ok, I've done some reading and I have a working theory:
It's done using something this:
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
switch (keyCode)
{
case
On Feb 20, 8:56 pm, joshbeck josh.beck2...@gmail.com wrote:
Actually, I'm working with openGL. So, it looks like
I'm supposed to set up a GestureListener and override
onFling to increment Y or X.
yes, this is the easiest way
Then use Y and X from there to rotate my
object and
slow it
Well, when you upload it to the market, you get a field called Title
which will actually appear on the market. This need not be the same as
your app name. You can have separate names.
apk file name can be anything, it doesn't matter.
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
--
You
Thank you Kumar.
On Dec 3, 9:58 am, Dexter#39;s Brain coomar@gmail.com wrote:
Well, when you upload it to the market, you get a field called Title
which will actually appear on the market. This need not be the same as
your app name. You can have separate names.
apk file name can be
Ah, but is there a way to make the name that appears in the
application list different from that on the icon?
When the user tries to add a shortcut, and gets the list of
applications, I would like the full title to appear there, but keep
the abbreviated version on the icon. Can that be done?
--
I don't think so. I think they have to be same.
Thanks,
Kumar Bibek
http://tech-droid.blogspot.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
Hey Carl,
Is any intent thrown upon receiving an SMS? My idea was going to be a
BroadcastReceiver outlined in the manifest file to be run whenever a
specific intent / pendingIntend is broadcast?
On Nov 27, 1:59 pm, Carl Barton cbartonnhli...@gmail.com wrote:
I have spent a lot of time playing
Hi,
List view should work fine as long as you populate it dynamically,
don't just shove everything it it at once. That will speed it up.
There's lots of articles on the web about making a fast ListView.
I dont know though, which method would be faster.
LinearLayout really wouldnt work for large
So does that mean there's no way to tell the difference between the
phone starting up and calling onCallStateChanged, and the caller
hanging up and calling onCallStateChanged?
On Nov 3, 2:13 pm, Mark Murphy mmur...@commonsware.com wrote:
Dianne Hackborn wrote:
I'm not sure it is published in
Tabibito wrote:
So does that mean there's no way to tell the difference between the
phone starting up and calling onCallStateChanged, and the caller
hanging up and calling onCallStateChanged?
I do not know what the phone starting up means, sorry.
There are three call states tracked by a
What I mean is that I start the service when I receive a
BOOT_COMPLETED message from the system. Immediately upon starting
my service, onCallStateChanged() is called with a state of idle. No
calls have come in, I haven't even touched the emulator... I'm
assuming that it's happening because the
It seems like a shame if you need to code around this, but you could
do it a little cleaner, as you suggested. I would suggest you simply
keep your own preference variable that records the 'last' state it
knew about defaulting it to idle when your application first
initializes. Then on the state
Couldn't you just ignore any onCallStateChanged() calls within the
first X seconds of the device starting up?
BOOT_COMPLETED events seem to fire before the user even has full
access to the UI, and certainly well before mobile network
connectivity has been established. Even moreso if the user has
Thank you so much for the help!
--
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
It is a sticky broadcast so you receive the last published value.
On Tue, Nov 3, 2009 at 10:48 AM, Tabibito kawaiije...@gmail.com wrote:
For some reason onCallStateChanged gets triggered with a state of
CALL_STATE_IDLE on phone startup... perhaps because it is changing
from undefined to
For some reason onCallStateChanged gets triggered with a state of
CALL_STATE_IDLE on phone startup... perhaps because it is changing
from undefined to CALL_STATE_IDLE? Does anyone know how to distinguish
this scenario from a hangup? Is there a way to see the previous call
state, i.e. the state
I'm not sure it is published in the SDK. There was a round of simplication
of the telephony APIs right before release to have what was published in a
state that could be maintained, and I think that may have involved hiding
the way these updates are sent.
On Tue, Nov 3, 2009 at 11:03 AM, Mark
Dianne Hackborn wrote:
It is a sticky broadcast so you receive the last published value.
It is?
What's the Intent action for this?
I'd really rather steer people to use Intents for call state monitoring,
but I don't know how that's done. Any pointers?
Thanks!
--
Mark Murphy (a Commons Guy)
Dianne Hackborn wrote:
I'm not sure it is published in the SDK. There was a round of
simplication of the telephony APIs right before release to have what was
published in a state that could be maintained, and I think that may have
involved hiding the way these updates are sent.
Dagnabbit. I
I think i will stick with Andrei's advice and release it into android
market. I dont think we need to support dozens of separate locations
to provide access to apps when there is already centralized source.
I will however encourage/submit a ticket for the android market to
allow apps to be
Vote for issue 4319
Market should allow Beta releases
http://code.google.com/p/android/issues/detail?id=4319
Snippet;
Add 1 field to submission process for the release level (beta /
public)
The market should, by default hide all apps marked Beta.
Users may optionally choose to view said Beta
At AndAppStore You can mark a release as being Alpha, Beta, or Release
Candidate quality and it'll get listed in the Pre-release section.
That way you can do some ramp up publicity pointing at the download as
opposed to risking getting bug reports in your comments if people
think its' a full
I have implemented the Flurry API (see flurry.com) into my own game
Puzzle Blox Arcade! and released it as Beta on both AndAppStore.com
and SlideMe.org. On both websites I have marked it as BETA release in
the summary/description.
Flurry enables you to get detailed statistics about the users of
Publish it as beta, tell people email you any bugs, if you see
problems you can Unpublish app
and fix bugs, publish newer version
On Oct 15, 3:57 pm, Smelly Eddie ollit...@gmail.com wrote:
SO i have an application that is doing pretty well on my dev. device,
and it is almost ready for prime
http://androidsamples.blogspot.com/2009/06/how-to-display-thumbnails-of-images.html
uses a GridView - but I don't see text under each photo...
On Aug 28, 1:00 am, sdphil phil.pellouch...@gmail.com wrote:
i want to create a scrollable grid of thumbnail images with text
underneath each
GridView.
And each item the GridView is a ViewGroup that contains an ImageView
and a TextView.
On Aug 28, 5:00 am, sdphil phil.pellouch...@gmail.com wrote:
http://androidsamples.blogspot.com/2009/06/how-to-display-thumbnails-...
uses a GridView - but I don't see text under each photo...
On
Hi Andrei, thanks for the answer. here are my thoughts.
1.
I did not considder the string thing, and I must admit that I am a bit
sceptical about the perfomance gain of this.
On the other hand the garbage collector is more bussy than I would
have expected, i have taken care to create all classes
I have now changed most of the strings to startup initialized char
arrays (missing 4)
and I am completely baffled by the perfomance gain.
I went from a comlpete render loop time on ~350-500 to 170-350
--~--~-~--~~~---~--~~
You received this message because you are
Memory allocation can be very perverse especially if you don't know what
happens behind the curtain. From what I noticed a simple String allocation
implies most of the time an internal char array allocation (pretty obvious)
and many more that I can't now recall.
The rule is simple: If you can
apparantly so,
I replaced 4 more string allocations in the drawing routine, the
strings are very dynamic, so i have to update the values each time.
public final char[] legendText = new char[] {'0', '0', '0', '%'};
public int legendOffset = 2;
public int legendLength = 0;
public void
If you haven't tried already:
1. Replace the strings that get modified with char[]. Strings are immutable
objects so changing one means memory allocation and leaking.
2. Also check the Allocation Tracker for memory leaking.
3. For the constant strings I would use Picture or some bitmap buffer
No - say it.
I wanna hear you say it. Get it out of your system man!!
Also, I read that.. but the problem is my friend, (and this is my
fault for not explaining it correctly) - although I have ALREADY read
that manual, and I'm aware of the standard, no matter what I do, I
cannot help but notice
On Aug 26, 9:16 pm, Ehab Bassilli ehab.bassi...@googlemail.com
wrote:
Can someone tell me the ideal size for an Android App ICON? What should this
be?
http://developer.android.com/guide/practices/ui_guidelines/icon_design.html
I'm trying to refrain from saying RTFM. :^/
String
Hi Hong,
What do you mean? Please could you elaborate?
Thanks
On Aug 26, 10:52 pm, Hong lordh...@gmail.com wrote:
You measured the app title as part of the icon, did you?
On Wed, Aug 26, 2009 at 4:21 PM, Houba ehab.bassi...@googlemail.com wrote:
No - say it.
I wanna hear you say it.
You measured the app title as part of the icon, did you?
On Wed, Aug 26, 2009 at 4:21 PM, Houba ehab.bassi...@googlemail.com wrote:
No - say it.
I wanna hear you say it. Get it out of your system man!!
Also, I read that.. but the problem is my friend, (and this is my
fault for not
do a screen capture and measure the icons, they are 64x64 PIXELS.
or you upload a screenshot with some onscreen ruler so we can see what
larger do you mean.
On Wed, Aug 26, 2009 at 5:57 PM, Houba ehab.bassi...@googlemail.com wrote:
Hi Hong,
What do you mean? Please could you elaborate?
Wireshark did the trick! Thanks.
On Jun 3, 6:44 pm, mathiastck mathias...@gmail.com wrote:
I run the emulator on my desktop, and use Wireshark filtered for http
requests.
http://en.wikipedia.org/wiki/Wireshark
--~--~-~--~~~---~--~~
You received this message
But how to get all IP packages on the real device?
Wireshark can do this?
I tried to use a cross-compiled tcpdump, but it didn't work.
2009/6/4 mobilekid mobilek...@googlemail.com
Wireshark did the trick! Thanks.
On Jun 3, 6:44 pm, mathiastck mathias...@gmail.com wrote:
I run the
One way to do this* would be to have your phone access the internet
via a WiFi device-to-device connection to your computer, and then use
WireShark on the computer.
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely
You could try to do tcpdump on your destination device or on a PC
which is attached to your LAN network. In the second case both tcpdump
or Wireshark might give you an idea what is happening. Only problem is
that you might see a lot of traffic and you have to set some filters
or grep for a
Same problem by me when I try to use the Twitter4J api for a twitter client
application.So I'm interested too.
Regards,
Zoltan
2009/6/3 mobilek...@googlemail.com mobilek...@googlemail.com
Hi,
On a number of cases I have experienced problems with server / client
communication where the
I run the emulator on my desktop, and use Wireshark filtered for http
requests.
http://en.wikipedia.org/wiki/Wireshark
On Jun 3, 3:43 am, mobilek...@googlemail.com
mobilek...@googlemail.com wrote:
Hi,
On a number of cases I have experienced problems with server / client
communication where
Hi,
If you are using a Linux system you also could use tcpdump with which
you can get very fast a dump of your IP traffic.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual
A few quick questions I tend to ask people using services:
1) Do you really need a service? If all you want to do is some
background processing that is transient in nature, a regular thread is
OK. It will be killed eventually when your app is no longer on-screen
but maybe you can deal with that.
On May 6, 5:33 pm, jseghers jsegh...@cequint.com wrote:
On May 6, 2:49 pm, Dianne Hackborn hack...@android.com wrote:
[B]e aware that if you do this by sending to a registered broadcast
receiver,
you can cause security holes because other people can also register for the
broadcast
Yep that's good.
On Fri, May 8, 2009 at 10:06 AM, jseghers jsegh...@cequint.com wrote:
On May 6, 5:33 pm, jseghers jsegh...@cequint.com wrote:
On May 6, 2:49 pm, Dianne Hackborn hack...@android.com wrote:
[B]e aware that if you do this by sending to a registered broadcast
receiver,
How about doing option 1, but having the caller include a PendingIntent for
where the result should be sent. This way the caller doesn't even need to
stick around while your service is running -- it can give you a
PendingIntent that launches a receiver when you send it back.
If you want to go
Thank you for your quick reply.
I thought about the PendingIntent, but in this application the
information is only useful to the Caller if it is received while the
Caller is active that time. So if the information arrives later,
we'll still process it in the Service and store it for later use,
On further investigation, I see that the PendingIntent can be
cancelled, and such can work in the way I need by using a
BroadcastReceiver (probably dynamically registered).
- John
On May 6, 12:59 pm, jseghers jsegh...@cequint.com wrote:
Thank you for your quick reply.
I thought about the
We aware that if you do this by sending to a registered broadcast receiver,
you can cause security holes because other people can also register for the
broadcast and send a broadcast to your client.
On Wed, May 6, 2009 at 1:24 PM, jseghers jsegh...@cequint.com wrote:
On further investigation,
On May 6, 2:49 pm, Dianne Hackborn hack...@android.com wrote:
[B]e aware that if you do this by sending to a registered broadcast receiver,
you can cause security holes because other people can also register for the
broadcast and send a broadcast to your client.
Am I safe by doing the
Thanks for the tip, I will definitely write up a contract if this goes
through!
On Mar 30, 11:45 am, droozen droozenr...@gmail.com wrote:
I take it, then, that you are not an iPhone developer.
Not sure which way I would go on this one. If your friend already has
some iPhone experience, I
I take it, then, that you are not an iPhone developer.
Not sure which way I would go on this one. If your friend already has
some iPhone experience, I assume he already has an iPhone developer
account which you'll want to use. In which case it might be better to
set up a contract where he uses
90 matches
Mail list logo