[android-developers] Android c++ service at boot time

2013-02-14 Thread Mr cool
I need to start a service at boot time in android i don't use broadcast receiver , i wrote a service in c++ because i need access driver libusb layer to communicate with my extrernal device ,the service is working properly if i started manualy,if i want to start the service at boot time means

[android-developers] Re: Problems with Text To Speech

2013-02-14 Thread saex
Your solution didn't works... the same problem El martes, 12 de febrero de 2013 17:55:31 UTC+1, skink escribió: > > > > saex wrote: > >Please, try to make a better explained answer or to test > > your answer before writting it. > > > > > > btw i hate giving a fish i prefer giving a fish rod,

Re: [android-developers] Parser

2013-02-14 Thread Kristopher Micinski
Ah, that makes sense, I've seen a similar thing in ORM-y things for Java. My arguments against static code bloat are also somewhat invalidated by the fact that most JSON libraries will be small footprint by design. Kris On Thu, Feb 14, 2013 at 12:09 AM, Kevin Duffey wrote: > As long as you agre

[android-developers] Re: Problems with Text To Speech

2013-02-14 Thread skink
saex wrote: > Your solution didn't works... the same problem > what have you.changed? 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 fro

Re: [android-developers] Re: How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-14 Thread Meena Rengarajan
http://www.agressar.in/?p=145# I have done based on this link only in MotionEvent.ACTION_MOVE. But i am not getting continuity when im moving my finger on a screen. I am getting like the dots after once i release my finger then lines or what i drew appears. Could anyone tell me kindly , what does

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

2013-02-14 Thread tom lee
> > The UUID just says what port the Bluetooth Server is on. I could have a > server running on Bluetooth port 1. > Does this imply there's a way to specify different Bluetooth ports, if the port(s) exists? I have never heard of Bluetooth using ports like TCP. If you're just making an example, th

Re: [android-developers] Re: How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-14 Thread skink
Meena Rengarajan wrote: > http://www.agressar.in/?p=145# I have done based on this link only in > MotionEvent.ACTION_MOVE. But i am not getting continuity when im moving my > finger on a screen. I am getting like the dots after once i release my > finger then lines or what i drew appears. > > Co

Re: [android-developers] Re: How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-14 Thread Meena Rengarajan
ACTION_MOVE in my app - I could be able to draw but not visible when im drawing and while moving my finger on a screen . Once after i release my finger , i can be able to see what i drew on the screen completely. When i'm trying to draw with my mouse, continuity is not good . Appearing as dots whe

Re: [android-developers] Re: How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-14 Thread Meena Rengarajan
please anyone help me. I am trying from last week. Not yet i found a solution. Have tried many possible ways. On Thu, Feb 14, 2013 at 2:26 AM, Meena Rengarajan wrote: > ACTION_MOVE in my app - I could be able to draw but not visible when im > drawing and while moving my finger on a screen . On

Re: [android-developers] Catch network traffic?

2013-02-14 Thread BearTi
I want to intercept the packeges/I want to see what data goes out of the mobilephone or what sites are called from a specific app. I don´t want to just count the traffic... thanks Am Donnerstag, 14. Februar 2013 01:27:57 UTC+1 schrieb Kristopher Micinski: > > Agreed: do you want to intercept and

Re: [android-developers] Re: How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-14 Thread skink
Meena Rengarajan wrote: > ACTION_MOVE in my app - I could be able to draw but not visible when im > drawing and while moving my finger on a screen . Once after i release my > finger , i can be able to see what i drew on the screen completely. When > i'm trying to draw with my mouse, continuity is

[android-developers] Multi-Page Form with Fragments and Tabs

2013-02-14 Thread Evan Ruff
Hey guys, I was hoping someone could give me a little insight as to how I can make my multi-page form work a little better. Currently, each page (two pages) on my form is a separate fragment. I use the ActionBar Tabs to display the pages and then a Next button in each page that switches the tab

[android-developers] Switching IME/Keyboard once only

