Re: [android-developers] Re: Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-18 Thread gjs
Hi, And how long does it take on HTC One using cell phone network connection ? Regards On Wednesday, July 18, 2012 3:52:47 PM UTC+10, Zoheb Rahman wrote: Went through the LogCat in verbose ... can't find anything !!! somebody ! anybody !! HELP !!! -- You received this message because

[android-developers] Re: Maximum number of thread created by an Android activity

2012-07-18 Thread gjs
Hi, Just code a test activity that creates an increasing number of Threads and you will get your own answer. Regards On Wednesday, July 18, 2012 7:42:41 AM UTC+10, michael s wrote: Hi, Is there a limit for the number of thread created by an Android activity runs on a phone? If yes, how

Re: [android-developers] Cancelling multiple alert dialogs

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 12:57 AM, B.Arunkumar awsnetworkrecor...@gmail.comwrote: Now how do I cancel also dialog2? Keep a reference to it and call dismiss() or it. Or better yet, use showDialog() to have it managed for you.

Re: [android-developers] When will Nexus s get the JB OTA?

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 12:55 AM, Fanjiang Pei december...@gmail.comwrote: It's really a long time waiting.. This has nothing to do with developing apps with the Android SDK, which is what this list is for. Ask your carrier.

[android-developers] [Chris] Playing vidoes and showing images from Playlist

2012-07-18 Thread Kumar Bibek
Hi Chris, I think playing videos or showing images directly on the browser would be the best solution that we can have right now. I tried modal dialogs, but some devices played it, and other's failed. It was a 50-50 number. So, I would say, showing the videos and images in a separate screen, full

[android-developers] Re: [Chris] Playing vidoes and showing images from Playlist

2012-07-18 Thread Kumar Bibek
Sorry. Wrong email ID. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Wed, Jul 18, 2012 at 12:00 PM, Kumar Bibek coomar@gmail.com wrote: Hi Chris, I think playing videos or showing images directly on the browser would be the best solution

Re: [android-developers] Re: Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-18 Thread Zoheb Rahman
It takes about 42 secs using the cell phone network on the HTC one x ... have tried this several times and takes around the same time ... but when i run it on a emulator using the same android firmware as the HTC one x ... it takes only 4 secs -- You received this message because you are

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread Dirk Vranckaert
I do indeed need that. What I'm trying to do is: 1) I have a widget with a button, on the button I want to put the PendingIntent that I showed in my first post. 2) Then when the user presses that button, an action happens (something is started), and I want to change the PendingIntent on the

Re: [android-developers] Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-18 Thread Dianne Hackborn
The log line you posted just means that for some reason your UI thread has been busy so missed frames. If the code you printed is executing that log line more than once, then you either have a race condition (because this is being executed from multiple threads), or something is clearing that

Re: [android-developers] Re: Maximum number of thread created by an Android activity

2012-07-18 Thread Dianne Hackborn
There is no such limit to the number of threads. However, if you are wondering about such limits, you should probably be re-thinking your app design. :} On Tue, Jul 17, 2012 at 2:52 PM, b0b pujos.mich...@gmail.com wrote: On Tuesday, 17 July 2012 23:42:41 UTC+2, michael s wrote: Hi, Is

[android-developers] How to access already generated .SO file Functions in new Android Project

2012-07-18 Thread chain_chelliah
*My .so File Info:* *libvcsFPClient.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped.* * * *So* it was build in above format , now i.m trying to access via my project it shows following errors , java.library.path:

Re: [android-developers] When will Nexus s get the JB OTA?

