[android-developers] Android HTML5 WebView Video cannot pause the View and return back

2012-04-29 Thread IndianDragon
I followed the guide below to play HTML5 video in Android Webview, http://life-optimized.blogspot.in/2012/03/android-play-html5-youtube-videos.html According to that code, playing videos works fine but when the video is paused and if we move to home screen or we use any other application and if

[android-developers] About Default debug.keystore

2012-04-29 Thread Soyer
Hello everybody, I recently moved .android folder from C drive to D drive, and now eclipe is taking the default debug.keystore in D:/ so when i go to run it first i cant see the old AVDs and when i create a new one and press run , i get this error C:\Users\USER\.android/avd/Avd1.ini i googled

Re: [android-developers] Reading ROM version through code

2012-04-29 Thread JP
I tried using this code: TextView arch = (TextView)findViewById(R.id.arch); TextView name = (TextView)findViewById(R.id.name); TextView version = (TextView)findViewById(R.id.version); TextView roversion = (TextView)findViewById(R.id.roversion); TextView rofingerprint =

Re: [android-developers] play sound file

2012-04-29 Thread Jonas Petersson
On 2012-04-28 17:51, Mai Al-Ammar wrote: I install the new program every time but it still the old file. This my be related to what I have noted: Apparently there is some kind of optimization going on when deploying iteratively from Eclipse - adding files will work as expected, but removing

[android-developers] Bluetooth devices is pairing but not connecting

2012-04-29 Thread hüseyin toplu
E/BluetoothChatService( 8403): Hata E/BluetoothChatService( 8403): java.io.IOException: Connection refused E/BluetoothChatService( 8403): at android.bluetooth.BluetoothSocket.connectNative(Native Method) E/BluetoothChatService( 8403): at

[android-developers] Bluetooth devices is pairing but not connecting

2012-04-29 Thread hüseyin toplu
E/BluetoothChatService( 8403): Hata E/BluetoothChatService( 8403): java.io.IOException: Connection refused E/BluetoothChatService( 8403): at android.bluetooth.BluetoothSocket.connectNative(Native Method) E/BluetoothChatService( 8403): at

[android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-29 Thread hüseyin toplu
nobody is not know anything about that :S -- 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 to change default HIPRI connection expiry?

2012-04-29 Thread Med Chakib
Hello, I have tried your method to use 3G and WIFI simultaneously, however data is still routed through WIFI even though HIPRI connection is successfully initiated and traffic to ipAddress is routed through it. connMan = (ConnectivityManager)

[android-developers] how to detect difference between 5 and 7 inch screen

2012-04-29 Thread Faust Nijhuis
Hello all, How can i detect the difference between 5 and 7 inch screen. Sinds 5.3 (Galaxy note) and 7 inch screen are both large screens and we can only use layout, layout-large and layout-xlarge. Faust -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] how to detect difference between 5 and 7 inch screen

2012-04-29 Thread Mark Murphy
On Sun, Apr 29, 2012 at 11:11 AM, Faust Nijhuis faustnijh...@gmail.com wrote: How can i detect the difference between 5 and 7 inch screen. Sinds 5.3 (Galaxy note) and 7 inch screen are both large screens and we can only use layout, layout-large and layout-xlarge. On Android 3.2 and higher, you

[android-developers] Using SIP for IP Telephony over wifi

2012-04-29 Thread ikimatsu noob
Hello. I'm hoping you could help me with two questions. I took a look at SIPDroid and saw that a person had to register, make an account before communicating over the app. My question is, is it possible to make a videocall, via wifi, just like SIPDroid, but without having to make an account,

[android-developers] Re: Google I/O device in reboot loop.

2012-04-29 Thread Streets Of Boston
The same happened to mine. I was hoping a firmware update by me would fix it. However, the GoogleIO version of the tablet seemed to have a different boot-loader than the standard ones. I contacted Samsung and they told me the only way to flash it with a proper firmware and fix it was to send it

[android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-29 Thread hüseyin toplu
nobody is not know anything about that :S -- 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] Strange force close on Froyo phone, works fine on ICS tablet

2012-04-29 Thread Jim Graham
The following code (which works fine earlier in the app on both devices) causes a force close (logcat below) on my Froyo phone (Motorola Bravo MB520), and works fine on my ICS tablet (Acer Iconia A500): --- CUT HERE --- Canvas canvas = new

