Re: [android-developers] JNI

2013-09-02 Thread janvi
Thank you santosh :) This is what I exactly wanted... Thank you once again On Monday, September 2, 2013 8:32:27 PM UTC+5:30, santhosh wrote: > > If you have built the .so separately, You just need to place the .so in in > the libs folder under the proper architecture name(something like armeabi

Re: [android-developers] Re: PNG loading that doesn't premultiply alpha?

2013-09-02 Thread Jason
P.S. It turns out the *blur* is from using GL_CLAMP_TO_EDGE. Changing to GL_REPEAT removes the blur even though it doesn't really make sense to repeat the texture as I'm just rendering sprites as quads (triangle pairs). On Monday, September 2, 2013 6:29:17 PM UTC-7, Jason wrote: > > > On Monda

Re: [android-developers] Re: PNG loading that doesn't premultiply alpha?

2013-09-02 Thread Jason
Here's a zoomed in version of the image showing the artifacts more clearly: On Monday, September 2, 2013 6:23:43 PM UTC-7, Jason wrote: > > I realize this is an old thread, but I'm having the same issue and the

Re: [android-developers] Re: PNG loading that doesn't premultiply alpha?

2013-09-02 Thread Jason
I realize this is an old thread, but I'm having the same issue and the above solutions haven't worked for me. Firstly the link to the PNGDecoder from libgdx is old and no longer exists (libgdx appear to have re-vamped the way they load images and tracking down where exactly the PNG decoding hap

Re: [android-developers] Data from Tablet to PC

2013-09-02 Thread Siva Kumar
U can try via USB tethering.running a app in pc which send data via socket On Sep 2, 2013 10:34 PM, "Jim McGivney" wrote: > I want to use an Android Tablet to gather data and input that data to a > program running on a PC. The data on the PC is a MDB database.** > > I have an app with an SQL

[android-developers] Data from Tablet to PC

2013-09-02 Thread Jim McGivney
I want to use an Android Tablet to gather data and input that data to a program running on a PC. The data on the PC is a MDB database. I have an app with an SQLite database on the tablet. I am looking for a method to get the data out of the tablet and into the PC. At times the tablet wil

Re: [android-developers] JNI

2013-09-02 Thread santhosh
If you have built the .so separately, You just need to place the .so in in the libs folder under the proper architecture name(something like armeabi) in your application environment. Now application can load library with system call system.load(), with that JNI calls will be available in the ap

[android-developers] Re: Read raw resource from library project using Context.createPackageContext()

2013-09-02 Thread Piren
It all depends on how the project is being built. Assuming you use eclipse (and its ant build) the shared resources are supposed (as far as i recall) to be merged into your package, so they're not really in the context of the "some.package" rather in "some.other.package" (which is why doing get

Re: [android-developers] Detecting hardware button on Android mobile

2013-09-02 Thread Harsh Vardhan
If you are not able to catch the key event, in all probabilities, this PTT key has been handled before it reaches to the window in focus. PhoneFallbackEventHandler or PhoneWindowManager, one of them is not your friend and is holding back the event. You will require a custom firmware for your phone

Re: [android-developers] Detecting hardware button on Android mobile

2013-09-02 Thread Jadranko Bodiroga
try replace this : KEYCODE_CALL On Fri, Aug 30, 2013 at 11:53 PM, Ash wrote: > The code you have given is to detect the Power button. I want to detect > the PTT (push-to-talk) button. > > > On Friday, 30 August 2013 23:01:01 UTC+10, baturanija1 wrote: > >> add permission : >> >> >> On Fri, Aug