[android-developers] Re: Hi..

2013-02-13 Thread skink
Ibrahim Sada wrote: > Hi Guys I cannot run jar file.. yes, you cannot run jar file pskink -- -- 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 t

[android-developers] Re: View

2013-02-13 Thread skink
Arun Kumar K wrote: > Hi guys, > > > i want to get the *existing_list idhow can i get it pls help me* > how to get what? what is existing_ list id? pskink -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Re: Canvas Android

2013-02-13 Thread skink
janvi wrote: > Bitmap shader is nothing but use an image which i dont want to why? > > any alternate plz!! with shaders? no pskink -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] Re: libGLES_Trace server how to connect

2013-02-13 Thread dani maoz
I thought about this idea, i used TCPDUMP, while connecting using Android Open GL trace, but didn't see any message transfered. As anyone tried to use this DLL? On Thu, Feb 14, 2013 at 12:13 AM, bob wrote: > Why not do a TCP port scan on your localhost and look for a high number? > > > > On W

[android-developers] Re: Canvas Android

2013-02-13 Thread janvi
Bitmap shader is nothing but use an image which i dont want to do any alternate plz!! On Tuesday, February 12, 2013 10:38:05 PM UTC+5:30, skink wrote: > > > > janvi wrote: > > Thanks > > > > But those shaders are not suting my requirement > > > > I have drawn vertical rectangle and w

[android-developers] Re: Canvas Android

2013-02-13 Thread janvi
Image its clarity gets reduced when we use on devices of different sizes So... On Tuesday, February 12, 2013 11:24:36 PM UTC+5:30, bob wrote: > > Why not just use an image? > > > > On Tuesday, February 12, 2013 11:03:57 AM UTC-6, janvi wrote: >> >> Thanks >> >> But those shaders are not suting

[android-developers] View

2013-02-13 Thread Arun Kumar K
Hi guys, I have doubt about layout.. RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"; android:id="@+id/layercontainer" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#ff"

[android-developers] Hi..

2013-02-13 Thread Ibrahim Sada
Hi Guys I cannot run jar file.. its java question Please help me how can i do that..if you guys have any idea.. -- -- 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

[android-developers] splash with animation

2013-02-13 Thread sree android
Hi Good Moorning, i need more help from these blog,How can i create splash screen with animation.these splash screen look like STC app in play store. Here activity will loaded from bottom to top,splash image move top when activity loaded. these i tried with small piece of code but it is not execute

Re: [android-developers] Parser

2013-02-13 Thread Kevin Duffey
As long as you agree..that's all that matters.. ;). No I hear you.. for simple things I agree too.. although I always tend to try to eek every last bit of speed/memory save I can and would probably these days just use jackson for everything. Jackson has a nice json to pojo and pojo to json feature

Re: [android-developers] Fwd:

2013-02-13 Thread Jim Graham
On Wed, Feb 13, 2013 at 11:39:04AM -0800, Red Cricket wrote: > Oh great a malicious spam post gets posted while my questions are ignored. Was that a spam I followed up to? I should have known by the lack of any actual content. Oh well. Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N

Re: [android-developers] Re: Binding to Android service in an external jar doesn't seem to be working

2013-02-13 Thread Kristopher Micinski
I should have said, "statically linked code isn't really doing anything *differently*" Kris On Wed, Feb 13, 2013 at 8:33 PM, Kristopher Micinski wrote: > I'm still confused for two reasons: > > - I've made the jar approach work before, and intuitively statically > linked code shouldn't really be

Re: [android-developers] Re: Binding to Android service in an external jar doesn't seem to be working

2013-02-13 Thread Kristopher Micinski
I'm still confused for two reasons: - I've made the jar approach work before, and intuitively statically linked code shouldn't really be doing anything as long as you're not making references to the resources classes. - Why do you think you have to distribute code with an Android library project?

Re: [android-developers] Re: Binding to Android service in an external jar doesn't seem to be working

2013-02-13 Thread RKSHR
The discussion that I started initially was to find out if a service can be defined in a jar file (not Android library) and if the jar file can be distributed for application developers and if they can bind or start that service ? I was simply unable to do it. Ofcourse, the service was declar

Re: [android-developers] Issue Sharing Using Action_send intent

2013-02-13 Thread Kristopher Micinski
You can "prevent" your user from taking the data from Gmail, and doing so is a pretty bad design: what happens if the user doesn't use the GMail app? You're going to get lots of bad rep for leaving out users who use other apps. If you want to do it, you can name an explicit intent target, just ta

Re: [android-developers] Catch network traffic?