Re: [android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-29 Thread Kristopher Micinski
Chill out, you posted this four hours ago, and expect people to get back to you within a few hours on a free list? If you want that kind of responsiveness you'll need to hire a consultant :-)... You show the client code, but I didn't see the server code. Most likely you're doing something like

[android-developers] Re: Google I/O device in reboot loop.

2012-04-29 Thread Nathan
On Sunday, April 29, 2012 8:58:39 AM UTC-7, Streets Of Boston wrote: The same happened to mine. I was hoping a firmware update by me would fix it. However, the GoogleIO version of the tablet seemed to have a different boot-loader than the standard ones. I contacted Samsung and they told

Re: [android-developers] how to detect difference between 5 and 7 inch screen

2012-04-29 Thread Faust Nijhuis
The strange thing is that a 5.3 inch and a 10 inch screen with the same screen density (800x1250) have a compete different view of the layout. I have a layout with a lot of 77x160dp icons. On the 5.3 inch screen is see 2.5 icons and on the 10 inch screen i see 5 icons next to each other

[android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-29 Thread hüseyin toplu
i dont need to server code because i wanna just connect and then send a file to a bluetooth device -- 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

Re: [android-developers] how to detect difference between 5 and 7 inch screen

2012-04-29 Thread Mark Murphy
On Sun, Apr 29, 2012 at 2:10 PM, Faust Nijhuis faustnijh...@gmail.com wrote: The strange thing is that a 5.3 inch and a 10 inch screen  with the same screen density (800x1250) Those are not the same density. They are the same *resolution*. Density is resolution divided by size. I have a

[android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-29 Thread Jonathan S
java.lang.NoSuchFieldError: android.graphics.PorterDuff$Mode.ADD it is telling Mode.ADD is not exists in 2.2 On Sunday, April 29, 2012 12:45:34 PM UTC-4, Spooky wrote: The following code (which works fine earlier in the app on both devices) causes a force close (logcat below) on my Froyo

Re: [android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-29 Thread Jim Graham
On Sun, Apr 29, 2012 at 12:04:01PM -0700, Jonathan S wrote: java.lang.NoSuchFieldError: android.graphics.PorterDuff$Mode.ADD it is telling Mode.ADD is not exists in 2.2 Hm, according to the developers guide, it's existed since API Level 1 2.2 is API Level 8 Yeah, it exists in

Re: [android-developers] Reading ROM version through code

2012-04-29 Thread JP
Hey guys... This code works... although I'm not that keen on it, since it is definitely not part of the jars available. But it works: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);

[android-developers] Forced Close for Googles Notepad Exercise 2

2012-04-29 Thread Marcus Maximus
Hey guys, i am doing that http://developer.android.com/resources/tutorials/notepad/notepad-ex2.html. But when I want to run it on Android 2.2 emulator I get an error: Here is the log file: 04-29 19:58:24.561: I/Process(336): Sending signal. PID: 336 SIG: 9 04-29 19:58:28.651:

[android-developers] Import Project form excisting source

2012-04-29 Thread Marcus Maximus
Hey guys, I want to import the soultion Projects from that source: developer.android.com/resources/tutorials/notepad/codelab/ NotepadCodeLab.zip into my eclipse. So I am doing: File- New- Android Project and then create project from existing source and then I just pick the for example notepads2

[android-developers] Preserving Compound Control View State Across Configuration Changes

2012-04-29 Thread Casvah
I have a compound control containing an AutoCompleteTextView, a CheckBox, and an ImageButton. The layout is inflated from xml. The control is added added at runtime to a linearlayout when a user clicks an 'Add' button. I need to preserve the values of the textview and the checkbox across

[android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-29 Thread Jim Graham
I was wrong about one point here, so this post is to correct that error. Sorry. But now, the plot thickens (maybe) On Sun, Apr 29, 2012 at 11:45:34AM -0500, Jim Graham wrote: The following code (which works fine earlier in the app on both devices) I was WRONG about this point! It does NOT

[android-developers] Re: Android application StartUp Internals

2012-04-29 Thread Mansoor
Thanks Nadeem I Understood. When i checked setContentView() API i found that a new instance of Window is getting created so if there is already a default window then why new instance of window getting created on call this method? Regards Mansoor V.M -- You received this message because you

[android-developers] How to force quit a Thread

2012-04-29 Thread Matt Clark
I am creating an app that sends various HTTP requests in seperate threads, while doing so brings up a loading screen. If the network request is taking longer then the user expects, I want them to be able to press the back button to force quit the thread, and dismiss the loading screen. I have

Re: [android-developers] How to force quit a Thread

2012-04-29 Thread Ankita Kashyap
stop(),destroy() etc. methods were deprecated by JDK versions, so must have not got support now. To stop thread, you should try to use flags, AFAIK. On Mon, Apr 30, 2012 at 9:34 AM, Matt Clark mrclark32...@gmail.com wrote: I am creating an app that sends various HTTP requests in seperate

Re: [android-developers] How to force quit a Thread

2012-04-29 Thread Kristopher Micinski
That's right, use the flags and catch the interrupted exception.. don't use stop(). This is a huge antipattern.. kris On Mon, Apr 30, 2012 at 12:09 AM, Ankita Kashyap ankita.kashyap@gmail.com wrote: stop(),destroy() etc. methods were deprecated by JDK versions, so must have not got

Re: [android-developers] How to force quit a Thread

2012-04-29 Thread Matt Clark
What do you mean use flags? The app hangs on lines that wait for an HTTP response, so i want to be able to just cut them off mid execution if I have to, i cant call check statements before and after. Sorry, I do not know a whole lot about Threading. On Monday, April 30, 2012 12:09:25 AM UTC-4,

Re: [android-developers] How to force quit a Thread

2012-04-29 Thread Kristopher Micinski
read this: http://docs.oracle.com/javase/1.5.0/docs/guide/misc/threadPrimitiveDeprecation.html On Mon, Apr 30, 2012 at 12:33 AM, Matt Clark mrclark32...@gmail.com wrote: What do you mean use flags? The app hangs on lines that wait for an HTTP response, so i want to be able to just cut them

Re: [android-developers] play sound file

2012-04-29 Thread asheesh arya
try to install apk accurately in your mobile device then test it -- 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