2012-07-18 Thread Fanjiang Pei
Just hoping to get a jb physical device available for test very soon. I wonder when will google finally release the jb img for nexus s. 在 2012-7-18 下午2:28,TreKing treking...@gmail.com写道: On Wed, Jul 18, 2012 at 12:55 AM, Fanjiang Pei december...@gmail.comwrote: It's really a long time

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 1:48 AM, Dirk Vranckaert dirkvrancka...@gmail.comwrote: 1) I have a widget with a button, on the button I want to put the PendingIntent that I showed in my first post. 2) Then when the user presses that button, an action happens (something is started), and I want to

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 2:13 AM, TreKing treking...@gmail.com wrote: This makes each PendingIntent unique and they wrote overwrite each other This makes each PendingIntent unique and they *won't* overwrite each other.

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread Dirk Vranckaert
It always worked find to just pass the extras (in fact it's not only the widget ID that i'm passing, there is some other stuff in there to..). It since the launced activity starts another activity for result it doesn't work anymore... So I guess using the extras or the data element won't make

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread Dirk Vranckaert
And also.. If I do not use FLAG_UPDATE_CURRENT, then what flag(s) should I define? Op woensdag 18 juli 2012 09:23:57 UTC+2 schreef Dirk Vranckaert het volgende: It always worked find to just pass the extras (in fact it's not only the widget ID that i'm passing, there is some other stuff in

[android-developers] Re: How to access already generated .SO file Functions in new Android Project

2012-07-18 Thread RichardC
Try asking in this group: https://groups.google.com/forum/?fromgroups#!forum/android-ndk On Wednesday, July 18, 2012 8:06:30 AM UTC+1, chain_chelliah wrote: *My .so File Info:* *libvcsFPClient.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped.* * *

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-18 Thread Harsh Vardhan
Hey, I have an interface called IFunctionDictionary which has a function called Execute. In my main thread run() function I register few functions and there corresponding key/command. In the same function I wait for key From socket and when I receive it I call the interface function Execute()

[android-developers] Re: Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-18 Thread RichardC
Put a breakpoint on line, inspect program state. On Wednesday, July 18, 2012 5:08:25 AM UTC+1, Mind wrote: 1st: This does NOT occur on ICS. I have two Activities that I cycle between. Game screen and Results screen (don't complain about not using Activity Fragments). I end one with

[android-developers] Re: Cancelling multiple alert dialogs

2012-07-18 Thread Terry
I guess that this is a problem that most of us have had - and many still have without knowing it - because it normally does not cause a crash. It is also badly handled in the documentation. Here are some more details on how I normally do it: First, define an alertDialog in your Activity class:

Re: [android-developers] Show Spinner Initial Text

2012-07-18 Thread abhijeet tomar
Ok thanks Arun Kumar -- 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

[android-developers] Re: update notification ...

2012-07-18 Thread ala hammad
thank your for your answers ... but some body says i google store update apps depend on version code ... On Tuesday, 17 July 2012 09:00:11 UTC+3, ala hammad wrote: hello all, i want to ask how to send notification for user to update app .. is there any way from market or to add extra code ??

[android-developers] Re: urgent - how to include existing c++ code into Android

2012-07-18 Thread Juned Khan
NDK is the only solution to run .cpp files or .c files -- 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] Android Sample application : ToyVpn

2012-07-18 Thread Juned Khan
Hii all, i want to debug Android sample application ToyVpn. when i tried to run this application in my emulator its running properly but can not connecting to VPN but on actual device the application is crashes. have anyone tried with this application? How to run this application properly?

[android-developers] How to create new VPN account programmatically?

2012-07-18 Thread Juned Khan
Hii there, Can anyone give me the answer of this question? http://stackoverflow.com/questions/11471465/what-is-the-method-to-pass-username-and-password-in-vpnservice-builder-class http://stackoverflow.com/questions/11481391/how-to-add-and-activate-pptp-or-l2tp-vpn-connection Thanks -- You

Re: [android-developers] possible to read drag in status bar notication

2012-07-18 Thread Rocky
Justine, thanks to reply, but this is banking application, and client wanted to like that Can u tell me, if i'm dragging notification bar, any method of activity got fired or started ? On Tue, Jul 17, 2012 at 6:45 PM, Justin Anderson magouyaw...@gmail.comwrote: Regardless of your test

[android-developers] Re: Cancelling multiple alert dialogs

2012-07-18 Thread B.Arunkumar
Hi, Actually this is not the way that I am handling the alert dialogs in my code: In the oncreate, I have defined an alert dialog builder as follows: onCreate(): AlertDialog.Builder alert_box_builder=new AlertDialog.Builder(AsyncRecordTrial.this); In various situations, I generate an alert

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 2:23 AM, Dirk Vranckaert dirkvrancka...@gmail.comwrote: I even tried to launch the activity without passing anything and still my onActivityResult method is not reached... You're not sending a negative request code, by chance, are you? Do you mean to create

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread Dirk Vranckaert
I solved my own issue... I was setting some flags on my intent: Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS | Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK; But when using the FLAG_ACTIVITY_NO_HISTORY, my activity that is launched is not kept in

[android-developers] Re: Cancelling multiple alert dialogs

2012-07-18 Thread skink
B.Arunkumar wrote: Hi, Actually this is not the way that I am handling the alert dialogs in my code: In the oncreate, I have defined an alert dialog builder as follows: onCreate(): AlertDialog.Builder alert_box_builder=new AlertDialog.Builder(AsyncRecordTrial.this); In various

Re: [android-developers] possible to read drag in status bar notication

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 3:12 AM, Rocky rkjhaw1...@gmail.com wrote: but this is banking application, and client wanted to like that Tell the client this is a dumb requirement. You're going to log the user out and make them log back in if they so much as flick the notifications down and back

Re: [android-developers] Re: Cancelling multiple alert dialogs

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 3:29 AM, B.Arunkumar awsnetworkrecor...@gmail.comwrote: I am not sure how to keep track of the number of boxes that are showing up and how to close the other boxes when ok is pressed for one? I repeat, use Activity.showDialog().

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 3:51 AM, Dirk Vranckaert dirkvrancka...@gmail.comwrote: Thanks for the help anyway (and sorry for my mistake ;) ) and happy coding! :) Ha. That's usually how it works out. Every time I post here it ends up being something stupid and completely unrelated.

