Re: [android-developers] Re: Nexus 5 + bluetooth keyboard Ctrl + Alt + FN + Delete = reboot

2014-09-17 Thread J Decker
Well... given the linux base of android maybe approach it from a linux view... http://www.ducea.com/2006/06/20/how-to-disable-ctrl-alt-del-from-rebooting-a-linux-system/ ctrl-alt-back kills X usually.. but I know android doesn't run X... but is maybe a carryover from whatever it is running for a

Re: [android-developers] Re: Nexus 5 + bluetooth keyboard Ctrl + Alt + FN + Delete = reboot

2014-09-17 Thread J Decker
init and init.rc is in a different place... not sure if it is the same sort of process I'd try but I don't have any bluetooth keyboards to try... there is 'Hackers Keyboard' which is a soft keyboard that has ctrl Alt del keys... but that being software I think doesn't count (and it doesn't do

Re: [android-developers] Is it possible to intercept taps on android?

2014-09-20 Thread J Decker
sounds like catching Intents? On Fri, Sep 19, 2014 at 11:37 PM, s_ali sara.bi...@gmail.com wrote: I want to create a service that will run in background. Whenever user tap Contacts/Address book, the service should be able to recognize it and displays a message or whatever. How can I do this?

Re: [android-developers] Get Real display height and width in android

2014-09-24 Thread J Decker
use a high enough api version, and you will open with correct size/height - public int getStatusMetric() { int resId = getResources().getIdentifier(status_bar_height, dimen, android); if (resId 0) { int result =

Re: [android-developers] Re: How to implement crossfade texture effect in Opengl?

2014-12-29 Thread J Decker
I'm sure google would have revealed that since I know how it looks something like this /* setup shader arguments for simple texture out... */ float *verts = va_arg( args, float *); int texture = va_arg( args, int); float *texture_verts = va_arg( args, float *); int alpha_level =

Re: [android-developers] Re: How to implement crossfade texture effect in Opengl?

2014-12-30 Thread J Decker
On Tue, Dec 30, 2014 at 4:55 AM, MobileVisuals eyv...@astralvisuals.com wrote: This seems useful, but it is difficult for me to follow the code. Are the shaders gles_simple_p_shader and gles_simple_v_shader written i GLSL and the rest of it written i C? Yes On Wednesday, December 24, 2014

Re: [android-developers] How can i layout text(get the width and height) from c/c++ and in non-UI thread?

2015-12-03 Thread J Decker
I have a routine like this... void SetNativeWindowHandle( ANativeWindow *displayWindow ) { _32 new_w, new_h; _32 real_h; //lprintf( "Setting native window handle... (shouldn't this do something else?)" ); l.displayWindow = displayWindow; new_w = ANativeWindow_getWidth( l.displayWindow); new_h

Re: [android-developers] 3d technology may be the future development trend

2015-12-07 Thread J Decker
I'd think a more effective solution is google cardboard... so every device after those :) reading about those you'd have to have very exact positioning to take advantage... otherwise you'd get horrible crossover... or any slight tilt; can see why they haven't been continued. On Mon, Dec 7, 2015

Re: [android-developers] Is there any special method to write file on removable storage on android 4.4 and above

2015-12-10 Thread J Decker
do you have something like in your androidmanifest.xml ? http://developer.android.com/guide/topics/manifest/uses-permission-element.html http://developer.android.com/reference/android/Manifest.permission.html On Wed, Dec 9, 2015 at 10:43 PM, Dinesh Balu wrote: > Hi,

[android-developers] Gradle debug command lines

2016-01-05 Thread J Decker
How do I show the commands gradle is actually using? Like I've added LOCAL_C_INCLUDES; but I'd like to know the actual command line gradle is issuing to know why it can't find the include path I've issued. -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: Gradle debug command lines

2016-01-05 Thread J Decker
On Tue, Jan 5, 2016 at 3:44 AM, J Decker <d3c...@gmail.com> wrote: > How do I show the commands gradle is actually using? > Like I've added LOCAL_C_INCLUDES; but I'd like to know the actual > command line gradle is issuing to know why it can't find the include > path I've issued

Re: [android-developers] Support with altering the map from a different activity

2016-06-15 Thread J Decker
send back the change to the viewmap as an intent ? On Wed, Jun 15, 2016 at 6:12 PM, A.J. wrote: > Hello, > > I am developing an app and I am having a lot of issues with one idea. Say > I have a main activity with two buttons. One goes to a ViewMap and the > other goes into

Re: [android-developers] Android studio 2 preview 4, gradle-2.0.0-alpha6 fails to deploy debug projects

2016-01-23 Thread J Decker
http://stackoverflow.com/questions/25493310/cant-upload-android-app-to-device-stale-dexed-jars http://tools.android.com/tech-docs/instant-run Disabling instant run fixed the build for now -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] My apk is pirated

2016-01-19 Thread J Decker
On Tue, Jan 19, 2016 at 7:25 AM, WeiHung wrote: > I have an paid app on google play. Unfortunately, I found the paid apk is > distributed over the internet. And the distributed apk is EXACTLY the same > as what I uploaded to google play. > > > What method does the

Re: [android-developers] Voice Search within Activity

2016-03-02 Thread J Decker
so the TV can be hacked and turn on the mic to spy? :) can you do a user action with a remote? On Wed, Mar 2, 2016 at 11:27 PM, gabon wrote: > I am working on an app for Android TV. Is it possible to detect the mic > input (Voice Search) and process it within the activity?