[android-developers] Re: Advice

2016-02-28 Thread Zakaria Zouitni
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. To

[android-developers] Re: Advice

2016-02-27 Thread Shane Carr
> > 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" grou

[android-developers] Re: Advice - news app

2016-02-27 Thread Shane Carr
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 n

[android-developers] Re: Advice for a strategic game map

2012-11-12 Thread Martin
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 spacesh

[android-developers] Re: Advice for a strategic game map

2012-11-11 Thread Nobu Games
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 yo

[android-developers] Re: Advice Wanted: Common Authentication App for Suite

2011-09-05 Thread Parvesh Malhotra
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." wrote: > Just got done with "Hello, Android" from Pragmatic and have my first > questio

Re: [android-developers] Re: Advice Wanted: Common Authentication App for Suite

2011-09-05 Thread NWD Sports
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-n

Re: [android-developers] Re: Advice Wanted: Common Authentication App for Suite

2011-09-05 Thread Mark Murphy
On Mon, Sep 5, 2011 at 11:47 AM, Greg Deward 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 authentication / lo

[android-developers] Re: Advice Wanted: Common Authentication App for Suite

2011-09-05 Thread Greg Deward
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 >

Re: [android-developers] Re: Advice on getting data from one activity to another

2011-08-27 Thread Mark Murphy
On Sat, Aug 27, 2011 at 11:34 AM, erik wagner 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: https://github.com/commonsguy/cw-androi

[android-developers] Re: Advice on getting data from one activity to another

2011-08-27 Thread erik wagner
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 wrote: > On Sat, Aug 27, 2011 at 10:32 AM, erik wagner wrote: > > Hi, I guess this is more of a design with more than a little 'how do > > i' mixed

[android-developers] Re: advice + onclick help

2010-04-08 Thread Pedetre
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 android-develope

Re: [android-developers] Re: advice + onclick help

2010-04-08 Thread Jason LeBlanc
Is info.class in your mainfest? On Thu, Apr 8, 2010 at 4:17 PM, 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); > > >

Re: [android-developers] Re: advice + onclick help