Re: [android-developers] Problem in Location Manager

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 2:24 AM, Rishabh Agrawal rish...@creatiosoft.comwrote: But the problem is when i getting user location it give me a old location not a update location.Kindly see in my code where i am wrong.. You should narrow your code down to the bare minimum required to show your

[android-developers] Android board for Industrial Automation

2012-07-18 Thread RS
Hi We need an Android board for using inside devices for Industrial Automation. Can you please suggest where I can buy this board? Thanks 2S -- 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] APP Name

2012-07-18 Thread Rahul Kaushik
My android app has a two word app name, and the 2nd word doesn't fit on the first line below the app icon. The OS doesn't automatically carry the 2nd word over to the 2nd line so it just gets cut off. pls suggest the way Thanks RK -- You received this message because you are subscribed to the

Re: [android-developers] APP Name

2012-07-18 Thread Raghav Sood
Use a shorter name. On Wed, Jul 18, 2012 at 2:43 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote: My android app has a two word app name, and the 2nd word doesn't fit on the first line below the app icon. The OS doesn't automatically carry the 2nd word over to the 2nd line so it just gets cut

Re: [android-developers] how to flip the page similar to what Flipboard app does

2012-07-18 Thread KK
Thanks Harri, I'll check it out. --KK On Mon, Jul 16, 2012 at 1:57 PM, Harri Smått har...@gmail.com wrote: I played around with the idea - and this mockup works more/less properly. Nothing too fancy but guess it would be possible to extend it for more generalized usage.

[android-developers] Re: APP Name

2012-07-18 Thread ala hammad
marquee your title or your text .. On Wednesday, 18 July 2012 12:13:49 UTC+3, rahul kaushik wrote: My android app has a two word app name, and the 2nd word doesn't fit on the first line below the app icon. The OS doesn't automatically carry the 2nd word over to the 2nd line so it just gets

[android-developers] HttpURLConnection redirect - doInBackground

2012-07-18 Thread Jacob Hansen
I'm using HttpURLConnection to do communication with a backend server and im doing so in an async task in the doInBackground method as you should. Now I need to be able to follow 302 redirects, but I'm having some problems with this. The issue is that the new location usually will be on

[android-developers] Re: Android board for Industrial Automation

