[android-developers] Send and Receive Video files to Application Server

2012-08-11 Thread Muhammad Rashid
Hi all, I would like to say that in my android project I want to send a video file from SD Card to our Application Server and also Receive that Video file from Server. I need a most efficient solution and best practices to achieve this task. -- You received this message because you are

Re: [android-developers] Re: List of Available Wifi Devices

2012-08-11 Thread Meena Rengarajan
Thankyou so much . Yeah i got it very clearly On Sat, Aug 11, 2012 at 3:08 AM, bob b...@coolfone.comze.com wrote: startScan () returns immediately. The availability of the results is made known later by means of an asynchronous event sent on completion of the scan. So, you either need to

Re: [android-developers] Re: Alert Dialog Box

2012-08-11 Thread Meena Rengarajan
Thanku :) On Sat, Aug 11, 2012 at 3:38 AM, bob b...@coolfone.comze.com wrote: final WifiManager wifiManager = (WifiManager) this .getSystemService(Context.WIFI_SERVICE); AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setMessage(Enable Wifi?)

[android-developers] Re: Fixing the lack of the unit % and the lack of the unit em for a Layout for a View

2012-08-11 Thread RichardC
For % read about android:layout_weighthttp://developer.android.com/reference/android/widget/LinearLayout.LayoutParams.html#attr_android:layout_weight. For em read about sp. On Saturday, August 11, 2012 6:02:21 AM UTC+1, goodG wrote: I don't get the reason why but in Android this 2 units

[android-developers] [XML] Setting a View background based on theme attribute crash the app.

2012-08-11 Thread Sébastien Brochet
Dear Android experts, I'm trying to set a ListView background color based on the current theme attribute, but it crash every time the ListView is shown.It seems I'm doing something wrong but I can't see what... Here's what I'm doing: First, create the background color: resources color

[android-developers] Re: not able run 4.1 emulator?

2012-08-11 Thread Sneha Rathod
Oleg Vaskevich theolegv at gmail.com writes: Have same issue for my Android 4.0.3 emulator- All this happening after the update.: Starting emulator for AVD 'Test15' Failed to create Context 0x3005 emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. Failed to

[android-developers] Re: Nexus 7 not visible to adb over usb (WIndows 7 x64, up to date Jelly Bean sdk)

2012-08-11 Thread mkh
The driver there appears to be the same as the one in the android SDK. I installed it anyway, and the result is the same -- PS C:\Users\mkh\AppData\Local\Android\android-sdk\platform-tools $env:ADB_TRACE='all' PS C:\Users\mkh\AppData\Local\Android\android-sdk\platform-tools $env:ADB_TRACE all

[android-developers] Get SMS

2012-08-11 Thread Ehsan Sadeghi
I create an activity activity android:name=.GetResponse android:label=@string/title_activity_main android:launchMode=singleTask intent-filter action android:name=ir.smspeik.sms.getresponse / category

[android-developers] Android's InputMethodService does no get onKeyDown/Up if javascript is involved

2012-08-11 Thread Aleksandr Konstantinov
Hello, I am developing keyboard service to perform custom key mapping of hardware keyboard. So far it is just a slightly modified Android SoftKeyboard example. Code can be found at https://protronika.dyndns.org/websvn/listing.php?repname=FLEXKBDpath=%2Fsc=0 It works without problem in most

[android-developers] Re: How to dynamically change row layout of list view on click event

2012-08-11 Thread log4droid
There is no way that you do it with the adapters that already exist. You have to create your own. The adapter's getView method is responsible for creating and displaying every single row. Let's suppose that you need only two row layout to switch with. In that case the model used with the

[android-developers] getWaveForm() method of Visualizer class returns byte array with all -128

2012-08-11 Thread Ahmad Naqibul Arefin
Hi, When I call getWaveForm method of Visualizer class, most of time I get all -128 in byte array and sometimes I get different values in byte array (this is correct). I though it may be sound volume issue, but applied both high volume and low volume in code and got same result. My sample

[android-developers] Error: Unable to create application --app name--

2012-08-11 Thread amykaroline
Hello all, I received a stack trace with an error on Google Play... I have no idea where this could have come from. Any help/ideas would be greatly appreciated! Thank you in advance! java.lang.RuntimeException: Unable to create application --app name-- android.database.sqlite.SQLiteException:

[android-developers] Re: AccountManager wrong password or account changed error

2012-08-11 Thread Andrius Semionovas
I have same strange behavior. Your application is signed with DEBUG key? On Wednesday, 14 April 2010 19:15:50 UTC+3, exh wrote: I've been trying to work with the AccountManager and it's not going so well. I've read through the various discussions on it but nothing seems to cover what I've

[android-developers] Re: ListView sorting