2010-04-08 Thread Mark Murphy
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() { >

[android-developers] Re: advice + onclick help

2010-04-08 Thread Pedetre
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 onItemClick(Adapt

[android-developers] Re: advice + onclick help

2010-04-08 Thread James
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 onItemClick(

Re: [android-developers] Re: advice + onclick help

2010-04-06 Thread ~ TreKing
On Tue, Apr 6, 2010 at 4:02 PM, Pedetre 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 function that's goin

[android-developers] Re: advice + onclick help

2010-04-06 Thread Pedetre
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" wrote: > On Tue, Apr 6, 2010 at 3:54 PM, Pedetre wrote: > > When you c

Re: [android-developers] Re: advice + onclick help

2010-04-06 Thread ~ TreKing
On Tue, Apr 6, 2010 at 3:54 PM, Pedetre 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. --

[android-developers] Re: advice + onclick help

2010-04-06 Thread Pedetre
Oh yeah sorry, When you click on one of the list items nothing happens. thanks On Apr 6, 9:51 pm, "~ TreKing" wrote: > On Tue, Apr 6, 2010 at 3:02 PM, Pedetre 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

Re: [android-developers] Re: advice + onclick help

2010-04-06 Thread ~ TreKing
On Tue, Apr 6, 2010 at 3:02 PM, Pedetre 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. ---

[android-developers] Re: advice + onclick help

2010-04-06 Thread Pedetre
Thanks for all the responses !!! public void onLongClick(View v){ Intent i = new Intent(v.getContext(),info.class); startActivity(i); } this is my new bit of code. being my string with all the list stuff in it. yet it's sti

[android-developers] Re: advice + onclick help

2010-04-03 Thread Bob Kerns
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 y

[android-developers] Re: advice + onclick help

2010-04-03 Thread Vladimir
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" wrote: > On Sat, Apr 3, 2010 at 4:01 AM, Vladimir wrote: > > > "this" here points to your OnClickListener instance, while you need > > Context. Try "

Re: [android-developers] Re: advice + onclick help

2010-04-03 Thread ~ TreKing
On Sat, Apr 3, 2010 at 4:01 AM, Vladimir wrote: > "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 whatever context is curren

[android-developers] Re: advice + onclick help

2010-04-03 Thread Vladimir
> 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 wrote: > Hello there, > > I'm new to android development and h

[android-developers] Re: advice + onclick help

2010-04-02 Thread patbenatar
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 th

[android-developers] Re: Advice on buying android phone for development

2010-04-02 Thread Sharma
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" wrote: > Hello everyone, > I'm from India and I want to buy an Android phone for developing > applications for it. I shortlisted two phones the SAMSUNG I7500

Re: [android-developers] Re: Advice on buying android phone for development

2010-03-29 Thread Chi Kit Leung
how's about htc legend? much better to have sense UI, better UI. On Tue, Mar 30, 2010 at 10:25 AM, davemac wrote: > I didn't know the iPhone supported all Android versions. Good to > know ;-) > > - dave > > On Mar 29, 7:02 pm, Gabriel Simões wrote: > > Can´t any android device use any android

[android-developers] Re: Advice on buying android phone for development

2010-03-29 Thread davemac
I didn't know the iPhone supported all Android versions. Good to know ;-) - dave On Mar 29, 7:02 pm, Gabriel Simões wrote: > Can´t any android device use any android version just like the iphone? > > On 29 mar, 17:52, Sean Hodges wrote: > > > On Mon, Mar 29, 2010 at 1:05 PM, Venky.Vijay wrote:

[android-developers] Re: Advice on buying android phone for development

2010-03-29 Thread Gabriel Simões
Can´t any android device use any android version just like the iphone? On 29 mar, 17:52, Sean Hodges wrote: > On Mon, Mar 29, 2010 at 1:05 PM, Venky.Vijay wrote: > > Hello everyone, > > I'm from India and I want to buy an Android phone for developing > > applications for it. I shortlisted two ph

[android-developers] Re: Advice please

2010-03-07 Thread Bob Kerns
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 i

[android-developers] Re: Advice please

2010-03-06 Thread ritwaj
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 a

[android-developers] Re: Advice please

2010-03-04 Thread Matias Alberto de la Vega
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 bett

[android-developers] Re: Advice on Swipe Direction and Velocity

2010-02-20 Thread skink
On Feb 20, 8:56 pm, joshbeck 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 down and stop it usin

[android-developers] Re: Advice on Swipe Direction and Velocity

2010-02-20 Thread skink
On Feb 20, 8:28 pm, joshbeck 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 KeyEvent.KEYCODE_DPAD_DOWN:

[android-developers] Re: Advice on Swipe Direction and Velocity

2010-02-20 Thread joshbeck
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 wrote: > Ok, I've done some re

[android-developers] Re: Advice on Swipe Direction and Velocity

2010-02-20 Thread joshbeck
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 );

[android-developers] Re: Advice on Swipe Direction and Velocity

2010-02-20 Thread skink
On Feb 20, 7:52 pm, joshbeck 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 > the list scrol

[android-developers] Re: Advice for uploading my apps

2009-12-03 Thread Dexter's Brain
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 fro

[android-developers] Re: Advice for uploading my apps

2009-12-03 Thread Neilz
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? --

[android-developers] Re: Advice for uploading my apps

2009-12-03 Thread Neilz
Thank you Kumar. On Dec 3, 9:58 am, "Dexter's Brain" 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 anything, it doesn't

[android-developers] Re: Advice for uploading my apps

2009-12-03 Thread Dexter's Brain
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 -- Yo

[android-developers] Re: Advice on keeping app running/available

2009-11-27 Thread Loki117
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 wrote: > I have spent a lot of time playing and researching (includin

[android-developers] Re: Advice Needed:Vertical Scrolling Style Gallery Widget

2009-11-11 Thread niko20
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

[android-developers] Re: Advice Needed on Application Approach

2009-11-04 Thread Christopher
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

[android-developers] Re: Advice Needed on Application Approach

2009-11-04 Thread James
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

[android-developers] Re: Advice Needed on Application Approach

2009-11-04 Thread Tabibito
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 th

Re: [android-developers] Re: Advice Needed on Application Approach

2009-11-04 Thread Mark Murphy
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 P

[android-developers] Re: Advice Needed on Application Approach

2009-11-04 Thread Tabibito
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 wrote: > Dianne Hackborn wrote: > > I'm not sure it is published in the SDK.  There was a

Re: [android-developers] Re: Advice Needed on Application Approach

2009-11-03 Thread Dianne Hackborn
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 Mur

Re: [android-developers] Re: Advice Needed on Application Approach

2009-11-03 Thread Mark Murphy
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)

[android-developers] Re: Advice Needed on Application Approach

2009-11-03 Thread Tabibito
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 from

Re: [android-developers] Re: Advice Needed on Application Approach

2009-11-03 Thread Mark Murphy
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.

Re: [android-developers] Re: Advice Needed on Application Approach

2009-11-03 Thread Dianne Hackborn
It is a sticky broadcast so you receive the last published value. On Tue, Nov 3, 2009 at 10:48 AM, Tabibito 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 CALL_STATE_IDLE? Does an

[android-developers] Re: Advice Needed on Application Approach

2009-11-03 Thread Tabibito
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 android-developers+unsubscr...@googlegrou

[android-developers] Re: Advice on Beta Release

2009-10-22 Thread Smelly Eddie
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 Be

[android-developers] Re: Advice on Beta Release

2009-10-22 Thread Smelly Eddie
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 marke

[android-developers] Re: Advice on Beta Release

2009-10-16 Thread André
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 y

[android-developers] Re: Advice on Beta Release

2009-10-15 Thread Al Sutton
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 relea

[android-developers] Re: Advice on Beta Release

2009-10-15 Thread Andrei
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 wrote: > SO i have an application that is doing pretty well on my dev. device, > and it is almost ready for prime time. > > Trouble i

[android-developers] Re: advice sought - grid of thumbnails that do something when you click on them.

2009-08-28 Thread Streets Of Boston
GridView. And each item the GridView is a ViewGroup that contains an ImageView and a TextView. On Aug 28, 5:00 am, sdphil wrote: > http://androidsamples.blogspot.com/2009/06/how-to-display-thumbnails-... > > uses a GridView - but I don't see text under each photo... > > On Aug 28, 1:00 am, sdphi

[android-developers] Re: advice sought - grid of thumbnails that do something when you click on them.

2009-08-28 Thread sdphil
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 wrote: > i want to create a scrollable grid of thumbnail images with text > underneath each thumbnail.  when you click on one

[android-developers] Re: Advice for speeding up my drawing

2009-08-27 Thread CG
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 UpdateLegend

[android-developers] Re: Advice for speeding up my drawing

2009-08-27 Thread Andrei Bucur
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 avoi

[android-developers] Re: Advice for speeding up my drawing

2009-08-27 Thread CG
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

[android-developers] Re: Advice for speeding up my drawing

2009-08-27 Thread CG
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

[android-developers] Re: Advice on Icons

2009-08-26 Thread Hong
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 wrote: > > Hi Hong, > > What do you mean? Please could you elaborate? > > Thanks > > On Aug 26, 1

[android-developers] Re: Advice on Icons

2009-08-26 Thread Hong
You measured the app title as part of the icon, did you? On Wed, Aug 26, 2009 at 4:21 PM, Houba 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 explaining it correctly) - al