2012-07-18 Thread RLScott
Here is what we did when faced with a similar need. We used an off the shelf Android tablet computer from Best Buy and then connected it to a custom circuit board with Bluetooth. The custom board had a PIC micro controller and did all the industrial I/O. The Android tablet did the user

[android-developers] Re: HDMI out

2012-07-18 Thread RLScott
On Jul 10, 6:50 am, Mark Murphy mmur...@commonsware.com wrote: HDMI out, if it supported by the device, is transparent to the app developer... Not entirely transparent. The HDMI, when connected, usually override the sensor-determined screen orientation to force landscape - unless the

[android-developers] Is there any way to make focus one of the ImageView in GridView by default?

2012-07-18 Thread Abhishek Kumar Gupta
I want first ImageView(in GridView) to be focused by default when I launch the application. I have tried 1). *setSelection(0) *on instance of GridView 2). setFocusableInTouchMode(true) on paricular ImageView in getView() of Adapter that I have used to inflate the GridView. but none of

[android-developers] Re: HttpURLConnection redirect - doInBackground

2012-07-18 Thread Jacob Hansen
This was caused by the fact that I sent the same headers and did not change the host header of the request which caused Apache to be confused it seems. -- 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] Re: Why doesn't Android API publicly allow to listen for incoming SMS?

2012-07-18 Thread kenjkelly
I agree with the frustration of having secret undocumented intents. Makes me wonder what else is available and how we would ever know. For example put android.provider.Telephony.SMS_RECEIVED ? There is not even an android.provider.Telephony class in the API reference. If Google is going to

Re: [android-developers] Re: HDMI out

2012-07-18 Thread Mark Murphy
On Wed, Jul 18, 2012 at 6:25 AM, RLScott fixthatpi...@yahoo.com wrote: On Jul 10, 6:50 am, Mark Murphy mmur...@commonsware.com wrote: HDMI out, if it supported by the device, is transparent to the app developer... Not entirely transparent. The HDMI, when connected, usually override the

[android-developers] Re: How to prevent resizing and relayout the window when soft keyboard displaying

2012-07-18 Thread dreamtale
I have tired this, if the android version is higher than 2.3.x, the android provide an flag AdjustNoting, it worked perfect, but unfortunately i develop an app under 2.3.x, so do you have some advices? Thanks. On Jul 17, 1:47 am, Justin Anderson magouyaw...@gmail.com wrote: None of the options

Re: [android-developers] Re: Someone stole my sound effects

2012-07-18 Thread Riley Porter
Just a thought. If you are using MP3's as your sounds. You should watermark your mp3's. Perhaps if someone is stealing your work.. In an update you could post some new mp3's and then do exactly what your nemesis is doing. Crack open his apk and see if your water marked mp3's were in there.

Re: [android-developers] Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-18 Thread Mind
Debugged some more. This is not a race condition. Here is what I am seeing: Log.i(WH, TitleScreen: Starting new game); finish(); Intent i = new Intent(); i.setClassName(com.blah, com.rhs.wordhero.game.Activity_GameScreen); startActivity(i);

Re: [android-developers] Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-18 Thread Kostya Vasilyev
Try adding loging to the activity's onDestroy. Methinks you might be seeing the activity get created, destroyed, and created again due to some combination of launch flags or requested screen orientation. -- K 2012/7/18 Mind steven...@gmail.com Debugged some more. This is not a race

Re: [android-developers] Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-18 Thread Mark Murphy
Just based on the source code that you have shown, in addition to Kostya's suggestion, here are the changes that I would make: 1. Call startActivity() before finish(). 2. Use the Intent constructor that takes your Java class object as the second parameter, and get rid of the setClassName() call

Re: [android-developers] Preferences button to return to main activity

2012-07-18 Thread billb
Thanks for everything. A rather disappointing ending, but a very informative thread. I'll be taking your advice and seeing where it leads. I appreciate everything that both of you have added to my experience and knowledge. I am finding that the Android community is very knowledgeable and

Re: [android-developers] Preferences button to return to main activity