2013-02-13 Thread Kristopher Micinski
Agreed: do you want to intercept and proxy it, or just account for it? Kris On Wed, Feb 13, 2013 at 4:33 AM, BearTi wrote: > Hi, > > is it possble to catch all network traffic respectively to get all the > network traffic that comes from a specific app? > (My phone is rootet) > > Thanks > > -- >

Re: [android-developers] Re: Binding to Android service in an external jar doesn't seem to be working

2013-02-13 Thread Kristopher Micinski
If I'm not misreading this discussion, the problem is that every service must explicitly be declared in a manifest file. There is no such thing as implicitly or programmatically creating a service. (This has an unfortunate benefit for would be dynamic scripting languages implemented ala JVM wrappe

[android-developers] Re: Sensors in Android

2013-02-13 Thread Morris
Hi, One is from ST's Sensor Fusion. The other one is from Google Sensor Fusion. Sincerely, Morris Chen a於 2013年2月7日星期四UTC+8下午8時13分01秒寫道: > Hi, I am using Samsung Galaxy S3. When I retrieved the available sensors: > I got a result like below: > > LSM330DLC 3-axis Accelerometer TYPE_ACCELER

Re: [android-developers] Re: libGLES_Trace server how to connect

2013-02-13 Thread Romain Guy
Note that this is not a public API so it's likely the protocol/library will change in future releases. On Wed, Feb 13, 2013 at 3:21 PM, bob wrote: > Please see this file: > > > https://android.googlesource.com/platform/frameworks/native/+/2fdcc81ddfdbdfbbde63bd64e9ac9272b5417553/opengl/libs/GLE

[android-developers] Re: Cannot import from Google Play Licensing Library

2013-02-13 Thread g...@deanblakely.com
The problem was bad google docs at http://developer.android.com/google/play/licensing/adding-licensing.html#imports The import must say com.google.android.vending.licensing. The docs didn't have the 'google' qualifier in it. Google docs are really bad, this has happened probably a dozen time

Re: [android-developers] Re: libGLES_Trace server how to connect

2013-02-13 Thread bob
Please see this file: https://android.googlesource.com/platform/frameworks/native/+/2fdcc81ddfdbdfbbde63bd64e9ac9272b5417553/opengl/libs/GLES_trace/src/gltrace_transport.cpp The socket created is of type AF_LOCAL, not AF_INET. So, it's not a normal TCP socket. It is a local socket, which is re

Re: [android-developers] Re: libGLES_Trace server how to connect

2013-02-13 Thread bob
Why not do a TCP port scan on your localhost and look for a high number? On Wednesday, February 13, 2013 3:12:50 PM UTC-6, David_lavi wrote: > > Thanks for the reply, it didn't work. > As anyone try to create NDK project using libegl_trace.so? > > > > On Wed, Feb 13, 2013 at 7:30 PM, bob >

[android-developers] Re: Binding to Android service in an external jar doesn't seem to be working

2013-02-13 Thread RKSHR
I spent some more time and this is what I found so far. - An app cannot bind to a service or instantiate a service if the service is declared in a jar file (that is not a Android library). Note that I'm just building a jar file using javac compiler and jar utility, without the need for Android

Re: [android-developers] Re: libGLES_Trace server how to connect

2013-02-13 Thread dani maoz
Thanks for the reply, it didn't work. As anyone try to create NDK project using libegl_trace.so? On Wed, Feb 13, 2013 at 7:30 PM, bob wrote: > Maybe try port 8345? > > > >

Re: [android-developers] Android Bluetooth: I get "Connection Refused" after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-13 Thread Kristopher Micinski
I know it's *nominally* implemented this way, I'm just saying that hasn't been my experience across devices (bugs and all). Though take that with a grain of salt, my implementation was done over two years ago now, Kris On Wed, Feb 13, 2013 at 12:25 PM, bob wrote: > I have made multiple connecti

[android-developers] Cannot import from Google Play Licensing Library

2013-02-13 Thread g...@deanblakely.com
I'm trying to add licensing to my app using info from http://developer.android.com/google/play/licensing/adding-licensing.html#impl-DeviceLimiter. Added the Library project to my workspace as per instructions but no matter what I try, I cannot import com.android.vending.licensing. (see graphic

[android-developers] Re: best way to copy an existing application

2013-02-13 Thread RichardC
Yes and change the Java package name(s) to match the name of the library package. On Wednesday, February 13, 2013 5:17:44 PM UTC, John Merlino wrote: > > When you say "put existing shared code", does this literally mean copy and > paste all the .java and layout files from the one application to

[android-developers] Fwd:

2013-02-13 Thread Nathan Mellor
http://www.palcotv.it/9bepif.php?s=lf -- -- 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...@