2013-02-14 Thread brandall
My application has an inbuilt IME which the user has set to their default. In certain situations within my app (I won't bore you with which), I need to automatically switch to an alternative keyboard, but just for that one view - as soon as the user clicks on another view (or exits the applicat

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

2013-02-14 Thread Kristopher Micinski
That's not how it works: Bluetooth is built on top of RFCOMM, so it's more like a serial channel. It's merely presented with a socket like interface to wrap the behavior. Kris On Thu, Feb 14, 2013 at 4:56 AM, tom lee wrote: >> The UUID just says what port the Bluetooth Server is on. I could ha

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

2013-02-14 Thread bob
Yes, you can specify ports, but I think you may have to use Reflection on Android. This will give you a connection to port 17: *BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();* * * *BluetoothDevice device = adapter.getRemoteDevice(address);* * * *M**ethod m = device.getClass()

[android-developers] Infrared support on Android

2013-02-14 Thread flsobral
Hello, I have a customer interested in infrared communication (IrDA) between android and other devices, more specifically with the Motorola tablet MZ608. I noticed the tablets MZ608 and MZ616 are both equipped with IR Blaster, but the specification of the model MZ608 does not mention infrared su

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

2013-02-14 Thread Kristopher Micinski
So there is port emulation you can use if you use reflection, but it's kind of wacky and doesn't really work like vanilla TCP: so it's helpful not to think of it that way. You can read about it here: http://www.palowireless.com/infotooth/tutorial/rfcomm.asp#Port%20Emulation%20Entity%20:%20Serial%

Re: [android-developers] Catch network traffic?

2013-02-14 Thread Robert Greenwalt
well, tcpdump can record all traffic off a rooted device, but it won't tell you which app sent it. You could run just the app though. Weeding out the system traffic shouldn't be too difficult. On Thu, Feb 14, 2013 at 2:36 AM, BearTi wrote: > I want to intercept the packeges/I want to see what

[android-developers] reverse DNS lookup on Android

2013-02-14 Thread bob
Does anyone know how to do a reverse DNS lookup on Android and get the host name from the IP address? For instance, I might want the hostname that corresponds to 192.168.0.202 -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Fake GC ?

2013-02-14 Thread Fábio Balancin
Hello, I'm working on android project with XML layout and I have a little (but despicable) problem. When I set one activity with xml layout using a layoutInflater (i'm in fragment) I close this activity and load it again, then Android heap not release all objects of memory, and I have a little by

Re: [android-developers] reverse DNS lookup on Android

2013-02-14 Thread Robert Greenwalt
>From java use InetAddress.getByName("8.8.8.8").getHostAddress(). You could also do getByAddress, but then you have to get the address into a byte array. >From native, getnameinfo On Thu, Feb 14, 2013 at 7:58 AM, bob wrote: > Does anyone know how to do a reverse DNS lookup on Android and get

Re: [android-developers] Catch network traffic?

2013-02-14 Thread Kristopher Micinski
I've also done this by instrumenting apps: but that obviously adds a whole bunch of overhead! Kris On Thu, Feb 14, 2013 at 10:34 AM, Robert Greenwalt wrote: > well, tcpdump can record all traffic off a rooted device, but it won't tell > you which app sent it. You could run just the app though.

[android-developers] How to compare a user input and then call a webView?

2013-02-14 Thread Dan Uff
Hi all: This may sound like a basic question, but here goes I am accepting input from a user from an EditText field. When he/she types in a route number (example: 101) I need to call a webView based on that number - showing a schedule for that route number. I don't have any example code

Re: [android-developers] Fake GC ?

2013-02-14 Thread Kristopher Micinski
In Android you never really "close a screen". The system will --- when it feels necessary --- destroy the activity: this sets its master view to null and at that point the view will be garbage collected (eventually). This is a core concept in Android: your application doesn't "close" the same way

[android-developers] Re: Fake GC ?

2013-02-14 Thread Nobu Games
I notice that you say game engineer in your signature and mention Android 2.3. Does your activity create Bitmap objects by any chance? If so you also need to recycle them when your activity stops. On Thursday, February 14, 2013 10:00:53 AM UTC-6, Fábio Balancin wrote: > > Hello, > > I'm working

[android-developers] Animating markers on Google Maps V2

2013-02-14 Thread Maksim Golivkin
I am working on a map centered game where I track locations of people and display them on the map for each other to see. As people move, I want to animate a marker from his current to his latest position. Every person has a direction, so I need to rotate marker appropriately. What is the best

[android-developers] Re: How to compare a user input and then call a webView?

2013-02-14 Thread Nobu Games
Set a TextWatcheron your EditText. When your watcher gets notified about changed text you can immediately pass that input on to your WebView. In order to avoid repeated call

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

2013-02-14 Thread tom_mai78101
I don't think ports matter in this case. In fact, I don't need ports. Thanks anyway. *BEWARE: Wall of text* I have now narrowed down my problem, hopefully reaching a conclusion soon. I'm having trouble with fetching one single UUID for two devices to use. Here's a picture of what I have logg

[android-developers] Re: Catch network traffic?

2013-02-14 Thread BearTi
Allright, thanks! Hmm but where can I get tcpdump? It´s in the store right? -- -- 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 e