2012-07-18 Thread Kostya Vasilyev
Bill, Regarding the onClick not working... This made me go h so I put together a simple test: package org.kman.AquaMail.prefs; import android.content.Context; import android.preference.Preference; import android.util.AttributeSet; import android.widget.Toast; public class

[android-developers] Activity being started with old bundle data

2012-07-18 Thread Matt Schoen
Hi there, I'm having an issue with an activity, which is started via a notification, which is spawned by an alarm. I've added debug outputs to determine whether the right data is being sent, and it is. What's happening is this: The alarm fires, which picks a random entry from my database,

Re: [android-developers] Show Spinner Initial Text

2012-07-18 Thread chaitu
*You can use spinner.setSelection(0) in oncreate() method.. Thanks, Chaitanya.K * On Wed, Jul 18, 2012 at 1:18 PM, abhijeet tomar abhijeet...@gmail.comwrote: Ok thanks Arun Kumar -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-18 Thread Mind
Actually, I did add a Log entry to the onCreate and saw a corresponding entry in the log (see log in previous post). Here is the horrid thing. It seems there are two complete copies of my Activity running. Each one gets all the touch events etc. Each game board gets the same score...

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-18 Thread Kristopher Micinski
Also, if your thread is crashing, you should do an 'adb logcat' and post the relevant stack trace relevant to the crash. kris On Wed, Jul 18, 2012 at 11:15 AM, Kristopher Micinski krismicin...@gmail.com wrote: I'm not sure what you're going after, and you haven't said very well.. In any case,

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-18 Thread Kristopher Micinski
I'm not sure what you're going after, and you haven't said very well.. In any case, extending your app is pretty hard. You say that you want to distribute the code for your app, in a third party jar, that the users won't have access to? Is this because you don't want your code to get taken? If

Re: [android-developers] android MediaRecorder performance

2012-07-18 Thread chaitu
*Need More Info In order to tell the solution Thanks, Chaitanya.K * On Mon, Jul 16, 2012 at 4:13 PM, luckywizard gzgwoo...@gmail.com wrote: MediaRecorder mRecorder; long start = System.currentTimeMillis(); mRecorder.stop(); long end= System.currentTimeMillis();

Re: [android-developers] Re: Why doesn't Android API publicly allow to listen for incoming SMS?

2012-07-18 Thread Kristopher Micinski
You can find one in a platform file, and with the package manager. However, the reason it's not documented is because you *shouldn't* be using it. It's not like they forgot to document it because they wanted to be mean to developers, this intent is subject to change, and considered inappropriate

[android-developers] How to force onCreate lifecycle

2012-07-18 Thread RLScott
I found that I have some bugs in my code that only show up when a stopped activity goes through its destroy/recreate lifecycle. And that only happens when I run it on a certain Android tablet with HDMI video connected. I would like to verify that I have fixed my bugs but I don't want to bother

[android-developers] Re: How to force onCreate lifecycle

2012-07-18 Thread RLScott
Well, it was much easier than I thought. All I had to do was to rotate the device while in the second activity. That way the screen orientation of the stopped activity would be wrong for the current screen, and so the first activity would have to be recreated when I returned to it. No

[android-developers] Google Maps API/ Custom Application that use Google Maps/Navigation

2012-07-18 Thread Jaison Brooks
Hello Android Developers, I am creating this topic because i am brainstorming a application i want to write and need to know what resources are out there to help me complete or start this application. my idea is to have a application with items (images with text about them) to be viewed inside

Re: [android-developers] Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-18 Thread Mark Murphy
On Wed, Jul 18, 2012 at 11:12 AM, Mind steven...@gmail.com wrote: It seems there are two complete copies of my Activity running. Each one gets all the touch events etc. Each game board gets the same score... and each posts to an online leaderboard ... where they then show up as duplicate

Re: [android-developers] Seeing wierd things with JB on Nexus 7 and timers/activities