2012-08-11 Thread Aparna Ks
i hop tis wil help you http://www.ezzylearning.com/tutorial.aspx?tid=6816874 http://www.josecgomez.com/2010/05/03/android-putting-custom-objects-in-listview/ On Friday, 10 August 2012 00:18:41 UTC+5:30, Wolfgang wrote: Hey guys, I'm using a ListView that displays a list of ChartInfo.

[android-developers] Hardware keyboard events are not intercepted by InputMethodService

2012-08-11 Thread AK
Hello all, I'm trying to develop keyboard service which performs customized keys mapping for hardware keyboard. My working target is Asus Transformer TF101 with ICS 4.0.3 and hardware keyboard aka dock. I have implement onKeyDown and onKeyUp methods of InputMethodService which catch all

[android-developers] Is Chrome in android simulator supported?

2012-08-11 Thread Aaron Labiaga
Is chrome in the android simulator supported? I've looked in other forums and no one seemed to have been successful in doing this. -- 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] Examples for Android with Eclipse

2012-08-11 Thread augusto
Where can I find examples for Android Programming, using Eclipse? I have tried to install the Samples of the SDK, but it doesnt work TIA, Augusto -- 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] Non sticky service gets recreated (indefinetly?)

2012-08-11 Thread Dianne Hackborn
Sorry yes I meant if it *is* sticky. On Fri, Aug 10, 2012 at 12:08 PM, Kostya Vasilyev kmans...@gmail.comwrote: 2012/8/10 Dianne Hackborn hack...@android.com As long as the service is in the started state, the system will try to keep it created/started, and if the process is killed then it

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-11 Thread Dianne Hackborn
Unless the service has something bound to it or it is started, it will not be re-created. You can look at the service state with adb shell dumpsys activity services or adb shell dumpsys activity service package_name or service_name. If your service is listed there, it will show you what its

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-11 Thread Dianne Hackborn
Also, if the service is not showing up as a running service in manage apps, then that should mean that it is not started, so it it is created that is because something has bound to it. You can see what is bound to it with those shell commands. If it is not started, the only reason it would be

Re: [android-developers] Examples for Android with Eclipse

2012-08-11 Thread Justin Anderson
Care to explain what doesn't work means? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 10, 2012 at 9:35 AM, augusto amerc...@gmail.com wrote: Where can I find examples for Android Programming, using Eclipse? I have tried to install the

Re: [android-developers] getWaveForm() method of Visualizer class returns byte array with all -128

2012-08-11 Thread Harri Smått
On Aug 11, 2012, at 5:36 PM, Ahmad Naqibul Arefin arefin.s...@gmail.com wrote: Any idea? Since you're using URL playback, I'm wondering does polling (getWaveForm) work as you're expecting in your code. Have you checked how it worked if you used DataCaptureListener instead? -- H -- You

[android-developers] Canvas or OpenGL

2012-08-11 Thread Simon Giddings
I am going to start the development of a Music document app. In the past, when I developed under widows, I used world coordinates and screen coordinates to provide scaling/zooming. I am unclear as to weather I should go to OpenGL under Android, or if I could still use Canvas. Can anyone advise

[android-developers] How to remove black topbar on activity animation?

2012-08-11 Thread user123
I defined a scale animation from 0 to 1 for entering activity: overridePendingTransition(R.anim.scale, 0); In application tag in Manifest: android:theme=@android:style/Theme.NoTitleBar But I get a black topbar on the entering activity, while it scales... looks very ugly since the

[android-developers] Re: java.lang.IllegalStateException: Fragement no longer exists for key f1: index 3

2012-08-11 Thread user123
Well, for now I surrounded pager.setAdapter(adapter); with a try - catch. Happens mostly when the screen is not visible anymore, so it's not critical. But it still would be good to understand it and be able to fix correctly. I was reading the source and as far as I remember, it was related

[android-developers] Re: java.lang.IllegalStateException: Fragement no longer exists for key f1: index 3

2012-08-11 Thread user123
Well, for now I surrounded pager.setAdapter(adapter); with a try - catch. Happens mostly when the screen is not visible anymore, so it's not critical. But it still would be good to understand it and be able to fix correctly. I was reading the source and as far as I remember, it was related

[android-developers] Re: How to remove black topbar on activity animation?

2012-08-11 Thread user123
If it's of interest for somebody, here is the xml of the animation: scale xmlns:android=http://schemas.android.com/apk/res/android; android:duration=1000 android:fromXScale=0 android:fromYScale=0 android:pivotX=50% android:pivotY=50% android:toXScale=1

Re: [android-developers] Get SMS

2012-08-11 Thread Fred Niggle
A good effort. Now you need to look into debugging to solve your problem. On 11 August 2012 17:47, Ehsan Sadeghi esade...@gmail.com wrote: I create an activity activity android:name=.GetResponse android:label=@string/title_activity_main

