Re: [android-developers] Re: Google Map not showing
When i am generating api key it is generating 39 characters key, AIzaSyDvC0EKylvJ3vnDF3pBzVxOhcweF_V_Urs not generating 40 characters On Tue, May 7, 2013 at 11:27 AM, surabhi jain surabhi17.j...@gmail.comwrote: I have run my app on device but it is not displaying map, again it is displaying grid. is there any jar file or other thing to import? On Tue, May 7, 2013 at 12:11 AM, lbendlin l...@bendlin.us wrote: In addition, V2 maps do not (easily) work on an emulator. You would need an actual device with Play Services installed. On Monday, May 6, 2013 2:40:02 PM UTC-4, lbendlin wrote: The Google Maps Android API v2 uses a new system of managing keys. Existing keys from a Google Maps Android v1 application, commonly known as MapView, will not work with the v2 API. On Monday, May 6, 2013 1:09:53 PM UTC-4, surabhi jain wrote: Hi all, I am using Android Google Map V2.I have created api key with the help of below command keytool -list -v -alias androiddebugkey -keystore C:\Users\android\.android\**debug.keystore -storepass android -keypass android After generating api key,when I run my application on emulator it display grid. Map is not displaying. Thanks Surabhi Jain -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] View Image ,pdf and other file in webView
Hi, How can i view PDF,Image and other file in webview by click on them webview contain an third party web site Tx RK -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: How to redesign this basic page to be a little more??
http://developer.android.com/guide/topics/ui/layout/listview.html On Monday, May 6, 2013 8:31:59 PM UTC+3, Dan Cha wrote: Piren, thats what im looking for, is how to take the results and feed them into a gridview so i can then allow the user to sort, page and do on if thats possible. On Sun, May 5, 2013 at 2:01 AM, Piren gpi...@gmail.com javascript:wrote: Instead of building a string out of the results, just use them to feed a ListView or a GridView. On Sunday, May 5, 2013 7:42:50 AM UTC+3, Dan Cha wrote: Right now i have a very simple page, that has a ScrollView with a TextView within it to display results that are returned by my webservice. I have all the code posted here in another Thread for another issue: https://groups.google.com/**forum/?hl=enfromgroups#!** topic/android-developers/**ubmVCCW8nZIhttps://groups.google.com/forum/?hl=enfromgroups#!topic/android-developers/ubmVCCW8nZI I can post here, but figured for now ill just link to it. Anyway, the returned results from the webservice are within a SoapObject response = (SoapObject)envelope.bodyIn; Then i loop thru and build a StringBuilder with the results to make it readable. But that is not very nice, so id like to know what route to take in order to populate say maybe a grid or something to have it little easier to read and manage , maybe allowing for paging so that they arent scrolling forever once alot of records are in the database. thanks, -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] How to forbid mouse/pointer, only use DPAD to navigate for TV UI (Android4.0.4)?
I developed an application for TV. But when I open it, there is always a mouse pointer on screen. I only want to navigate by remoter DPAD. So how to prevent mouse pointer to show? I notice some applications don't show pointer, but I don't how to do. I am grateful for any help. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Switching between GLES2.0 and native Canvas rendering on the fly works in 2.3.6 but no in 4.2.2
I'm sorry to have to post it again, but once more: 1. *There is no drawing with GLES and Canvas at the same time* 2. Codewise *both rendering engines unlock everything on the surface before switching* (EGL frees display, Canvas unlocksposts) 3. This *works on previous Android version* and the *switch from GLES to Canvas works on all versions* 4. I presume there is a bug in the codebase which doesn't unlock everything if unlockpost is called with Canvas Am Freitag, 26. April 2013 19:48:29 UTC+2 schrieb Romain Guy (Google): This is not a supported use case. You can either draw with OpenGL ES 2.0 or Cavnas, but not both at the same time. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Android Audio Live streaming
Dear All Developers, I am looking for some android code which can let me stream a audio in live between two android mobiles. Please help.. -- Thanks Regards Deepa M -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] If I set minSdkVersion as 8, but want to specify some methods for SdkVersion=15
The usual way to achieve that is to take advantage of the fact that Java won't load a class until it's first needed. Wrap up code that calls API functions that might not always be there (the getSupportedVideoSizes() call in your example) in a class which only gets instantiated if deviceLevel = 11. On top of that, you'll need to build against a version = 11 (in Eclipse, set your Project Build Target to = 11) so that your new wrapper class doesn't give you compile errors. On Tue, May 7, 2013 at 2:09 AM, Linda Li codingpotatoli...@gmail.comwrote: How can I do that? I want to develop an Android application even for android devices with a lower version, while I do not want to sacrifice some available functions in higher versions. In the AndroidManifest.xml file: uses-sdk android:minSdkVersion=8 android:targetSdkVersion=17 / I get the android level of the current device: deviceLevel = android.os.Build.VERSION.SDK_INT; Then I will use if statements to specify different code for different versions. if (deviceLevel = 11) { ListCamera.Size videoSizes = parameters .getSupportedVideoSizes(); .. } else { .. } However, Eclipse indicates there exists errors. getSupportedVideoSizes is not availabe for version = 8; I think I need to suppress the error at this situation. How to do that? -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Android Audio Live streaming
http://developer.android.com/guide/topics/connectivity/sip.html On Tuesday, May 7, 2013 11:56:55 AM UTC+3, Deepa M wrote: Dear All Developers, I am looking for some android code which can let me stream a audio in live between two android mobiles. Please help.. -- Thanks Regards Deepa M -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Need help with background loading
Hi! In my app, I have a loader that calls a webservice and gets a result from it. Based on that result being positive, it would show an alertdialog to tell the user there is an update available for some files (that are parts of my app). Problem is : I'd like to start that loader on app launch, and deliver the alertdialog anywhere in the app, whatever activity the user is in. I searched for a solution. Thought about putting the loader work in the Application class, but really not sure it's a viable solution. TL;DR : Do you have any idea how to do background process on app launch, that would delivers an alertdialog independently of the activity user's in? -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Need help with background loading
Launch it from where ever you want (better though to use the launcher activity) then on the onPostExecute launch an activity that just shows a dialog (or is a dialog). You can style the activity to either appear as dialog or just have it transparent (transparent background) and use regular dialog. On Tuesday, May 7, 2013 2:56:09 PM UTC+3, MathieuB wrote: Hi! In my app, I have a loader that calls a webservice and gets a result from it. Based on that result being positive, it would show an alertdialog to tell the user there is an update available for some files (that are parts of my app). Problem is : I'd like to start that loader on app launch, and deliver the alertdialog anywhere in the app, whatever activity the user is in. I searched for a solution. Thought about putting the loader work in the Application class, but really not sure it's a viable solution. TL;DR : Do you have any idea how to do background process on app launch, that would delivers an alertdialog independently of the activity user's in? -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Getting webview content
Hi all , how can we get the webview contents urgent pls help thanks -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Need help with background loading
Thanks for the reply! That works, indeed, but what I really wanted to achieve was to show the alertDialog even if the user is not in the launcher activity anymore. For example : In home activity (Activity A), I start the loader. The onLoadFinished is not yet called and the user goes in another activity (Activity B). When the loader from Activity A finishes, the alertDialog would show in Activity B because that's where the user is now. Is that possible? -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: How to redesign this basic page to be a little more??
Thanks, i will have a look at that tonight when i get home in front of my pc. On Tue, May 7, 2013 at 2:03 AM, Piren gpi...@gmail.com wrote: http://developer.android.com/guide/topics/ui/layout/listview.html On Monday, May 6, 2013 8:31:59 PM UTC+3, Dan Cha wrote: Piren, thats what im looking for, is how to take the results and feed them into a gridview so i can then allow the user to sort, page and do on if thats possible. On Sun, May 5, 2013 at 2:01 AM, Piren gpi...@gmail.com wrote: Instead of building a string out of the results, just use them to feed a ListView or a GridView. On Sunday, May 5, 2013 7:42:50 AM UTC+3, Dan Cha wrote: Right now i have a very simple page, that has a ScrollView with a TextView within it to display results that are returned by my webservice. I have all the code posted here in another Thread for another issue: https://groups.google.com/**foru**m/?hl=enfromgroups#!**topic/** android-developers/**ubmVCCW8nZIhttps://groups.google.com/forum/?hl=enfromgroups#!topic/android-developers/ubmVCCW8nZI I can post here, but figured for now ill just link to it. Anyway, the returned results from the webservice are within a SoapObject response = (SoapObject)envelope.bodyIn; Then i loop thru and build a StringBuilder with the results to make it readable. But that is not very nice, so id like to know what route to take in order to populate say maybe a grid or something to have it little easier to read and manage , maybe allowing for paging so that they arent scrolling forever once alot of records are in the database. thanks, -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+**unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: How to do the slicing effect as in fruit ninja when user touches the screen?
Cocos2d-x, basically the same but C++ instead of Objective C. But you'll need to use Android NDK besides SDK. Marina On Tue, May 7, 2013 at 2:52 AM, mait...@rossitek.com wrote: Hi, thanks for the reply. I have seen this library but still it is for iOS, I want to do it for Android. Any idea how do i do it? any similar library for android available? On Monday, May 6, 2013 9:26:05 PM UTC+5:30, bob wrote: Maybe look at this? http://www.iossourcecode.com/**2012/06/23/how-to-make-a-game-** like-fruit-ninja-with-box2d-**and-cocos2d-part-3/http://www.iossourcecode.com/2012/06/23/how-to-make-a-game-like-fruit-ninja-with-box2d-and-cocos2d-part-3/ -- -- -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Need help with background loading
I'm not sure you fully understand what my solution is... Instead of figuring out ways how to get Activity B (or any of your other existing activities) to show the dialog (it can be done of course) i'm suggesting instead to show it in a whole new activity, Activity C. The idea behind is it that if you have 10 activities, you can either add code in all 10 of them to make it work (which is a hassle and kinda stupid :-P ), or just add one activity with the purpose of showing the dialog... that means it doesn't matter what activity the user is currently in. If you're hell bent on doing it the hard way, you can implement the Observer pattern and add listeners to all the activities that need to display that dialog. Also don't forget to add code to show the dialog in case the loader finished before there was an active listener and don't forget to synchronize the Register function to prevent it from dispatching while you're changing the listeners. On Tuesday, May 7, 2013 4:52:38 PM UTC+3, MathieuB wrote: Thanks for the reply! That works, indeed, but what I really wanted to achieve was to show the alertDialog even if the user is not in the launcher activity anymore. For example : In home activity (Activity A), I start the loader. The onLoadFinished is not yet called and the user goes in another activity (Activity B). When the loader from Activity A finishes, the alertDialog would show in Activity B because that's where the user is now. Is that possible? -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Getting webview content
http://lmgtfy.com/?q=android+get+webview+html On Tuesday, May 7, 2013 4:04:04 PM UTC+3, ANKUR1486 wrote: Hi all , how can we get the webview contents urgent pls help thanks -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Switching between GLES2.0 and native Canvas rendering on the fly works in 2.3.6 but no in 4.2.2
1. There is no drawing with GLES and Canvas at the same time I understand but that is not supported. Once you've rendered in a Surface with OpenGL it cannot be used with Canvas. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Need help with background loading
We misunderstood! I understood your solution and used it. I launch an activity as a dialog on onLoadFinished. But the loader is initialized in my main activity. So if I goes to another Activity (eg Activity B), and the onLoadFinished is not called yet, then the dialog will not appear because the loader was not finished. Well, that's what my tests show. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Google Map not showing
39 characters is correct. However you do NOT want to post your API key in public. You really will want to read the documentation. https://developers.google.com/maps/documentation/android/start On Tuesday, May 7, 2013 2:01:37 AM UTC-4, surabhi jain wrote: When i am generating api key it is generating 39 characters key, AIzaSyDvC0EKylvJ3vnDF3pBzVxOhcweF_V_Urs not generating 40 characters On Tue, May 7, 2013 at 11:27 AM, surabhi jain surabhi...@gmail.comjavascript: wrote: I have run my app on device but it is not displaying map, again it is displaying grid. is there any jar file or other thing to import? On Tue, May 7, 2013 at 12:11 AM, lbendlin lu...@bendlin.us javascript: wrote: In addition, V2 maps do not (easily) work on an emulator. You would need an actual device with Play Services installed. On Monday, May 6, 2013 2:40:02 PM UTC-4, lbendlin wrote: The Google Maps Android API v2 uses a new system of managing keys. Existing keys from a Google Maps Android v1 application, commonly known as MapView, will not work with the v2 API. On Monday, May 6, 2013 1:09:53 PM UTC-4, surabhi jain wrote: Hi all, I am using Android Google Map V2.I have created api key with the help of below command keytool -list -v -alias androiddebugkey -keystore C:\Users\android\.android\**debug.keystore -storepass android -keypass android After generating api key,when I run my application on emulator it display grid. Map is not displaying. Thanks Surabhi Jain -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.comjavascript: . For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Getting webview content
Maybe just create an HttpURLConnection to the URL? There's an example here: *http://developer.android.com/reference/java/net/HttpURLConnection.html* It says: * URL url = new URL(http://www.android.com/;);* * HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();* * try {* * InputStream in = new BufferedInputStream(urlConnection.getInputStream());* * readStream(in);* *finally {* * urlConnection.disconnect();* * }* * }* Thanks. On Tuesday, May 7, 2013 8:04:04 AM UTC-5, ANKUR1486 wrote: Hi all , how can we get the webview contents urgent pls help thanks -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] video background
I have an Activity that is basically a form, and I would like to use a video background. It would probably be about a 2 megabyte MP4 file. The easiest way for me to plug it into the existing code would probably be if there existed a subclass of Drawable called VideoDrawable, but it does not seem to exist. Anyone know a decent way to do this? Thanks. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Switching between GLES2.0 and native Canvas rendering on the fly works in 2.3.6 but no in 4.2.2
But GLES to Canvas works fine on all versions, it's the other way around? Thx for the answers if you really meant Canvas to GLES. That's a shame though, because as far as I know you can switch the GLES.EGL contexts on a single display (here: Surface) without any problems, provided these are unlocked carefully. On Tuesday, May 7, 2013 5:32:18 PM UTC+2, Romain Guy (Google) wrote: 1. There is no drawing with GLES and Canvas at the same time I understand but that is not supported. Once you've rendered in a Surface with OpenGL it cannot be used with Canvas. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Exported receiver does not require permission - what should I do with BOOT receivers
Exactly - I consider it perfectly fine to request a permission for _receiving_ - and I do exactly this : uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / But I have no permission attribute in the manifest - so the relevant quote from the docshttp://developer.android.com/guide/topics/manifest/receiver-element.html#prmsn: The name of a permission *that broadcasters** *must have to send a message to the broadcast receiver. If this attribute is not set, *the permission set by the application element's permission attribute applies to the broadcast receiver.* Does not really apply. So it is strange that no warning is issued Quick tests (as in I just changed the Manifest - did not uninstall reinstall) suggest that android:exported=false does not make a difference - adding android:exported=false does not prevent the system from calling my receiver (Froyo) * Quick* tests BTW - there is a bug with android.permission.RECEIVE_BOOT_COMPLETED - still NEW http://code.google.com/p/android/issues/detail?id=14044 On Monday, May 6, 2013 1:26:26 AM UTC+3, Piren wrote: Why not ask for a permission for receiving? that's the same as there are permissions for reading contacts or call logs... the idea is to inform the user your app is doing something that they might not want to happen, like informing you the device just powered on which can be used to start an app without them knowing. Permissions aren't just for modifying things. You don't define permission for the broadcaster since that broadcast is a system broadcast... On Monday, May 6, 2013 1:13:27 AM UTC+3, Palmer Eldritch wrote: What confuses me really is that I request a permission for _receiving_ a particular intent (whose action is boot_completed) - I do not define anywhere a permission the _broadcaster_ must request/hold Thanks PS : testing vs asking - I found about the android.intent.action.QUICKBOOT_POWERON permission while browsing for an answer to this question - don't think I need it but added it :) On Monday, May 6, 2013 12:18:25 AM UTC+3, Piren wrote: I'm not 100% positive only the system can call it, but i'm pretty sure about it. It depands on the security level of that specific permission and these are not easy to find out (i can't recall any documentation that lists that.. i think it is only available in the source code). It's something that you need to remember, some of these calls can only be made by the system... some of these, were only blocked to be system only in later versions of android (and as usual, there's barely any documentation of these) so sometimes code that worked before, just stops working. To test Boot_Completed, just restart your device. that's why i did, that's also how i found our some HTC devices require you to also use android.intent.action.QUICKBOOT_POWERON (another tip ;-)) and don't forget you need the app to run at least once before (yet another tip :-D) If you want 0 warnings, tell the compiler to stop showing them :) On Sunday, May 5, 2013 11:07:12 PM UTC+3, Palmer Eldritch wrote: On Sunday, May 5, 2013 6:58:39 PM UTC+3, Piren wrote: Did you read the answer you quoted? IF you didnt set any permissions for it. And back to my first answer, had you read the docs you would have seen this: The name of a permission that broadcasters must have to send a message to the broadcast receiver. If this attribute is not set, the permission set by the applicationhttp://developer.android.com/guide/topics/manifest/application-element.html element's permissionhttp://developer.android.com/guide/topics/manifest/application-element.html#prmsn attribute applies to the broadcast receiver. Now, you didn't provide the Permission attribute of you manifest (nor the Uses-Permissions), but i'd bet a pretty penny that it has receive_boot_completed there...since you know.. it doesn't work without it. This makes sense - so since I ask for receive_boot_completed the system checks my intent filter, sees the intent I filter for is android.intent. action.BOOT_COMPLETED and automatically applies this permission to my receiver ? So this receiver _requires permission_ and no warning is issued That is not so straightforward - does it mean that only the system can call my receiver ? BTW, some of the questions are just plain annoying which is why i ignored them and just let you figure it out yourself with the docs... Does it mean that it won't work if exported=false ? Why are you asking us? Instead of posting a question about it, isn't it easier to just do a quick test instead of relying on the memory of other people? You already have the code ready.. just run the damn thing and check. I could test in this case yes - but i wanted a general answer on all similar intent filters and moreover i have no other app to call my receiver from - it's not a quick test Also,
[android-developers] drawing horizontally flipped Bitmap
So, I have a fish Bitmap that is facing left. I want to draw the Bitmap facing right sometimes though. Any thoughts on the best way to do this on a Canvas object? Thanks. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] drawing horizontally flipped Bitmap
On Tue, May 7, 2013 at 5:04 PM, bob b...@coolfone.comze.com wrote: Any thoughts on the best way to do this on a Canvas object? Please watch this instructional videohttp://lmgtfy.com/?q=flip+bitmap+with+canvas . - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] drawing horizontally flipped Bitmap
The easiest way is to apply a negative scale on the X axis: canvas.scale(-1.0f, 1.0f); You might need to translate your bitmap by its width as well. On Tue, May 7, 2013 at 3:19 PM, TreKing treking...@gmail.com wrote: On Tue, May 7, 2013 at 5:04 PM, bob b...@coolfone.comze.com wrote: Any thoughts on the best way to do this on a Canvas object? Please watch this instructional videohttp://lmgtfy.com/?q=flip+bitmap+with+canvas . - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: How to do the slicing effect as in fruit ninja when user touches the screen?
oh okay, thanks Marina. On Tue, May 7, 2013 at 8:03 PM, Marina Cuello marina.ear...@gmail.comwrote: Cocos2d-x, basically the same but C++ instead of Objective C. But you'll need to use Android NDK besides SDK. Marina On Tue, May 7, 2013 at 2:52 AM, mait...@rossitek.com wrote: Hi, thanks for the reply. I have seen this library but still it is for iOS, I want to do it for Android. Any idea how do i do it? any similar library for android available? On Monday, May 6, 2013 9:26:05 PM UTC+5:30, bob wrote: Maybe look at this? http://www.iossourcecode.com/**2012/06/23/how-to-make-a-game-** like-fruit-ninja-with-box2d-**and-cocos2d-part-3/http://www.iossourcecode.com/2012/06/23/how-to-make-a-game-like-fruit-ninja-with-box2d-and-cocos2d-part-3/ -- -- -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/hs7HiXb9cP0/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- *Thanks Regards,** * *Maitrey Chhaya* *Junior Software Engineer* * * *Rossitek Software Solutions* *#320/B, Sri Manjunatha Arcade,* *1st phase, 2nd Stage 40 ft Road.* *Manjunathnagar, Bangalore-560 010* *Board Number : ** +91 80 41440617* www.rossitek.com http://www.mavego.com/ *Offshore Mobile Software Development House* *IT Capital of India, Bangalore* *Offshore Development Projects, Teams and Solutions* -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: How to do the slicing effect as in fruit ninja when user touches the screen?
oh okay. I will also take my advise from my seniors on it. Thanks Marina. On Tuesday, May 7, 2013 8:03:45 PM UTC+5:30, Marina Cuello wrote: Cocos2d-x, basically the same but C++ instead of Objective C. But you'll need to use Android NDK besides SDK. Marina On Tue, May 7, 2013 at 2:52 AM, mai...@rossitek.com javascript: wrote: Hi, thanks for the reply. I have seen this library but still it is for iOS, I want to do it for Android. Any idea how do i do it? any similar library for android available? On Monday, May 6, 2013 9:26:05 PM UTC+5:30, bob wrote: Maybe look at this? http://www.iossourcecode.com/**2012/06/23/how-to-make-a-game-** like-fruit-ninja-with-box2d-**and-cocos2d-part-3/http://www.iossourcecode.com/2012/06/23/how-to-make-a-game-like-fruit-ninja-with-box2d-and-cocos2d-part-3/ -- -- -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] mksdcard problem
I run the below command as administrator in windows7: mksdcard 512M D:\mySdCard.img But it doesn't work. Message:Invalid argument size '512M' . I tried 51200 without M. It also failed. I don't know what the size should be. Thanks for any help. -- -- 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 this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.