2012-07-18 Thread Kostya Vasilyev
It's also worth pointing out that two calls two onCreate don't necessarily mean two activity instances, if there is also a call to onDestroy for one of them. ( and this is ignoring things specific to Android completely - just a very basic observation that one can't make conclusions based on

[android-developers] How to build Android in Eclipse

2012-07-18 Thread minilin.11
I download the last android source, and try to build with Eclipse, I followed the steps in Android site: http://source.android.com/source/using-eclipse.html But can not have a project with no error. The step: 1. Environment: Ubuntu 12.4 64bit, Eclipse JUNO 64bit, JDK 1.6 32bit 2. I copy the

Re: [android-developers] possible to read drag in status bar notication

2012-07-18 Thread Justin Anderson
The best thing to do would be to log them out in the onPause method... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jul 18, 2012 at 2:55 AM, TreKing treking...@gmail.com wrote: On Wed, Jul 18, 2012 at 3:12 AM, Rocky rkjhaw1...@gmail.com wrote:

Re: [android-developers] How to build Android in Eclipse

2012-07-18 Thread Mark Murphy
On Wed, Jul 18, 2012 at 12:53 PM, minilin...@gmail.com wrote: I download the last android source, and try to build with Eclipse, This has nothing to do with this list. This list is for developing apps with the Android SDK. Please visit http://source.android.com and click the Community tab to

Re: [android-developers] Android Sample application : ToyVpn

2012-07-18 Thread Justin Anderson
Are you the developer of ToyVpn? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jul 18, 2012 at 2:02 AM, Juned Khan jkhan6...@gmail.com wrote: Hii all, i want to debug Android sample application ToyVpn. when i tried to run this application in

Re: [android-developers] Android Sample application : ToyVpn

2012-07-18 Thread Justin Anderson
Nevermind... just noticed that it is an Android sample app... :-) Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jul 18, 2012 at 10:56 AM, Justin Anderson magouyaw...@gmail.comwrote: Are you the developer of ToyVpn? Thanks, Justin Anderson

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-18 Thread vt
On Friday, July 13, 2012 1:54:45 AM UTC-7, Ievgenii Nazaruk wrote: I've tested the adb shell pm grant pkg android.permission.READ_LOGS and can confirm that it enables READ_LOGS permission for my application. How did you dodge Operation not allowed: java.lang.SecurityException: Neither user

Re: [android-developers] Re: Regarding game application.

2012-07-18 Thread Justin Anderson
It is my LIFE AND DEATH QUESTION. I seriously doubt that the answer to your question will determine whether you live or die... but if you really will die if you don't get an answer, I would at least try to get some life insurance first... please help me. How exactly do you expect us to help

[android-developers] Jelly sandwich

2012-07-18 Thread bob
So, I have an Android Samsung Galaxy S 3 phone from ATT. I just found out that Jelly Bean came out a week ago. It won't let me upgrade. Can someone help me understand when I will be able to upgrade and what determines that? -- You received this message because you are subscribed to the

[android-developers] Re: Jelly sandwich

2012-07-18 Thread RichardC
Contact ATT On Wednesday, July 18, 2012 6:23:03 PM UTC+1, bob wrote: So, I have an Android Samsung Galaxy S 3 phone from ATT. I just found out that Jelly Bean came out a week ago. It won't let me upgrade. Can someone help me understand when I will be able to upgrade and what determines

Re: [android-developers] possible to read drag in status bar notication

2012-07-18 Thread Rocky
Hi Justin, Thanks for reply, But on dragging to status bar, none of the activity life cycle method will trigger, On Wed, Jul 18, 2012 at 10:25 PM, Justin Anderson magouyaw...@gmail.comwrote: The best thing to do would be to log them out in the onPause method... Thanks, Justin Anderson

[android-developers] LinearLayout button mistery

2012-07-18 Thread CJ
Hi, I have this layout I have been using across the code. The display is good on my phone, tablet, emulators but I have 1 user that show me an alignment problem. The strange thing was, the other dialog button has no alignment issues and the code are the same except text. How it look for

Re: [android-developers] possible to read drag in status bar notication

2012-07-18 Thread Dianne Hackborn
On Wed, Jul 18, 2012 at 1:12 AM, Rocky rkjhaw1...@gmail.com wrote: Can u tell me, if i'm dragging notification bar, any method of activity got fired or started ? No, nothing, nada, zilch. Heck a notification has nothing to do with an activity at all. Even if there was such a feature, it