[android-developers] Re: Advice on Icons

2009-08-26 Thread Houba
Hi Hong, What do you mean? Please could you elaborate? Thanks On Aug 26, 10:52 pm, Hong wrote: > You measured the app title as part of the icon, did you? > > > > On Wed, Aug 26, 2009 at 4:21 PM, Houba wrote: > > > No - say it. > > > I wanna hear you say it. Get it out of your system man!! > >

[android-developers] Re: Advice on Icons

2009-08-26 Thread String
On Aug 26, 9:16 pm, Ehab Bassilli 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 --~--~-~--~~~

[android-developers] Re: Advice on Icons

2009-08-26 Thread Houba
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

[android-developers] Re: Advice for speeding up my drawing

2009-08-26 Thread Andrei Bucur
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 mecha

[android-developers] Re: Advice on debug tool for I/O

2009-06-04 Thread Roman
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 certain

[android-developers] Re: Advice on debug tool for I/O

2009-06-04 Thread Yusuf T. Mobile
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 in

[android-developers] Re: Advice on debug tool for I/O

2009-06-04 Thread Advanceroot
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 > > Wireshark did the trick! Thanks. > > On Jun 3, 6:44 pm, mathiastck wrote: > > I run the emulator on my desktop, and use Wireshark filt

[android-developers] Re: Advice on debug tool for I/O