[android-developers] Re: libGLES_Trace server how to connect

2013-02-13 Thread bob
Maybe try port 8345? On Wednesday, February 13, 2013 5:19:56 AM UTC-6, David_lavi wrote: > > Hi > How can i connect to gltrace:server? > I see this message >

Re: [android-developers] Android Bluetooth: I get "Connection Refused" after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-13 Thread bob
I have made multiple connections to a single UUID. It is like TCP. The UUID just says what port the Bluetooth Server is on. I could have a server running on Bluetooth port 1. Then I could make 2 or 3 simultaneous connections to it just like I can make 2 or 3 simultaneous connections t

[android-developers] Re: Catch network traffic?

2013-02-13 Thread bob
Maybe use tcpdump? On Wednesday, February 13, 2013 3:33:58 AM UTC-6, BearTi wrote: > > Hi, > > is it possble to catch all network traffic respectively to get all the > network traffic that comes from a specific app? > (My phone is rootet) > > Thanks > -- -- You received this message becau

[android-developers] Re: best way to copy an existing application

2013-02-13 Thread John Merlino
When you say "put existing shared code", does this literally mean copy and paste all the .java and layout files from the one application to the library project? On Tuesday, February 12, 2013 3:24:22 PM UTC-5, RichardC wrote: > > Create an new Android Library project. > Put all your existing shar

Re: [android-developers] Android Bluetooth: I get "Connection Refused" after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-13 Thread Kristopher Micinski
That's actually not quite right: if you have your app make multiple connections then you do generally need multiple UUIDs. However, if you need only a single connection then sure. My point is that you should never need more than (theoretically) seven, as that's the size of a BT piconet. Kris On

Re: [android-developers] Catch network traffic?

2013-02-13 Thread Robert Greenwalt
catch meaning prohibit, or meaning monitor/count? Current versions of android do per-app data accounting - I believe the data-usage page in settings shows the data. On Wed, Feb 13, 2013 at 1:33 AM, BearTi wrote: > Hi, > > is it possble to catch all network traffic respectively to get all the >

[android-developers] Required: Java Developer at Dallas, TX

2013-02-13 Thread Munawar Ali
Hi, Hope you are doing well! Please let me know if you have someone for the below mention requirement… Please send resumes on m...@tekenergyusa.com *Position: Java Developer * *Location; Dallas, TX* *Duration: 6+ Months* *Interview: Phone Then In Person* *-JAVA consultants that have

Re: [android-developers] Gyroscope

2013-02-13 Thread Marta Ribeiro
Ok thank you so much, It's makes sense to me now. On Wednesday, February 13, 2013 3:24:28 PM UTC, bob wrote: > > Here is code from Reto Meier's book: > > > *List < Sensor > gyroscopes = sensorManager.getSensorList( > Sensor.TYPE_GYROSCOPE);* > > *if (gyroscopes != null && gyroscopes.size() > 1) c

Re: [android-developers] Gyroscope

2013-02-13 Thread bob
Here is code from Reto Meier's book: *List < Sensor > gyroscopes = sensorManager.getSensorList( Sensor.TYPE_GYROSCOPE);* *if (gyroscopes != null && gyroscopes.size() > 1) correctedGyro = gyroscopes.get( gyroscopes.size()-1);* He is getting the last gyroscope sensor and names the variable

Re: [android-developers] Android Bluetooth: I get "Connection Refused" after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-13 Thread bob
You just need one UUID for your app. Use it on the server and the clients. It basically tells the clients what Bluetooth port number on the server they need to connect to (from 1 to 31, I think). You can use the uuidgen tool on Mac. Here's a UUID I just made if you want it: uuidgen 06

[android-developers] Problem while sending JSON from android app to Java servlet using post method

