Re: [android-developers] Android Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-15 Thread tom_mai78101
Then I don't understand why it's failing to connect. Most of the error exception log messages point to either UUID is wrong or I'm not cancelling BluetoothAdapter discovery. I had looked back at the BluetoothChat SDK Sample, compared it with my codes, and see no significant differences other

[android-developers] odd warning from eclipse I am worried about

2013-02-15 Thread Damien Cooke
Hi All, I am getting an odd warning from eclipse. The ScrollView layout or its parent LinearLayout is useless I need some type of layout at the top level and I need the scrollview as the content is bigger thatn the screen. Is there a better way to do this or is Eclipse whining about nothing?

[android-developers] Re: Edittext - can't type

2013-02-15 Thread Tamilarasi Sivaraj
hi aru you told you only used to emulator keypad for typing not used for your system keyboard right? On Friday, February 15, 2013 10:32:49 AM UTC+5:30, Sagar Rout wrote: I am a newbie in android developement. i am not able to entered or type in edittext using keyboard and whiledouble click

Re: [android-developers] Android Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-15 Thread tom_mai78101
Re-reading Android Reference, it said the UUID needs to be the same for both the server-side and the client-side. UUID.randomUUID() and BluetoothDevice.getUuids() are sure to fail. I hate it, but it looks like I need to set up to 7 constant (final) UUIDs without generating them at

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-02-15 Thread mbarbiero
Thanks Nikolay. The tests with .net confirm that BouncyCastle signature process is OK. I will try to sign SignedInfo -- -- 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] Sprite Batcher using OpenGL 2

2013-02-15 Thread reaktor24
Hi. I am reading the book by Mario Zechner and am on Chapter 8 which discusses Sprite Batching. It is relatively straight forward when dealing with OpenGL 1.1 but I am trying to write the code using shaders and OpenGL 2. I am quite confused though as the matrix needs to be updated for the

[android-developers] Testing In-App billing: Is a factory reset necessary?

2013-02-15 Thread Elton Almeida
You just need to add your current setted up device account to the account test list on google play developer console profile section. -- -- 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] Android draw circle onTouch

2013-02-15 Thread Numair Qadir
Greetings, I'm trying to draw a circle using onTouch event. What it should do is get the coordinates where screen is touched(ACTION_DOWN), and where touch is lift up(ACTION_UP). For drawing circles we have canvas.drawCircle(x,y,radius,paint); . Now radius should be equal to the area where

Re: [android-developers] Android Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-15 Thread Kristopher Micinski
Why is generating them and sticking them in your code bad? Why do you hate it? This is standard practice in many situations, so much that IDEs do it for you sometimes. Kris On Fri, Feb 15, 2013 at 5:28 AM, tom_mai78101 tom.mai78...@gmail.com wrote: Re-reading Android Reference, it said the

[android-developers] Re: Edittext - can't type

2013-02-15 Thread Sagar Rout
Yes i that is what i m trying to tell you and help me if you can Thanks On Friday, 15 February 2013 15:45:09 UTC+5:30, Tamilarasi Sivaraj wrote: hi aru you told you only used to emulator keypad for typing not used for your system keyboard right? On Friday, February 15, 2013 10:32:49 AM

[android-developers] Re: Edittext - can't type

2013-02-15 Thread Tamilarasi Sivaraj
Hi This is how I fixed it: 1. Eclipse Window menu AVD Manager 2. Select your virtual device and click Edit 3. Under Hardware, Click New 4. Select Keyboard Support then click OK 5. Edit its value to yes 6. Now you have to click off onto another item in the list, like

[android-developers] RPC:S-5:AEC-0 Error

2013-02-15 Thread Pwarp
Trying to implement IAP v3 Billing. Based on the TrivialDrive example. Got the error: RPC:S-5:AEC-0 Tried logging out of my google account, clearing google play cache/data, rebooting device, reinstalling APK, creating new IAP items, using 3 month existing IAP items. Tried switching between

[android-developers] Re: RPC:S-5:AEC-0 Error