Re: [android-developers] Re: Why doesn't Android API publicly allow to listen for incoming SMS?

2012-07-18 Thread Dianne Hackborn
On Wed, Jul 18, 2012 at 4:15 AM, kenjkelly kenke...@kenkelly.com wrote: I agree with the frustration of having secret undocumented intents. Makes me wonder what else is available and how we would ever know. For example put android.provider.Telephony.**SMS_RECEIVED ? There is not even an

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-18 Thread Ievgenii Nazaruk
I guess that's because I tried it on emulator. I don't have a device with JB to verify that same procedure works for real devices. On Wednesday, July 18, 2012 7:58:10 PM UTC+3, vt wrote: On Friday, July 13, 2012 1:54:45 AM UTC-7, Ievgenii Nazaruk wrote: I've tested the adb shell pm grant

Re: [android-developers] LinearLayout button mistery

2012-07-18 Thread Kostya Vasilyev
Your layout uses fixed width (100dp) for the buttons, which appears to not be sufficient on the second screen (Can/cel). The messed up vertical alignment might be a side effect of that. Consider using wrap_content or at least increasing the fixed widths. -- K 2012/7/18 CJ joven.ch...@gmail.com

Re: [android-developers] LinearLayout button mistery

2012-07-18 Thread Joven Chiew
Hi, the strange thing was that the very same user can display a similar dialog with no problem. Code is the same except text wording, the OK and Cancel display with no alignment issue. On Jul 19, 2012 2:37 AM, Kostya Vasilyev kmans...@gmail.com wrote: Your layout uses fixed width (100dp) for the

Re: [android-developers] LinearLayout button mistery

2012-07-18 Thread CJ
Hi, the strange thing was that the very same user can display a similar dialog with no problem. Code is the same except text wording, the OK and Cancel display with no alignment issue. On Thursday, 19 July 2012 02:32:53 UTC+8, Kostya Vasilyev wrote: Your layout uses fixed width (100dp) for

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-18 Thread Kostya Vasilyev
Just ran a quick test on my Galaxy Nexus with stock OTA 4.1.1 1) Added the permission to the manifest: uses-permission android:name=android.permission.READ_LOGS/ 2) Pushed an update from Eclipse, this appeared in the adb logcat: 07-18 22:43:20.265 W/PackageManager( 306): Not granting

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-18 Thread Ievgenii Nazaruk
Thanks for trying this out. Now it looks like that there is no supported way to grant development permissions on production devices. On Wednesday, July 18, 2012 9:49:54 PM UTC+3, Kostya Vasilyev wrote: Just ran a quick test on my Galaxy Nexus with stock OTA 4.1.1 1) Added the permission to

Re: [android-developers] possible to read drag in status bar notication

2012-07-18 Thread Justin Anderson
Hi Justin, Thanks for reply, But on dragging to status bar, none of the activity life cycle method will trigger, I never said logging out in onPause() would meet your current requirements. Your current requirements are not possible. I merely suggested that would be the appropriate place

[android-developers] Volume setting problem

2012-07-18 Thread bt
Hi, I have BroadcastReceiver which listens for PHONE_STATE_CHANGED actions. In my test if phone state is RINGING then I set notification volume to 1 else I set it to 5. I have an observer that listens to changes in Settings.System.VOLUME_SETTINGS[NOTIFICATION]. The following happens. When it

Re: [android-developers] is it possible to setup HTC emulator in android sdk?

2012-07-18 Thread igor ganapolsky
I think the user meant HTC skins for the emulator. Kinda like what Motorola provides... On Friday, January 14, 2011 10:46:18 AM UTC-5, Kumar Bibek wrote: There is no such thing as an HTC emulator. Use the normal emulator. However, if you want to change the screen size or resolution of the

[android-developers] Battery Changed