2009-06-04 Thread mobilekid
Wireshark did the trick! Thanks. On Jun 3, 6:44 pm, mathiastck 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 because you are

[android-developers] Re: Advice on debug tool for I/O

2009-06-03 Thread Roman
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

[android-developers] Re: Advice on debug tool for I/O

2009-06-03 Thread mathiastck
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" wrote: > Hi, > On a number of cases I have experienced problems with server / client > communication where the server responses w

[android-developers] Re: Advice on debug tool for I/O

2009-06-03 Thread Zoltán Kisgyörgy
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 > > Hi, > On a number of cases I have experienced problems with server / client > communication where the server responses with XML f

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-11 Thread Dianne Hackborn
No I don't believe IntentService does anything to remember current intents being handled. On Mon, May 11, 2009 at 6:45 PM, jseghers wrote: > > Thank you for the questions. > > And yes, the answers do point to needing a service with IPC, though > the IPC can be loosely coupled via a Pending Resul

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-11 Thread jseghers
Thank you for the questions. And yes, the answers do point to needing a service with IPC, though the IPC can be loosely coupled via a Pending Result. In reference to question #3: We are using an IntentService, so the service should shut down when it does not have work to do as well as provide th

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-09 Thread Mike Hearn
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.

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-08 Thread Dianne Hackborn
Yep that's good. On Fri, May 8, 2009 at 10:06 AM, jseghers wrote: > > > > On May 6, 5:33 pm, jseghers wrote: > > On May 6, 2:49 pm, Dianne Hackborn wrote: > > > > > [B]e aware that if you do this by sending to a registered broadcast > receiver, > > > you can cause security holes because other

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-08 Thread jseghers
On May 6, 5:33 pm, jseghers wrote: > On May 6, 2:49 pm, Dianne Hackborn 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 cli

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-06 Thread jseghers
On May 6, 2:49 pm, Dianne Hackborn 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 following: Caller has a

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-06 Thread Dianne Hackborn
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 wrote: > > On further investigation, I see that the Pend

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-06 Thread jseghers
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 wrote: > Thank you for your quick reply. > > I thought about the PendingIntent, but in

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-06 Thread jseghers
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, b

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-06 Thread Dianne Hackborn
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 the

[android-developers] Re: Advice for possibly paying someone to port app to iPhone

2009-03-31 Thread Hayden
Thanks for the tip, I will definitely write up a contract if this goes through! On Mar 30, 11:45 am, droozen 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 assume he already has

[android-developers] Re: Advice for possibly paying someone to port app to iPhone

2009-03-30 Thread droozen
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 hi