2013-02-15 Thread Pwarp
Oh, I just upgraded to Android v4.2.2 I didn't notice this problem before with the Billing v2, but I never tested with Billing v3 Prior to the upgrade. On Friday, February 15, 2013 10:58:15 PM UTC+9, Pwarp wrote: Trying to implement IAP v3 Billing. Based on the TrivialDrive example. Got

[android-developers] Eclipse error: Destination folder must be accessible.

2013-02-15 Thread Cayce
I have a project folder inside the Workspace folder my workspace path is set to, but when I try and drag that project folder into my Eclipse Project Explorer panel I get the error, Destination folder must be accessible. I don't know what to give Eclipse in this case. Any suggestions? Thanks.

[android-developers] Multiple HTTP requests

2013-02-15 Thread Diego Nunes
Dear, good day. I have an application that makes several connections (5 for 5 seconds) to an Apache server with PHP. I'm using the POST method and HTTPClient in an AsyncTask. The problem is that I'm getting more ConnectionTimeoutException/SocketTimeoutException. My timeout is configured

[android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-15 Thread Brill Pappin
Hi Bob, This is all being run on real hardware (I never use the emulator for anything). On Thursday, February 14, 2013 3:46:37 PM UTC-5, bob wrote: Have you tried it on a real device or just the emulator? On Thursday, February 14, 2013 11:38:22 AM UTC-6, Brill Pappin wrote: I've been

[android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-15 Thread Brill Pappin
I have now verified this same error pops up on a Nexus 10 as well... so now we've got it happening on all three (Nexus 4, 7, 10), which is a pretty good indication that it's a problem in the MediaPlayer in Android 4.2.x. This really needs the attention of a google engineer. Apparently I'm not

[android-developers] Re: Android draw circle onTouch

2013-02-15 Thread Nobu Games
You also need to update the variables upx and upy in your ACTION_MOVE case block: case MotionEvent.ACTION_MOVE: * **upx = event.getX();* * upy = event.getY();* double temp = Math.pow((upx - downx), 2) + Math.pow((upy - downy), 2); float radius = (float) Math.sqrt(temp) / 2;

[android-developers] Re: odd warning from eclipse I am worried about

2013-02-15 Thread Nobu Games
Trust Eclipse (actually it is ADT whining about it). What you're doing is redundant and unnecessary, that's why you are getting this warning message. ScrollView is also a kind of layout and derived from FrameLayout. On Friday, February 15, 2013 3:29:11 AM UTC-6, Damien wrote: Hi All, I am

Re: [android-developers] Circular Menu

2013-02-15 Thread Satya Komatineni
Ravi, what you need is a custom view and some 2D graphics API details. Some of the material might be of some help Essential Custom View Code snippets http://satyakomatineni.com/item/4330 Also you will see here links for custom layouts research as well if you were to arrange buttons or images in

[android-developers] Re: Sprite Batcher using OpenGL 2

2013-02-15 Thread Nobu Games
The article actually talks about a minimum of 24 (according to the specification). But your problem is still there, there is a limit and you cannot go crazy with hundreds of sprites. I think you should find a way to split that task under the hood. Let your SpriteBatcher draw multiple batches

[android-developers] Re: odd warning from eclipse I am worried about

2013-02-15 Thread Lew
Nobu Games wrote: ... redundant and unnecessary... :-) -- Lew -- -- 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] Re: How do I sell apps from South Africa?

2013-02-15 Thread nyasha
Hi guys Whats the status on being able to sell your android apps from south africa? Have google added south africa to the list as yet? Opening a shelve company in the UK plus bank accounts etc seems to be a long process. regards On Tuesday, 6 November 2012 20:27:34 UTC+2, Craig Newton

[android-developers] Re: Eclipse error: Destination folder must be accessible.

2013-02-15 Thread Lew
Cayce wrote: I have a project folder inside the Workspace folder my workspace path is set to, but when I try and drag that project folder into my Eclipse Project Explorer panel I get the error, Destination folder must be accessible. I don't know what to give Eclipse in this case. Any

[android-developers] Re: Edittext - can't type

