Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread Latimerius
Yeah, well, it's probably not by Google, or one that Google had any say in. None of the built-in apps on my devices have an exit button, not even games (that in general do include it AFAICT). One would think users would be used to not having to exit explicitly their phone, SMS, camera apps, plus

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 100 Messages in 78 Topics

2012-11-28 Thread Bobbie Stump
-- 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, visit

Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread TreKing
On Wed, Nov 28, 2012 at 11:02 AM, Latimerius l4t1m3r...@gmail.com wrote: Yeah, well, it's probably not by Google, or one that Google had any say in. None of the built-in apps on my devices have an exit button, not even games (that in general do include it AFAICT). Google Maps Navigation has

Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread TreKing
On Wed, Nov 28, 2012 at 11:18 AM, TreKing treking...@gmail.com wrote: On Wed, Nov 28, 2012 at 11:02 AM, Latimerius l4t1m3r...@gmail.com wrote: Yeah, well, it's probably not by Google, or one that Google had any say in. None of the built-in apps on my devices have an exit button, not even

Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread Latimerius
On Wed, Nov 28, 2012 at 6:24 PM, TreKing treking...@gmail.com wrote: On Wed, Nov 28, 2012 at 11:18 AM, TreKing treking...@gmail.com wrote: On Wed, Nov 28, 2012 at 11:02 AM, Latimerius l4t1m3r...@gmail.com wrote: Yeah, well, it's probably not by Google, or one that Google had any say in. None

[android-developers] GCMBroadcast Receiver Enable/Disable

2012-11-28 Thread Paul-Peter Tournaris
Hello guys. In my application i have a gcmbroadcast receiver registered, so that i can receive PushNotifications. It is the Basic GCMReceiver Class provided by Google and i have an element receiver in my Manifest for it. I added a CheckBox in my Preferences Screen in order to enable/disable

Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread TreKing
On Wed, Nov 28, 2012 at 11:38 AM, Latimerius l4t1m3r...@gmail.com wrote: I'm guessing something about Navigation must be somehow expensive or slow so they had to put that check in. The check if you really want to exit, in the google navigation case, I * think* is for convenience and safety.

Re: [android-developers] Informing Google about permission to build and post branded app

2012-11-28 Thread TreKing
On Mon, Nov 26, 2012 at 3:57 PM, capps cpaden...@gmail.com wrote: Do I need to get a written letter of permission from the copyright holder to Google before the app can be approved and upload to Google Play? Apps don't get approved before being uploaded - they get retroactively disapproved

Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread Kristopher Micinski
To add, the exit button also has the effect of turning off GPS updates, so exiting also has a feature that implies something else: that you quit draining the user's battery. On Wed, Nov 28, 2012 at 12:38 PM, Latimerius l4t1m3r...@gmail.com wrote: On Wed, Nov 28, 2012 at 6:24 PM, TreKing

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread bob
This sounds like MOTODEV Studio but not from Motorola. On Wednesday, November 28, 2012 10:36:14 AM UTC-6, Paul-Peter Tournaris wrote: http://developer.android.com/sdk/index.html Where it says Download Android SDK - ADT Bundle for Windows!! On Wed, Nov 28, 2012 at 6:08 PM, bob

[android-developers] Re: Write to another application's internal memory

2012-11-28 Thread G. Blake Meike
I think that the fact that this question is about writing to internal memory is confusing people. I think that all you want to do is allow App2 access to a file owned by App1. That is probably pretty easy: App1 will own the file(s). They will be in its sandbox files directory and not

[android-developers] Re: Write to another application's internal memory

2012-11-28 Thread bob
I am not his uncle. On Wednesday, November 28, 2012 12:39:08 PM UTC-6, G. Blake Meike wrote: I think that the fact that this question is about writing to internal memory is confusing people. I think that all you want to do is allow App2 access to a file owned by App1. That is probably

Re: [android-developers] RenderScript

2012-11-28 Thread Harri Smått
Hi, Not only across multiple CPUs but also a way to produce near to NDK speed code over different devices. Ideally lots of RenderScript code can be ran on GPU which makes it even faster than CPU. -- H On Nov 28, 2012, at 6:38 PM, bob b...@coolfone.comze.com wrote: I'm trying to understand

