Re: [android-developers] Re: Location(longitude and latitude) not Displayed in the phone

2011-08-09 Thread Ratheesh Valamchuzhy
i test it also in outside but ot dispalying after i tried to use CellID to locate your Android device and use Google maps to display the map now it is getting for this we need only wifi and 2G/3G nw thanks -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Copying Application Files on android device and apk versioning Information

2011-08-09 Thread s.rawat
HI, How we can make the apk(on installing) copy the application files on the device .Do we have invoke the script from the application to copy application files(test files,read me, release notes, data files) or is there any other way for example any default folder we have to put the files in and w

[android-developers] Re: Location(longitude and latitude) not Displayed in the phone

2011-08-09 Thread Jeremy Dagorn
Hi, Have you only tried to test that inside or did you tried outside too? On Aug 9, 7:06 pm, zx su wrote: > the real devices need times to search satellites and calculate ites > location. > > a article: "a deep  dive into location" by Reto > Meierhttp://feedproxy.google.com/~r/blogspot/hsDu/~3/

Re: [android-developers] Re: check wakelocked for each process

2011-08-09 Thread Dianne Hackborn
Sorry you can not. There is no application API for this, nor do I expect there ever to be one. On Tue, Aug 9, 2011 at 6:01 PM, Hiko wrote: > I implemented "dumpsys power" command with Runtime.getRuntime().exec() > as below. > >try{ >Process process = Runtime.getRuntime()

Re: [android-developers] Re: HTTPS in Android

2011-08-09 Thread Jitesh dedhiya
Which android sdk version are you using? On Mon, Aug 8, 2011 at 5:15 PM, perumal316 wrote: > Hi All, > > Below is my code snippet: > > File file = new File(filepath); > HttpClient client = new DefaultHttpClient(); > > //String url

Re: [android-developers] Re: What is the right way to get updates from REST service by timer in Android?

2011-08-09 Thread Miguel Morales
You may want to use a service: http://developer.android.com/guide/topics/fundamentals/services.html On Tue, Aug 9, 2011 at 9:26 PM, Alexey Zakharov wrote: > UPDATE: I need to receive updates even if user has switched to another > application or receive a call. UI also should be updated. So when u

Re: [android-developers] Re: Intents

2011-08-09 Thread Dianne Hackborn
On Tue, Aug 9, 2011 at 7:56 AM, kypriakos wrote: > I am running a servlet on the phone that starts an Intent on an > Activity class. > The class starts the camera preview and takes a picture. Then I have a > subsequent > Intent start on the same Activity class to stop the preview. The > second In

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Jim Graham
On Tue, Aug 09, 2011 at 06:50:52PM -0700, John Coryat wrote: > >> Even if you can get traffic for being new, its only momentary. > > > But it's a start > > There was a huge negative side effect of that "just in" category. > Developers would make an update every week for no other reason than to >

Re: [android-developers] Test

2011-08-09 Thread gaurav gupta
Failed On Wed, Aug 10, 2011 at 10:54 AM, dileep wrote: > Test > > -- > 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 t

[android-developers] Test

2011-08-09 Thread dileep
Test -- 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...@googlegroups.com For more options, vi

Re: [android-developers] crashes

2011-08-09 Thread Nikolay Elenkov
On Wed, Aug 10, 2011 at 1:56 PM, bob wrote: > What if my app crashes when it's not in debug mode?  Is there a way to > see what went wrong? > If you are testing locally: logcat. For 'live' errors you need something like ACRA or the Android Market error reporting (less useful). Or, if you can get

[android-developers] Re: enableForegroundNdefPush not working

2011-08-09 Thread Michael Roland
Hallo Musfiq, it might help if you posted some of the relevant code. br, Michael On Aug 9, 3:46 am, musfiq wrote: > Hi: > I am trying to share a string between mobile phones using NFC. I want > the same application to send the tag and another to receive the tag in > two different role (Sender

[android-developers] Re: Intents

2011-08-09 Thread kypriakos
@Jim Yes it does get called. I added the NEW_TASK and the SINGLE_TOP flags to be able to start the intent and then to start subsequent ones. But as you note here if I don't remove the NEW_TASK flag each tiem I revisit the launching code I will keep generating a new intent - right? Regarding your pr

[android-developers] crashes

2011-08-09 Thread bob
What if my app crashes when it's not in debug mode? Is there a way to see what went wrong? -- 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 gr

[android-developers] Re: What is the right way to get updates from REST service by timer in Android?

2011-08-09 Thread Alexey Zakharov
*UPDATE: I need to receive updates even if user has switched to another application or receive a call. UI also should be updated. So when user switch back to the application he should see updated view.* -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] What is the right way to get updates from REST service by timer in Android?

2011-08-09 Thread Alexey Zakharov
I wonder what is the right way to get updates from REST service by timer in Android? May be I should use timer taskfor this? -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

Re: [android-developers] Re: Using a coordinate system in OpenGL

2011-08-09 Thread Feign Narula
Hi, If you are trying to understand the coordinates for openGL they are based on the camera origin. For example your camera origin was at (0,-1,0), and the camera can point up or down and that will depend on how you set it. The coordinate system is respective to the world coordin

[android-developers] Re: Using a coordinate system in OpenGL

2011-08-09 Thread Jeffrey
Thank you. That is all I needed to know. I will look into getting a good OpenGL Book. Quick question though, if I'm targeting 2.2 and above should I look towards a particular version or is most of the code carried over to the point where I won't have a head full of wrong information? On Aug 9, 10:

[android-developers] Re: Using a coordinate system in OpenGL

2011-08-09 Thread Adam Ratana
Definitely get an opengl book, old 1.1 books can be had very cheap from amazon. You can define the coordinate system, which is why you see what you see there, but openGL is not something where you can just take code snippets and plug and chug without understanding IMO, so you definitely want to

[android-developers] Re: Multiple APK support - Who's tried it?

2011-08-09 Thread Zsolt Vasvari
I think the multiple APK support is useless unless you can price the different APK's differently. I am talking about the perspective of a non-game app where the only two APKs I can see supporting is a phone vs. a tablet version. And I would like them priced differently, also. On Aug 9, 10:59 p

[android-developers] Re: how best to access string resources from AsyncTask.doInBackground

2011-08-09 Thread Zsolt Vasvari
Yeah, this is what I do and works fine, though I hate it that I cannot declare the member variable as an "ApplicationContext" and instead having to declare it as a Context. The reason I hate this is that I cannot provide a compile time checking so that I don't accidentally hold onto the the Activi

[android-developers] Re: Using a coordinate system in OpenGL

2011-08-09 Thread Jeffrey
Sorry, and as to my limited knowledge you are correct. I don't really have a good understanding as the only reference I've had for Java is an outdated For Dummies book, and the rest I've figured out as I go. As to simplify my question: I often see OpenGL Coords listed as such (0.0f, -2.0f, 0.0f, 2

Re: [android-developers] Re: Using a coordinate system in OpenGL

2011-08-09 Thread TreKing
On Tue, Aug 9, 2011 at 9:16 PM, Jeffrey wrote: > Okay, after a more specific search I realize that the f denotes a float, > what importance does that have? > It's to be explicit and use a float type instead of a double type. No offense, but if you don't know this, sounds like you need to learn J

[android-developers] Re: Using a coordinate system in OpenGL

2011-08-09 Thread Jeffrey
Okay, after a more specific search I realize that the f denotes a float, what importance does that have? I have read that it can be left off in situations but that was in a discussion about a different programming language. On Aug 9, 9:10 pm, Jeffrey wrote: > I have tried to search for this but b

[android-developers] Using a coordinate system in OpenGL

2011-08-09 Thread Jeffrey
I have tried to search for this but because of some of the generic terms I've been coming up blank. In many of the OpenGL tutorials I have seen they all show you how to draw something in the middle of the screen but they never tell you what the coordinates mean. I'm writing an app the is using a s

Re: [android-developers] Location(longitude and latitude) not Displayed in the phone

2011-08-09 Thread zx su
the real devices need times to search satellites and calculate ites location. a article: "a deep dive into location" by Reto Meier http://feedproxy.google.com/~r/blogspot/hsDu/~3/OqaFGBKFvhE/deep-dive-into-location.html 2011/8/9 TreKing > On Tue, Aug 9, 2011 at 2:26 AM, Ratheesh Valamchuzhy

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread John Coryat
>> Even if you can get traffic for being new, its only momentary. > But it's a start There was a huge negative side effect of that "just in" category. Developers would make an update every week for no other reason than to appear at the top of that list. As a result, users tended to ignore the f

Re: [android-developers] Re: View.post* methods are not thread-safe

2011-08-09 Thread Romain Guy
I'm pretty sure it's been around since 1.0. Now the good news is that there's only one situation in which the bug would happen. For it to happen you would need to have a thread call one of the post method while the UI thread is removing the View from its parent. On Tue, Aug 9, 2011 at 5:15 PM, joe

[android-developers] Pre-defined length for password text

2011-08-09 Thread Manish Garg
Hi, Is it possible to set the pre-defined length for the password fields? I am setting Input type of a text view as TextPassword but its length appear same as that of number of character in password. I want to display 8 '*' to the user -- You received this message because you are subscribed to

[android-developers] Re: check wakelocked for each process

2011-08-09 Thread Hiko
I implemented "dumpsys power" command with Runtime.getRuntime().exec() as below. try{ Process process = Runtime.getRuntime().exec("dumpsys power"); BufferedReader bufferedReader = new BufferedReader( new InputStreamReader(process.getInputStream()), 1024);

[android-developers] Re: View.post* methods are not thread-safe

2011-08-09 Thread joebowbeer
Thanks for the info, Romain. Fixed in 3.0? Do you know in which platform version this bug first appeared? My searches didn't locate a previous bug report -- but my apps did :-( I'll revise my message: The View.post* methods are meant to be thread- safe, but they aren't prior to 3.0 Joe On Aug

Re: [android-developers] Need to Open my gallery app through chooser list

2011-08-09 Thread TreKing
On Tue, Aug 9, 2011 at 2:55 AM, marq wrote: > I want to add my app into that list" and I can able to run my application. > I have searched this in website but I couldn't get any solution for this. > Read the documentation sections on Intents and IntentFilters. Basically you need to declare you h

Re: [android-developers] Location(longitude and latitude) not Displayed in the phone

2011-08-09 Thread TreKing
On Tue, Aug 9, 2011 at 2:26 AM, Ratheesh Valamchuzhy wrote: > Emulater but not working in Real device Define "not working". - TreKing - Chicago tr

Re: [android-developers] Convert map cordinates to the location name

2011-08-09 Thread TreKing
On Tue, Aug 9, 2011 at 2:05 AM, Ratheesh Valamchuzhy wrote: > in my app I get a cordiante value (Longitude, lattitude) as some double > numbers such as -132.535676464655 and 38.5552003102 > > i want to get the name of the location that the coordinates represents > Google "Android Geocoding"

[android-developers] Re: View.post* methods are not thread-safe

2011-08-09 Thread joebowbeer
Correction: As the title indicates, I meant to write "View.post*" methods... On Aug 9, 4:48 pm, joebowbeer wrote: > I filed a bug regarding inconsistent documentation of the Thread.post* > methods: > > http://code.google.com/p/android/issues/detail?id=19143 > > I'm fine with always using a Handle

Re: [android-developers] Executing .apk file through emulator on pc

2011-08-09 Thread TreKing
On Mon, Aug 8, 2011 at 11:42 PM, Sumedh wrote: > I am trying to execute the .apk file through emulator, but it is giving an > exception. > It usually helps to explain what exception. > This .apk file is an autogenerated file in eclipse. > Is it possible to run this autogenerated .apk file thr

Re: [android-developers] View.post* methods are not thread-safe

2011-08-09 Thread Romain Guy
This issue has been fixed. On Tue, Aug 9, 2011 at 4:48 PM, joebowbeer wrote: > I filed a bug regarding inconsistent documentation of the Thread.post* > methods: > > http://code.google.com/p/android/issues/detail?id=19143 > > I'm fine with always using a Handler, as the View documentation > stipu

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Jim Graham
On Tue, Aug 09, 2011 at 04:33:51PM -0700, Nathan wrote: > Even if you can get traffic for being new, its only momentary. But it's a start, and then being listed in the normal category listings continued that exposure. As I said, I found new (new to me or new, period) apps by scrolling through th

[android-developers] View.post* methods are not thread-safe

2011-08-09 Thread joebowbeer
I filed a bug regarding inconsistent documentation of the Thread.post* methods: http://code.google.com/p/android/issues/detail?id=19143 I'm fine with always using a Handler, as the View documentation stipulates, but the rest of the View documentation is scattered with error-prone advise to call t

[android-developers] Re: "Just in" section

2011-08-09 Thread Nathan
On Aug 9, 4:03 pm, Jim Graham wrote: > I do, however, get concerned about the "Just In" section being gone, > because that's where *I* go to find new apps, and I therefore assume > that others do as well.  Bad assumption?  Maybe.   Back in May, when the Just In Section was there and also inclu

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Jim Graham
On Tue, Aug 09, 2011 at 06:21:50PM -0400, Mark Murphy wrote: > On Tue, Aug 9, 2011 at 6:00 PM, Jim Graham wrote: > > [2] Not that it matters, but 153+ (the test only went to 153)...took a > > ? ?sample Mensa test, but was bored by it and didn't pursue it any > > ? ?further. ?I'm not an idiot, tho

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Mark Murphy
On Tue, Aug 9, 2011 at 6:00 PM, Jim Graham wrote: > You mean things like announcements in appropriate forums, web pages, > Facebook, both of my web pages, etc.?  Clearly that's not enough It's a reasonable starting point. It takes a long time for marketing messages to sink in -- not everybody wil

[android-developers] Re: "Just in" section

2011-08-09 Thread Nathan
On Aug 9, 3:00 pm, Jim Graham wrote: > > When you're asked whether or not to use ads to > advertise your app, is there a typical cost associated with that? Yes. > Are we talking a dollar or less, Per click, probably less than a dollar. > or as much as hundreds of dollars, In total, probably.

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Mark Murphy
On Tue, Aug 9, 2011 at 5:57 PM, Adam Ratana wrote: > Agreed Mark, you did call me out on being "good cop," and it's true, I was > being a bit of a good cop, but I think everyone should be encouraged rather > than discouraged. And please don't misinterpret my comment. Your points were all spot on

[android-developers] Test Project Question

2011-08-09 Thread Ab Caballero
I want to test that when a button is pressed, that it always does the work it is supposed to do, in this case, start a service. Are there any built-in methods for a button press? I have looked through the documentation and seen a lot of stuff on spinners but not a whole lot on buttons. -- You rec

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Jim Graham
On Tue, Aug 09, 2011 at 05:31:12PM -0400, Mark Murphy wrote: > Any developer whose "marketing" is simply appearing in various Android > Market lists is doomed. Fortunately, I at least try to do more than that > If you want to be paid, have a real marketing plan, where you identify > your tar

[android-developers] Re: glMatrixMode

2011-08-09 Thread RichardC
According to the spec (for OpenGL ES 1.1, I can't find the 1.0 spec) http://www.khronos.org/opengles/sdk/1.1/docs/man/glMatrixMode.xml GL_COLOR is not a vaild parameter to glMatrixMode On Aug 9, 7:54 pm, bob wrote: > Anyone know why this doesn't work on Android? > > gl.glMatrixMode(GL10.GL_COLOR

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Adam Ratana
On Tue, Aug 9, 2011 at 5:31 PM, Mark Murphy wrote: ... > If you want to be paid, have a real marketing plan, where you identify > your target audience, determine how to communicate with them, put > together a unique selling proposition for them... and then execute > that plan. This is required no

[android-developers] onResume called twice (Emulator only!)

2011-08-09 Thread RLScott
I just wasted several hours tracking down a bug in the emulator. It turns out to have been found before: http://code.google.com/p/android/issues/detail?id=2423 Fortunately it does not seem to be a problem in any device. In some configurations when the emulator is switched from Landscape to Po

[android-developers] Re: Pico TTS high quality voices

2011-08-09 Thread mms
any answer On Jun 18, 9:32 pm, mms wrote: > hi, > i found Android's default TTS Engine "Pico TTS"  amazing > but the default voices quality is a little poor > so > how i can add high quality voices to it > > regards -- You received this message because you are subscribed to the Google Groups "A

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Mark Murphy
On Tue, Aug 9, 2011 at 5:10 PM, Adam Ratana wrote: > Well, I don't think all hope is lost, there's some room for positivity here! >  For example the apps do show up in search results, so making sure your > description is creative and describes your app/wallpaper in a way that will > attract people

[android-developers] Re: setOverscrollHeader and setOverscrollFooter don't work (Droid X?)

2011-08-09 Thread suzannea
The theme attribute to override for the list overscroll is android:overScrollFooter. Setting it to @null should remove the footer, so your ListView background fills the full screen. See here: http://bit.ly/q9BQUL On Jun 14, 10:54 pm, Rob B wrote: > Ah, thanks, you're right. I set the overscroll

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Adam Ratana
On Tue, Aug 9, 2011 at 5:00 PM, Jim Graham wrote: > Yeah, I'm extremely frustrated by all of this. Sorry, but that's just > how it is. I feel like I've been denied all hope of ever keeping any > new app that I build listed on the market. And from what I've read, I > HAVE been. Someone PLEASE

[android-developers] Re: 3.2 Honeycomb Market Issue?

2011-08-09 Thread ColorTheorist
Nevermind. It was being logged into a new location and it was blocking the port 5228 for TCP / UDP. Once that had been resolved the market access was not an issue. I hadn't thought of that after the installation. -- You received this message because you are subscribed to the Google Groups "And

Re: [android-developers] Re: "Just in" section

2011-08-09 Thread Jim Graham
On Tue, Aug 09, 2011 at 08:17:55AM -0700, Adam Ratana wrote: > I sympathize with Spooky here as I have also just recently launched some new > Live Wallpapers, and while I did see them in "Just In" on my phone market > (doesn't have the new market client yet) -- and some users have indeed found

Re: [android-developers] Insert PreferenceActivities in each Tab of an TabAcitivity to establish Categories AND Subcatories

2011-08-09 Thread TreKing
On Mon, Aug 8, 2011 at 7:02 AM, Boris Ehlers wrote: > This would imply that you can only have one PreferenceActivity per App, if > you don't create a modified PreferenceActivity. Is this right? > No. > I am pretty new in Android an so I hope this is not a too > stupid question... :-) > Not *

[android-developers] Screen dimension in case of on-screen buttons

2011-08-09 Thread wboe
Hi, In order to get the screen dimensions, one can use e.g. getWindowManager().getDefaultDisplay().getWidth() and -getHeight(), but in this case potential on-screen buttons (e.g. the home and the menu buttons) will not be taken into account. What can I do to get the real available screen are

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-09 Thread Nathan
On Aug 9, 11:27 am, Nathan wrote: > On Aug 9, 10:12 am, String wrote: > > > > > Just keep in mind that, right after Apple took these actions, Lodsys > > immediately escalated their attacks on several devs from "threat" to > > "lawsuit". Be careful what you wish for. > > > String > In addition,

[android-developers] Re: Navigation software results in zero LocationManager requestLocationUpdates

2011-08-09 Thread Davy
I requested the logfiles from the user, but don't think it's a resource issue. The app is still doing it's other stuff in the background, seems to be isolated to the LocationManager. I'll check the logs and post back when I have some more information. -- You received this message because you a

[android-developers] Re: Candle Stick Graph in Android??

2011-08-09 Thread Paul Turchenko
http://www.artfulbits.com/products/android/aiCharts.aspx On Aug 9, 1:04 pm, Thulasi wrote: > Hi, > > Is there any good Candle Stick graph libraries for android..?? > > i managed to find couple of evaluatory versions.. not sure if there is a > tested charting library for Candle Stick in Android..?

[android-developers] Re: Intents

2011-08-09 Thread Jim
Didn't see your previous post... FLAG_ACTIVITY_SINGLE_TOP causes a call to onNewIntent, but FLAG_ACTIVITY_NEW_TASK starts a new task and new activity. Is onNewIntent even being called? It shouldn't be since FLAG_ACTIVITY_NEW_TASK means the activity can't be recycled, it must be created in the curre

[android-developers] IllegalStateException only happens with Monkey

2011-08-09 Thread jtoolsdev
I've been testing an Android 3.0 SDK 11 version of one of my apps. When testing with Monkey I occasionally get an IllegalStateException when my data form dialog closes and a ListView is refreshed. I cannot replicate this doing the same thing manually with the emulator nor on my tablet. And ye

Re: [android-developers] Reminder

2011-08-09 Thread TreKing
On Sun, Aug 7, 2011 at 8:50 AM, pravin chaudhari < chaudhari.pravi...@gmail.com> wrote: > I am Trying to Implement small B'day Reminder Apps. I that I want to Chack > Current Time and Stared B'dates. So, I can do that. I just want I will > Happen Automatically without affected on Other Apps. > Bu

Re: [android-developers] Google contact name fetch

2011-08-09 Thread Appaholics
Do you get an error message in the LogCat? If yes post it, if no get one. On Tue, Aug 9, 2011 at 3:24 PM, Goutom wrote: > Can any1 check these two lines: > > >String where = > ContactsContract.CommonDataKinds.StructuredName.CONTACT_ID + " = ?" ; > //problem may be here > String[]

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-09 Thread Nathan
On Aug 9, 10:25 am, Christopher Van Kirk wrote: > I would think 1/10th HTC would be a wildly optimistic assessment of our > importance to Google. > LOL. I was thinking collectively and not individually, but even then, you may be right. Nathan -- You received this message because you are subsc

[android-developers] Re: Intents

2011-08-09 Thread Jim
That's true. Do you do anything in onResume() to alter the data? And, this might sound silly, but are you sure a String was stored where getString is called? (For example, if you putExtra a bundle, then getExtra returns a Bundle, not a string...) Hope that helps. -Jim On Aug 9, 1:16 pm, kypriako

[android-developers] glMatrixMode

2011-08-09 Thread bob
Anyone know why this doesn't work on Android? gl.glMatrixMode(GL10.GL_COLOR); -- 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

Re: [android-developers] Position of dialog box

2011-08-09 Thread TreKing
On Tue, Aug 9, 2011 at 4:07 AM, Akhilesh Mani wrote: > I want to locate dialog box just above a button http://developer.android.com/reference/android/widget/PopupWindow.html - TreKing

Re: [android-developers] how to play audio file from sd card ?

2011-08-09 Thread Amit Mangal
what is this i am unable to understand . thanks On Wed, Aug 10, 2011 at 12:08 AM, lbendlin wrote: > make sure to use Environment.getExternalStorageDirectory() rather than had > coding the SD card path. > > -- > You received this message because you are subscribed to the Google > Groups "Androi

Re: [android-developers] how to play audio file from sd card ?

2011-08-09 Thread lbendlin
make sure to use Environment.getExternalStorageDirectory() rather than had coding the SD card path. -- 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

Re: [android-developers] Re: Intents

2011-08-09 Thread Kostya Vasilyev
I don't believe you've posted an actual logcat stack trace for the crash yet - perhaps the time has come? 09.08.2011 22:26, kypriakos пишет: And I start the intents each time with this: Intent intent = new Intent(); intent.setClass(androidContext, myClass.class); int

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-09 Thread Nathan
On Aug 9, 10:12 am, String wrote: > > Just keep in mind that, right after Apple took these actions, Lodsys > immediately escalated their attacks on several devs from "threat" to > "lawsuit". Be careful what you wish for. > > String I think it did accelerate their plans slightly. Nonetheless, so

[android-developers] Re: Intents

2011-08-09 Thread kypriakos
And I start the intents each time with this: Intent intent = new Intent(); intent.setClass(androidContext, myClass.class); intent.setFlags(intent.FLAG_ACTIVITY_NEW_TASK); intent.addFlags(intent.FLAG_ACTIVITY_SINGLE_TOP); intent.putExtra("from", stop);

[android-developers] Re: Intents

2011-08-09 Thread kypriakos
Gotcha - but do you agree that the following should work and return the Extras bundle? @Override protected void onNewIntent(Intent intent){ Bundle extras = intent.getExtras(); ... Like Mark said, the intent var that is passed to the onNewIntent each

[android-developers] SoftKeyboard

2011-08-09 Thread Pradeep
Hello all, The default sofkeyboard in Nexus one 2.3 does not hide if we touch anywhere outside the keyboard. Actually, it hides with some apps but not with all. What might be the reason of this behaviour ? I have a custom keyboard along the lines of LatinIME so my keyboard also behaves the same.

[android-developers] Candle Stick Graph in Android??

2011-08-09 Thread Thulasi
Hi, Is there any good Candle Stick graph libraries for android..?? i managed to find couple of evaluatory versions.. not sure if there is a tested charting library for Candle Stick in Android..?? Any comments or solutions is highly appreciated.. thanks thulasi. -- You received this message be

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-09 Thread Nathan
On Aug 9, 10:41 am, MB wrote: > How is this different from promoting your app via mobile ads? > What if you  annotated the link to your paid app as an advertisement? > The link to my paid app *is* an advertisement. It is done through AdWhirl as a house ad. My letter from LodSys shows a screenshot

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-09 Thread Nathan
On Jul 6, 10:24 am, "Christopher Van Kirk" wrote: > I think the lawyer that Mark Murphy posted makes a more compelling argument > for resistance. The Lodsys model depends on many businesses yielding without > a fight. If Lodsys faces an uphill battle with every single patent > assertion, they'll m

Re: [android-developers] What should I use for common parts of UI in Android application?

2011-08-09 Thread Alexey Zakharov
Yep, from my searches in Uber's code it uses ViewStabs and single map activity. -- 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 e

[android-developers] GLSurface creation taking time

2011-08-09 Thread Pradeep
Hi, I have an openGL based game running on 2.2. Sometimes the launch of the game takes time. >From the logs it appears surface creation is taking time. This is an inconsistent issue. Any ideas why this might be happening ? Regards, Pradeep -- You received this message because you are subscri

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-09 Thread MB
How is this different from promoting your app via mobile ads? What if you annotated the link to your paid app as an advertisement? On Jul 6, 12:09 am, LostKid wrote: > Hi > > We have a game 'Pocket Bingo' which is live in market. Recently got a > Fedx from lodsys for a patent infringement on In-

Re: [android-developers] What should I use for common parts of UI in Android application?

2011-08-09 Thread Shane Isbell
In general, it is a good idea to start leveraging fragments. This will make it easier to rebuild the UI on tablets. Fragments allows reuse and well as storing of history state of each component. If you are only interested in handsets and don't care about component reuse or history state, then just

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-09 Thread Christopher Van Kirk
I would think 1/10th HTC would be a wildly optimistic assessment of our importance to Google. On 8/10/2011 1:05 AM, Nathan wrote: On Jul 7, 4:39 pm, "JAlexoid (Aleksandr Panzin)" wrote: Would you feel better if Google wrote a similar letter to Lodsys? You do understand that that letter is just

[android-developers] Re: Intents

2011-08-09 Thread Jim
Since setIntent() stores a reference to the intent sent to onNewIntent(), you need to either capture the data there or copy the Intent to a local variable and reference it. Once onNewIntent() finishes, the Intent goes away and your reference is null. Try that... -Jim On Aug 9, 10:46 am, kypriako

Re: [android-developers] What should I use for common parts of UI in Android application?

2011-08-09 Thread TreKing
On Mon, Aug 8, 2011 at 11:50 PM, Alexey Zakharov wrote: > Should this screens be separate activities? > It can't as you're using Maps which requires one MapActivity. > Is fragments API right thing to implement this? > Maybe, I don't know. Take a gander at the Strategy Pattern. --

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-09 Thread String
On Tuesday, August 9, 2011 6:05:18 PM UTC+1, Nathan wrote:# On Jul 7, 4:39 pm, "JAlexoid (Aleksandr Panzin)" > wrote: > > Would you feel better if Google wrote a similar letter to Lodsys? You do > > understand that that letter is just that - a letter. > > Apple has not only written a letter b

Re: [android-developers] Re: How to detect "&" HTML tag?

2011-08-09 Thread TreKing
On Tue, Aug 9, 2011 at 12:43 AM, ndiiie90 wrote: > How can i do that? I think it is not effective to replace all & tag > by proper character > Try: http://developer.android.com/reference/android/text/Html.html -

[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread alexbruy
On 9 авг, 19:30, Kostya Vasilyev wrote: > In Eclipse, right-click on the project... Select Properties... Then Java > Build Path and finally Libraries. Is the .jar there? Yes, JAR present in Libraries tab -- You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-09 Thread Nathan
On Jul 7, 4:39 pm, "JAlexoid (Aleksandr Panzin)" wrote: > Would you feel better if Google wrote a similar letter to Lodsys? You do > understand that that letter is just that - a letter. Apple has not only written a letter but has motioned to intervene in the lawsuit against seven ios developers.

[android-developers] should DeviceAdmin.setMaximumTimeToLock require android.permission.WRITE_SETTINGS ?

2011-08-09 Thread RickGillaspy
I've got an application that works on lots of devices, but lately a customer with a CASIO C771 running 2.2.1 is failing when my device administrator attempts to set the maximum lock timeout. java.lang.reflect.InvocationTargetException at android.app.admin.DevicePolicyManager.setMaximumTime

Re: [android-developers] Re: How to detect "&" HTML tag?

2011-08-09 Thread Shane Isbell
http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replace%28java.lang.CharSequence,%20java.lang.CharSequence%29 On Mon, Aug 8, 2011 at 10:43 PM, ndiiie90 wrote: > Oh sorry that is not what i mean. > > What i mean is to replace all "&" tags in data that is retrieved from > databa

Re: [android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread Kostya Vasilyev
In Eclipse, right-click on the project... Select Properties... Then Java Build Path and finally Libraries. Is the .jar there? 09.08.2011 20:25, alexbruy пишет: Sorry, in the /org/postgresql/ On 9 авг, 16:21, Carl Lee wrote: In the root folder? I think it should be in /org/postgresql/Driver.c

[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread alexbruy
Sorry, in the /org/postgresql/ On 9 авг, 16:21, Carl Lee wrote: > In the root folder? > I think it should be in /org/postgresql/Driver.class, shouldn't it? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

Re: [android-developers] Anyone ever used androidpit's lvl mechanism? Is it trustworthy?

2011-08-09 Thread Adam Ratana
On Friday, February 18, 2011 7:41:22 AM UTC-5, Kostya Vasilyev wrote: > > Just checked - there are download stats, and you can set a time period > filter. And it looks like their site is actually reaching users - my two > apps combined had about 10K downloads this year so far, and they aren't >

Re: [android-developers] app issue report utility

2011-08-09 Thread Greg Donald
On Thu, Aug 4, 2011 at 7:48 AM, TreKing wrote: > ACRA Thanks. I was looking for something like this. I implemented it late last week, got some crash reports coming in now.. fixing and re-releasing. Works great :) The Market crash reporting is fine if you only release your APK once every lifet

Re: [android-developers] Re: How to change device file permission from Java app.

2011-08-09 Thread Mark Murphy
On Tue, Aug 9, 2011 at 11:53 AM, Chris Stratton wrote: > Unlikely, as it can be done with the ndk, and we are repeatedly told that > the ndk does not have special permissions.  Most likely they just didn't > bother implementing support in javaj for something that wasn't envisioned as > needed. Po

Re: [android-developers] Re: How to change device file permission from Java app.

2011-08-09 Thread Chris Stratton
On Tuesday, August 9, 2011 7:17:30 AM UTC-4, Mark Murphy (a Commons Guy) wrote: > > > Has this been done for security reasons ? > > Probably. > Unlikely, as it can be done with the ndk, and we are repeatedly told that the ndk does not have special permissions. Most likely they just didn't bothe

Re: [android-developers] How to find freelancer for creating game picture

2011-08-09 Thread Alex Coutinho
You could search on deviantart.com for an artist with the style you want, and contact him/her. 2011/8/9 Samuel > Hi, > > Do you have any references of good freelance which I can hire to > create picture for android game? > > thanks > > -- > You received this message because you are subscribed to

[android-developers] Re: Intents

2011-08-09 Thread kypriakos
> Blech. he he ;) > Use the Intent supplied to onNewIntent(). The Intent returned by > getIntent() will always be the original Intent used to create the > activity. But I am - and that's where the null exception occurs. Not sure if the setIntent or the super are needed. I will poke around a bi

Re: [android-developers] how to play audio file from sd card ?

2011-08-09 Thread Mark Murphy
On Tue, Aug 9, 2011 at 11:37 AM, Amit Mangal wrote: > Anybody knows how to play audio file from sd card ? Use MediaPlayer: http://developer.android.com/reference/android/media/MediaPlayer.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonswa

  1   2   >