2013-02-15 Thread Lew
Tamilarasi Sivaraj wrote: This is how I fixed it: 1. Eclipse Window menu AVD Manager Or use android avd . 1. Select your virtual device and click Edit 2. Under Hardware, Click New 3. Select Keyboard Support then click OK 4. Edit its value to yes 5. Now you have to

[android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-15 Thread Brill Pappin
More clues: So it looks like the media player can't open the file. The file URL looks borked as well. I know the file exists and (I can see it in code and in DDMS). Here is the trace for it. Note that I'm not *positive* that the path its outputting is borked internally or just logging it, but

[android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-15 Thread Brill Pappin
More tests indicate that MediaPlayer can't open the file, even thought the file existence and location has been verified, both manually and in code. The key is from a Nexus 10 running Android 4.2.1 which outputs: 02-15 11:00:40.101: E/(127): Failed to open file

[android-developers] Re: Testing In-App billing: Is a factory reset necessary?

2013-02-15 Thread Jungle Jim
On Friday, February 15, 2013 7:10:12 AM UTC-6, Elton Almeida wrote: You just need to add your current setted up device account to the account test list on google play developer console profile section. Exactly. But the problem is, Google won't allow a publisher to buy his own stuff. It

[android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-15 Thread Nobu Games
The Stackoverflow thread mentions file permission problems. Is that file world readable? On Friday, February 15, 2013 10:03:35 AM UTC-6, Brill Pappin wrote: More tests indicate that MediaPlayer can't open the file, even thought the file existence and location has been verified, both manually

[android-developers] Re: Debugger to run Android Applications

2013-02-15 Thread JackN
That warning probably says the app is waiting for the debugger to attach... it is normal. I don't know about the rest of your issues.\ On Thursday, February 14, 2013 9:20:11 PM UTC-8, Sagar Rout wrote: while i run my program in android emulator there is a flash of warning of 1-2 second

Re: [android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-15 Thread Mahabaleshwara Adiga
Hi, Can you check your audio codec formats ? Some of the mp3 audio codecs will be differed.. So by default Media palyer could not play the some mp3 audio codecs. If you want to see different audio codecs, go to 'Mediaplayer codecs in android'. Use proper audio codecs and play smoothly.. On

Re: [android-developers] Testing In-App billing: Is a factory reset necessary?

2013-02-15 Thread Nikolay Elenkov
On Fri, Feb 15, 2013 at 3:02 PM, Jungle Jim jjjungle...@gmail.com wrote: I have two Android devices I can test with, but I don't want to do a factory reset on either one. Is there some way to do the proper testing without a factory reset? Thanks. Root one of the devices, take a full image

[android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-15 Thread Brill Pappin
Yes its readable. On Friday, February 15, 2013 11:14:34 AM UTC-5, Nobu Games wrote: The Stackoverflow thread mentions file permission problems. Is that file world readable? On Friday, February 15, 2013 10:03:35 AM UTC-6, Brill Pappin wrote: More tests indicate that MediaPlayer can't open

Re: [android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-15 Thread Brill Pappin
Its pretty basic. and works fine up until 4.2.1 (e.g. its working in 4.1.1). On Friday, February 15, 2013 11:17:39 AM UTC-5, Mahabaleshwara Adiga wrote: Hi, Can you check your audio codec formats ? Some of the mp3 audio codecs will be differed.. So by default Media palyer could not play

[android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-15 Thread Brill Pappin
So I've now tested many different ways to try and figure this out and I need to reset the code (as I've introduced some silly errors). That error is most definitely a path problem which I need to retest and make sure I didn't introduce with my own hacking :) I *do* know that what was working in

Re: [android-developers] Android Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-15 Thread tom_mai78101
Why is generating them and sticking them in your code bad? Why do you hate it? This is standard practice in many situations, so much that IDEs do it for you sometimes. I disliked having to generate them and stick them into my code, for fear of security. And I never recalled my IDE

[android-developers] Re: Sprite Batcher using OpenGL 2

2013-02-15 Thread bob
*Surely it should be easier under OpenGL 2 and not more complicated.* I don't think everyone would agree with that, including me. OpenGL 2 adds features, but it does not clearly simplify anything. On Friday, February 15, 2013 6:50:27 AM UTC-6, reaktor24 wrote: Hi. I am reading the book by

[android-developers] Re: Sprite Batcher using OpenGL 2

2013-02-15 Thread Nobu Games
You make little sense here. reaktor says that OpenGL ES 2 is more complicated. You contradict him by saying it does not clearly simplify anything. So basically you both are on the same page. OpenGL ES 2 does not just add features. It also takes them away. There is no transformation matrix

[android-developers] Re: Circular Menu

2013-02-15 Thread bob
Create something like this: https://lh3.googleusercontent.com/-mXs8lyorMps/UR52EDoAf3I/ANI/RJtZxRQxvfo/s1600/four5.png Then send it into polar coordinates like this: https://lh3.googleusercontent.com/-Do2t7iJLbAE/UR52I2D5YVI/ANQ/NvKrBns_NV8/s1600/fourpolar.png On

[android-developers] Re: Progarm unexpectdly error

2013-02-15 Thread bob
It is probably a null pointer exception because you are using an uninitialized widget. Make sure you call findViewById to initialize all widgets before use. On Thursday, February 14, 2013 11:58:55 PM UTC-6, Sagar Rout wrote: when i ranmy program there s a error and my program stopped

[android-developers] Re: View

2013-02-15 Thread bob
Yes. Or you can view it in the file R.java in the gen folder. That is an auto-genned file by some Android component. On Thursday, February 14, 2013 6:28:20 PM UTC-6, Lew wrote: Arun Kumar K wrote: I have doubt about layout.. You have a lot of dots, too. RelativeLayout

[android-developers] Here's how to use ADB Shell command to run HTC Sense on HTC devices.

2013-02-15 Thread tom_mai78101
ADB command below: adb shell am start -a android.intent.ACTION_MAIN -n com.htc.launcher/.Launcher -- -- 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

[android-developers] Debugging beta apps

2013-02-15 Thread njman
How do people test their beta apps - i.e. released to a few testers - getting back app crashed doesn't help. Can users send back a log file and/or stack trace. Also, I was planning to use asserts. is java assert recommended or the Assert class. I noticed that latter does not display a message on

[android-developers] Debugging beta apps

2013-02-15 Thread dashman
How do users debug their beta apps - once it's released to users. I'd like to get a better feedback than 'app crashed. Can users send back log files etc. I was thinking about using ASSERT. Is the java assert feature recommended or the Assert class. I noticed that the latter does not display a

Re: [android-developers] Android Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-15 Thread Kristopher Micinski
Bluetooth isn't really all that secure of a protocol... You have to instead implement that at the application layer. (Although you can read about Bluetooth encryption..) Generating UUIDs is standard practice used all over the place in more than Bluetooth: it's also used in many IDLs to identify

Re: [android-developers] Re: View

2013-02-15 Thread Kristopher Micinski
You should never actually use this number, only the constant... kris On Fri, Feb 15, 2013 at 1:01 PM, bob b...@coolfone.comze.com wrote: Yes. Or you can view it in the file R.java in the gen folder. That is an auto-genned file by some Android component. On Thursday, February 14, 2013

Re: [android-developers] Re: Android draw circle onTouch

2013-02-15 Thread Numair Qadir
Can you please help me how to do that?? I've also checked Finger Paint.java from Api Demos, but it didn't help me regarding circle drawing.. Thanks On Fri, Feb 15, 2013 at 7:52 PM, Nobu Games dev.nobu.ga...@gmail.comwrote: You also need to update the variables upx and upy in your ACTION_MOVE

[android-developers] Re: Debugging beta apps

2013-02-15 Thread bob
In the Google app Developer Control Panel, there's a link that says Errors sometimes. Then you can see how your app crashed for different users. On Friday, February 15, 2013 12:40:01 PM UTC-6, dashman wrote: How do users debug their beta apps - once it's released to users. I'd like to

[android-developers] Re: Catch network traffic?

2013-02-15 Thread Jonathan S
You can use https://play.google.com/store/apps/details?id=lv.n3o.sharkhl=en Also, Android Emulator has tcpdump capability too. On Thursday, February 14, 2013 12:07:38 PM UTC-5, BearTi wrote: Allright, thanks! Hmm but where can I get tcpdump? It´s in the store right? -- -- You received

[android-developers] Re: Catch network traffic?

2013-02-15 Thread Jonathan S
https://play.google.com/store/apps/details?id=lv.n3o.sharkhl=en On Wednesday, February 13, 2013 4:33:58 AM UTC-5, BearTi wrote: Hi, is it possble to catch all network traffic respectively to get all the network traffic that comes from a specific app? (My phone is rootet) Thanks -- --

[android-developers] Re: Debugging beta apps

2013-02-15 Thread bob
Here's an image illustrating the Errors link: https://lh3.googleusercontent.com/-LnU_E5pgHFA/UR6dQZSD4WI/ANk/kG9-Y94TzG0/s1600/androidglass.png On Friday, February 15, 2013 12:40:01 PM UTC-6, dashman wrote: How do users debug their beta apps - once it's released to users. I'd

[android-developers] Re: Progarm unexpectdly error

2013-02-15 Thread Lew
bob wrote: It is probably a null pointer exception because you are using an uninitialized widget. Are you clairvoyant? How were you able to discern that? Make sure you call findViewById to initialize all widgets before use. Sagar Rout wrote: when i ranmy program there s a error and

[android-developers] Re: Catch network traffic?

2013-02-15 Thread bob
Another option is to possibly run a Wifi router that just logs everything. On Friday, February 15, 2013 2:38:19 PM UTC-6, Jonathan S wrote: You can use https://play.google.com/store/apps/details?id=lv.n3o.sharkhl=en Also, Android Emulator has tcpdump capability too. On Thursday,

[android-developers] Re: Catch network traffic?

2013-02-15 Thread bob
Another option is to possibly run a Wifi router that just logs everything. On Friday, February 15, 2013 2:38:19 PM UTC-6, Jonathan S wrote: You can use https://play.google.com/store/apps/details?id=lv.n3o.sharkhl=en Also, Android Emulator has tcpdump capability too. On Thursday,

[android-developers] Re: Multiple HTTP requests

2013-02-15 Thread bob
Are you doing this on Wifi, 3G, or 4G? On Friday, February 15, 2013 8:36:26 AM UTC-6, Diego Nunes wrote: Dear, good day. I have an application that makes several connections (5 for 5 seconds) to an Apache server with PHP. I'm using the POST method and HTTPClient in an AsyncTask.

[android-developers] Google Play Licensing Testing Problem

2013-02-15 Thread g...@deanblakely.com
I think I have a catch-22 problem with Google Play Licensing. 1. My Android device account must be setup with a Gmail email address. I used deanblakelyu...@gmail.com. 2. I setup my Developer Console (DC) with my real email address ( g...@deanblakely.com) 3. My DC will only send test

Re: [android-developers] Google Play Licensing Testing Problem

2013-02-15 Thread Kostya Vasilyev
Have you tried entering deanblakelyu...@gmail.com into the Test accounts edit control above and pressing Save below? -- K 2013/2/16 g...@deanblakely.com g...@deanblakely.com I think I have a catch-22 problem with Google Play Licensing. 1. My Android device account must be setup with a Gmail

[android-developers] Re: odd warning from eclipse I am worried about

2013-02-15 Thread Damien Cooke
Thanks I appreciate your time. Damien On 16/02/2013, at 1:35 AM, Nobu Games dev.nobu.ga...@gmail.com wrote: Trust Eclipse (actually it is ADT whining about it). What you're doing is redundant and unnecessary, that's why you are getting this warning message. ScrollView is also a kind of

Re: [android-developers] Android Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-15 Thread tom lee
Thanks for the info. I have now fully grasped the usage of UUIDs in an app. -- -- 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

[android-developers] Adjust ActionBar Tabs Width

2013-02-15 Thread sree android
Hi see The above attachment. I implemented ActionBar tabs,But when i add more than 3 tabs it is going back of the screen.so i need to adjust width for each tab.How can i do it. actually i need to implement 5 tabs. Thank you in advance. -- -- You received this message because you are subscribed