[android-developers] Re: Write to another application's internal memory

2012-11-28 Thread G. Blake Meike
http://en.wikipedia.org/wiki/Bob's_your_uncle -- 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] EffectFactory effects

2012-11-28 Thread bob
Does anyone know if there is an easy way to apply the android.media.effect.EffectFactory effects to a video? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Write to another application's internal memory

2012-11-28 Thread Kristopher Micinski
This is the right advice, and this is the Android way to do it. On Wed, Nov 28, 2012 at 9:45 AM, Streets Of Boston flyingdutc...@gmail.comwrote: You can't do that. If you want 2 separate apps (i.e. apps with a different package name and therefore different user-ids) to share data, you'd

Re: [android-developers] Re: android e book

2012-11-28 Thread Kristopher Micinski
So use any HTML parser to read it, rather than an XML or JSON parser. kris On Mon, Nov 26, 2012 at 6:40 PM, Salih Gündüz gunduz.sa...@gmail.comwrote: http://www.mevzuat.adalet.gov.tr/html/388.html On Tue, Nov 27, 2012 at 1:39 AM, Salih Gündüz gunduz.sa...@gmail.comwrote: thanks mario.

[android-developers] Save photo in 320x426 resolution with high quality

2012-11-28 Thread Ricardo Cardoso
I'm taking a picture with my application and saving to the phone directory But when I ask to save with this resolution in pixels is giving nullpointerexeption: 11-28 18:01:47.593: E / AndroidRuntime (19992): Caused by: java.lang.NullPointerException 11-28 18:01:47.593: E / AndroidRuntime

[android-developers] Re: Save photo in 320x426 resolution with high quality

2012-11-28 Thread bob
Well, the code where you set fullPath is obviously wrong. Also, be careful saving it with this file name: System.currentTimeMillis () + . Jpg If you construct that file name at a different time, it may not open. On Wednesday, November 28, 2012 2:31:01 PM UTC-6, Ricardo Cardoso wrote:

Re: [android-developers] External data storage - Best practise

2012-11-28 Thread TreKing
On Fri, Nov 23, 2012 at 8:47 AM, Alexander Hoffmann alexanderh...@googlemail.com wrote: My first question is: The Website should only show the data for the user who entered the data so i need any login system and that what I don't know how to do. I saw on other apps with website that say use

Re: [android-developers] I am trying to set the Image for an ImageView any help would be great

2012-11-28 Thread TreKing
On Mon, Nov 26, 2012 at 7:45 PM, Gabriel Higareda ghiga...@gmail.comwrote: But when i run my app, no picture is shown and my catch message shows... Not sure what is going on. You might consider printing the actual error message from the exception, instead of writing out IO Exception, which it

Re: [android-developers] Re: Save photo in 320x426 resolution with high quality

2012-11-28 Thread Ricardo Cardoso
I forgot to write the variables in the code that put the fullpath public final static String APP_PATH_SD_CARD = /directory/; But how not to use the System.currentTimeMillis ()? Without replacing the photo taken next to a picture? 2012/11/28 bob b...@coolfone.comze.com Well, the code where

[android-developers] missing method in android.graphics.SurfaceTexture

2012-11-28 Thread bob
Am I the only one who thinks there is a missing method in android.graphics.SurfaceTexture? Shouldn't there be a way to get the integer texture ID for the texture? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: Save photo in 320x426 resolution with high quality

2012-11-28 Thread bob
Maybe use a counter and, if the file exists, increment it? On Wednesday, November 28, 2012 3:25:55 PM UTC-6, Ricardo Cardoso wrote: I forgot to write the variables in the code that put the fullpath public final static String APP_PATH_SD_CARD = /directory/; But how not to use the

Re: [android-developers] Re: Save photo in 320x426 resolution with high quality

2012-11-28 Thread bob
Also, make sure you set fullPath as the path to the image, not just the path to the directory containing the image. On Wednesday, November 28, 2012 3:25:55 PM UTC-6, Ricardo Cardoso wrote: I forgot to write the variables in the code that put the fullpath public final static String

[android-developers] Re: I am trying to set the Image for an ImageView any help would be great