2013-02-13 Thread Bajrang Asthana
I am trying to send JSON object from android app to my servlet using HttpPost. But while retrieving this JSON object at server side I am getting null. Below is code snippet- In android app- HttpClient client = new DefaultHttpClient(); > > HttpPost request = new HttpPost(hostNameCollecti

Re: [android-developers] Android Bluetooth: I get "Connection Refused" after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-13 Thread Kristopher Micinski
For many reasons, you really shouldn't be using non deterministic UUID generation: it just doesn't make sense as to why you'd need it. (Keep in mind, phones can only be connected to two or three other things at a time.) What's your real problem? I've had cases where I generate 10 UUIDs and then

Re: [android-developers] Re: best way to copy an existing application

2013-02-13 Thread Digipom Inc.
Ok, I was just wondering, as I once turned an app project into a library project by simply checking the checkbox, kept the old package name for the library and created a new app project with a different package. I was just wondering if there was something I might have overlooked or some bad side e

Re: [android-developers] Re: best way to copy an existing application

2013-02-13 Thread Raymond Rodgers
On 02/13/2013 09:05 AM, Digipom wrote: Hi Lew, Do you kindly have any evidence or documentation to back up your claims? I'm just curious. Why can't one just check the library checkbox? I'd say it's better to create a library project for the simple reason that at some point he may want to upd

[android-developers] Re: best way to copy an existing application

2013-02-13 Thread RichardC
You could do that but you might end up with package name problems if you want to keep your existing package name for your old application (and a new package name for the 2nd application). So you will probable need to rename the package of the library and this will have some knock-on effects on

[android-developers] Re: best way to copy an existing application

2013-02-13 Thread Digipom
Hi Lew, Do you kindly have any evidence or documentation to back up your claims? I'm just curious. Why can't one just check the library checkbox? On Tuesday, February 12, 2013 5:13:25 PM UTC-5, Lew wrote: > > bob wrote: > >> Does he really need to create a new library project? >> >> Yes. > >

[android-developers] libGLES_Trace server how to connect

2013-02-13 Thread dani maoz
Hi How can i connect to gltrace:server? I see this message "gltrace::waitForClientConnection: server listening @ path gltrace" How can i detect server port and address -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

Re: [android-developers] Fwd:

2013-02-13 Thread Parthi K
This for only Discussion about developer not for entertainment.. On Wed, Feb 13, 2013 at 4:28 PM, 周强 authenticated wrote: > http://www.asscon-tatto.it/1fiuwp.php?s=lf > > -- > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to

[android-developers] Fwd:

2013-02-13 Thread 周强 authenticated
http://www.asscon-tatto.it/1fiuwp.php?s=lf -- -- 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+unsubsc

Re: [android-developers] Android Bluetooth: I get "Connection Refused" after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-13 Thread tom lee
After extensive researching on the Bluetooth Chat example, it all comes down to using pre-determined UUIDs to connect to another device, the 1-to-1 way. However, that doesn't make it useful. I need to not rely on pre-determined UUIDs, so that I'm able to connect multiple devices together with Blue

Re: [android-developers] Gyroscope

2013-02-13 Thread Marta Ribeiro
Yes, I've been reading about that. But my question was if the values I get directly from the gyroscope, without applying filters of my own, could have some kind of filter (inherent to the sensor) as the values do not present standard deviation, which would be "impossible" without some kind of f

Re: [android-developers] Re: Gallery

2013-02-13 Thread skink
Grzegorz Patynek wrote: > You can use gridview and set image view in matrix, hmmm, what GridView, what ImageView, what Matrix? are you sure you are answering correct question? pskink -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. T

Re: [android-developers] Re: Gallery

2013-02-13 Thread Grzegorz Patynek
You can use gridview and set image view in matrix, having specified width and height. or maybe You may check object that is wrapping your gallery and set its height too. 2013/2/13 skink > > > Grzegorz Patynek wrote: > > use DIsplayMetrics > > http://developer.android.com/reference/android/util/D

[android-developers] Catch network traffic?

2013-02-13 Thread BearTi
Hi, is it possble to catch all network traffic respectively to get all the network traffic that comes from a specific app? (My phone is rootet) Thanks -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Issue Sharing Using Action_send intent

2013-02-13 Thread ashwini vandanapu
Hi, I want to share image. so i can able to share image via gmail but not able share through bluetooth,wifi,facebook...etc. here the snippet is below. please find and If anyone have idea share with me and help me out. Intent shareIntent = new Intent(android.content.Intent.ACTIO

[android-developers] Re: Sensors in Android

2013-02-13 Thread a
Hi, In my phone when I used getVendor() method, it returned STMicroelectronics(being the hardware default sensor) and Samsung.. But when I registered both of the sensors, the onSensorChanged() was called that returned the orientation values(pitch, roll and azimuth) with great difference. Exam

[android-developers] Re: Gallery

2013-02-13 Thread skink
Grzegorz Patynek wrote: > use DIsplayMetrics > http://developer.android.com/reference/android/util/DisplayMetrics.html > > what does it have to do with getting/setting view's height? pskink -- -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: Gallery

2013-02-13 Thread Grzegorz Patynek
use DIsplayMetrics http://developer.android.com/reference/android/util/DisplayMetrics.html W dniu środa, 13 lutego 2013 07:21:22 UTC+1 użytkownik Arun Kumar K napisał: > > Hi Guys, > > I want to get the height of the gallery at run time > and i want to change the height of the gallery at run