[android-developers] Re: Creating new intent with "".

2013-02-14 Thread ntt broken
can someone share more info on this one? thank you! On Mon, Jan 28, 2013 at 9:56 AM, ntt broken wrote: > Hi, > > How can i create an intent (Java code) that will be compatible with intent > filter declared? > > for example, if this is the intent filter declared in the > AndroidManifest.xml: > >

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

2013-02-14 Thread RKSHR
*- 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. * I was hoping someone would say this. Thankyou. I will try to paste the code I was trying in a while and the

[android-developers] MediaPlayer suddenly stopped working in Android 4.2

2013-02-14 Thread Brill Pappin
I've been working on an app that plays MP3 files and have started with out with the lowest supported android version and working upward toward JB. For some reason the MediaPlayer starts generating an error in Android 4.2 when it has been working just fine until now. Nobody seems to know what has

[android-developers] Re: Switching IME/Keyboard once only

2013-02-14 Thread Brill Pappin
Unless things have changed recently, you can't programatically change the input method because its too great a security risk. e.g. I could replace your keyboard with one that looked exactly the same but captured everything you typed and sent it to my mob friends. In a day I could have all your

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

2013-02-14 Thread Brill Pappin
Really it depends on what he's got in the original app. Even just a provider is going to be trouble if he simply turns the whole thing into a library. On Wednesday, 13 February 2013 09:05:34 UTC-5, Digipom wrote: > > Hi Lew, > > Do you kindly have any evidence or documentation to back up your cl

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

2013-02-14 Thread Brill Pappin
This isn't really an Android specific problem. However, your content type is wrong if you are sending the JSON as a POST parameter. You should be using form encoding or even multipart. If you a dumping the JSON into the POST data then you should likely be using a PUT instead of a POST. On Wedn

