[android-developers] I cant create a new Android Project
Hi guys, I have a slight problem, I apologize if this is too basic a question. I am trying to use phonegap with eclipse and have installed the ADT Plugin and the android SDK. However, when I click FILE == New, there is not an option to create an android project. I have reinstalled it many times and it is still not working. Any help would be kindly appreciated. 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
[android-developers] Re: ioctl shell command in system bin
I tried on Tiny6410. Using ioctl one can turn on and off the leds To turn on led3 # ioctl -d /dev/leds 1 3 sending ioctl 0x1 0x03 0x00 0x00 0x00 return buf: 03 00 00 00 To tun off led3 # ioctl -d /dev/leds 0 3 sending ioctl 0x0 0x03 0x00 0x00 0x00 return buf: 03 00 00 00 Hope this helps. On Thursday, September 16, 2010 7:41:49 PM UTC+5:30, Dave wrote: Has anyone had any success in using the ioctl that is included in system/bin ? I would like to query some device drivers and any example would be appreciated. $ ioctl -h ioctl -h ioctl [-l length] [-a argsize] [-rdh] device ioctlnr -l lenght Length of io buffer -a argsize Size of each argument (1-8) -rOpen device in read only mode -dDirect argument (no iobuffer) -hPrint 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
[android-developers] Android Project not showing up.
I have installed the Android SDK and ADT Plugin for Eclipse. I do have the Android folder when I goto File-Other, but something weird is that, I only have options such as Android Application Project, Android Project with Existing Source and Android test Project, yet I do not have Android Project. I need some guidance in terms of this factor. I am running ADT 20 and SDK 20 too. I also checked my Windows - Preferences. -- 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
[android-developers] SDK Rev. 20 Breaks Emulation
All 4.0/4.1 emulation using anything other than the default WVGA800 is now broken. When is this going to be fixed, this is a huge problem for those of us who have multiple emulators for multiple Android applications. This needs to be addressed yesterday. -- 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
[android-developers] Android Project none to be found.
I downloaded the SDK and ADT Plugin at Eclipse. When I tried to create a Android Project, it pops up other project such as Android Application Project, Android Project from Existing Code and etc etc. I need help, thanks (: Using ADT 20 Eclipse Indigo. -- 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
[android-developers] Android + asp.net Web Service (returns data set) + SQL Server
Good morning, I have a web service that returns a data set from sql server. The data set consists of streets, city, state, zip, longitude, and latitude. What would be the best way to call the web service from the android application, have it return the data set, then maybe store it in an array list and cycle through that array list to get the text into a text view? I have read many tutorials with web services and calling it. I have gotten to the point where the web service returns the correct information but I am not sure how to translate that information and display it in my android app. The web service is located at http://yamil.dyndns-home.com/getMapPoints.asmx Is this even the correct way I should be doing it? If anyone can assist me that would be great. Best regards, Yamil Font -- 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
[android-developers] How can I create an app that print in android?
How can I create an app that print in android? -- 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
[android-developers] MediaCodec for Transcoding
Hi , I came to know that API Level 16 has MediaCodec class. Could we do video transcoding..say capture a 1080p video and save it for video streaming under a differnt format and resolution. Regards, Vineeth -- 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
[android-developers] Problem adding android plugin in Netbeans ide7.1
i m having trouble in adding android plugin in ide7.1 what should i do i am fully confused right now so plz help me out of 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
Re: [android-developers] I cant create a new Android Project
Use Android Application Project. -- Tor On Jun 30, 2012 11:05 PM, Michael pizzaands...@gmail.com wrote: Hi guys, I have a slight problem, I apologize if this is too basic a question. I am trying to use phonegap with eclipse and have installed the ADT Plugin and the android SDK. However, when I click FILE == New, there is not an option to create an android project. I have reinstalled it many times and it is still not working. Any help would be kindly appreciated. 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 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
Re: [android-developers] Android Project not showing up.
Use Android Application Project. You can uncheck Create Activity on a subsequent page to make a blank project. On Jun 30, 2012 11:05 PM, Samuel EpicWin samx...@gmail.com wrote: I have installed the Android SDK and ADT Plugin for Eclipse. I do have the Android folder when I goto File-Other, but something weird is that, I only have options such as Android Application Project, Android Project with Existing Source and Android test Project, yet I do not have Android Project. I need some guidance in terms of this factor. I am running ADT 20 and SDK 20 too. I also checked my Windows - Preferences. -- 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 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
[android-developers] Bluetooth Signal Strength
*Dear Sir,* * * *I need to measure Signal strength of Bluetooth like :App Bluetooth Finder * * * *Would you please help me to find out,how to do this?* * * *moreover this,i need to show kind of bar ,which could show signal strength. * * * *:)* *Thanks Regards* -- 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
Re: [android-developers] Re: How to: Free to Paid App and retain preference and db files?
On Sat, Jun 30, 2012 at 9:17 AM, Mystique joven.ch...@gmail.com wrote: I was also thinking to write a simple app that generate hash value and write it in a file, user will purchase this app and my main app will look for this file and compare the hash value. Will this work? Does Google allow this? The are two separate apps, so they run under different uids, so can't generally share files. You could do hacks with putting the file to a location on external storage where app permissions are not enforced, but a content provider would be the more formally correct way to do this -- it allows you to have security between the two (protecting the provider with a signature-only permission) and guarantee things like no other applications being able to get in the middle and manipulate the data that is transferred. Definitely don't use shared user IDs just for this. To be honest, I think this is a great example of where in-app billing work well, instead of needing to have two different versions of an app. Just be sure to use the kind of billing product that persists with the user's account. :) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
Re: [android-developers] Getting spammed by android project
what are you talking about, this group? Or the actual AOSP project? (Which is a different forum..) kris On Sat, Jun 30, 2012 at 11:05 AM, mats m...@mankz.com wrote: Anyone know how to unsubscrive from a google code repository? Right now it seems I'm getting an email for every ticket update in the Android project. About 200 per day, sort of freaking me out. Any ideas? /Mats -- 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 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
[android-developers] Re: GL10 access from outside of the rendering thread ...
Hi, How exactly are you uploading the texture on that other platform? Are you simply doing an eglMakeCurrent() to reassign the GL context to another thread or are you using an EGLImage? On Saturday, June 30, 2012 4:33:32 PM UTC-7, gl...@wanderfulstorybooks.com wrote: Hello, I am optimizing an OpenGL-based application ported from that other major mobile OS and find that I cannot successfully access the GL context from anything other than the rendering thread of GLSurfaceView. What I CAN do on other platforms is upload my single (and large) texture to GL prior to needing to render the texture itself. This is a 640x480 8-bit RGB texture that takes some time to upload to the chip and needs to be done every time I realize a new frame of animation from the background system memory buffer. I'm sure you can appreciate the savings in execution time if I can perform this upload from another thread when I have nothing left to do but wait for GLSurfaceView's rendering thread to call me. All is synchronized safely as evidenced by the successful release of this software using this very same technique on that-other-platform-that-shall-not-be named. Things are very smooth and zippy on that platform, but Android currently suffers by comparison. Is there any way to do this? Thanks Glenn -- 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
[android-developers] Can i get caller's base transceiver station (BTS) location????
Hello Android family. This is my first day. I am learning to develop android application and i want to develop an application that show caller's *base transceiver station* (*BTS*) location. Is it possible to caller's BTS location in Android? -- 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
[android-developers] Car Emulator with NFC, is possible?
Hi I'm a university student and I'm starting in android development. I have a question with the mode card emulator . It is possible that a phone with android (in our case we have a Galaxy S III) can act as a Mifare card to communicate with NFC elements of the building and to open doors? O r only the terminal can read Mifare targets? How can develop the first action? 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
[android-developers] ADT plugin disappeared from Eclipse after update
The ADT Eclipse just disappeared after the latest update, I guess Rev. 20. Its not there in the new project wizard, perspectives, preference, etc. It was just fine till yesterday. Could someone help me resolve. My OS: Ubuntu 12.04 With Eclipse Version: 3.7.2 When I try to install again it says, its already installed. Error details below: Cannot complete the request. See the error log for details. Android Development Tools will be ignored because it is already installed. 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
[android-developers] Dev Phone - Galaxy Nexus
Hi all, I read the news about the Galaxy Nexus banned in US. As I know,that is the standard 4.0 dev phone. Will it be still the standard dev phone? What do you think about the news as well? Would it be affect the sale of Android Phone? -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- 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
[android-developers] ActionBar and forcing items into the overflow menu
I am trying to force reset to show up in ActionBar's overflow (3 vertical dots). The appearance of summary is correct, but I can't seem to make the overflow appear. What set of enums do I need for android:showAsAction? I have tried these 3 variants but none give the desired result: android:showAsAction=ifRoom|withText android:showAsAction=never|withText android:showAsAction=always|withText Maybe it's user error, but this would be useful to add to the docs http://developer.android.com/guide/topics/ui/actionbar.html#ActionItems I have also looked on stackoverflow and have not found anything directly answering this question. http://stackoverflow.com/questions/9286822/how-to-force-use-of-overflow-menu-on-devices-with-menu-button http://stackoverflow.com/questions/9163594/overflow-actionbar-entry-missing-for-ics-phone-using-compat-lib?rq=1 [image: Inline image 3] menu xmlns:android=http://schemas.android.com/apk/res/android; item android:id=@+id/menu_reset android:icon=@drawable/ic_menu_reset android:showAsAction=ifRoom|withText android:title=@string/menu_reset/ item android:id=@+id/menu_summary android:icon=@drawable/ic_menu_summary android:showAsAction=always android:title=@string/menu_summary/ /menu public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activitymain); ActionBar actionBar = getActionBar(); actionBar.show(); return; } -- 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
Re: [android-developers] Re: How to get checked values from list view with checkbox
Thanks boss On Sun, Jul 1, 2012 at 10:30 AM, ala hammad 3la2.7am...@gmail.com wrote: hi i think this link can help you .. http://windrealm.org/tutorials/android/listview-with-checkboxes-without-listactivity.php On Sunday, 1 July 2012 07:29:24 UTC+3, dragon fire wrote: Hi..I am having a listview with checkbox in that I want only checked items..can anyone help me.. -- 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 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
[android-developers] Re: MediaRecorder.start fails
Did you fix this? On Monday, March 12, 2012 5:41:50 AM UTC+2, mgah wrote: Does anyone know why MediaRecorder.start() returns start failed -2147483648? I followed the state machine in the Camera description and I am able to see the camera on my phone but when I start to record, i get that error. Any ideas? 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
Re: [android-developers] Re: Renderscript Deprecated
On Sat, Jun 30, 2012 at 6:08 PM, Dave Burke davebu...@android.com wrote: To add a little more context to the deprecation notice (I think the choice of the word experimental is a little misleading, sorry for the confusion): The feedback we got from internal and external app developers was that they preferred to use OpenGL directly because of familiarity portability either through our Java bindings or NDK. In contrast, we do see interest in the compute API of Renderscript. Hence we've decided to no longer evolve the RS graphics APIs (hence deprecation notice) and instead focus on building out Renderscript's GPU-compute support and developing Renderscript further especially for applications such as image processing. Thanks for the clarification! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] Dev Phone - Galaxy Nexus
On Sun, Jul 1, 2012 at 4:50 AM, Michael Leung michaelchi...@gmail.com wrote: I read the news about the Galaxy Nexus banned in US. As I know,that is the standard 4.0 dev phone. There is no concept of a standard dev phone in Android for SDK apps, which is the focus of this list. Any device that legitimately has the Play Store on it is a dev phone. What do you think about the news as well? Would it be affect the sale of Android Phone? This list is for developing applications with the Android SDK -- your questions are off-topic for this list. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] ActionBar and forcing items into the overflow menu
The overflow only appears on devices and emulators that lack an off-screen MENU button. For devices and emulators that have an off-screen MENU button, pressing MENU displays the overflow menu. android:showAsAction=never works just fine. On Sun, Jul 1, 2012 at 4:56 AM, Anuj Goyal anuj.go...@gmail.com wrote: I am trying to force reset to show up in ActionBar's overflow (3 vertical dots). The appearance of summary is correct, but I can't seem to make the overflow appear. What set of enums do I need for android:showAsAction? I have tried these 3 variants but none give the desired result: android:showAsAction=ifRoom|withText android:showAsAction=never|withText android:showAsAction=always|withText Maybe it's user error, but this would be useful to add to the docs http://developer.android.com/guide/topics/ui/actionbar.html#ActionItems I have also looked on stackoverflow and have not found anything directly answering this question. http://stackoverflow.com/questions/9286822/how-to-force-use-of-overflow-menu-on-devices-with-menu-button http://stackoverflow.com/questions/9163594/overflow-actionbar-entry-missing-for-ics-phone-using-compat-lib?rq=1 [image: Inline image 3] menu xmlns:android=http://schemas.android.com/apk/res/android; item android:id=@+id/menu_reset android:icon=@drawable/ic_menu_reset android:showAsAction=ifRoom|withText android:title=@string/menu_reset/ item android:id=@+id/menu_summary android:icon=@drawable/ic_menu_summary android:showAsAction=always android:title=@string/menu_summary/ /menu public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activitymain); ActionBar actionBar = getActionBar(); actionBar.show(); return; } -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] How can I create an app that print in android?
Step #1: Find some third-party printing API Step #2: Try using it On Fri, Jun 29, 2012 at 7:30 PM, Yuri Feitosa Duarte yuri...@gmail.com wrote: How can I create an app that print in android? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] Maximum device registration using same Product key
GCM questions should go to the android-gcm Google Group: https://groups.google.com/group/android-gcm On Sat, Jun 30, 2012 at 4:35 AM, Hardik Trivedi hardik.triv...@indianic.com wrote: Hello, I have successfully implemented new GCM. I would like to know that how much device I can register using single product key and Server API key. I have different different app having different package names. And I have only one server. So what I want to do is to use same product key in all apps and same server API key too. Is it possible ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] SDK Rev. 20 Breaks Emulation
On Sat, Jun 30, 2012 at 7:49 PM, Terry Cox terrence...@gmail.com wrote: All 4.0/4.1 emulation using anything other than the default WVGA800 is now broken. WXGA, for example, works fine here. The problem, whatever it is, is with your environment. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] Help Required
This list is for developing applications with the Android SDK. Questions regarding what phone to buy belong someplace else. On Sat, Jun 30, 2012 at 2:46 PM, MMX moinakperso...@gmail.com wrote: I don't even have an android phone.Currently,I use a Java Mobile.I don't have enough to buy a good android phone.Neither I have tested any android devices.I just have heard that android 4.0 has remarkable features.Can anyone help me in this regard??..I just want to have a taste of Android 4.0 device!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] Noob question: where to go for new development
On Fri, Jun 29, 2012 at 4:28 PM, Daniel Struve dstr...@gmail.com wrote: I would love to join in development for the google glasses. Where to start? Step #1: Wait a year or so for them to be made available to the general public, while saving your money along the way, because the devices are likely to be rather expensive (developer editions for 2012 I|O attendees are 1500 USD IIRC). Step #2: Ask again then. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] GCM error: unavailable
GCM questions should go to the android-gcm Google Group: https://groups.google.com/group/android-gcm On Fri, Jun 29, 2012 at 6:01 PM, Monnand monn...@gmail.com wrote: I noticed there are already someone got similar issue: I have just switch to GCM from C2DM. However, every message I sent would got an unavailable error. According to the document, I should retry later. But no matter how many times I tried, it is still unavailable. Is there anyone who has same issue as mine? I thought there is some error on my side. But if so, there should be some other error message instead of unavailable. Regards, -Monnand -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] Dev Phone - Galaxy Nexus
Thanks! Mark, sorry to ask about the off-topic question. On Sun, Jul 1, 2012 at 10:08 PM, Mark Murphy mmur...@commonsware.comwrote: On Sun, Jul 1, 2012 at 4:50 AM, Michael Leung michaelchi...@gmail.com wrote: I read the news about the Galaxy Nexus banned in US. As I know,that is the standard 4.0 dev phone. There is no concept of a standard dev phone in Android for SDK apps, which is the focus of this list. Any device that legitimately has the Play Store on it is a dev phone. What do you think about the news as well? Would it be affect the sale of Android Phone? This list is for developing applications with the Android SDK -- your questions are off-topic for this list. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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 -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- 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
Re: [android-developers] Dev Phone - Galaxy Nexus
Try the android-discuss group for this. On Sun, Jul 1, 2012 at 6:01 PM, Michael Leung michaelchi...@gmail.comwrote: Thanks! Mark, sorry to ask about the off-topic question. On Sun, Jul 1, 2012 at 10:08 PM, Mark Murphy mmur...@commonsware.comwrote: On Sun, Jul 1, 2012 at 4:50 AM, Michael Leung michaelchi...@gmail.com wrote: I read the news about the Galaxy Nexus banned in US. As I know,that is the standard 4.0 dev phone. There is no concept of a standard dev phone in Android for SDK apps, which is the focus of this list. Any device that legitimately has the Play Store on it is a dev phone. What do you think about the news as well? Would it be affect the sale of Android Phone? This list is for developing applications with the Android SDK -- your questions are off-topic for this list. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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 -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- 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 -- Raghav Sood Please do not email private questions to me as I do not have time to answer them. Instead, post them to public forums where others and I can answer and benefit from them. http://www.appaholics.in/ - Founder http://www.apress.com/9781430239451 - Author +91 81 303 77248 -- 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
Re: [android-developers] Re: How to: Free to Paid App and retain preference and db files?
Hi, good to learn from all of you here. One of the usual request for the paid version is to remove ads and Internet permission. Some user just do no feel good about turning on Internet permission. If I implement in-app billing, the Internet permission will still be there since it already has it in Manifest so user would not be happy. Having a separate install file/key will still have the same situation. Next option is to add an export feature to the Free app like that Treking suggested so user can export it and import it in the Paid version. This is a good option but I am worried about user uninstalling the free app after purchase and thought the configuration and db will be automatically available. They might not even update to the latest free version that has the export feature. I was evening thinking to automate it in this way if the free app detected the paid app running during start to automatically backup the configure and put it in a sdcard location and when user start the paid version it prompt manually whether to import it if the preference has not been set or option in the menu for import. Then, if user uninstall the free version immediately after installing the paid version then the user will lost the ability to export. Do all these sounds complicated? Do you guys also implement LVL for paid app? If so, do we need to maintain a free version without the LVL code? On Sunday, 1 July 2012 15:05:28 UTC+8, Dianne Hackborn wrote: On Sat, Jun 30, 2012 at 9:17 AM, Mystique wrote: I was also thinking to write a simple app that generate hash value and write it in a file, user will purchase this app and my main app will look for this file and compare the hash value. Will this work? Does Google allow this? The are two separate apps, so they run under different uids, so can't generally share files. You could do hacks with putting the file to a location on external storage where app permissions are not enforced, but a content provider would be the more formally correct way to do this -- it allows you to have security between the two (protecting the provider with a signature-only permission) and guarantee things like no other applications being able to get in the middle and manipulate the data that is transferred. Definitely don't use shared user IDs just for this. To be honest, I think this is a great example of where in-app billing work well, instead of needing to have two different versions of an app. Just be sure to use the kind of billing product that persists with the user's account. :) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
Re: [android-developers] Re: How to: Free to Paid App and retain preference and db files?
Regarding the Internet permission - you don't have to use ads in the free version, rather offering the users some other incentive(s) to upgrade. 2012/7/1 Mystique joven.ch...@gmail.com Hi, good to learn from all of you here. One of the usual request for the paid version is to remove ads and Internet permission. Some user just do no feel good about turning on Internet permission. If I implement in-app billing, the Internet permission will still be there since it already has it in Manifest so user would not be happy. Having a separate install file/key will still have the same situation. Next option is to add an export feature to the Free app like that Treking suggested so user can export it and import it in the Paid version. This is a good option but I am worried about user uninstalling the free app after purchase and thought the configuration and db will be automatically available. They might not even update to the latest free version that has the export feature. I was evening thinking to automate it in this way if the free app detected the paid app running during start to automatically backup the configure and put it in a sdcard location and when user start the paid version it prompt manually whether to import it if the preference has not been set or option in the menu for import. Then, if user uninstall the free version immediately after installing the paid version then the user will lost the ability to export. Do all these sounds complicated? Do you guys also implement LVL for paid app? If so, do we need to maintain a free version without the LVL code? -- 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
Re: [android-developers] Passing Object
i have tried this its not workin. i think that is use to pass the string between activity. On Fri, Jun 29, 2012 at 2:23 PM, dEEPESH PPM deepesh...@gmail.com wrote: Use this, Intent i = new Intent(CurrentActivity.this, NextActivity.class); i.putExtra(key, object); intent.startActivity(i); On Tue, Jun 26, 2012 at 12:54 PM, mohammed Nuhail nuhail...@gmail.comwrote: How to pass the object from one activity to another ? -- 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 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 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
[android-developers] Re: problm on spinners
my problem is in a screen i have two spinners..in ist spinner i have a list of movies wen we selct a movie from that spinner..2nd spinner wil contails list of theaters related to that selcted movie only i m new to android juzz tryng at static level.. On Friday, June 29, 2012 1:51:25 PM UTC+5:30, Ina Gupta wrote: how to connect 2 spinners together. Meaning, the items inside 2nd spinner will depend on whatever item is chosen for the 1st spinner -- 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
[android-developers] Re: problm on spinners
my problem is in a screen i have two spinners..in ist spinner i have a list of movies wen we selct a movie from that spinner..2nd spinner wil contails list of theaters related to that selcted movie only i m new to android juzz tryng at static level.. On Friday, June 29, 2012 1:51:25 PM UTC+5:30, Ina Gupta wrote: how to connect 2 spinners together. Meaning, the items inside 2nd spinner will depend on whatever item is chosen for the 1st spinner -- 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
[android-developers] Re: problm on spinners
my problem is in a screen i have two spinners..in ist spinner i have a list of movies wen we selct a movie from that spinner..2nd spinner wil contails list of theaters related to that selcted movie only i m new to android juzz tryng at static level.. On Friday, June 29, 2012 1:51:25 PM UTC+5:30, Ina Gupta wrote: how to connect 2 spinners together. Meaning, the items inside 2nd spinner will depend on whatever item is chosen for the 1st spinner -- 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
[android-developers] Re: problm on spinners
my problem is in a screen i have two spinners..in ist spinner i have a list of movies wen we selct a movie from that spinner..2nd spinner wil contails list of theaters related to that selcted movie only i m new to android juzz tryng at static level.. On Friday, June 29, 2012 1:51:25 PM UTC+5:30, Ina Gupta wrote: how to connect 2 spinners together. Meaning, the items inside 2nd spinner will depend on whatever item is chosen for the 1st spinner -- 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
[android-developers] Re: problm on spinners
my problem is in a screen i have two spinners..in ist spinner i have a list of movies wen we selct a movie from that spinner..2nd spinner wil contails list of theaters related to that selcted movie only i m new to android juzz tryng at static level.. On Friday, June 29, 2012 1:51:25 PM UTC+5:30, Ina Gupta wrote: how to connect 2 spinners together. Meaning, the items inside 2nd spinner will depend on whatever item is chosen for the 1st spinner -- 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
[android-developers] Re: problm on spinners
my problem is in a screen i have two spinners..in ist spinner i have a list of movies wen we selct a movie from that spinner..2nd spinner wil contails list of theaters related to that selcted movie only i m new to android juzz tryng at static level.. On Friday, June 29, 2012 1:51:25 PM UTC+5:30, Ina Gupta wrote: how to connect 2 spinners together. Meaning, the items inside 2nd spinner will depend on whatever item is chosen for the 1st spinner -- 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
[android-developers] Re: problm on spinners
my problem is in a screen i have two spinners..in ist spinner i have a list of movies wen we selct a movie from that spinner..2nd spinner wil contails list of theaters related to that selcted movie only i m new to android juzz tryng at static level.. On Friday, June 29, 2012 1:51:25 PM UTC+5:30, Ina Gupta wrote: how to connect 2 spinners together. Meaning, the items inside 2nd spinner will depend on whatever item is chosen for the 1st spinner -- 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
Re: [android-developers] Re: problm on spinners
Use Sqlite select array from there On Sun, Jul 1, 2012 at 6:44 PM, Ina Gupta ina.mc...@gmail.com wrote: my problem is in a screen i have two spinners..in ist spinner i have a list of movies wen we selct a movie from that spinner..2nd spinner wil contails list of theaters related to that selcted movie only i m new to android juzz tryng at static level.. On Friday, June 29, 2012 1:51:25 PM UTC+5:30, Ina Gupta wrote: how to connect 2 spinners together. Meaning, the items inside 2nd spinner will depend on whatever item is chosen for the 1st spinner -- 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 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
Re: [android-developers] may i declare uses-permission in the AndroidManifest.xml of the test project?
i see On Jun 30, 2012 1:02 AM, Dianne Hackborn hack...@android.com wrote: I would *strongly* discourage you from using shared user IDs. Once you publish your app like this, you can't change it. This has lots of subtle repercussions for your app. Just please stay away from it. Definitely do not use it just for testing. On Wed, Jun 27, 2012 at 8:22 PM, tiger meng xiaoxi.m...@gmail.com wrote: hi Dianne i found that if i share the linux user-id of my main and test application (by declaring same sharedUserId string), i can put the extra test purpose permissions in my test project's androidmanifest.xml file. it works, my test app have the permission now. the good part is, i don't need to change the src code. is it a strange work around in your opinion? On Wednesday, June 27, 2012 8:08:08 AM UTC+8, Dianne Hackborn wrote: Probably not, this is pretty core to the security model. On Mon, Jun 25, 2012 at 10:14 PM, tiger meng xiaoxi.m...@gmail.comwrote: i see. thanks. it makes sense to me. hope android project can consider my case, and design some easier to use mechanism for test projects in the future :) On Tuesday, June 26, 2012 9:56:52 AM UTC+8, Dianne Hackborn wrote: I assume you mean you are using test code that runs in Instrumentation, so your test code is in a separate .apk from your main app. If so, then yes, a service in your test .apk that your test code can connect with and call to have it to the protected operations. On Mon, Jun 25, 2012 at 6:11 PM, tiger meng xiaoxi.m...@gmail.comwrote: thx. so that the test code runs in a separate service, not in my application's process. so that i can declare uses-permission in my test project. is it what you mean? On Tuesday, June 26, 2012 8:06:37 AM UTC+8, Dianne Hackborn wrote: Correct, Instrumentation runs in the process of the app being tested, so can only run with its permissions. You can't extend the app's permissions without changing its manifest to declare them. I suppose you could put a service in your instrumentation .apk that your instrumentation code can connect with from the app to execute code that needs other permissions. On Mon, Jun 25, 2012 at 2:25 AM, tiger meng xiaoxi.m...@gmail.comwrote: hi all, i created an Android project and a test project. my test cases want to access network, e.g. upload test log to my log server. my app doesn't access network, however. uses-permission android:name=android.**permission.INTERNET / so where shall i declare above uses-permission ? in application's manifest or in test project's manifest? according to my test, i works only when i put it in application manifest. when i put it in test project, i got permission denial security exception... what shall i do? -- 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscribe@googlegroups.comandroid-developers%2bunsubscr...@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 -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. On Tuesday, June 26, 2012 8:06:37 AM UTC+8, Dianne Hackborn wrote: Correct, Instrumentation runs in the process of the app being tested, so can only run with its permissions. You can't extend the app's permissions without changing its manifest to declare them. I suppose you could put a service in your instrumentation .apk that your instrumentation code can connect with from the app to execute code that needs other permissions. On Mon, Jun 25, 2012 at 2:25 AM, tiger meng xiaoxi.m...@gmail.comwrote: hi all, i created an Android project and a test project. my test cases want to access network, e.g. upload test log to my log server. my app doesn't access network, however. uses-permission android:name=android.**permission.INTERNET / so where shall i declare above uses-permission ? in application's manifest or in test project's manifest? according to my test, i works only when i put it in application manifest. when i put it in test project, i got permission denial security exception... what shall i do? -- 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 android-developers@googlegroups.com To unsubscribe from this group, send email to
Re: [android-developers] may i declare uses-permission in the AndroidManifest.xml of the test project?
reasonable thanks On Jun 30, 2012 12:06 AM, Jagadish Vasarla vasa...@gmail.com wrote: Create a Service with aidl interface which uploads logs to server. Include your android.permission.INTERNET permission in the service. Call the Service calls from ur test app. It is just like server and client. With Regards, V.Jagadish On Mon, Jun 25, 2012 at 2:55 PM, tiger meng xiaoxi.m...@gmail.com wrote: hi all, i created an Android project and a test project. my test cases want to access network, e.g. upload test log to my log server. my app doesn't access network, however. uses-permission android:name=android.permission.INTERNET / so where shall i declare above uses-permission ? in application's manifest or in test project's manifest? according to my test, i works only when i put it in application manifest. when i put it in test project, i got permission denial security exception... what shall i do? -- 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 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 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
[android-developers] Re: GL10 access from outside of the rendering thread ...
Below is my curet uploading and use of the texture from the renderer's onDrawFrame(GL10 go) method. I would simply like to call gl.glCompressedTexImage2D from another thread, oftentimes many milliseconds before the rendering thread is ready to be called. I place the rendering code within a try lock block and on other platform, I place the upload request within a lock block. If the renderer comes along why another thread is uploading the texture, it request that the context be rendered again and returns from the request without doing anything. When the renderer successfully enters the try lock block, then outside threads are blocked from updating the texture until the rendering thread completes it's work and releases the lock. This is very basic and works on smoothly on 4 other platforms, but my research so far has led me to a universal answer of you can't do this. I imagine that I could if I wanted to kick the rendering in the realm of the NDK, but I thought I'd ask for an authoritative answer first ... m_textureBuffer.rewind(); gl.glCompressedTexImage2D( GL10.GL_TEXTURE_2D, 0, GL10.GL_PALETTE8_RGBA8_OES, m_textureWidth, m_textureHeight, 0, m_textureSize, m_textureBuffer); gl.glColor4f( m_textureColor, m_textureColor, m_textureColor, 1); gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4); On Sunday, July 1, 2012 12:26:01 AM UTC-7, Romain Guy (Google) wrote: Hi, How exactly are you uploading the texture on that other platform? Are you simply doing an eglMakeCurrent() to reassign the GL context to another thread or are you using an EGLImage? On Saturday, June 30, 2012 4:33:32 PM UTC-7, gl...@wanderfulstorybooks.comwrote: Hello, I am optimizing an OpenGL-based application ported from that other major mobile OS and find that I cannot successfully access the GL context from anything other than the rendering thread of GLSurfaceView. What I CAN do on other platforms is upload my single (and large) texture to GL prior to needing to render the texture itself. This is a 640x480 8-bit RGB texture that takes some time to upload to the chip and needs to be done every time I realize a new frame of animation from the background system memory buffer. I'm sure you can appreciate the savings in execution time if I can perform this upload from another thread when I have nothing left to do but wait for GLSurfaceView's rendering thread to call me. All is synchronized safely as evidenced by the successful release of this software using this very same technique on that-other-platform-that-shall-not-be named. Things are very smooth and zippy on that platform, but Android currently suffers by comparison. Is there any way to do this? Thanks Glenn -- 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
Re: [android-developers] Re: How to: Free to Paid App and retain preference and db files?
Yes, I have additional features for the paid version but was thinking to maintain the Ads in the free version. So you are suggestion to completely remove the Ads for free and focus on the Paid version for incentive? On Sunday, 1 July 2012 20:56:37 UTC+8, Kostya Vasilyev wrote: Regarding the Internet permission - you don't have to use ads in the free version, rather offering the users some other incentive(s) to upgrade. 2012/7/1 Mystique Hi, good to learn from all of you here. One of the usual request for the paid version is to remove ads and Internet permission. Some user just do no feel good about turning on Internet permission. If I implement in-app billing, the Internet permission will still be there since it already has it in Manifest so user would not be happy. Having a separate install file/key will still have the same situation. Next option is to add an export feature to the Free app like that Treking suggested so user can export it and import it in the Paid version. This is a good option but I am worried about user uninstalling the free app after purchase and thought the configuration and db will be automatically available. They might not even update to the latest free version that has the export feature. I was evening thinking to automate it in this way if the free app detected the paid app running during start to automatically backup the configure and put it in a sdcard location and when user start the paid version it prompt manually whether to import it if the preference has not been set or option in the menu for import. Then, if user uninstall the free version immediately after installing the paid version then the user will lost the ability to export. Do all these sounds complicated? Do you guys also implement LVL for paid app? If so, do we need to maintain a free version without the LVL code? -- 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
Re: [android-developers] Re: How to: Free to Paid App and retain preference and db files?
2012/7/1 Mystique joven.ch...@gmail.com Yes, I have additional features for the paid version but was thinking to maintain the Ads in the free version. So you are suggestion to completely remove the Ads for free and focus on the Paid version for incentive? My suggestion, as a fellow developer, is to give it some thought, rather than assuming that ads are some kind of Eleventh Commandment. In-app billing, or a separate unlocker app, seems like an easier free-to-premium migration path than two separate apps. So, losing some on the ads, you might gain some in the upsell conversion ratio. As an Android *user*, though, I really dislike apps with ads. The idea of irritate the user until he agrees to pay just seems wrong to me. -- K -- 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
[android-developers] Is there sqlite statement to delete first 5 rows?
Hi, let's say I want to delete top 5 rolls of data from the table. I can do a while loop with an counter call i and use cursor.moveToPosition(i) to move to the row and delete it. Is there a better way to do that? 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
[android-developers] Re: GL10 access from outside of the rendering thread ...
My understanding is that using a single GL context simultaneously on multiple threads gives undefined results. By undefined I mean that the underlying graphics driver is allowed to: * do what you expect * fail and return an error * fail silently * make some toast :) ie. anything else. With Android running on so many different chipsets (and therefore different manufacture's OpenGL ES drivers) I think you should expect your code to fail in interesting ways on some devices. On Sunday, July 1, 2012 3:04:54 PM UTC+1, gl...@wanderfulstorybooks.com wrote: Below is my curet uploading and use of the texture from the renderer's onDrawFrame(GL10 go) method. I would simply like to call gl.glCompressedTexImage2D from another thread, oftentimes many milliseconds before the rendering thread is ready to be called. I place the rendering code within a try lock block and on other platform, I place the upload request within a lock block. If the renderer comes along why another thread is uploading the texture, it request that the context be rendered again and returns from the request without doing anything. When the renderer successfully enters the try lock block, then outside threads are blocked from updating the texture until the rendering thread completes it's work and releases the lock. This is very basic and works on smoothly on 4 other platforms, but my research so far has led me to a universal answer of you can't do this. I imagine that I could if I wanted to kick the rendering in the realm of the NDK, but I thought I'd ask for an authoritative answer first ... m_textureBuffer.rewind(); gl.glCompressedTexImage2D( GL10.GL_TEXTURE_2D, 0, GL10.GL_PALETTE8_RGBA8_OES, m_textureWidth, m_textureHeight, 0, m_textureSize, m_textureBuffer); gl.glColor4f( m_textureColor, m_textureColor, m_textureColor, 1); gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4); On Sunday, July 1, 2012 12:26:01 AM UTC-7, Romain Guy (Google) wrote: Hi, How exactly are you uploading the texture on that other platform? Are you simply doing an eglMakeCurrent() to reassign the GL context to another thread or are you using an EGLImage? On Saturday, June 30, 2012 4:33:32 PM UTC-7, gl...@wanderfulstorybooks.com wrote: Hello, I am optimizing an OpenGL-based application ported from that other major mobile OS and find that I cannot successfully access the GL context from anything other than the rendering thread of GLSurfaceView. What I CAN do on other platforms is upload my single (and large) texture to GL prior to needing to render the texture itself. This is a 640x480 8-bit RGB texture that takes some time to upload to the chip and needs to be done every time I realize a new frame of animation from the background system memory buffer. I'm sure you can appreciate the savings in execution time if I can perform this upload from another thread when I have nothing left to do but wait for GLSurfaceView's rendering thread to call me. All is synchronized safely as evidenced by the successful release of this software using this very same technique on that-other-platform-that-shall-not-be named. Things are very smooth and zippy on that platform, but Android currently suffers by comparison. Is there any way to do this? Thanks Glenn -- 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
Re: [android-developers] Re: How to: Free to Paid App and retain preference and db files?
The idea of irritate the user until he agrees to pay just seems wrong to me. In my opinion, it is far better to let users opt out of ads for free than use advertising as some sort of black mail to push users into paying. In our app, only 2.7% of users choose to opt out of banners. The rest let them display. We have premium users who choose not to opt out as well. A small percentage of users hate ads. Giving them the opportunity to just remove them easily and freely increases the acceptance of your app and also helps give it a positive image. One thing to keep in mind. By not allowing free opt out, all you are doing is decreasing the CTR for your ads and that lowers revenue. Part of secret sauce for determining what you are paid is the CTR, so keeping that high will increase your revenue. Those that would opt out will never click on an ad. -John Coryat -- 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
[android-developers] Re: Is there sqlite statement to delete first 5 rows?
Usually you would write something like DELETE FROM MyTable WHERE XYZ ORDER BY Col *LIMIT 5*; Unfortunately SQLite does not support the LIMIT clause in DELETE statementshttp://www.sqlite.org/lang_delete.html. But I think you could get around with something else: DELETE FROM MyTable WHERE _id IN (SELECT _id FROM MyTable WHERE XYZ ORDER BY Col LIMIT 5); I did not try that, 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
[android-developers] Re: Is there sqlite statement to delete first 5 rows?
SQL statements are set based. By this I mean that unless you order the data in the query SQL does not have to return the data in the same order each time to make the same call. If I assume that you have an ID column which you can order on the the following will work (when you remove any typos I make): DELETE FROM my-table WHERE my-table.id IN (SELECT id FROM my-table ORDER BY id LIMIT 5) On Sunday, July 1, 2012 3:44:23 PM UTC+1, Mystique wrote: Hi, let's say I want to delete top 5 rolls of data from the table. I can do a while loop with an counter call i and use cursor.moveToPosition(i) to move to the row and delete it. Is there a better way to do that? 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
[android-developers] Re: Is there sqlite statement to delete first 5 rows?
Ok, make sense. Understood now. Thanks. On Sunday, 1 July 2012 22:56:22 UTC+8, RichardC wrote: SQL statements are set based. By this I mean that unless you order the data in the query SQL does not have to return the data in the same order each time to make the same call. If I assume that you have an ID column which you can order on the the following will work (when you remove any typos I make): DELETE FROM my-table WHERE my-table.id IN (SELECT id FROM my-table ORDER BY id LIMIT 5) On Sunday, July 1, 2012 3:44:23 PM UTC+1, Mystique wrote: Hi, let's say I want to delete top 5 rolls of data from the table. I can do a while loop with an counter call i and use cursor.moveToPosition(i) to move to the row and delete it. Is there a better way to do that? 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
[android-developers] Re: Need Android code for Automatically answering the phone call
Can anyone please throw some light on this. Thanks, Iniyan P On Sat, Jun 30, 2012 at 12:02 PM, Iniyan P iniy...@orchestratec.com wrote: Hi, I was browsing through Android site and stackoverflow for getting automatically answering the phone call code. I found the code and it is working in android 2.2. It is not working in Android 2.3+. From the stackoverflow Any code you have that requires MODIFY_PHONE_STATE will work all the way up to (and including) Android 2.2, but will break for Android 2.3+. So Is there anyother way I can find a code that will work on android 2.3+ Thanks, Iniyan P -- 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
Re: [android-developers] Re: Need Android code for Automatically answering the phone call
better thing ask to google you can find easily On Sun, Jul 1, 2012 at 9:34 PM, Iniyan P iniy...@orchestratec.com wrote: Can anyone please throw some light on this. Thanks, Iniyan P On Sat, Jun 30, 2012 at 12:02 PM, Iniyan P iniy...@orchestratec.comwrote: Hi, I was browsing through Android site and stackoverflow for getting automatically answering the phone call code. I found the code and it is working in android 2.2. It is not working in Android 2.3+. From the stackoverflow Any code you have that requires MODIFY_PHONE_STATE will work all the way up to (and including) Android 2.2, but will break for Android 2.3+. So Is there anyother way I can find a code that will work on android 2.3+ Thanks, Iniyan P -- 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 -- Regards Rambabu Mareedu 9581411199 -- 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
Re: [android-developers] Re: GL10 access from outside of the rendering thread ...
The only way you can do this safely is from a thread that has your EGL context as the current context. Using a lock is not going to help, what matters is being on a thread with a GL context attached. The OpenGL ES spec is pretty clear about this. To achieve what you want you should use a SurfaceTexture or an EGLImage. On Sun, Jul 1, 2012 at 7:04 AM, gl...@wanderfulstorybooks.com gl...@wanderfulstorybooks.com wrote: Below is my curet uploading and use of the texture from the renderer's onDrawFrame(GL10 go) method. I would simply like to call gl.glCompressedTexImage2D from another thread, oftentimes many milliseconds before the rendering thread is ready to be called. I place the rendering code within a try lock block and on other platform, I place the upload request within a lock block. If the renderer comes along why another thread is uploading the texture, it request that the context be rendered again and returns from the request without doing anything. When the renderer successfully enters the try lock block, then outside threads are blocked from updating the texture until the rendering thread completes it's work and releases the lock. This is very basic and works on smoothly on 4 other platforms, but my research so far has led me to a universal answer of you can't do this. I imagine that I could if I wanted to kick the rendering in the realm of the NDK, but I thought I'd ask for an authoritative answer first ... m_textureBuffer.rewind(); gl.glCompressedTexImage2D( GL10.GL_TEXTURE_2D, 0, GL10.GL_PALETTE8_RGBA8_OES, m_textureWidth, m_textureHeight, 0, m_textureSize, m_textureBuffer); gl.glColor4f( m_textureColor, m_textureColor, m_textureColor, 1); gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4); On Sunday, July 1, 2012 12:26:01 AM UTC-7, Romain Guy (Google) wrote: Hi, How exactly are you uploading the texture on that other platform? Are you simply doing an eglMakeCurrent() to reassign the GL context to another thread or are you using an EGLImage? On Saturday, June 30, 2012 4:33:32 PM UTC-7, gl...@wanderfulstorybooks.com wrote: Hello, I am optimizing an OpenGL-based application ported from that other major mobile OS and find that I cannot successfully access the GL context from anything other than the rendering thread of GLSurfaceView. What I CAN do on other platforms is upload my single (and large) texture to GL prior to needing to render the texture itself. This is a 640x480 8-bit RGB texture that takes some time to upload to the chip and needs to be done every time I realize a new frame of animation from the background system memory buffer. I'm sure you can appreciate the savings in execution time if I can perform this upload from another thread when I have nothing left to do but wait for GLSurfaceView's rendering thread to call me. All is synchronized safely as evidenced by the successful release of this software using this very same technique on that-other-platform-that-**shall-not-be named. Things are very smooth and zippy on that platform, but Android currently suffers by comparison. Is there any way to do this? Thanks Glenn -- 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 -- 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
Re: [android-developers] Re: Need Android code for Automatically answering the phone call
Hi, I found the following code:- TelephonyManager tm = (TelephonyManager) getSystemService(TELEPHONY_SERVICE); Class c = Class.forName(tm.getClass().getName()); Method m = c.getDeclaredMethod(getITelephony); m.setAccessible(true); ITelephony telephonyService; telephonyService = (ITelephony)m.invoke(tm); // Silence the ringer and answer the call! telephonyService.silenceRinger(); *telephonyService.answerRingingCall();* But this code works only on Android 2.2. It is not working in android 2.3+ Have you tried any code other than this. Thanks, Iniyan P On Sun, Jul 1, 2012 at 11:13 AM, rambabu mareedu rambabu.mare...@gmail.comwrote: better thing ask to google you can find easily On Sun, Jul 1, 2012 at 9:34 PM, Iniyan P iniy...@orchestratec.com wrote: Can anyone please throw some light on this. Thanks, Iniyan P On Sat, Jun 30, 2012 at 12:02 PM, Iniyan P iniy...@orchestratec.comwrote: Hi, I was browsing through Android site and stackoverflow for getting automatically answering the phone call code. I found the code and it is working in android 2.2. It is not working in Android 2.3+. From the stackoverflow Any code you have that requires MODIFY_PHONE_STATE will work all the way up to (and including) Android 2.2, but will break for Android 2.3+. So Is there anyother way I can find a code that will work on android 2.3+ Thanks, Iniyan P -- 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 -- Regards Rambabu Mareedu 9581411199 -- 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 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
Re: [android-developers] Re: GL10 access from outside of the rendering thread ...
On Sunday, July 1, 2012 12:26:01 AM UTC-7, Romain Guy (Google) wrote: Hi, How exactly are you uploading the texture on that other platform? Are you simply doing an eglMakeCurrent() to reassign the GL context to another thread or are you using an EGLImage? How would you reassing a GL context to another thread using eglMakeCurrent()? Just by calling eglMakeCurrent (eglGetCurrentDisplay(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in the current owner thread and making an eglMakeCurrent() call with valid surface and context parameters in the new owner thread? I'm not sure if I understand the OP's problem correctly, but would this help him? Cheers! -- 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
Re: [android-developers] WebView.setEmbeddedTitleBar gone in Jelly Bean? Which alternatives?
I was toying around with the implementation of the embedded title bar view. I attached the source code to this post. The TitleBarWebView is tested on Android 2.3 and 4.0.1. I couldn't get my hands on 4.1 yet. The emulator is simply too slow on my development machine and I have yet to find a VirtualBox image for it. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=enpackage com.nobu_games.android.view; import android.content.Context; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Rect; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; public class TitleBarWebView extends WebView { private View mTitleBar; private LayoutParams mTitleBarLayoutParams; private Matrix mMatrix = new Matrix(); private Rect mClipBounds = new Rect(); public TitleBarWebView(Context context) { super(context); } public TitleBarWebView(Context context, AttributeSet attrs) { super(context, attrs); } public TitleBarWebView(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } public void setEmbeddedTitleBar(View v) { if(mTitleBar == v) return; if(mTitleBar != null) { removeView(mTitleBar); } if(null != v) { mTitleBarLayoutParams = new LayoutParams( ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT, 0, 0); addView(v, mTitleBarLayoutParams); setInitialScale(100); } mTitleBar = v; } @Override protected void onDraw(Canvas canvas) { canvas.save(); if(mTitleBar != null) { final int sy = getScrollY(); final int sx = getScrollX(); mClipBounds.top = sy; mClipBounds.left = sx; mClipBounds.right = mClipBounds.left + getWidth(); mClipBounds.bottom = mClipBounds.top + getHeight(); canvas.clipRect(mClipBounds); mMatrix.set(canvas.getMatrix()); int titleBarOffs = mTitleBar.getHeight() - sy; if(titleBarOffs 0) titleBarOffs = 0; mMatrix.postTranslate(0, titleBarOffs); canvas.setMatrix(mMatrix); } super.onDraw(canvas); canvas.restore(); } @Override protected boolean drawChild(Canvas canvas, View child, long drawingTime) { if(child == mTitleBar) { mClipBounds.top = 0; mClipBounds.left = 0; mClipBounds.right = mClipBounds.left + child.getWidth(); mClipBounds.bottom = child.getHeight(); canvas.save(); child.setDrawingCacheEnabled(true); mMatrix.set(canvas.getMatrix()); mMatrix.postTranslate(getScrollX(), -getScrollY()); canvas.setMatrix(mMatrix); canvas.clipRect(mClipBounds); child.draw(canvas); canvas.restore(); return false; } return super.drawChild(canvas, child, drawingTime); } }
Re: [android-developers] WebView.setEmbeddedTitleBar gone in Jelly Bean? Which alternatives?
Oops... I just noticed that I left a line of debugging code in it. You should remove setInitialScale(100); on line 41. On Sunday, July 1, 2012 12:27:17 PM UTC-5, Nobu Games wrote: I was toying around with the implementation of the embedded title bar view. I attached the source code to this post. The TitleBarWebView is tested on Android 2.3 and 4.0.1. I couldn't get my hands on 4.1 yet. The emulator is simply too slow on my development machine and I have yet to find a VirtualBox image for it. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android Integration Cloud Print Error
Read the stack trace you posted. On Wed, Jun 27, 2012 at 8:37 AM, dante afs.abhis...@gmail.com wrote: 06-27 17:46:56.956: W/webcore(537): java.lang.Throwable: * EventHub.removeMessages(int what = 107) is not supported before the WebViewCore is set up.* 06-27 17:46:56.956: W/webcore(537): at android.webkit.WebViewCore$EventHub.removeMessages(WebViewCore.java:1683) - 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
Re: [android-developers] WebView.setEmbeddedTitleBar gone in Jelly Bean? Which alternatives?
Hey Nobu, many, many thanks so far! I've put out a quick shot release embedding the WebView inside a ScrollView, just to get the crash out of the app. But I will give your implementation a try during the next days and will report here whether it worked or not. Thanks a lot again for your effort Sven -- 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
[android-developers] application launching process...?
Hi, After switching on the mobile(after booting process) all the applications will be loaded like System apps, 3rd party apps etc... how these apps are loading means I want to know the way, procedure or process for this. Can anyone suggest me any websites or docs to know these things. -- 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
Re: [android-developers] application launching process...?
On Sun, Jul 1, 2012 at 2:30 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: After switching on the mobile(after booting process) all the applications will be loaded like System apps, 3rd party apps etc... how these apps are loading means I want to know the way, procedure or process for this. Can anyone suggest me any websites or docs to know these things. http://source.android.com is the home of the Android open source project and for all questions pertaining to the behavior of the operating system itself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] application launching process...?
On Sun, Jul 1, 2012 at 2:30 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi, After switching on the mobile(after booting process) all the applications will be loaded like System apps, 3rd party apps etc... how these apps are loading means I want to know the way, procedure or process for this. Can anyone suggest me any websites or docs to know these things. It's not just understanding the boot process, which is fairly traditional Linux stuff, but also understanding that you're sitting on top of the zygote process, package manager (routing intents), and other android-y topics... I've actually heard good things about this book... http://shop.oreilly.com/product/0636920021094.do kris -- 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
[android-developers] How test Jelly Bean on my galaxy nexus (i am a paid developer)
I am a new developer. I am confused on how to download the SDK on to my mac. I am also confused on how to get jelly bean on to my phone because I am a developer. Can someone give me step by step help or a link to step by step help? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to get jelly bean on my phone if I am an android developer
I am a new developer. I am confused on how to download the SDK on to my mac. I am also confused on how to get jelly bean on to my phone because I am a developer. Can someone give me step by step help or a link to step by step help? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to get jelly bean if i am an android developer
I am a new developer. I am confused on how to download the SDK on to my mac. I am also confused on how to get jelly bean on to my phone because I am a developer. Can someone give me step by step help or a link to step by step help? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How test Jelly Bean on my galaxy nexus (i am a paid developer)
On Sun, Jul 1, 2012 at 3:27 PM, Jacob Reiter jreit...@gmail.com wrote: I am a new developer. I am confused on how to download the SDK on to my mac. Step #1: Click this link: http://developer.android.com/sdk/index.html Step #2: Click on the big Download the SDK button Step #3: Follow the instructions on http://developer.android.com/sdk/installing/index.html Step #4: Return here and ask more specific questions here if needed I am also confused on how to get jelly bean on to my phone because I am a developer. You wait for an over-the-air (OTA) update, reportedly due out in July. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
[android-developers] Re: How to get jelly bean if i am an android developer
If you have a Galaxy Nexus head to the xda forums and find a build for your GNex (either CDMA or GSM) and flash it. The SDK is rather simple, go to developer.android.com and follow the instructions. On Sunday, July 1, 2012 3:29:48 PM UTC-4, Jacob Reiter wrote: I am a new developer. I am confused on how to download the SDK on to my mac. I am also confused on how to get jelly bean on to my phone because I am a developer. Can someone give me step by step help or a link to step by step help? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to get jelly bean if i am an android developer
On Sun, Jul 1, 2012 at 5:40 PM, bradgog gogat...@gmail.com wrote: If you have a Galaxy Nexus head to the xda forums and find a build for your GNex (either CDMA or GSM) and flash it. The SDK is rather simple, go to developer.android.com and follow the instructions. Jelly Bean has not been released as open source yet; any current builds of Jelly Bean have been copied -- without a license -- from an existing device. The conventional term for those distributing and consuming such software is pirates. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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
Re: [android-developers] Bluetooth Signal Strength
On Sun, Jul 1, 2012 at 2:03 AM, Bhavin alertsavemyl...@gmail.com wrote: *I need to measure Signal strength of Bluetooth like :App Bluetooth Finder* * * *Would you please help me to find out,how to do this?* What have you tried so far? - 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
Re: [android-developers] Android + asp.net Web Service (returns data set) + SQL Server
On Fri, Jun 29, 2012 at 1:53 PM, Yamil Font ya...@imfont.com wrote: I have gotten to the point where the web service returns the correct information but I am not sure how to translate that information and display it in my android app. It's your information, correct? You're in control of the format the web service presents it in, correct? So just connect to your web service (see URLConnection) read the data, parse it, and do what you will with it. - 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
Re: [android-developers] Problem adding android plugin in Netbeans ide7.1
On Sat, Jun 30, 2012 at 8:35 AM, Shrikant Soni soni.shrik...@hotmail.comwrote: i m having trouble in adding android plugin in ide7.1 what should i do i am fully confused right now so plz help me out of this Eclipse is the officially supported tool. If you're using Netbeans, Google for netbeans android or some such. - 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
Re: [android-developers] Android Project none to be found.
On Fri, Jun 29, 2012 at 11:15 AM, Samuel EpicWin samx...@gmail.com wrote: I need help, thanks (: With what? - 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
Re: [android-developers] Load Images from Internal/External Storage with AsyncTask in a Fragment?
On Fri, Jun 29, 2012 at 1:20 PM, Stefan Held hel...@gmail.com wrote: can anybody help me with this problem. What problem? The vague question in your title? You'll have to elaborate a bit more on what you're doing and what exactly you're having issues with. - 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
Re: [android-developers] [ask] android phonegap + jquerymobile performance
On Sat, Jun 30, 2012 at 10:30 PM, Benedict benita.clari...@gmail.comwrote: when i tested the application, it was so slow. memory consumption and cpu usage was very high. is phonegap performance was so slow? why? how to solve it? Profile your application with TraceView. - 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
Re: [android-developers] Android Documentation
On Sat, Jun 30, 2012 at 10:10 PM, Byung-Hoon Cho byunghoon@gmail.comwrote: How do you download the newest version of the Documentation that is in the eclipse folder? Wait for it to be available, then use the Android SDK Manager. - 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
[android-developers] Sample for new MediaCodec API (available in Android 4.1)
Hi, I just installed Android 4.1 (Jelly Bean) on to Nexus here (using ROM from http://forum.xda-developers.com/showthread.php?t=1737849) and wanted to try out the new MediaCodec APIs. Are there sample apps right now that use this? I've downloaded new SDK but don't see any related samples there. Thanks, John -- 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
[android-developers] Re: GL10 access from outside of the rendering thread ...
Romaine, I am only called from Andrioid with a useable GL10 context from GLSurfaveView.Renderer.onDrawFrame (or onSurfaceXXX). If I save the value and try to use it from another thread, it does not work. Please ignore the question of locking. I was trying to inform you that I have been developing software for 35 years and wasn't asking anything stupid. I know I cannot use the context from two thread simultaneously. That is what the locking is for. In this manner, I am able to set the gl context on a different thread and use it successfully on iOS, OSX, Win32, etc. The OpenGL ES spec says nothing about Andrioid, which perhaps is an act of discretion ... On Saturday, June 30, 2012 4:33:32 PM UTC-7, gl...@wanderfulstorybooks.com wrote: Hello, I am optimizing an OpenGL-based application ported from that other major mobile OS and find that I cannot successfully access the GL context from anything other than the rendering thread of GLSurfaceView. What I CAN do on other platforms is upload my single (and large) texture to GL prior to needing to render the texture itself. This is a 640x480 8-bit RGB texture that takes some time to upload to the chip and needs to be done every time I realize a new frame of animation from the background system memory buffer. I'm sure you can appreciate the savings in execution time if I can perform this upload from another thread when I have nothing left to do but wait for GLSurfaceView's rendering thread to call me. All is synchronized safely as evidenced by the successful release of this software using this very same technique on that-other-platform-that-shall-not-be named. Things are very smooth and zippy on that platform, but Android currently suffers by comparison. Is there any way to do this? Thanks Glenn -- 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
[android-developers] Re: GL10 access from outside of the rendering thread ...
Any context value you get from onDrawFrame is only useful within that call stack. I knew this before asking the question. I just wanted to establish the level of support available to those I have financial responsibilities to and thus get a little leeway in my scheduling. I've already been banned from this site using different email addresses for asking similar questions, and I suspect this will be the end of the discussion (if this is seen at all). It IS possible to do this on Android by circumventing the tools Gooble/Android provides, just for the record. Good luck to all in their efforts! On Saturday, June 30, 2012 4:33:32 PM UTC-7, gl...@wanderfulstorybooks.com wrote: Hello, I am optimizing an OpenGL-based application ported from that other major mobile OS and find that I cannot successfully access the GL context from anything other than the rendering thread of GLSurfaceView. What I CAN do on other platforms is upload my single (and large) texture to GL prior to needing to render the texture itself. This is a 640x480 8-bit RGB texture that takes some time to upload to the chip and needs to be done every time I realize a new frame of animation from the background system memory buffer. I'm sure you can appreciate the savings in execution time if I can perform this upload from another thread when I have nothing left to do but wait for GLSurfaceView's rendering thread to call me. All is synchronized safely as evidenced by the successful release of this software using this very same technique on that-other-platform-that-shall-not-be named. Things are very smooth and zippy on that platform, but Android currently suffers by comparison. Is there any way to do this? Thanks Glenn -- 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
RE: [android-developers] Android + asp.net Web Service (returns data set) + SQL Server
I have a few .net REST webservices that my app connects to. I just return back a comma separated string. Then I parse that and toss that data into variables on the phone. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Sunday, July 01, 2012 7:26 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Android + asp.net Web Service (returns data set) + SQL Server On Fri, Jun 29, 2012 at 1:53 PM, Yamil Font ya...@imfont.com wrote: I have gotten to the point where the web service returns the correct information but I am not sure how to translate that information and display it in my android app. It's your information, correct? You're in control of the format the web service presents it in, correct? So just connect to your web service (see URLConnection) read the data, parse it, and do what you will with it. - 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 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
[android-developers] Re: How to make own map for application on android
Hi, Put an overlay on top of your google map with the details you require. Regards On Jun 29, 6:21 am, Cher Yots jigga.c...@gmail.com wrote: Now I'm developing an application Map of University on Android. I use google map api The problem is that I found on the Google Map does not show the buildings. And routing services. The University has a total area of only there's a way to solve these problem,however. Sample or not. how to create geo, the building and routing services in the university Map Picture http://imgur.com/a/anoAx/rearrange I mean about polygon and polyline. Thank you For answer -- 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
[android-developers] Best books for learning Android
I'm considering purchasing an Android development book. The fact that I have published my first Android app (Upgrade Your Cereal, available at https://play.google.com/store/apps/details?id=com.jasonhsu.upgradeyourcereal) certifies that I understand the very basics. At the same time, I have just barely scratched the surface. I've been finding that most of the tutorials out there miss critical details needed to make the apps work properly. I need to move well beyond the Hello World stage. What Android development books would you recommend? I'm considering the purchase of _Android in Practice_. It has great reviews on Amazon, and it sounds very practical. -- 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
[android-developers] Re: Purchase App Source Code
Well I never been on Android Market before. On Jun 30, 9:23 am, Nobu Games dev.nobu.ga...@gmail.com wrote: On Thursday, June 28, 2012 5:07:13 PM UTC-5, Mitchell wrote: The email stated previous account violations. I'm thinking this dev may have been suspended previously. Can anyone give some insight on what could have happened? If that email says that your account has been suspended because of previous account violations, then it has something to do with you and your account and not with the person you bought that app from, methinks. Was it the first time that you bought an existing app and uploaded it as your own? -- 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
Re: [android-developers] How to get jelly bean on my phone if I am an android developer
If you are using Nexus Galaxy, I think you are getting update soon. Unless, you need to get the custom ROM. On Mon, Jul 2, 2012 at 5:29 AM, Jacob Reiter jreit...@gmail.com wrote: I am a new developer. I am confused on how to download the SDK on to my mac. I am also confused on how to get jelly bean on to my phone because I am a developer. Can someone give me step by step help or a link to step by step help? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- 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
[android-developers] Jelly bean help!
I know they announced that the galaxy nexus would be getting the update mid july but does that include the sprint and verizon models?? If not when will they get the updates? Or is there any other way to get it without rooting your phone? Does an android developer get the update? If so, how? -- 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
Re: [android-developers] Best books for learning Android
Buy a subscription to Mark Murphy's books. Hands down, the fastest and easiest way to both learn the platform and keep up to date on new developments. In the quick paced Android ecosystem, dead trees are stale by the time they're printed. To be completely honest, I don't see why people feel they need books to learn this stuff, because it's really basic programming, and the documentation is a straightforward read. I can see, however, that you might want a book to supplement the documentation with some examples explaining the sticker parts, and maybe some explanation as to UI stuff (i.e., since most people who write apps have never taken an HCI course, a book might highlight some important points).. kris On Sun, Jul 1, 2012 at 10:12 PM, Jason Hsu jhsu802...@gmail.com wrote: I'm considering purchasing an Android development book. The fact that I have published my first Android app (Upgrade Your Cereal, available at https://play.google.com/store/apps/details?id=com.jasonhsu.upgradeyourcereal) certifies that I understand the very basics. At the same time, I have just barely scratched the surface. I've been finding that most of the tutorials out there miss critical details needed to make the apps work properly. I need to move well beyond the Hello World stage. What Android development books would you recommend? I'm considering the purchase of _Android in Practice_. It has great reviews on Amazon, and it sounds very practical. -- 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 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
Re: [android-developers] Re: GL10 access from outside of the rendering thread ...
You still haven't clearly explained how you use the GL context from two different threads? I understand you're locking, etc. But are you doing an eglMakeCurrent() to transfer ownership from GLSurfaceView's thread to another thread? On Sun, Jul 1, 2012 at 5:30 PM, gl...@wanderfulstorybooks.com gl...@wanderfulstorybooks.com wrote: Romaine, I am only called from Andrioid with a useable GL10 context from GLSurfaveView.Renderer.onDrawFrame (or onSurfaceXXX). If I save the value and try to use it from another thread, it does not work. Please ignore the question of locking. I was trying to inform you that I have been developing software for 35 years and wasn't asking anything stupid. I know I cannot use the context from two thread simultaneously. That is what the locking is for. In this manner, I am able to set the gl context on a different thread and use it successfully on iOS, OSX, Win32, etc. The OpenGL ES spec says nothing about Andrioid, which perhaps is an act of discretion ... On Saturday, June 30, 2012 4:33:32 PM UTC-7, gl...@wanderfulstorybooks.comwrote: Hello, I am optimizing an OpenGL-based application ported from that other major mobile OS and find that I cannot successfully access the GL context from anything other than the rendering thread of GLSurfaceView. What I CAN do on other platforms is upload my single (and large) texture to GL prior to needing to render the texture itself. This is a 640x480 8-bit RGB texture that takes some time to upload to the chip and needs to be done every time I realize a new frame of animation from the background system memory buffer. I'm sure you can appreciate the savings in execution time if I can perform this upload from another thread when I have nothing left to do but wait for GLSurfaceView's rendering thread to call me. All is synchronized safely as evidenced by the successful release of this software using this very same technique on that-other-platform-that-**shall-not-be named. Things are very smooth and zippy on that platform, but Android currently suffers by comparison. Is there any way to do this? Thanks Glenn -- 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 -- 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
Re: [android-developers] Re: GL10 access from outside of the rendering thread ...
Wait, what? Are you asking the question just to prove a point? I am on the Android team and I'm trying to help you. Could you just please be more explicit about how you tried to achieve what you wanted and how you ended up doing it in the end? (Since apparently you found a way.) On Sun, Jul 1, 2012 at 6:28 PM, gl...@wanderfulstorybooks.com gl...@wanderfulstorybooks.com wrote: Any context value you get from onDrawFrame is only useful within that call stack. I knew this before asking the question. I just wanted to establish the level of support available to those I have financial responsibilities to and thus get a little leeway in my scheduling. I've already been banned from this site using different email addresses for asking similar questions, and I suspect this will be the end of the discussion (if this is seen at all). It IS possible to do this on Android by circumventing the tools Gooble/Android provides, just for the record. Good luck to all in their efforts! On Saturday, June 30, 2012 4:33:32 PM UTC-7, gl...@wanderfulstorybooks.comwrote: Hello, I am optimizing an OpenGL-based application ported from that other major mobile OS and find that I cannot successfully access the GL context from anything other than the rendering thread of GLSurfaceView. What I CAN do on other platforms is upload my single (and large) texture to GL prior to needing to render the texture itself. This is a 640x480 8-bit RGB texture that takes some time to upload to the chip and needs to be done every time I realize a new frame of animation from the background system memory buffer. I'm sure you can appreciate the savings in execution time if I can perform this upload from another thread when I have nothing left to do but wait for GLSurfaceView's rendering thread to call me. All is synchronized safely as evidenced by the successful release of this software using this very same technique on that-other-platform-that-**shall-not-be named. Things are very smooth and zippy on that platform, but Android currently suffers by comparison. Is there any way to do this? Thanks Glenn -- 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 -- 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
[android-developers] Jelly bean question!
I know they announced that the galaxy nexus would be getting the update mid july *but does that include the sprint model*?? If not when will they get the updates?* * * * * * *Or is there any other way to get it without rooting your phone?* * * * * *Does an android developer get the update?* If so, how? -- 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
[android-developers] Calling sub-class getCursor() from main class problem
Hi I have this in my method calling getCursor() and is working ok within the class. Now I try to call the method from the main class to perform some routine and receive error: Cannot make a static reference to the non-static method getListAdapter() from the type ListActivity So I changed from: Class B: Cursor cursor = ((CursorAdapter) getListAdapter()).getCursor(); Change to: Cursor cursor = ((CursorAdapter) ((ListActivity) mainContext).getListAdapter()).getCursor(); I can run and execute what I want in class B but if I call it outside in the main class I can't get the result. No warning, nothing. What is wrong? 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
[android-developers] Calling sub-class getCursor() from main class problem
Hi I have this in my method calling getCursor() and is working ok within the class. Now I try to call the method from the main class to perform some routine and receive error: Cannot make a static reference to the non-static method getListAdapter() from the type ListActivity So I changed from: Class B: Cursor cursor = ((CursorAdapter) getListAdapter()).getCursor(); Change to: Cursor cursor = ((CursorAdapter) ((ListActivity) mainContext).getListAdapter()).getCursor(); I can run and execute what I want in class B but if I call it outside in the main class I can't get the result. No warning, nothing. What is wrong? 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
[android-developers] Calling sub-class getCursor() from main class problem
Hi I have this in my method calling getCursor() and is working ok within the class. Now I try to call the method from the main class to perform some routine and receive error: Cannot make a static reference to the non-static method getListAdapter() from the type ListActivity So I changed from: Class B: Cursor cursor = ((CursorAdapter) getListAdapter()).getCursor(); Change to: Cursor cursor = ((CursorAdapter) ((ListActivity) mainContext).getListAdapter()).getCursor(); I can run and execute what I want in class B but if I call it outside in the main class I can't get the result. No warning, nothing. What is wrong? 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
[android-developers] HttpGet Unknown Host
Hi, I built a new app, which is using HttpGet. But I got this exception: 07-02 14:22:32.585: E/(8310): java.net.UnknownHostException: advapps.advhost.info I have used the same piece of code in my app, that is working. Does anyone have some ideas? -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- 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
Re: [android-developers] Best books for learning Android
Hello Kristopher, Could you tell me what is best in Mark Murphy's books. Hello Jason Hsu Yes, official document is always the first choice to learn from basics to advanced. Follow the developers blog for latest updates and useful points for practical implementations,etc. Books would help us for immediate quick reference, for review of thoery concetps. regards sree ramakrishna On Monday, July 2, 2012 8:01:23 AM UTC+5:30, Kristopher Micinski wrote: Buy a subscription to Mark Murphy's books. Hands down, the fastest and easiest way to both learn the platform and keep up to date on new developments. In the quick paced Android ecosystem, dead trees are stale by the time they're printed. To be completely honest, I don't see why people feel they need books to learn this stuff, because it's really basic programming, and the documentation is a straightforward read. I can see, however, that you might want a book to supplement the documentation with some examples explaining the sticker parts, and maybe some explanation as to UI stuff (i.e., since most people who write apps have never taken an HCI course, a book might highlight some important points).. kris On Sun, Jul 1, 2012 at 10:12 PM, Jason Hsu jhsu802...@gmail.com wrote: I'm considering purchasing an Android development book. The fact that I have published my first Android app (Upgrade Your Cereal, available at https://play.google.com/store/apps/details?id=com.jasonhsu.upgradeyourcereal) certifies that I understand the very basics. At the same time, I have just barely scratched the surface. I've been finding that most of the tutorials out there miss critical details needed to make the apps work properly. I need to move well beyond the Hello World stage. What Android development books would you recommend? I'm considering the purchase of _Android in Practice_. It has great reviews on Amazon, and it sounds very practical. -- 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 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
Re: [android-developers] Code to send mail not working
try to run your application on real device it doesn't work on emulator!! -- 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
[android-developers] Can a widget use httpget?
Hi all, Can a widget use httpget? I uesd in a app,that is OK, but when I used it in a widget. I got an unknownhost exception -- 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