2012-11-28 Thread bob
Just to clarify, here is the method you are calling with a bad input stream: public static Bitmap decodeStream (InputStream is) Added in API level 1 Decode an input stream into a bitmap. If the input stream is null, or cannot be used to decode a bitmap, the function returns null. The stream's

[android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Piren
My only issue with such a bundle is that it means that i have multiple instances of Eclipse on my computer, each of them needs to be configured from 0 to match my preferred style... the Android bundle, Motodev, SpringSource, JBOSS Studio and the list goes on... On Wednesday, November 28, 2012

Re: [android-developers] android version problem

2012-11-28 Thread Piren
it does make it more fun ... we can play 21 ^support* questions On Sunday, November 25, 2012 11:21:12 PM UTC-5, TreKing wrote: On Sun, Nov 25, 2012 at 10:31 PM, Sadhna Upadhyay sadhna@gmail.comjavascript: wrote: when i am testing the app on 1ndroid 2.3.4 some functionality is not

[android-developers] Re: I am trying to set the Image for an ImageView any help would be great

2012-11-28 Thread Piren
Without going into the subject at hand, i just want to mention that sometimes the documentation is wrong... already came across a few functions not doing what they say they would do.. so... should probably not rely on that On Wednesday, November 28, 2012 4:48:43 PM UTC-5, bob wrote: Just to

Re: [android-developers] Re: HttpURLConnection on Galaxy Nexus 4.2

2012-11-28 Thread Piren
That's cause he's using the wrong field... that field is in fact a String, but was deprecated a long long while ago. He should be using SDK_INT On Wednesday, November 28, 2012 9:25:04 AM UTC-5, Ralph Bergmann wrote: Am 27.11.12 11:40, schrieb Fritjof: Integer.parseInt(Build.VERSION.SDK)

[android-developers] Re: HttpURLConnection on Galaxy Nexus 4.2

2012-11-28 Thread bob
You could always use a java.net.Socket. That's probably what I would do. On Thursday, November 22, 2012 3:58:52 AM UTC-6, Ryan Bateman wrote: I'm attempting to write a simple API management class and running into an issue when using HttpUrlConnection to POST content on a Galaxy Nexus

[android-developers] Re: I am trying to set the Image for an ImageView any help would be great

2012-11-28 Thread Lew
Piren wrote: Without going into the subject at hand, i just want to mention that sometimes the documentation is wrong... already came across a few functions not doing what they say they would do.. so... should probably not rely on that Such as ...? -- Lew -- You received this

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Tor Norbye
You don't need to install the ADT bundle; we also continue to distribute the plugins so you can add them to your existing IDEs. The goal for the bundle is to make first time setup much simpler; in addition to the IDE with the plugins preconfigured, it also bundled the SDK tools, and finally makes

[android-developers] Re: I am trying to set the Image for an ImageView any help would be great

2012-11-28 Thread bob
There's a comma on this page that should not be: http://developer.android.com/reference/android/hardware/SensorManager.html This line public class SensorActivity extends Activity, implements SensorEventListener { should have no comma. On Wednesday, November 28, 2012 4:39:28 PM UTC-6, Lew

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Παύλος-Πέτρος Τουρνάρης
The AutoCompletion is up to you to make it better or up to the Eclipse guys? On Thu, Nov 29, 2012 at 12:42 AM, Tor Norbye tnor...@google.com wrote: You don't need to install the ADT bundle; we also continue to distribute the plugins so you can add them to your existing IDEs. The goal for the

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Tor Norbye
Autocompletion in Java or in XML? On Wed, Nov 28, 2012 at 2:51 PM, Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com wrote: The AutoCompletion is up to you to make it better or up to the Eclipse guys? On Thu, Nov 29, 2012 at 12:42 AM, Tor Norbye tnor...@google.com wrote: You don't need to

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Παύλος-Πέτρος Τουρνάρης
In Java! On Thu, Nov 29, 2012 at 1:01 AM, Tor Norbye tnor...@google.com wrote: Autocompletion in Java or in XML? On Wed, Nov 28, 2012 at 2:51 PM, Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com wrote: The AutoCompletion is up to you to make it better or up to the Eclipse guys? On

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Tor Norbye
We don't modify the general Java editor completion; you should report those issues in the Eclipse issue tracker for JDT. -- Tor On Wed, Nov 28, 2012 at 3:04 PM, Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com wrote: In Java! On Thu, Nov 29, 2012 at 1:01 AM, Tor Norbye tnor...@google.com

Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread Subodh Nijsure
I had no idea I would spark such a discussion. Only reason I was considering adding 'are you sure you want to exit' button was Some of my screens have 5-8 items that users enter stuff like name, address, some other data. I just don't want users to enter say 80% of data and loose that data just

[android-developers] Re: I am trying to set the Image for an ImageView any help would be great

2012-11-28 Thread Lew
bob wrote: There's a comma on this page that should not be: http://developer.android.com/reference/android/hardware/SensorManager.html This line public class SensorActivity extends Activity, implements SensorEventListener { should have no comma. Oh, yeah, that completely kills the value

Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread Kristopher Micinski
Instead of asking the user if they'd like to quit, I'd simply save the data and then restore it, but maybe that's just me. For lightweight things like this you can persist them in a SharedPreferences. This sort of depends on your use case, but I think you've confused people, because you're not

Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread TreKing
On Wed, Nov 28, 2012 at 5:30 PM, Subodh Nijsure subodh.nijs...@gmail.comwrote: Some of my screens have 5-8 items that users enter stuff like name, address, some other data. I just don't want users to enter say 80% of data and loose that data just because they hit back button one two many

[android-developers] GoogleTV USB Access

2012-11-28 Thread Ankur Avlani
Hi All, I am trying to develop a Image explorer in Google TV. I want to find out a way to access the USB contents (maybe File IO), once the USB is connected. I did a lot of google search but couldnt find relevant answers. USBManager and USBDevice class in the API didnt help me much to find the

Re: [android-developers] Android OS lag

2012-11-28 Thread TreKing
On Fri, Nov 23, 2012 at 7:37 PM, Björn Morén bjorn.mo...@gmail.com wrote: I assume that for the Android OS this is the equivalent of minimizing an application in Windows. The desktop process is already running in the background and the process of whatever app I was using is not terminated; it

Re: [android-developers] Read data from android app and want to display on Web

2012-11-28 Thread TreKing
On Wed, Nov 21, 2012 at 7:16 AM, Ashish Jain ashish.jai...@gmail.comwrote: I am trying to read data from an android app and want to display on the web. I think you need to explain what you mean by that you are trying to read data from an Android app. Read it how? Also let me how to consume

[android-developers] Re: Emulator ICS : add account

2012-11-28 Thread Gopi Krishnan T
Hi Guys, Check with this link, This helped me add the exchange account.Setting up email account in emulatorhttp://www.grokkingandroid.com/using-a-google-account-in-the-emulator/ Thanks. On Saturday, July 21, 2012 2:35:57 AM UTC+5:30, rlrhett wrote: This workaround does not seem to by

[android-developers] Android Alarm Clock UI

2012-11-28 Thread Etienne
[image: enter image description here] I am trying to figure out how the UI was designed for the Android Alarm Clock app. This appears to be using the Holo Dark Theme. The screenshot included is the Create/Edit Alarm Activity screen. It looks similar to Android

[android-developers] Re: Android Alarm Clock UI

2012-11-28 Thread Etienne
Originally posted here : http://stackoverflow.com/questions/13523350/android-alarm-clock-ui/13523970#comment18608151_13523970 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: How do you show 'Are you sure you want to quit' dialog?

2012-11-28 Thread Johan Appelgren
You'd probably want to persist data even if you have a confirmation dialog on back since the user might task switch or press home. -- 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] How to create program on server side code java and client side code in android?

2012-11-28 Thread Tom
Hi, How to create program on server side code java and client side code in android? Does any one know the sample application or any link to refer this concept please share with me.. Thanks, Tamilarasi.S -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] How to create program on server side code java and client side code in android?

2012-11-28 Thread sree android
you can write server side code in JEE or PHP or .NET and using webservice concept we can use in android. these is the link,it is use full you. http://javatutorialspoint.blogspot.in/2012/02/simple-java-web-service-client-using.html -- You received this message because you are subscribed to the

<    1   2