Re: [android-developers] Canvas or OpenGL

2012-08-11 Thread James Black
Without more detail of what you want to do an answer is difficult. Do you need a fast refresh rate for example? One music program I wrote had to turn notes on and off at the correct millisecond, under windows; that accuracy won't work on mobile devices. If you just want to show notes either

[android-developers] Re: All Android in app subscriptions were mysteriously automatically canceled

2012-08-11 Thread fibercode
Trevor, Everything looks to be back to normal now. Thank you very much for your cooperation! This issue can be considered resolved now. On Friday, 10 August 2012 16:22:07 UTC-4, Trevor Johns wrote: fibercode, Can you let me know if you're still seeing this? I just confirmed with our

[android-developers] ICS USB Host mode -- device permission exists after uninstall

2012-08-11 Thread IcedNet
Acer Iconia A500 and Acer Iconia A500 Android 4.0.3 (Lord knows what custom joy layered over that) I can uninstall (via ADB or the Apps settings) and install the app again, the app will show permission is already granted for all connected devices (that are part of the app's scope)... Here's

[android-developers] Re: ICS USB Host mode -- device permission exists after uninstall

2012-08-11 Thread IcedNet
Sorry, meant to say A500 and A200 lol -- 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

Re: [android-developers] Unsubscribe

2012-08-11 Thread Andy dev
Dianne, did you have any luck with that sample APK and reproducing the issue? Thanks On Friday, July 27, 2012 12:47:17 PM UTC+1, Kostya Vasilyev wrote: 2012/7/27 Jim Graham spook...@gmail.com javascript: On Thu, Jul 26, 2012 at 10:35:18PM -0700, Andy dev wrote: Anyone made any progress

[android-developers] Third-parties libraries license

2012-08-11 Thread Sergio Panico
Hi all, just a legal question. Anyone know what is the best practice to avoid legal issue in using third party libraries? For my understanding, the app should foresee a section (usually the about or information screens) where all the 3rd parties library and/or trademarks are attributed to

Re: [android-developers] Third-parties libraries license

2012-08-11 Thread Jim Graham
On Sat, Aug 11, 2012 at 04:07:49PM -0700, Sergio Panico wrote: just a legal question. Then you need to ask a lawyer. Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4) | Tux (E Cat): DS B+Wd Y 6 Y L+++ W+ C++/C++ I+++ spooky1...@gmail.com | T++ A E H+ S V- F++

[android-developers] Po

2012-08-11 Thread El
Please excuse my typos... -- 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

Re: [android-developers] Canvas or OpenGL

2012-08-11 Thread bob
On Saturday, August 11, 2012 4:50:21 PM UTC-5, James Black wrote: Without more detail of what you want to do an answer is difficult. Do you need a fast refresh rate for example? One music program I wrote had to turn notes on and off at the correct millisecond, under windows; that

[android-developers] How to Handle the Duak Sim Settings

2012-08-11 Thread raja shekar
i want to change the Network Mode for Both SIM in Phone. How can i handle this ? is there any API is Available for this featutes? Please suggest ..thanks in Advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Canvas or OpenGL

2012-08-11 Thread Dianne Hackborn
On Sat, Aug 11, 2012 at 2:50 PM, James Black planiturth...@gmail.comwrote: Do you need a fast refresh rate for example? One music program I wrote had to turn notes on and off at the correct millisecond, under windows; that accuracy won't work on mobile devices. You can do 60fps drawing with

Re: [android-developers] Hardware keyboard events are not intercepted by InputMethodService

2012-08-11 Thread Dianne Hackborn
Is this only in Firefox, or also in the built-in browser app? The app always does get first crack at input events, so it is possible for a broken application to do this kind of thing. (This facility is intended for things like capturing back to dismiss a pop-up instead of closing the IME.) On

Re: [android-developers] Is Chrome in android simulator supported?

2012-08-11 Thread Dianne Hackborn
The simulator is pretty dead. If something works in it, you are just lucky. :} I very much doubt chrome will work in it. On Wed, Aug 8, 2012 at 1:38 PM, Aaron Labiaga alabi...@google.com wrote: Is chrome in the android simulator supported? I've looked in other forums and no one seemed to

Re: [android-developers] ICS USB Host mode -- device permission exists after uninstall

2012-08-11 Thread Kristopher Micinski
perhaps also, android-security-discuss. kris On Sat, Aug 11, 2012 at 6:46 PM, IcedNet d...@icednet.info wrote: Acer Iconia A500 and Acer Iconia A500 Android 4.0.3 (Lord knows what custom joy layered over that) I can uninstall (via ADB or the Apps settings) and install the app again, the