Re: [android-developers] Too large bitmap to be uploaded into a texture - Getting max texture size.
You are looking at the implementation for the software renderer. The hardware renderer will return a value specific to the GPU. On Wed, May 15, 2013 at 2:33 PM, bob b...@coolfone.comze.com wrote: I'm looking at the code for *getMaximumBitmapWidth*, and it looks like it always returns 32766: private static final int MAXMIMUM_BITMAP_SIZE = 32766; * public int getMaximumBitmapWidth() {* * return MAXMIMUM_BITMAP_SIZE;* * }* Am I missing something? Thanks. On Tuesday, May 14, 2013 3:58:05 PM UTC-5, Romain Guy (Google) wrote: You can query the maximum size using Canvas.getMaximumBitmapWidth/** Height(): http://developer.android.com/**reference/android/graphics/**Canvas.html#* *getMaximumBitmapWidth()http://developer.android.com/reference/android/graphics/Canvas.html#getMaximumBitmapWidth() You can also assume 2048px as the maximum unless the screen is bigger (Nexus 10 for instance supports 4096px max since the screen is bigger than 2048px.) On Tue, May 14, 2013 at 11:08 AM, Thyme Cypher thyme@gmail.comwrote: I'm attempting to display a rather large bitmap VIA an ImageView, which when Hardware Acceleration is enabled of course, has issues with texture sizes (I'm well aware of texture size limitations in 3D engines). My question is how to get what the maximum image size is without an OpenGL context (As I'm not creating one and don't have access to the one that the operating system creates, as far as I know at least) and ideally without first attempting to render said image (As so there isn't a flash frame without an image) and using exception handling. Thanks, James L -- -- 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 . -- Romain Guy Android framework engineer roma...@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. -- 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] show toast message while waiting for location
The problem is that it doesn't work. When I press now the button to start searching for signal it doesn't start at all. Also, I am not sure if it will work like the way I want. Show Waiting while searching for signal and then show the coordinates when it will find them. Τη Πέμπτη, 16 Μαΐου 2013 12:01:24 π.μ. UTC+3, ο χρήστης MagouyaWare έγραψε: Ummm... what exactly is your question? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 15, 2013 at 2:25 AM, geo geoan...@gmail.com javascript:wrote: Hello , I have an application where I use GPS and I want while GPS is looking for position to display a toast Waiting for location and when location is found show the location. To start GPS I press a button: case R.id.getlocation: gps = new GPSTracker(ShowList.this); // check if GPS enabled if(gps.canGetLocation()){ latitude = gps.getLatitude(); longitude = gps.getLongitude(); Toast.makeText(getApplicationContext(), Your Location is \nLat: + latitude + \nLong: + longitude, Toast.LENGTH_LONG).show(); }else{ //show dialog for enabling GPs gps.showSettingsAlert(); } Now, with the above it shows latitude and latitude :0 because I initialize them to 0. case R.id.getlocation: gps = new GPSTracker(ShowList.this); // check if GPS enabled if(gps.canGetLocation()){ showToast(); }else{ gps.showSettingsAlert(); } private void showToast() { new Thread() { public void run() { try { while (message) { runOnUiThread(new Runnable() { @Override public void run() { latitude = gps.getLatitude(); longitude = gps.getLongitude(); Toast.makeText(getApplicationContext(), Waiting for location, Toast.LENGTH_LONG).show(); //}else{ // gps.showSettingsAlert(); // } } }); Thread.sleep(1000); message=false; } } catch (InterruptedException e) { e.printStackTrace(); } } }.start(); -- -- 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] Release notes and official info.
Where can I find some official information, like: POST 4.1, we get logcat logs only from our process andWRITE_APN_SETTINGS permission has been elevated to system level permission. I tried looking, but didn't find any. All I found were forum posts. -- -- 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] App not compatible on Samsung GT-P3110
Hi, Please help me on this. I have an app on Play which is not compatible on a this specific device Samsung GT-P3110, a 7tab. Its compatible on other tabs and devices and on Samsung devices too. I know that we have to include this code in the Manifest. supports-screens android:anyDensity=true android:largeScreens=true android:normalScreens=true android:resizeable=true android:smallScreens=true /supports-screens I have not used this code in the manifest yet but doubt if the problem due to this. Please help or throw some light on this issue. -- -- 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: Release notes and official info.
http://developer.android.com/about/versions/android-4.2.html and http://android-developers.blogspot.co.uk/ On Thursday, May 16, 2013 8:22:28 AM UTC+1, Put_tiMe wrote: Where can I find some official information, like: POST 4.1, we get logcat logs only from our process andWRITE_APN_SETTINGS permission has been elevated to system level permission. I tried looking, but didn't find any. All I found were forum posts. -- -- 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] Release notes and official info.
On Thu, May 16, 2013 at 4:22 PM, Put_tiMe putt...@gmail.com wrote: Where can I find some official information, like: POST 4.1, we get logcat logs only from our process andWRITE_APN_SETTINGS permission has been elevated to system level permission. AOSP: http://source.android.com/source/downloading.html -- -- 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] Release notes and official info.
On Thu, May 16, 2013 at 4:29 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 16, 2013 at 4:22 PM, Put_tiMe putt...@gmail.com wrote: Where can I find some official information, like: POST 4.1, we get logcat logs only from our process andWRITE_APN_SETTINGS permission has been elevated to system level permission. AOSP: http://source.android.com/source/downloading.html And of course in the docs :) http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR1 -- -- 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 Studio for IntelliJ - Plugin
Morning, Does anybody know (or is it reasonable to expect) Android Studio to be available as a plugin for existing license holders of IntelliJ 12? -- -- 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] Updated to ADT 22: 'R cannot be resolved to a variable'
Since the update, I have this error in all my projects (including when creating a new Android project from scratch). I am stuck. Does anybody have this issue? Is there an easy way to downgrade to the previous version? Thanks a lot= -- BoD -- -- 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] ListView with selected state does not work when list item view has a background
Hi! I'm trying to understand the mechanics behind highlighting the selected list item. I have a list fragment, which might display with a secondary details fragment if the screen width allows it. In that case, I want to highlight the selected list item. In order to do so, the listview has defined choice mode of single, and also a defined selector: listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); listView.setSelector(R.drawable.listitem_selector); The list uses a custom view for layout, and when the view does not set the android:background, the listitem_selector works -- it shows on the screen. When the row layout has a background set to a drawable (in my case, it is selector, consisting of colors), the listitem_selector does not work. I tried the methods explained in the stackoverflow posthttp://stackoverflow.com/questions/2562051/listview-item-background-via-custom-selector, but the approach does not work, at least not in my case. I'm obviously missing a part of the puzzle and I would appreciate any insight into this matter. One possible solution I see is modifying the backing adapter implementation and providing a different view based on the state of the item, but that seems like wrong approach -- I would have to update the adapter with information on the selected item and call notifyDataSetChanged, which would (I suppose) result in an unnecessary re-drawing of the whole list. Regards, Miha. -- -- 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: Updated to ADT 22: 'R cannot be resolved to a variable'
Indeed if I look inside the 'gen' folder, nothing is there. -- BoD On Thursday, May 16, 2013 11:11:45 AM UTC+2, BoD wrote: Since the update, I have this error in all my projects (including when creating a new Android project from scratch). I am stuck. Does anybody have this issue? Is there an easy way to downgrade to the previous version? Thanks a lot= -- BoD -- -- 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: JNI on SDCard?
Hi, Thanks for the help. The problem is that I don't know where the libraries go to when I move the app to SD on my HTC for me to use System.load(). So the only workaround I found is to check for the existance of the .so file in the predefined folder /data/data/your_package_name/lib. If it is not there, then I unzip it from the package APK file to /data/data/your_package_name/files folder and load it from there. Thanks On Wed, May 15, 2013 at 11:29 PM, Piren gpi...@gmail.com wrote: That's actually the same person making pretty much the same reply :-) On Thursday, May 16, 2013 1:02:10 AM UTC+3, bob wrote: I found this one using Google: https://groups.google.com/**forum/?fromgroups=#!topic/** android-ndk/0uY4qgam1Wshttps://groups.google.com/forum/?fromgroups=#!topic/android-ndk/0uY4qgam1Ws It says: You must use System.load() if you want to specify the full path name of the file, System.loadLibrary() is only for ones in the default location. Also *you should not be able to load an .so off the SDCARD on an ARM * *system by normal means*, as ARM supports non-executable pages and android's implementation of mmap() refuses to map executable pages backed by a noexec file system. To load from such a file system you would have to map anonymous executable pages and manually load the .so into them, doing appropriate interpretation of the contents and all fixups normally performed by the runtime linker. Thanks. On Wednesday, May 15, 2013 4:32:37 PM UTC-5, Piren wrote: That's what bing got me :) http://stackoverflow.com/**questions/2826412/how-to-load-** jni-from-sd-card-on-android-2-**1http://stackoverflow.com/questions/2826412/how-to-load-jni-from-sd-card-on-android-2-1 On Wednesday, May 15, 2013 12:00:50 PM UTC+3, Filipe wrote: Hi, I had only used Bing up till now ;) Thanks for your great tutorial on this new thing called Google. I tryed it, but still did not find the answer. The libs are under the /data/data/your_package_name/**lib folder. When I move the App I start getting java.lang.**UnsatisfiedLinkError: findLibrary returned null I found some new things This works without problems on AVD. But I noticed that even if I move the App to the sdcard on the AVD, the lib remains in the same folder. So maybe the problem is specific to my HTC. Using adb shell I can find the libs in this folder. After moving to sdcard, when I use adb shell I get permission denied trying to access the lib folder !!! So I'm gessing that on my HTC the libs are moved, I just don't know where to. Thanks Terça-feira, 14 de Maio de 2013 23:51:21 UTC+1, Lew escreveu: Filipe wrote: I have a project in Eclipse that uses some jni [sic] libraries that I load using System.loadLibrary(**myNativeLib). Those libraries are native to what platform? This works great, but if I move my app to the SDCard it stops working, because it can't load the library. Did you take note of this from the Javadocs for 'System.loadLibrary()'? The mapping of the specified library name to the full path for loading the library is implementation-dependent. Where did you put the library on the device. Is this where the system expects to find libraries? Are there any limitations on moving the app to SDCard when using jni? Or do I have to change my call to System.loadLibrary ? http://developer.android.com/**reference/java/lang/System.** html#loadLibrary(java.lang.**String)http://developer.android.com/reference/java/lang/System.html#loadLibrary(java.lang.String) Also, I see some potentially useful links here: http://lmgtfy.com/?q=Android+**JNI http://lmgtfy.com/?q=Android+JNI -- 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+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/SmKVuQU0zN8/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. -- -- 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
Re: [android-developers] Updated to ADT 22: 'R cannot be resolved to a variable'
On Thu, May 16, 2013 at 6:11 PM, BoD bodlu...@gmail.com wrote: Since the update, I have this error in all my projects (including when creating a new Android project from scratch). I am stuck. Does anybody have this issue? Is there an easy way to downgrade to the previous version? Make sure you have updated the SDK as well. Get platform-tools and build-tools 17. -- -- 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: Updated to ADT 22: 'R cannot be resolved to a variable'
Am 16.05.13 11:18, schrieb BoD: Indeed if I look inside the 'gen' folder, nothing is there. I had the problem too, there is a new Android SDK Bild-tools. Open the Android SDK Manager and make a update, maybe twice. Ralph -- -- 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: JNI on SDCard?
On Thu, May 16, 2013 at 6:19 PM, Filipe Madureira filipe.ma...@gmail.com wrote: Hi, Thanks for the help. The problem is that I don't know where the libraries go to when I move the app to SD on my HTC for me to use System.load(). IIRC, the encrypted packages stored on SD card are loopback mounted. Try running 'mount' in a shell and look for you package name. That should lead you to the directory where your code is. Not 100% sure it includes the native libs though. -- -- 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: Updated to ADT 22: 'R cannot be resolved to a variable'
Indeed that was it. Somebody had the same problem here: https://groups.google.com/forum/?fromgroups=#!topic/adt-dev/epOfZbKPFdk Thanks! It works again now :) -- BoD On Thursday, May 16, 2013 11:29:14 AM UTC+2, Ralph Bergmann wrote: Am 16.05.13 11:18, schrieb BoD: Indeed if I look inside the 'gen' folder, nothing is there. I had the problem too, there is a new Android SDK Bild-tools. Open the Android SDK Manager and make a update, maybe twice. Ralph -- -- 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: Too large bitmap to be uploaded into a texture - Getting max texture size.
On Tuesday, May 14, 2013 8:08:43 PM UTC+2, Thyme Cypher wrote: I'm attempting to display a rather large bitmap VIA an ImageView, which when Hardware Acceleration is enabled of course, has issues with texture sizes (I'm well aware of texture size limitations in 3D engines). My question is how to get what the maximum image size is without an OpenGL context (As I'm not creating one and don't have access to the one that the operating system creates, as far as I know at least) and ideally without first attempting to render said image (As so there isn't a flash frame without an image) and using exception handling. This is not an answer to your specific question, but I was having issues with too large bitmaps. I ended writing my own widget, which stiches together smaller bitmaps as textures on OpenGL planes. Otherwise it was interesting to observe, that SGSII has a max width/height of 4096, whereas Nexus has 2048, etc. It is device dependent. Regards, Miha. -- -- 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] Android Studio for IntelliJ - Plugin
I did not the plugin, so I have downloaded the android stduio exe and started using it... On Thu, May 16, 2013 at 2:31 PM, Andrew Weir and...@andyweir.co.uk wrote: Morning, Does anybody know (or is it reasonable to expect) Android Studio to be available as a plugin for existing license holders of IntelliJ 12? -- -- 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. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- -- 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: Create a SIP application
Hi, I would suggest, you use CSIPSimple from Pjsip.Below is the link for your reference. https://code.google.com/p/csipsimple/ On Thu, May 16, 2013 at 2:58 AM, Piren gpi...@gmail.com wrote: dude... hijacking every possible SIP related thread, would not get you help faster. On Wednesday, May 15, 2013 12:57:50 PM UTC+3, Swati wrote: Hi Alaa, I also have to create SIP client for Outgoing calls. I took reference from http://developer.android.** com/guide/topics/connectivity/**sip.htmlhttp://developer.android.com/guide/topics/connectivity/sip.html and SipDemo(Sample available in android sdk). But I am not able to make a call even registration is done successfully. When we initialize local profile, we setup registration listener and in that listener we implement method (onRegistering(), onRegistrationDone() and onRegistrationFailed() ). So in my case, onRegistrationDone() method is getting called, it means it is successfully registered. Even with SipDemo also, I am not able to make voice call. Can you please help me in creating SIP Client. Thanks Regards, Swati Goel On Wednesday, 9 March 2011 06:20:09 UTC+5:30, Alaa Gh wrote: Hi, I'm preparing my final studies project and i'm planning to make a Voice-Over-Ip application = SIP integrated on 2.3 version. In fact, i followed this DEV Guide(http://developer.**android.com/guide/ topics/network/sip.htmlhttp://developer.android.com/guide/topics/network/sip.html) but i don't know from where i have to begin! There is not enough examples on it so i'm really needing your help. What is exactly the steps to proceed ? Please try to help me. Thank you very much :). -- -- 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. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- -- 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] Release notes and official info.
Thanks for your inputs. I went through them, and there is a lot of information, but I did not find the ones I was looking for. I'm specifically looking at: Post 4.1, we get logcat logs only from our process andWRITE_APN_SETTINGS permission has been elevated to system level permission. On Thursday, May 16, 2013 12:59:42 PM UTC+5:30, Nikolay Elenkov wrote: On Thu, May 16, 2013 at 4:29 PM, Nikolay Elenkov nikolay...@gmail.com javascript: wrote: On Thu, May 16, 2013 at 4:22 PM, Put_tiMe put...@gmail.comjavascript: wrote: Where can I find some official information, like: POST 4.1, we get logcat logs only from our process andWRITE_APN_SETTINGS permission has been elevated to system level permission. AOSP: http://source.android.com/source/downloading.html And of course in the docs :) http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR1 -- -- 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] What is wow factor about android studio in compare to Eclipse.
Well, guess that makes me wrong in thinking that this wouldn't be feasible! Kris On Thu, May 16, 2013 at 1:15 AM, abhijit achakr...@gmail.com wrote: I just got surprised saw in android developer side that Google has launched a new IDE foe exclusively android.i just took an overview on developer site i just found it s similar to eclipse but the project structure is different because due to the switch to a Gradle-based build system.and everything is similar as it in eclipse.I didn't find any wow factor in it as compare to eclipse.Do you know please share us the information. -- -- 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] Generate Barcode
Hi, How can i create a simple bar code create example in android. here when enter number in edit text that number will convert into bar code image. Please give me suggestion how can i implement 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@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] Losing OpenGL context when home button is pressed! How to fix?
I am trying to fix my apps OpenGL context loss whe the home button is pressed or when a call is received. How do I retreive the previous OpenGL states?? I am using OpenGL ES 2 and make sure to reload all the textures when a SurfaceCreated() is detected but it still isn't working. I assume I have to reload my shaders in the SurfaceCreated() and do I have to recall things like glViewport()?? Because all I am getting at the moment is a black screen. My shaders were moved to where the textures are loaded (as static objects) but unfortunately they don't work when I try to assign matrix handles to the shaders. I get java io exception errors. Null pointer exception etc. Will fixing this problem fix the overall context loss issue?? Thanks for your 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.
[android-developers] ClassNotFoundException after upgrading to latest SDK tools v 22 and ADT v 22
I just updated SDK tools and ADT to the latest v22 and now I can't run any of my applications. The exception is the same: main activity class is not found 05-16 12:12:33.137: D/AndroidRuntime(11138): Shutting down VM 05-16 12:12:33.137: W/dalvikvm(11138): threadid=1: thread exiting with uncaught exception (group=0x40a13300) 05-16 12:12:33.157: E/AndroidRuntime(11138): FATAL EXCEPTION: main 05-16 12:12:33.157: E/AndroidRuntime(11138): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{au.com.classbreak.peshake/au.com.classbreak.peshake.MainActivity}: java.lang.ClassNotFoundException: au.com.classbreak.peshake.MainActivity 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.access$600(ActivityThread.java:130) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.os.Handler.dispatchMessage(Handler.java:99) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.os.Looper.loop(Looper.java:137) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.main(ActivityThread.java:4745) 05-16 12:12:33.157: E/AndroidRuntime(11138): at java.lang.reflect.Method.invokeNative(Native Method) 05-16 12:12:33.157: E/AndroidRuntime(11138): at java.lang.reflect.Method.invoke(Method.java:511) 05-16 12:12:33.157: E/AndroidRuntime(11138): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) 05-16 12:12:33.157: E/AndroidRuntime(11138): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 05-16 12:12:33.157: E/AndroidRuntime(11138): at dalvik.system.NativeStart.main(Native Method) 05-16 12:12:33.157: E/AndroidRuntime(11138): Caused by: java.lang.ClassNotFoundException: au.com.classbreak.peshake.MainActivity 05-16 12:12:33.157: E/AndroidRuntime(11138): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) 05-16 12:12:33.157: E/AndroidRuntime(11138): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) 05-16 12:12:33.157: E/AndroidRuntime(11138): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.Instrumentation.newActivity(Instrumentation.java:1053) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974) 05-16 12:12:33.157: E/AndroidRuntime(11138): ... 11 more Coluld anyone help me to resolve 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@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: JNI on SDCard?
On Thu, May 16, 2013 at 6:29 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 16, 2013 at 6:19 PM, Filipe Madureira filipe.ma...@gmail.com wrote: Hi, Thanks for the help. The problem is that I don't know where the libraries go to when I move the app to SD on my HTC for me to use System.load(). IIRC, the encrypted packages stored on SD card are loopback mounted. Try running 'mount' in a shell and look for you package name. That should lead you to the directory where your code is. Not 100% sure it includes the native libs though. It should be in /mnt/asec/org.yourpackage-1/lib/native.so or a similar looking directory. The system should have taken care of setting paths, etc. though and you shouldn't need to do anything special. My apps with native code work just fine when moved on the SD card. You are probably hitting a bug in a particular device or Android version. Note the this not using the SD card directly, but a loopback mounted device with appropriate UID and options set: /dev/block/dm-11 on /mnt/asec/org.package-2 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro) -- -- 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: JNI on SDCard?
On Thu, May 16, 2013 at 9:16 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 16, 2013 at 6:29 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 16, 2013 at 6:19 PM, Filipe Madureira filipe.ma...@gmail.com wrote: Hi, Thanks for the help. The problem is that I don't know where the libraries go to when I move the app to SD on my HTC for me to use System.load(). IIRC, the encrypted packages stored on SD card are loopback mounted. Try running 'mount' in a shell and look for you package name. That should lead you to the directory where your code is. Not 100% sure it includes the native libs though. It should be in /mnt/asec/org.yourpackage-1/lib/native.so or a similar looking directory. BTW, getApplicationInfo().nativeLibraryDir should give you this programatically. -- -- 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] Generate Barcode
use the below link that will help you to create the barcode in Android. http://www.mysamplecode.com/2011/09/android-barcode-scanner-using-zxing.html On Thu, May 16, 2013 at 5:43 PM, sree android android.sreeni...@gmail.comwrote: Hi, How can i create a simple bar code create example in android. here when enter number in edit text that number will convert into bar code image. Please give me suggestion how can i implement 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@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. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- -- 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] ClassNotFoundException after upgrading to latest SDK tools v 22 and ADT v 22
Hi. Please follow the below instructions. 1.Please delete the bin and gen folder 2.Clean the build and refresh On Thu, May 16, 2013 at 5:45 PM, DennisG denn.gub...@gmail.com wrote: I just updated SDK tools and ADT to the latest v22 and now I can't run any of my applications. The exception is the same: main activity class is not found 05-16 12:12:33.137: D/AndroidRuntime(11138): Shutting down VM 05-16 12:12:33.137: W/dalvikvm(11138): threadid=1: thread exiting with uncaught exception (group=0x40a13300) 05-16 12:12:33.157: E/AndroidRuntime(11138): FATAL EXCEPTION: main 05-16 12:12:33.157: E/AndroidRuntime(11138): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{au.com.classbreak.peshake/au.com.classbreak.peshake.MainActivity}: java.lang.ClassNotFoundException: au.com.classbreak.peshake.MainActivity 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.access$600(ActivityThread.java:130) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.os.Handler.dispatchMessage(Handler.java:99) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.os.Looper.loop(Looper.java:137) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.main(ActivityThread.java:4745) 05-16 12:12:33.157: E/AndroidRuntime(11138): at java.lang.reflect.Method.invokeNative(Native Method) 05-16 12:12:33.157: E/AndroidRuntime(11138): at java.lang.reflect.Method.invoke(Method.java:511) 05-16 12:12:33.157: E/AndroidRuntime(11138): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) 05-16 12:12:33.157: E/AndroidRuntime(11138): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 05-16 12:12:33.157: E/AndroidRuntime(11138): at dalvik.system.NativeStart.main(Native Method) 05-16 12:12:33.157: E/AndroidRuntime(11138): Caused by: java.lang.ClassNotFoundException: au.com.classbreak.peshake.MainActivity 05-16 12:12:33.157: E/AndroidRuntime(11138): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) 05-16 12:12:33.157: E/AndroidRuntime(11138): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) 05-16 12:12:33.157: E/AndroidRuntime(11138): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.Instrumentation.newActivity(Instrumentation.java:1053) 05-16 12:12:33.157: E/AndroidRuntime(11138): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974) 05-16 12:12:33.157: E/AndroidRuntime(11138): ... 11 more Coluld anyone help me to resolve 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@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. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- -- 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] ClassNotFoundException after upgrading to latest SDK tools v 22 and ADT v 22
Thank you, Mukesh. Deleting bin/res and cleaning up were first things I did after upgrade. Unfortunately this does not help. Looks like the problem is with new Buils Tools v17, because signed apps are also not running. четверг, 16 мая 2013 г., 15:22:44 UTC+3 пользователь Mukesh Srivastav написал: Hi. Please follow the below instructions. 1.Please delete the bin and gen folder 2.Clean the build and refresh Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- -- 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] ClassNotFoundException after upgrading to latest SDK tools v 22 and ADT v 22
On Thu, May 16, 2013 at 9:34 PM, DennisG denn.gub...@gmail.com wrote: Thank you, Mukesh. Deleting bin/res and cleaning up were first things I did after upgrade. Unfortunately this does not help. Looks like the problem is with new Buils Tools v17, because signed apps are also not running. Googling usually helps: https://code.google.com/p/android/issues/detail?id=55304 -- -- 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] ClassNotFoundException after upgrading to latest SDK tools v 22 and ADT v 22
Thank you very much, Nikolay. Your advice helped and it works now. Will google deeply next time :) четверг, 16 мая 2013 г., 15:47:44 UTC+3 пользователь Nikolay Elenkov написал: On Thu, May 16, 2013 at 9:34 PM, DennisG denn@gmail.com javascript: wrote: Thank you, Mukesh. Deleting bin/res and cleaning up were first things I did after upgrade. Unfortunately this does not help. Looks like the problem is with new Buils Tools v17, because signed apps are also not running. Googling usually helps: https://code.google.com/p/android/issues/detail?id=55304 -- -- 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: JNI on SDCard?
You may want to take a look here: http://developer.android.com/guide/topics/data/install-location.html In particular: * * Beginning with API Level 8, you can allow your application to be installed on the external storage (for example, the device's SD card). This is an optional feature you can declare for your application with the android:installLocation manifest attribute. *If you do not declare this attribute, your application will be installed on the internal storage only and it cannot be moved to the external storage.* * * * * * * * * It seems like the obvious solution is to just disallow people to move your app to the external storage. Thanks. On Thursday, May 16, 2013 4:19:20 AM UTC-5, Filipe wrote: Hi, Thanks for the help. The problem is that I don't know where the libraries go to when I move the app to SD on my HTC for me to use System.load(). So the only workaround I found is to check for the existance of the .so file in the predefined folder /data/data/your_package_name/lib. If it is not there, then I unzip it from the package APK file to /data/data/your_package_name/files folder and load it from there. Thanks On Wed, May 15, 2013 at 11:29 PM, Piren gpi...@gmail.com javascript:wrote: That's actually the same person making pretty much the same reply :-) On Thursday, May 16, 2013 1:02:10 AM UTC+3, bob wrote: I found this one using Google: https://groups.google.com/**forum/?fromgroups=#!topic/** android-ndk/0uY4qgam1Wshttps://groups.google.com/forum/?fromgroups=#!topic/android-ndk/0uY4qgam1Ws It says: You must use System.load() if you want to specify the full path name of the file, System.loadLibrary() is only for ones in the default location. Also *you should not be able to load an .so off the SDCARD on an ARM * *system by normal means*, as ARM supports non-executable pages and android's implementation of mmap() refuses to map executable pages backed by a noexec file system. To load from such a file system you would have to map anonymous executable pages and manually load the .so into them, doing appropriate interpretation of the contents and all fixups normally performed by the runtime linker. Thanks. On Wednesday, May 15, 2013 4:32:37 PM UTC-5, Piren wrote: That's what bing got me :) http://stackoverflow.com/**questions/2826412/how-to-load-** jni-from-sd-card-on-android-2-**1http://stackoverflow.com/questions/2826412/how-to-load-jni-from-sd-card-on-android-2-1 On Wednesday, May 15, 2013 12:00:50 PM UTC+3, Filipe wrote: Hi, I had only used Bing up till now ;) Thanks for your great tutorial on this new thing called Google. I tryed it, but still did not find the answer. The libs are under the /data/data/your_package_name/**lib folder. When I move the App I start getting java.lang.**UnsatisfiedLinkError: findLibrary returned null I found some new things This works without problems on AVD. But I noticed that even if I move the App to the sdcard on the AVD, the lib remains in the same folder. So maybe the problem is specific to my HTC. Using adb shell I can find the libs in this folder. After moving to sdcard, when I use adb shell I get permission denied trying to access the lib folder !!! So I'm gessing that on my HTC the libs are moved, I just don't know where to. Thanks Terça-feira, 14 de Maio de 2013 23:51:21 UTC+1, Lew escreveu: Filipe wrote: I have a project in Eclipse that uses some jni [sic] libraries that I load using System.loadLibrary(**myNativeLib). Those libraries are native to what platform? This works great, but if I move my app to the SDCard it stops working, because it can't load the library. Did you take note of this from the Javadocs for 'System.loadLibrary()'? The mapping of the specified library name to the full path for loading the library is implementation-dependent. Where did you put the library on the device. Is this where the system expects to find libraries? Are there any limitations on moving the app to SDCard when using jni? Or do I have to change my call to System.loadLibrary ? http://developer.android.com/**reference/java/lang/System.** html#loadLibrary(java.lang.**String)http://developer.android.com/reference/java/lang/System.html#loadLibrary(java.lang.String) Also, I see some potentially useful links here: http://lmgtfy.com/?q=Android+**JNI http://lmgtfy.com/?q=Android+JNI -- 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-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group
[android-developers] Re: App not compatible on Samsung GT-P3110
Why is it not compatible? Why not just make it compatible? Thanks. On Thursday, May 16, 2013 2:23:45 AM UTC-5, Avinhood wrote: Hi, Please help me on this. I have an app on Play which is not compatible on a this specific device Samsung GT-P3110, a 7tab. Its compatible on other tabs and devices and on Samsung devices too. I know that we have to include this code in the Manifest. supports-screens android:anyDensity=true android:largeScreens=true android:normalScreens=true android:resizeable=true android:smallScreens=true /supports-screens I have not used this code in the manifest yet but doubt if the problem due to this. Please help or throw some light on this issue. -- -- 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: Losing OpenGL context when home button is pressed! How to fix?
Why not take a look at the *BasicGLSurfaceView* sample and maybe use that as a template? Thanks. On Thursday, May 16, 2013 7:13:28 AM UTC-5, reaktor24 wrote: I am trying to fix my apps OpenGL context loss whe the home button is pressed or when a call is received. How do I retreive the previous OpenGL states?? I am using OpenGL ES 2 and make sure to reload all the textures when a SurfaceCreated() is detected but it still isn't working. I assume I have to reload my shaders in the SurfaceCreated() and do I have to recall things like glViewport()?? Because all I am getting at the moment is a black screen. My shaders were moved to where the textures are loaded (as static objects) but unfortunately they don't work when I try to assign matrix handles to the shaders. I get java io exception errors. Null pointer exception etc. Will fixing this problem fix the overall context loss issue?? Thanks for your 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] show toast message while waiting for location
Toasts automatically disappear after a short period of time. Thanks. On Thursday, May 16, 2013 2:10:38 AM UTC-5, geo wrote: The problem is that it doesn't work. When I press now the button to start searching for signal it doesn't start at all. Also, I am not sure if it will work like the way I want. Show Waiting while searching for signal and then show the coordinates when it will find them. Τη Πέμπτη, 16 Μαΐου 2013 12:01:24 π.μ. UTC+3, ο χρήστης MagouyaWare έγραψε: Ummm... what exactly is your question? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 15, 2013 at 2:25 AM, geo geoan...@gmail.com wrote: Hello , I have an application where I use GPS and I want while GPS is looking for position to display a toast Waiting for location and when location is found show the location. To start GPS I press a button: case R.id.getlocation: gps = new GPSTracker(ShowList.this); // check if GPS enabled if(gps.canGetLocation()){ latitude = gps.getLatitude(); longitude = gps.getLongitude(); Toast.makeText(getApplicationContext(), Your Location is \nLat: + latitude + \nLong: + longitude, Toast.LENGTH_LONG).show(); }else{ //show dialog for enabling GPs gps.showSettingsAlert(); } Now, with the above it shows latitude and latitude :0 because I initialize them to 0. case R.id.getlocation: gps = new GPSTracker(ShowList.this); // check if GPS enabled if(gps.canGetLocation()){ showToast(); }else{ gps.showSettingsAlert(); } private void showToast() { new Thread() { public void run() { try { while (message) { runOnUiThread(new Runnable() { @Override public void run() { latitude = gps.getLatitude(); longitude = gps.getLongitude(); Toast.makeText(getApplicationContext(), Waiting for location, Toast.LENGTH_LONG).show(); //}else{ // gps.showSettingsAlert(); // } } }); Thread.sleep(1000); message=false; } } catch (InterruptedException e) { e.printStackTrace(); } } }.start(); -- -- 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=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] What is wow factor about android studio in compare to Eclipse.
For me, I like the project setup. I've never liked Eclipse workspaces... It just doesn't make sense to me. Why would I want to have all my projects open at the same time? Also, when using source control, the IntelliJ/Android Studio project setup is much nicer and easier than with Eclipse. Downloading source for an Android project and trying to get that project in your Eclipse workspace is a pain in the @$$... I've never been able to get that setup with ease. With IntelliJ/Android Studio, you just open the project after downloading the source and it just works. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 16, 2013 at 6:02 AM, Kristopher Micinski krismicin...@gmail.com wrote: Well, guess that makes me wrong in thinking that this wouldn't be feasible! Kris On Thu, May 16, 2013 at 1:15 AM, abhijit achakr...@gmail.com wrote: I just got surprised saw in android developer side that Google has launched a new IDE foe exclusively android.i just took an overview on developer site i just found it s similar to eclipse but the project structure is different because due to the switch to a Gradle-based build system.and everything is similar as it in eclipse.I didn't find any wow factor in it as compare to eclipse.Do you know please share us the information. -- -- 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. -- -- 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: App not compatible on Samsung GT-P3110
On Thu, May 16, 2013 at 8:14 AM, bob b...@coolfone.comze.com wrote: Why is it not compatible? I believe that would be his question... Why not just make it compatible? Because he doesn't know why it isn't compatible... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware -- -- 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: App not compatible on Samsung GT-P3110
I know that we have to include this code in the Manifest. supports-screens android:anyDensity=true android:largeScreens=true android:normalScreens=true android:resizeable=true android:smallScreens=true /supports-screens I have not used this code in the manifest yet but doubt if the problem due to this. If you know that you have to include this code in the manifest then include it and see if it fixes your problem. The only way to get rid of your doubt as to whether this is the problem is to TRY it and see if it fixes your problem. If it does then you have no need to doubt. If it doesn't, then you KNOW something else is causing the problem. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 16, 2013 at 9:20 AM, Justin Anderson magouyaw...@gmail.comwrote: On Thu, May 16, 2013 at 8:14 AM, bob b...@coolfone.comze.com wrote: Why is it not compatible? I believe that would be his question... Why not just make it compatible? Because he doesn't know why it isn't compatible... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware -- -- 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] show toast message while waiting for location
Have you looked at LogCat output? Also, as Bob said, toast messages will display and then disappear. It sounds like you want to be displaying a progress dialog instead of a toast. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 16, 2013 at 8:56 AM, bob b...@coolfone.comze.com wrote: Toasts automatically disappear after a short period of time. Thanks. On Thursday, May 16, 2013 2:10:38 AM UTC-5, geo wrote: The problem is that it doesn't work. When I press now the button to start searching for signal it doesn't start at all. Also, I am not sure if it will work like the way I want. Show Waiting while searching for signal and then show the coordinates when it will find them. Τη Πέμπτη, 16 Μαΐου 2013 12:01:24 π.μ. UTC+3, ο χρήστης MagouyaWare έγραψε: Ummm... what exactly is your question? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/**magouyawarehttp://sites.google.com/site/magouyaware On Wed, May 15, 2013 at 2:25 AM, geo geoan...@gmail.com wrote: Hello , I have an application where I use GPS and I want while GPS is looking for position to display a toast Waiting for location and when location is found show the location. To start GPS I press a button: case R.id.getlocation: gps = new GPSTracker(ShowList.this); // check if GPS enabled if(gps.canGetLocation()){ latitude = gps.getLatitude(); longitude = gps.getLongitude(); Toast.makeText(**getApplicationContext(), Your Location is \nLat: + latitude + \nLong: + longitude, Toast.LENGTH_LONG).show(); }else{ //show dialog for enabling GPs gps.showSettingsAlert(); } Now, with the above it shows latitude and latitude :0 because I initialize them to 0. case R.id.getlocation: gps = new GPSTracker(ShowList.this); // check if GPS enabled if(gps.canGetLocation()){ showToast(); }else{ gps.showSettingsAlert(); } private void showToast() { new Thread() { public void run() { try { while (message) { runOnUiThread(new Runnable() { @Override public void run() { latitude = gps.getLatitude(); longitude = gps.getLongitude(); Toast.makeText(**getApplicationContext(), Waiting for location, Toast.LENGTH_LONG).show(); //}else{ // gps.showSettingsAlert(); // } } }); Thread.sleep(1000); message=false; } } catch (InterruptedException e) { e.printStackTrace(); } } }.start(); -- -- 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.
[android-developers] Re: show toast message while waiting for location
Τη Τετάρτη, 15 Μαΐου 2013 11:25:27 π.μ. UTC+3, ο χρήστης geo έγραψε: Hello , I have an application where I use GPS and I want while GPS is looking for position to display a toast Waiting for location and when location is found show the location. To start GPS I press a button: case R.id.getlocation: gps = new GPSTracker(ShowList.this); // check if GPS enabled if(gps.canGetLocation()){ latitude = gps.getLatitude(); longitude = gps.getLongitude(); Toast.makeText(getApplicationContext(), Your Location is \nLat: + latitude + \nLong: + longitude, Toast.LENGTH_LONG).show(); }else{ //show dialog for enabling GPs gps.showSettingsAlert(); } Now, with the above it shows latitude and latitude :0 because I initialize them to 0. case R.id.getlocation: gps = new GPSTracker(ShowList.this); // check if GPS enabled if(gps.canGetLocation()){ showToast(); }else{ gps.showSettingsAlert(); } private void showToast() { new Thread() { public void run() { try { while (message) { runOnUiThread(new Runnable() { @Override public void run() { latitude = gps.getLatitude(); longitude = gps.getLongitude(); Toast.makeText(getApplicationContext(), Waiting for location, Toast.LENGTH_LONG).show(); //}else{ // gps.showSettingsAlert(); // } } }); Thread.sleep(1000); message=false; } } catch (InterruptedException e) { e.printStackTrace(); } } }.start(); -- -- 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: Updated to ADT 22: 'R cannot be resolved to a variable'
Same here!!! I was working without any problem, after an edit on a layout the R cannot be resolved to a variable appeared. I have lost some hours, nothing worked (new repo, new project, new import, clean and reclean, delete gen and bin, etc) I have last adt + last sdk on windows 7 64bit On Thursday, May 16, 2013 11:11:45 AM UTC+2, BoD wrote: Since the update, I have this error in all my projects (including when creating a new Android project from scratch). I am stuck. Does anybody have this issue? Is there an easy way to downgrade to the previous version? Thanks a lot= -- BoD -- -- 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] What is wow factor about android studio in compare to Eclipse.
On Thu, May 16, 2013 at 10:18 AM, Justin Anderson magouyaw...@gmail.comwrote: I've never liked Eclipse workspaces... It just doesn't make sense to me. Why would I want to have all my projects open at the same time? Just feels like like a Visual Studio Solution to me. It lets you organized related projects. Like I have my core Library Project along with the Free, Paid, and Beta versions of my app in one workspace. Switching between different apps, if you have them, does get annoying though. - 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.
[android-developers]
hello evrybody, im newbie in android developping that s why i need your help to solve this issue: i have a mapview that contains overlays , evry one presents a location of a product and it s price at that point ( all the informations are got from web services) and i can display theses informations on clicking on the overlay. Now my object is to add the selected product to the shopping list , i don't know if there exist a way like right click on the point and launch an action which get theses informations help please -- -- 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] What is wow factor about android studio in compare to Eclipse.
TreKing treking...@gmail.com 16 мая 2013 г. 20:06:34 написал: On Thu, May 16, 2013 at 10:18 AM, Justin Anderson magouyaw...@gmail.comwrote: I've never liked Eclipse workspaces... It just doesn't make sense to me. Why would I want to have all my projects open at the same time? Just feels like like a Visual Studio Solution to me. It lets you organized related projects. Like I have my core Library Project along with the Free, Paid, and Beta versions of my app in one workspace. Switching between different apps, if you have them, does get annoying though. My use case (and not just mine, I would think): separate workspaces for different branches. Stable / release in one, new work in another, and a third one with the latest released version to investigate reported bugs... - 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. -- -- 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] License for Google Volley
I caught the steaming video for Google Volley yesterday. Seems impressive. Forgive the silly question, but what are the Terms of Service / licensed used for Volley? -- http://www.opgenorth.net -- -- 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]
On Thu, May 16, 2013 at 11:11 AM, asma rezgui asmarezgu...@gmail.comwrote: i don't know if there exist a way like right click on the point and launch an action which get theses informations There is no right click on Android. However, you can certainly click or long-press a point and launch an action. You can figure out both of these tasks via a Google Search. Otherwise, please be more specific about the problem you're having. - 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.
[android-developers] Android Studio bug tracer
Hello, where can you submit bugs for newly released Android Studio? -- -- 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] Android Studio bug tracer
On Thu, May 16, 2013 at 11:59 AM, Filip Zymek duo.ska...@gmail.com wrote: where can you submit bugs for newly released Android Studio? Same place as always: b.android.com. - 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.
[android-developers] Phone does not update an app from google store
Hello, I am experiencing a strange issue with one of my customers. Their Android phone does not download updates from the google play store. They have PlayStore app configured to Auto-update apps at any time. However, even though the new update is online it would not install it for some reason. I am noticing on my own phone that some applications are not auto-updating either. I have the same setting Auto-update apps at any time. set but there are a few apps (YouTube, TeleNav GPS, Expedia app, etc.) that show up under Manual Updates in the play store app and would not update automatically. Do you know what the reason may be? Thank you. -- -- 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: JNI on SDCard?
Thanks for the help. Using the hint on getApplicationInfo().nativeLibraryDir I could confirm it is a problem on this specific HTC. Probably a bug. On AVD and on a Samnsung it works correctly and I confirmed the existence of the lib files in getApplicationInfo().nativeLibraryDir. On the HTC they are not there when I move the app. Thanks On Thu, May 16, 2013 at 2:42 PM, bob b...@coolfone.comze.com wrote: You may want to take a look here: http://developer.android.com/guide/topics/data/install-location.html In particular: * * Beginning with API Level 8, you can allow your application to be installed on the external storage (for example, the device's SD card). This is an optional feature you can declare for your application with the android:installLocation manifest attribute. *If you do not declare this attribute, your application will be installed on the internal storage only and it cannot be moved to the external storage.* * * * * * * * * It seems like the obvious solution is to just disallow people to move your app to the external storage. Thanks. On Thursday, May 16, 2013 4:19:20 AM UTC-5, Filipe wrote: Hi, Thanks for the help. The problem is that I don't know where the libraries go to when I move the app to SD on my HTC for me to use System.load(). So the only workaround I found is to check for the existance of the .so file in the predefined folder /data/data/your_package_name/**lib. If it is not there, then I unzip it from the package APK file to /data/data/your_package_name/**files folder and load it from there. Thanks On Wed, May 15, 2013 at 11:29 PM, Piren gpi...@gmail.com wrote: That's actually the same person making pretty much the same reply :-) On Thursday, May 16, 2013 1:02:10 AM UTC+3, bob wrote: I found this one using Google: https://groups.google.com/**foru**m/?fromgroups=#!topic/**android-** ndk/0uY4qgam1Wshttps://groups.google.com/forum/?fromgroups=#!topic/android-ndk/0uY4qgam1Ws It says: You must use System.load() if you want to specify the full path name of the file, System.loadLibrary() is only for ones in the default location. Also *you should not be able to load an .so off the SDCARD on an ARM * *system by normal means*, as ARM supports non-executable pages and android's implementation of mmap() refuses to map executable pages backed by a noexec file system. To load from such a file system you would have to map anonymous executable pages and manually load the .so into them, doing appropriate interpretation of the contents and all fixups normally performed by the runtime linker. Thanks. On Wednesday, May 15, 2013 4:32:37 PM UTC-5, Piren wrote: That's what bing got me :) http://stackoverflow.com/**quest**ions/2826412/how-to-load-**jni-** from-sd-card-on-android-2-**1http://stackoverflow.com/questions/2826412/how-to-load-jni-from-sd-card-on-android-2-1 On Wednesday, May 15, 2013 12:00:50 PM UTC+3, Filipe wrote: Hi, I had only used Bing up till now ;) Thanks for your great tutorial on this new thing called Google. I tryed it, but still did not find the answer. The libs are under the /data/data/your_package_name/lib folder. When I move the App I start getting java.lang.**UnsatisfiedLinkError* *: findLibrary returned null I found some new things This works without problems on AVD. But I noticed that even if I move the App to the sdcard on the AVD, the lib remains in the same folder. So maybe the problem is specific to my HTC. Using adb shell I can find the libs in this folder. After moving to sdcard, when I use adb shell I get permission denied trying to access the lib folder !!! So I'm gessing that on my HTC the libs are moved, I just don't know where to. Thanks Terça-feira, 14 de Maio de 2013 23:51:21 UTC+1, Lew escreveu: Filipe wrote: I have a project in Eclipse that uses some jni [sic] libraries that I load using System.loadLibrary(**myNativeLi**b). Those libraries are native to what platform? This works great, but if I move my app to the SDCard it stops working, because it can't load the library. Did you take note of this from the Javadocs for 'System.loadLibrary()'? The mapping of the specified library name to the full path for loading the library is implementation-dependent. Where did you put the library on the device. Is this where the system expects to find libraries? Are there any limitations on moving the app to SDCard when using jni? Or do I have to change my call to System.loadLibrary ? http://developer.android.com/**r**eference/java/lang/System.**html** #loadLibrary(java.lang.**String)http://developer.android.com/reference/java/lang/System.html#loadLibrary(java.lang.String) Also, I see some potentially useful links here: http://lmgtfy.com/?q=Android+**J**NIhttp://lmgtfy.com/?q=Android+JNI -- Lew -- -- You received this message because you are subscribed to the Google Groups Android
Re: [android-developers] Phone does not update an app from google store
On Thu, May 16, 2013 at 12:26 PM, gt8887b gt88...@gmail.com wrote: there are a few apps (YouTube, TeleNav GPS, Expedia app, etc.) that show up under Manual Updates in the play store app and would not update automatically. Do you know what the reason may be? Precisely for the reason you decribed - they require manual updates. This happens when an app changes permissions. - 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] What is wow factor about android studio in compare to Eclipse.
Just feels like like a Visual Studio Solution to me. It lets you organized related projects. Like I have my core Library Project along with the Free, Paid, and Beta versions of my app in one workspace. Except that it doesn't behave like a Solution at all... And when working with a team and trying to get someone's project set up from source code blows chunks. Every time I have to do that I cringe because of the number of hoops I have to jump through. On Thu, May 16, 2013 at 10:06 AM, TreKing treking...@gmail.com wrote: Just feels like like a Visual Studio Solution to me. It lets you organized related projects. Like I have my core Library Project along with the Free, Paid, and Beta versions of my app in one workspace. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware -- -- 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] Phone does not update an app from google store
Manual Updates are usually due to permission changes... When permissions change the user needs to physically agree to the permission changes. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 16, 2013 at 11:26 AM, gt8887b gt88...@gmail.com wrote: Hello, I am experiencing a strange issue with one of my customers. Their Android phone does not download updates from the google play store. They have PlayStore app configured to Auto-update apps at any time. However, even though the new update is online it would not install it for some reason. I am noticing on my own phone that some applications are not auto-updating either. I have the same setting Auto-update apps at any time. set but there are a few apps (YouTube, TeleNav GPS, Expedia app, etc.) that show up under Manual Updates in the play store app and would not update automatically. Do you know what the reason may be? Thank you. -- -- 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] Error installing Android Studio Preview version
I am following the instructions for installing Android Studio Preview on Linux. I am running Ubuntu 12.10 64 bit. This is the specific message I got: 'tools.jar' is not in the Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I then tried: export JAVA_HOME=/usr/lib/jvm/default-java based on advice on askubuntu.com, to no avail. Does anyone know what the issue might be, or how I can go resolving this? I would really like to try out Android Studio, since it looks really cool based on the presentation during the IO keynote. -- -- 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] GLES20Canvas
Can someone help me understand why I can't find GLES20Canvas in my android.jar? I see it here: http://grepcode.com/file_/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/view/GLES20Canvas.java/?v=source But, it's not here: https://lh3.googleusercontent.com/-Lq8ZI3GiXYw/UZU82_wyI4I/AeY/r8ICEQL35v0/s1600/gles20.png 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: Error installing Android Studio Preview version
Ok, I made a silly mistake. I thought that JDK was installed when it was not. OpenJDK-JRE was installed, but not OpenJDK-JDK. I was able to install after realizing this error on my part. I'm leaving this out here in case someone runs into the same problem. Double check that you do in fact have JDK installed. On Thursday, May 16, 2013 3:50:29 PM UTC-4, Matt Kevins wrote: I am following the instructions for installing Android Studio Preview on Linux. I am running Ubuntu 12.10 64 bit. This is the specific message I got: 'tools.jar' is not in the Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I then tried: export JAVA_HOME=/usr/lib/jvm/default-java based on advice on askubuntu.com, to no avail. Does anyone know what the issue might be, or how I can go resolving this? I would really like to try out Android Studio, since it looks really cool based on the presentation during the IO keynote. -- -- 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] Phone does not update an app from google store
Also, updates do not seem to be 100% instantaneous: http://forum.xda-developers.com/showthread.php?t=1498892 *Auto-updates don't seem to be immediate. It could be similar to when an OTA starts rolling out. It will update in waves, so that if say, Google Maps gets an update, they don't have 20 million users or whatever trying to get the same file at the same time from all over the world. I have had apps auto-update on their own, but it is usually after the update has been out for a day or two.* Today, I personally saw some auto-update apps that were sitting around until I clicked something like Update all. Thanks. On Thursday, May 16, 2013 2:36:38 PM UTC-5, MagouyaWare wrote: Manual Updates are usually due to permission changes... When permissions change the user needs to physically agree to the permission changes. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 16, 2013 at 11:26 AM, gt8887b gt8...@gmail.com javascript:wrote: Hello, I am experiencing a strange issue with one of my customers. Their Android phone does not download updates from the google play store. They have PlayStore app configured to Auto-update apps at any time. However, even though the new update is online it would not install it for some reason. I am noticing on my own phone that some applications are not auto-updating either. I have the same setting Auto-update apps at any time. set but there are a few apps (YouTube, TeleNav GPS, Expedia app, etc.) that show up under Manual Updates in the play store app and would not update automatically. Do you know what the reason may be? Thank you. -- -- 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.
Re: [android-developers] Using App Cache - Without Trying to
[image: Attach a file] Attach a file Edit subject Quote original Add Cc On Wednesday, May 15, 2013 3:18:12 PM UTC-7, Piren wrote: How much is too much? Obviously i don't have an answer for that... but if the device freezes and you could pinpoint the issue to these requests, it's safe to say that you've gone over the limit for that device :) I agree with that - if I can succeed on the first two. I still don't have the device. Anyone close to Portland OR with Droid Razr Maxx HD? I wonder how much is too much because Movies, for example, can stream an entire movie to storage and retrieve it and display it in realtime. I think that is much greater load than I am putting on it. What drive isn't flash? I'm assuming that app internal storage (I don't use), external storage, and removable external storage are all flash. Meant the internal drive of course. Unless you pushed the DB to the SDCard, it uses the internal storage btw, any either way DB access is I/O. I don't push the DB to SDCard, I create it there in the first place. Extremely advanced users can actually choose an external SD Card. There is a mode that uses a lot of little files, and another one that uses one big DB with lots of binary blocks. By System blocking i meant that all drive access eventually is on a queue ... (not that it blocks the entire system thread wise). That is something I would expect, and therefore multiple threads could be blocked waiting for that. So hammering the DB with requests is a nice way to make the entire device unresponsive. I've never actually checked if keeping the DB open will load it to memory, The whole thing? It better not. That's not my understanding of how databases should work. I'm not sure what size of DB you are used to working with. but if you know you have lots of DB access, it's a good idea to cache it in memory anyway. I believe as much caching as should be done is already done. I wouldn't use a database or the file system at all if the whole thing could fit in memory. Nathan -- -- 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 Studio for IntelliJ - Plugin
There is a plugin for it already, they talked about it yesterday at intro. check the site... On Thursday, May 16, 2013 5:01:16 AM UTC-4, Andrew Weir wrote: Morning, Does anybody know (or is it reasonable to expect) Android Studio to be available as a plugin for existing license holders of IntelliJ 12? -- -- 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 Studio running slow...
I was wondering if anyone else is experiencing Android Studio running really slow..It appears to also be starting to effect my whole system. But then it may be something else, but did not start until I installed Android Studio... -- -- 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] how to play a video on an OpenGL texture
Did you get any good result? Could you share your code? Thanks in advance. I am looking at it too. It seems there are a bunch of spaces to modify in order to let video output to an OpenGL texture. Just a little wondering why Google doesn't publish an example, since it seems many people ask the same question from my searching result. On Wednesday, December 5, 2012 9:58:04 AM UTC-6, bob wrote: Yes, you're right. I had to change the bind calls to this: GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID); Thanks. On Tuesday, December 4, 2012 6:06:18 PM UTC-6, RichardC wrote: I don't think your bind texture call is correct see *bold* below: *The texture object uses the GL_TEXTURE_EXTERNAL_OES texture target, which is defined by the GL_OES_EGL_image_externalhttp://www.khronos.org/registry/gles/extensions/OES/OES_EGL_image_external.txtOpenGL ES extension. This limits how the texture may be used. Each time the texture is bound it must be bound to the GL_TEXTURE_EXTERNAL_OES target rather than the GL_TEXTURE_2D target. Additionally, any OpenGL ES 2.0 shader that samples from the texture must declare its use of this extension using, for example, an #extension GL_OES_EGL_image_external : require directive. Such shaders must also access the texture using the samplerExternalOES GLSL sampler type.* * * *From: * http://developer.android.com/reference/android/graphics/SurfaceTexture.html On Tuesday, December 4, 2012 3:13:06 PM UTC, bob wrote: I fiddled with a bunch of approaches for binding. The current code looks like this: int[] textures = new int[1]; GLES20.glGenTextures(1, textures, 0); mTextureID = textures[0]; GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID); GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_NEAREST); GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_LINEAR); GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_S, GLES20.GL_REPEAT); GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_T, GLES20.GL_REPEAT); Statics.st = new SurfaceTexture(textures[0]); On Tuesday, December 4, 2012 3:08:16 AM UTC-6, Fabien R wrote: On 03/12/2012 17:50, bob wrote: I actually tried calling it in onDrawFrame, and that yields a slightly different error: 12-03 10:47:23.282: E/SurfaceTexture(2753): [unnamed-2753-0] updateTexImage: error binding external texture image 0x9046042f (slot 5): 0x502 How did you bind your texture ? - Fabien -- -- 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] What is wow factor about android studio in compare to Eclipse.
I don't get the point in changing the IDE but.. funny fact: I can't imagine how much time eclipse and intellij's devs must have spent to avoid having any common key shortcut. xDD 2013/5/16 Justin Anderson magouyaw...@gmail.com Just feels like like a Visual Studio Solution to me. It lets you organized related projects. Like I have my core Library Project along with the Free, Paid, and Beta versions of my app in one workspace. Except that it doesn't behave like a Solution at all... And when working with a team and trying to get someone's project set up from source code blows chunks. Every time I have to do that I cringe because of the number of hoops I have to jump through. On Thu, May 16, 2013 at 10:06 AM, TreKing treking...@gmail.com wrote: Just feels like like a Visual Studio Solution to me. It lets you organized related projects. Like I have my core Library Project along with the Free, Paid, and Beta versions of my app in one workspace. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware -- -- 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. -- *Luis Alberto Pérez García* Mail: lui...@gmail.com Twitter: @luixal http://twitter.com/luixal LinkedIn: http://es.linkedin.com/in/luisalbertoperezgarcia -- -- 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: What is wow factor about android studio in compare to Eclipse.
The wow factor is that it is a v0.1 IDE and that people install it as if it was the second coming, expecting it to be a stable product. WOW. -- -- 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: Error installing Android Studio Preview version
So what might break if the Java configuration is changed? Changing Java configurations is not something that developers do everyday. There probably needs to be more complete instructions. Eclipse works fine with my current configuration. I may wait on Studio until I see what problems and solutions others have. On Thursday, May 16, 2013 12:50:29 PM UTC-7, Matt Kevins wrote: I am following the instructions for installing Android Studio Preview on Linux. I am running Ubuntu 12.10 64 bit. This is the specific message I got: 'tools.jar' is not in the Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I then tried: export JAVA_HOME=/usr/lib/jvm/default-java based on advice on askubuntu.com, to no avail. Does anyone know what the issue might be, or how I can go resolving this? I would really like to try out Android Studio, since it looks really cool based on the presentation during the IO keynote. -- -- 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: Error installing Android Studio Preview version
Basically it's the bat configuration that they use on Android Studio. If you check it (inside the bin folder of Android Studio) you will see where it checks for JDKs and you will be able to solve the problem! On Fri, May 17, 2013 at 3:56 AM, jtoolsdev brianjto...@gmail.com wrote: So what might break if the Java configuration is changed? Changing Java configurations is not something that developers do everyday. There probably needs to be more complete instructions. Eclipse works fine with my current configuration. I may wait on Studio until I see what problems and solutions others have. On Thursday, May 16, 2013 12:50:29 PM UTC-7, Matt Kevins wrote: I am following the instructions for installing Android Studio Preview on Linux. I am running Ubuntu 12.10 64 bit. This is the specific message I got: 'tools.jar' is not in the Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I then tried: export JAVA_HOME=/usr/lib/jvm/**default-java based on advice on askubuntu.com, to no avail. Does anyone know what the issue might be, or how I can go resolving this? I would really like to try out Android Studio, since it looks really cool based on the presentation during the IO keynote. -- -- 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 Software Developer* - *http://goo.gl/TsJ8u* - *http://acschedule.org* -- -- 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: What is wow factor about android studio in compare to Eclipse.
Well... I've played with it just a little bit, but seems quite stable to me. Some rendering problems on gnome2 with two monitors, but not big deal :) 2013/5/17 b0b pujos.mich...@gmail.com The wow factor is that it is a v0.1 IDE and that people install it as if it was the second coming, expecting it to be a stable product. WOW. -- -- 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. -- *Luis Alberto Pérez García* Mail: lui...@gmail.com Twitter: @luixal http://twitter.com/luixal LinkedIn: http://es.linkedin.com/in/luisalbertoperezgarcia -- -- 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] Generate Barcode
Hi Thank you for your replay. But that isn't my requirement,My requirement is when i enter value in edit text and press button called generate barcode,then barcode image will generate in android.Please give me solution. Thank you. On Thu, May 16, 2013 at 5:49 PM, Mukesh Srivastav mukicha...@gmail.comwrote: use the below link that will help you to create the barcode in Android. http://www.mysamplecode.com/2011/09/android-barcode-scanner-using-zxing.html On Thu, May 16, 2013 at 5:43 PM, sree android android.sreeni...@gmail.com wrote: Hi, How can i create a simple bar code create example in android. here when enter number in edit text that number will convert into bar code image. Please give me suggestion how can i implement 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@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. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- -- 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.