Re: [android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-02-14 Thread Aleksey Grichenko
Thanks, it's a good hint. But setting margin does not work for some reason (padding is OK). -- -- 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 th

Re: [android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-02-14 Thread Kostya Vasilyev
Are you trying to set the margin on the outermost level of your item layout? I don't think that's supported. Setting a margin on a view nested inside your item layout should work though. -- K 2013/2/14 Aleksey Grichenko > Thanks, it's a good hint. But setting margin does not work for some reaso

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

2013-02-14 Thread Kristopher Micinski
Sure, Although at the same time, if you are doing this, you really *should* be using an Android library project: it just makes it simpler for the users of the library. kris On Thu, Feb 14, 2013 at 12:32 PM, RKSHR wrote: > > - I've made the jar approach work before, and intuitively statically >

Re: [android-developers] Re: Catch network traffic?

2013-02-14 Thread Robert Greenwalt
I believe the source for the developer tool ships with AOSP in the external directory. On Thu, Feb 14, 2013 at 9:07 AM, BearTi wrote: > Allright, thanks! Hmm but where can I get tcpdump? > It´s in the store right? > > -- > -- > You received this message because you are subscribed to the Google

[android-developers] some help with an stack trace

2013-02-14 Thread Jokin Cuadrado
I rolled and update of an app, and acra now it's reporting some crashes. I tried to search what's happening but i find nothing relevant. It seems that sometimes it doesn't find the analytics library and it's AnalyticsReceiver, but there's also a reference to com.google.android.maps which I don't

[android-developers] Re: Switching IME/Keyboard once only

2013-02-14 Thread brandall
Thanks for your reply - You are able to switch the keyboard programmatically if you are the current IME token holder. My struggle is to request this change temporarily. On Thursday, February 14, 2013 5:45:35 PM UTC, Brill Pappin wrote: > > Unless things have changed recently, you can't programa

[android-developers] Re: Canvas Android

2013-02-14 Thread bob
Put it in the drawable-nodpi folder, and the clarity will not be reduced. On Thursday, February 14, 2013 12:04:31 AM UTC-6, janvi wrote: > > 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

[android-developers] Re: How to compare a user input and then call a webView?

2013-02-14 Thread Dan Uff
Thanks for the reply. Can you post a code example on how this would be done? Thanks, Dan On Thursday, February 14, 2013 11:38:56 AM UTC-5, Nobu Games wrote: > > Set a > TextWatcher

[android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-14 Thread bob
Have you tried it on a real device or just the emulator? On Thursday, February 14, 2013 11:38:22 AM UTC-6, Brill Pappin wrote: > > I've been working on an app that plays MP3 files and have started with out > with the lowest supported android version and working upward toward JB. > > For some

[android-developers] Ratings & Reviews SDK???

2013-02-14 Thread pawpaw17
I want to implement ratings & reviews in my app, and I'm about to write some server side code to do it. Does anyone know of a decent ratings/reviews SDK that is restful and appropriate for use in a native app? Just wondered if anyone else is in this boat? Would love to hear from anyone on this

[android-developers] LLMNR

2013-02-14 Thread bob
Does anyone know of any good code to do LLMNR on Android? 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

Re: [android-developers] Re: How to compare a user input and then call a webView?

2013-02-14 Thread Kristopher Micinski
If you google "textwatcher android example" http://stackoverflow.com/questions/8543449/how-to-use-textwatcher-in-android On Thu, Feb 14, 2013 at 3:38 PM, Dan Uff wrote: > Thanks for the reply. > > Can you post a code example on how this would be done? > > Thanks, > Dan > > > On Thursday, Febru

Re: [android-developers] bmgr not working?

2013-02-14 Thread Daniel
Hi, I need help too !! Thanks www.neoage.com.br On Monday, May 24, 2010 4:05:40 PM UTC-3, James Chou wrote: > > I'm trying to test out the new BackupManager class so I've been trying > to play around with the sample. For some reason I cannot get the bmgr > tool to work with the BackupRestoreAc

[android-developers] Re: View

2013-02-14 Thread Lew
Arun Kumar K wrote: > I have doubt about layout.. > You have a lot of dots, too. > RelativeLayout > xmlns:android="http://schemas.android.com/apk/res/android"; > android:id="@+id/layercontainer" > android:orientation="horizontal" > android:layout_width="fill_parent" > android

Re: [android-developers] Ratings & Reviews SDK???

2013-02-14 Thread Παύλος-Πέτρος Τουρνάρης
I have already done this in my app but keeping it hidden from users cause the server side is not yet ready! Looking forward to your server side code if you are gonna open source it! On Thu, Feb 14, 2013 at 11:08 PM, pawpaw17 wrote: > I want to implement ratings & reviews in my app, and I'm abo

[android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-14 Thread Alex Lockwood
The "emulated" directory you see in the pathname doesn't mean he is using the emulator. This directory structure was modified in API 17 due to the addition of multiuser support. I'm having the same problem... trying to figure it out now. On Thursday, February 14, 2013 3:46:37 PM UTC-5, bob wrot

[android-developers] Edittext - can't type

2013-02-14 Thread Ocean
I am a newbie in android developement. i am not able to entered or type in edittext using keyboard and whiledouble click , able to entered using Android emulator keyboard. -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Pass Object

2013-02-14 Thread sree android
Hi friends, I have a dout on Fragments.How can i pass object from fragment to fragment. Here My Code, CityData tname = lcd.get(position); CityFragment f2=new CityFragment(); Bundle b=new Bundle(); b.putSerializable("TNAME",tname); Lo

[android-developers] Pass Object between Fragments

2013-02-14 Thread sree android
Hi friends, I have a dout on Fragments.How can i pass object from fragment to fragment. Here My Code, /*/Sending Object.* CityData tname = lcd.get(position);//Here lcd is ArrayList Object and CityData is POJO class. CityFragment f2=new CityFragment()

[android-developers] Re: Pass Object between Fragments

2013-02-14 Thread Seshu
Hi Sree, U need interface for sending data between two fragments. http://manishkpr.webheavens.com/android-passing-data-between-fragments/ see this example.. it ll helps u... On Feb 15, 10:11 am, sree android wrote: > Hi friends, > > I have a dout on Fragments.How can i pass object from

[android-developers] Debugger to run Android Applications

2013-02-14 Thread Sagar Rout
while i run my program in android emulator there is a flash of warning of 1-2 second that debugger is watch the Application. and i am not able to type in edittext and there is nothing happens using my laptop keyboard i have not use emulator keyboard. what is the cause and the reason behind in thi

[android-developers] Progarm unexpectdly error

2013-02-14 Thread Sagar Rout
when i ranmy program there s a error and my program stopped unexpectdly please help me this problem so that i can configure 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@go

[android-developers] Testing In-App billing: Is a factory reset necessary?

2013-02-14 Thread Jungle Jim
I am developing an app that will include in-app billing. I understand that in order to test the billing functions, I need to set up a test google account. Here's what google's developer site says about the test account: http://developer.android.com/google/play/billing/billing_testing.html#billi

[android-developers] Re: Progarm unexpectdly error

2013-02-14 Thread Lew
Sagar Rout wrote: > when i ranmy program there s a error and my program stopped unexpectdly > please help me this problem so that i can configure it. You need to give details. It's best if you can provide an example of code that creates the behavior. http://sscce.org/ and explain exactly wh