2012-07-18 Thread krishna kumar
Hi All Not working my recever why ? here my code please help me import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class MyRecever extends BroadcastReceiver { @Override public void

[android-developers] Re: Stopping monkey test

2012-07-18 Thread Alex
Hi, on an emulator with Android 2.2 the monkey process is called 'app_process'. You can stop it with adb shell ps | awk '/app\_process/ { system(adb shell kill -9 $2) }' On same Android versions the process is called 'com.android.commands.monkey' (according to

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-18 Thread vt
On Wednesday, July 18, 2012 12:01:37 PM UTC-7, Ievgenii Nazaruk wrote: Thanks for trying this out. Now it looks like that there is no supported way to grant development permissions on production devices. So, question to Android folks, then - what does it take to be able to debug the app on

Re: [android-developers] Battery Changed

2012-07-18 Thread TreKing
On Wed, Jul 18, 2012 at 2:57 PM, krishna kumar send2mess...@gmail.comwrote: Not working my recever why ? Care to explain your problem a little bit more? Like what not working means? http://www.catb.org/~esr/faqs/smart-questions.html

[android-developers] Re: Battery Changed

2012-07-18 Thread Nobu Games
The receiver name in your manifest file needs a fully qualified class name (including package or alternatively . shortcut). So write either (where *com.example.myapp* has to be the correct package of MyRecever): android:name=*com.example.myapp.*MyRecever ^^ or

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-18 Thread Mark Murphy
On Wed, Jul 18, 2012 at 4:22 PM, vt vadim.tkache...@gmail.com wrote: Yes, it is possible to debug an app with USB debugging connected - but for a short time, Eclipse plugin doesn't offer much of a buffer. You are welcome to capture LogCat data via adb logcat. Or, there should be some Java code

Re: [android-developers] Battery Changed

2012-07-18 Thread Mark Murphy
You cannot register for ACTION_BATTERY_CHANGED in the manifest. You can only listen for this broadcast via registerReceiver() from an existing, running component. On Wed, Jul 18, 2012 at 3:57 PM, krishna kumar send2mess...@gmail.com wrote: Hi All Not working my recever why ? here my code

[android-developers] Re: Someone stole my sound effects

2012-07-18 Thread bob
I would say don't do anything. The fact is there are birds outside giving away sounds for free. It's time to find a new niche. On Wednesday, June 27, 2012 1:18:40 AM UTC-5, kekzilla wrote: Sorry if this isn't the right spot. I have an app on the market place (currently #1) it is a

Re: [android-developers] APP Name

2012-07-18 Thread bob
Excellent idea. Perhaps a thesaurus will help? On Wednesday, July 18, 2012 4:18:34 AM UTC-5, Raghav Sood wrote: Use a shorter name. On Wed, Jul 18, 2012 at 2:43 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote: My android app has a two word app name, and the 2nd word doesn't fit on

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-18 Thread vt
On Wednesday, July 18, 2012 2:11:35 PM UTC-7, Mark Murphy (a Commons Guy) wrote: What about debugging an app running on an Android device with ADK accessory connected - it's not even possible to connect adb to it now, is it? Use a ROM that enables adb over WiFi, or hope they add that

[android-developers] Re: top command

2012-07-18 Thread bob
PR -- Priority S -- Process Status The status of the task which can be one of: 'D' = uninterruptible sleep 'R' = running 'S' = sleeping 'T' = traced or stopped 'Z' = zombie PCY? Dunno. Maybe foreground or background? On Tuesday, July 17, 2012 6:47:14 PM UTC-5, jlum wrote: I'm trying to

Re: [android-developers] Re: Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-18 Thread Francisco M. Marzoa Alonso
Use they Assets folder instead. Take a look on AssetManager docs. El 17/07/2012 22:00, Matt Schoen mtsch...@gmail.com escribió: Unfortunately I've already done your last suggestion. The images are pretty small already. I'm still not convinced that the streaming would work. For one thing,

[android-developers] Re: android MediaRecorder performance

2012-07-18 Thread bob
I tried this code on a Samsung Galaxy S3: package com.example.media_test; import java.io.IOException; import android.media.MediaRecorder; import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.view.MenuItem; import android.support.v4.app.NavUtils;

  1   2   >