[android-developers] Android Accessbility, get activity name

2015-02-27 Thread Tez
In an accessibility service, how can I get the name of the current activity the user is interacting with? -- 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 unsubscri

[android-developers] Re: Programmatically remove permission

2012-05-02 Thread Tez
look at crepedroid.org We have a research prototype that dynamically modifies the permissions set of an installed application based on a security policy which in turn depends on the devices physical context, for example: "I'm at my home" The code is open source. -Earlence On May 2, 9:00 pm, 3c

[android-developers] Anyone feel like helping a poor pale student?

2011-04-10 Thread Tez
in advance! My computer died yesterday and i lost all my previous research so now i have three weeks to research and write the entire document! (Willing to admit its my own daft fault for not backing up my files ) Thanks everyone, heres the link [url]http://www.surveymonkey.com/s/ F7ZMQWR[/u

[android-developers] Re: SMS PDU Behaviour

2010-12-02 Thread Tez
any ideas? On Dec 1, 7:49 pm, Tez wrote: > Sms's have a max length of 160 characters. Assuming a sender sent an > sms with length 200 chars, does the system send out 2 SMS_RECEIVED > broadcasts? or it internally aggregates the 160 + 40 characters and > sends out a single broa

[android-developers] SMS PDU Behaviour

2010-12-01 Thread Tez
Sms's have a max length of 160 characters. Assuming a sender sent an sms with length 200 chars, does the system send out 2 SMS_RECEIVED broadcasts? or it internally aggregates the 160 + 40 characters and sends out a single broadcast? Cheers, Earlence -- You received this message because you are

[android-developers] Re: Setting alarm time

2010-11-29 Thread Tez
and this is a *really* stupid mistake. I used "11" instead of "10" to mean november! I should get more sleep nowadays...phew! On Nov 29, 11:16 pm, TreKing wrote: > On Mon, Nov 29, 2010 at 4:08 PM, Tez wrote: > > GMT + 1 > > There you go - you're

[android-developers] Re: Setting alarm time

2010-11-29 Thread Tez
to pick five minutes) and set RTC_WAKEUP with the resulting > value. > > This should let you make sure that the rest of your code (the broadcast > receiver, the manifest) is correct. > > Hope this helps. > > -- Kostya > > 29.11.2010 21:20, Tez пишет: > > &g

[android-developers] Re: Setting alarm time

2010-11-29 Thread Tez
GMT + 1 On Nov 29, 7:22 pm, TreKing wrote: > On Mon, Nov 29, 2010 at 12:20 PM, Tez wrote: > > I have tried using GMT as well. no use. > > What's *your* time zone? > > ---

[android-developers] Re: Monkey Documentation

2010-11-29 Thread Tez
there is a howto in the source code directory. its not completely accurate...but it will get you started. On Nov 26, 11:19 pm, Fahad Arshad wrote: > There is no documentation that describes on how to build scripts from > Monkey Exerciser tool. Can someone point to a tutorial on how to build > you

[android-developers] Re: Setting alarm time

2010-11-29 Thread Tez
; > -- Kostya > > 29.11.2010 19:00, Tez пишет: > > > > > Hi, > > > I need to set an alarm clock for, say, 9AM > > > so I am getting a calendar instance > > > Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("UTC")); > > ca

[android-developers] Setting alarm time

2010-11-29 Thread Tez
Hi, I need to set an alarm clock for, say, 9AM so I am getting a calendar instance Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("UTC")); cal.set(2010, 11, 29, 9, 0, 0); and then I call AlarmManager.set like: mAlarmManager.set(AlarmManager.RTC_WAKEUP, cal.getTime().getTime(), pi);

[android-developers] Permission Categories

2010-10-25 Thread Tez
Where can I find a listing indicating what level (normal, dangerous, signature, system) all the available permissions are? I have looked at the JavaDocs. There is no mention of the level there. E -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Activity, ActivityManagerService, ActivityManagerNative interaction

2010-10-11 Thread Tez
Hi, I want to understand how the following components interact say, from activity startup through normal operation to shut down. Activity, ActivityManagerService ActivityManagerNative Cheers, Earlence -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Understanding the Transaction mechanism

2010-10-11 Thread Tez
Hi, Is there any article/paper that describes the transaction mechanism, why it is needed and how it works? eg: the ActivityManagerService class -E -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] Re: How do i simulate a touch on the soft keyboard?

2010-10-11 Thread Tez
try using the monkey tool. On Oct 4, 6:24 am, CG Tan wrote: > I am trying to simulate a touch on the soft keyboard, how do i do > that? > I try injectPointerEvent but it fail. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: Capture Android softkeyboard events

2010-10-11 Thread Tez
write your own keyboard and place it in your activity layout. thats what I did. cheers, Earlence On Oct 6, 12:48 pm, Bobby wrote: > Is there a way I could capture the Keyevents of a softkeyboard(qwerty > usually) ? I need the keyCode of the key pressed, so can't really rely > on the onTextChange

[android-developers] Re: Incoming call recording

2010-10-11 Thread Tez
You might try to switch on the microphone when a call is received and record audio. It is not possible to access the actual voice stream as it is handled by the baseband processor independently. cheers, Earlence On Oct 8, 3:32 pm, Amit Mangal wrote: > Hi > Is this possible to run an application

[android-developers] Re: Running static analysis on an Android device

2010-10-11 Thread Tez
Hi Daniela, You might want to look at the "Kirin" Safe installer research paper from Penn state University. McDaniel et al.\ They have a form of static analysis by checking permission combinations at install time. >From the paper, you will get an idea of how thing work. cheers, Earlence On Oct

[android-developers] Transaction Mechanism

2010-10-09 Thread Tez
Hi, Is there any article/paper that describes the transaction mechanism, why it is needed and how it works? eg: the ActivityManagerService class -E -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] Re: Throwing/Simulating KeyStrokes programatically

2010-09-16 Thread Tez
You can use the monkey tool via adb to send programmatic UI events. On Sep 15, 7:58 pm, saex wrote: > Hi > > i want to simulate a KEY_UP press on my phone.. but programatically > > can someone tell me the code of a function that can do this? > > i found some functions searching onwww.google.combu

[android-developers] Custom Screen Locker

2010-09-16 Thread Tez
How do I write a custom screen locker? Where is the source of the default screen locker? Any links on writing custom screen lockers? Cheers, Earlence -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andr

[android-developers] Re: Get Location

2010-09-14 Thread Tez
Have you tried reading the documentation? developer.android.com On Sep 13, 11:08 pm, Rubin wrote: > Hi. > >                  I am new android development. My new requirement is > location details. I need to find, device current location in the form > of lattitude and longitude. > > cheers, > R

[android-developers] Re: java.net.SocketException: Operation not permitted

2010-09-14 Thread Tez
Have you assigned the internet permission? On Sep 11, 1:28 pm, jag wrote: > final int port = 5060; >   byte[] inviteBytes = sipInvite.getBytes(); >         DatagramPacket packet = new DatagramPacket(inviteBytes, >                 inviteBytes.length, toInetAddress, port ); >         DatagramSocket

[android-developers] Re: Connect two android phones

2010-09-14 Thread Tez
Use any of the P2P protocols out there! This is not really an Android-specific question. You can consider using XMPP. There is a java port of the smack library for android. Cheers, Earlence On Sep 12, 11:29 am, Rosebeat wrote: > I am new to Android. > I want to know how we can connect two androi

[android-developers] Re: Android real time sound spectrum analyzer

2010-09-14 Thread Tez
AudioRecord API. Using this you can get raw bytes from the microphone stream. Since you are analyzing audio, this is a heavy operation. You may want to consider the NDK. However, you cannot access the audio APIs from the NDK. You may have to write a JNI wrapper to transfer byte streams. Cheers, Ea

[android-developers] Re: Disabling the USB port?

2010-09-13 Thread Tez
> Mark, There is a "adb_enabled" value in Settings.Secure. I think this is related to USB debugging. >Niko20, No, I don't work for AT&T -E On Sep 13, 10:43 pm, niko20 wrote: > Tez, do you work for AT&T? > > On Sep 13, 12:35 pm, Mark Murphy wrote: >

[android-developers] Re: Disabling the USB port?

2010-09-13 Thread Tez
e a kernel without usb drivers.  You will need root or an > engineering bootloader to install it. > > Or you could just leave usb debugging off and decline to mount mass > storage mode. > > Tez wrote: > > Is there any other way that can block the USB port so that no da

[android-developers] Re: Adding permission in framework.

2010-09-13 Thread Tez
read the manual! On Sep 13, 4:49 pm, Rahul Garg wrote: > How can I add some permission in framework , is it any way to do > 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@go

[android-developers] Re: Disabling the USB port?

2010-09-13 Thread Tez
Is there any other way that can block the USB port so that no data is transferred? Where are the corresponding source files? Cheers, Earlence On Sep 13, 3:33 pm, Mark Murphy wrote: > On Mon, Sep 13, 2010 at 3:44 AM, Tez wrote: > > Is it possible to disable the USB port? > > Yo

[android-developers] Re: any tool in android to find memory leak and code optimization

2010-09-13 Thread Tez
You can also PMD for code analysis/optimization. -E On Sep 13, 12:20 pm, Xavier Ducrohet wrote: > On Sun, Sep 12, 2010 at 1:22 PM, Samsyn wrote: > > I believe DDMS has much of what you need. > > > For code profiling, search for 'TraceView' > > > * you will want to add some UI to your app to let

[android-developers] Disabling the USB port?

2010-09-13 Thread Tez
Hi, Is it possible to disable the USB port? Even if the device is physically connected to a host computer via USB cable, no logical connection should be established. What are the sources/programmatic way of doing this? Cheers, Earlence -- You received this message because you are subscribed to

[android-developers] Re: Monkey usage with Scripts/Network Control not working

2010-09-12 Thread Tez
Monkey network control working correctly. Must be careful about scaling co-ordinates while using it. I hope this post helps others when they have problems. Cheers, Earlence On Sep 12, 11:21 pm, Tez wrote: > count= number of events > speed= in ms > start data >> > DispatchPoi

[android-developers] Re: Monkey usage with Scripts/Network Control not working

2010-09-12 Thread Tez
areful to ensure that the co-ordinates are correct. What you specify here are raw co-ords i.e before any window adjustments etc take place. You must take this into account while calculating co-ords. I am yet to try the network control - Lets see what happens. Cheers, Earlence On Sep 12, 10:20 p

[android-developers] Re: Monkey usage with Scripts/Network Control not working

2010-09-12 Thread Tez
figure out what device code I need to use. Events are being sent, but I cannot see output. Will posts here once I get things working. (I think the Network Control/scriptfile docs are confusing) Cheers, Earlence On Sep 12, 9:34 pm, Tez wrote: > Hi, > > I am trying to do 2 things with mon

[android-developers] Monkey usage with Scripts/Network Control not working

2010-09-12 Thread Tez
Hi, I am trying to do 2 things with monkey 1. Execute a script with a command like adb shell monkey -p MY_PACKAGE --setup scriptfile -f /sdcard/ mon_script1.txt 1 where mon_script.txt contains a few touch commands. After I execute this, I see nothing happening on the screen. It even does not gi

[android-developers] Re: need help with softkeyboard development

2010-09-10 Thread Tez
Hi, You don't really need to hire someone. The SoftKeyboard example available in the SDK is self explanatory. Lots of comments. Experiment a little, you will automatically understand how things work. Cheers, Earlence On Sep 11, 10:55 am, Saied wrote: > Hello, > > I have two android related nee

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-10 Thread Tez
and okay...I will not use "URGENT" in my posts (This is actually the first time i've ever used it, and i've been on the android forums for a looong time). Everyone makes mistakes and I have no problem in learning to change. -E On Sep 10, 5:19 pm, Serzhant wrote: > Tez -

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-10 Thread Tez
Thanks Serzhant. I am verifying the co-ordinates. On Sep 10, 5:19 pm, Serzhant wrote: > Tez - Your steps are correct. > > Check whether coordinates of your button is correct. > You can do by touching your button in your application and checking > logcat output. There should be me

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-10 Thread Tez
whoawhy dont we just concentrate on the technical problems here...eh? Anyone who has used monkey network control...help! Cheers, E On Sep 10, 10:06 pm, TreKing wrote: > On Fri, Sep 10, 2010 at 10:07 AM, Tez wrote: > > @Devdroid - Its only written "urgent" I have not rep

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-10 Thread Tez
have to dig thru the code to see why its not working as documented. @Treking You should really write your replies with finesse. Your statements can put off a lot of people. -E On Sep 10, 6:02 pm, TreKing wrote: > On Fri, Sep 10, 2010 at 1:53 AM, Tez wrote: > > I hope this clears things

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-09 Thread Tez
signment that he slacked off on, for all we know. > > On Thu, Sep 9, 2010 at 11:37 PM, Tez wrote: > > @TrekIng - thanks for your professional opinion. > > This is most definitely NOT "professional" opinion. I'm just telling you how > posts with "urgent"

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-09 Thread Tez
gt; Of course, "I'm bored and it's 3am and I'm too impatient to wait for > someone to answer" isn't "urgent", but Tez said nothing to suggest > that that was the scenario. > > I've been in this biz for 40 years, and I find programming is a l

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-09 Thread Tez
> I doubt someone's life depends on this. What kinda statement is that? Anyone who knows, my problem is not "urgent" but "very important" that I find a solution. Thanks. -E On Sep 9, 8:38 pm, TreKing wrote: > On Wed, Sep 8, 2010 at 10:04 PM, Tez wrote: >

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-08 Thread Tez
I have some important work that depends on whether this component with monkey works. On Sep 8, 9:21 pm, TreKing wrote: > On Wed, Sep 8, 2010 at 10:00 AM, Tez wrote: > > Why is this happening? > > I don't know, haven't used Monkey, but I'm curious as to why

[android-developers] Monkey problems -- **URGENT HELP** --

2010-09-08 Thread Tez
Hi, I start monkey like this: monkey -p --port 4321 (I have already done a tcp port forwarding). I then use PuTTY to telnet to 127.0.0.1:4321 I can issue a command like tap 100 100 I get a response OK but I see nothing happening on the UI. I have placed a button at that location but I does no

[android-developers] Re: Listening to events in other Apps

2010-09-08 Thread Tez
Are these system wide touch events? On Sep 6, 3:25 pm, octega wrote: > Hi all, > > Good day to everyone here! > > We are currently trying to build an App that listens to events in > other Apps. (we already have approval from users to access such > information in a control study) > > And so far, w

[android-developers] Re: Monkey Questions

2010-09-07 Thread Tez
Any one has ever thought of doing somethin' like the above? Also, I tried to startup monkey so that it listens over the network. Then I did a port forwarding. Finally, I connected via PuTTY to the IP:Host. I dont get any "OK" responses from monkey. Cheers, Earlence On Sep 7, 9:07

[android-developers] Re: Format or example required for writing script for monkey tool

2010-09-07 Thread Tez
Have you tried seeing the sources? http://android.git.kernel.org/?p=platform/development.git;a=blob;f=cmds/monkey/example_script.txt;h=5c1c61de2b5bd5fb109d9f2807d12da4ee36e825;hb=HEAD a script can be invoked as adb shell monkey -f On Sep 6, 11:03 am, ankit wrote: > Hi, > > Can someone please

[android-developers] Re: Simple Key Event Questions

2010-09-07 Thread Tez
Thanks Dianne. I have implemented my own keyboard with the keyboard view class. Cheers, Earlence On Sep 5, 9:10 am, Tez wrote: > I want to implement a biometric measure based on keystroke analysis. > (This is a known research topic). > I need to extract timing vectors that correspond

[android-developers] Re: Simple Key Event Questions

2010-09-07 Thread Tez
o InputConnection).  No > KeyEvent. > > What you are claiming to want to do simply doesn't make sense.  Let's back > up here and see what you are actually trying to accomplish?  Not timing > between two key events.  What is the goal you are trying to achieve? > > > &

[android-developers] Monkey Questions

2010-09-07 Thread Tez
Hi, Once I start up monkey from the shell like: adb shell monkey --port 1080 Then, If I write normal java code to establish a connection to 127.0.0.1:1080 (on the device itself) and then issue monkey commands from there? I have tried this and I am able to create a socket, but to get the respons

[android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Tez
used for any other apps. OR is there is way to disable the popping up of the system IME when I click an EditText? Cheers, Earlence On Sep 7, 10:34 am, Dianne Hackborn wrote: > I've told you what there is. > > On Mon, Sep 6, 2010 at 9:25 PM, Tez wrote: > > I mean to say tha

[android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Tez
I mean to say that is there any other measurable parameter the IM framework provides? On Sep 7, 9:08 am, Dianne Hackborn wrote: > I have been try to say -- no.  The information you are asking for doesn't > even exist.  There are no key events. > > > > On Mon, Sep 6, 2010

[android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Tez
key events. > > > > On Mon, Sep 6, 2010 at 8:52 PM, Tez wrote: > > Thank you for the quick reply. > > So now, coming back to my original problem, is there ANY way that you > > can think of to receive the information I need > > without writing a custom IME? >

[android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Tez
TextView > performs the appropriate editing of its text. > > > > On Sun, Sep 5, 2010 at 9:42 PM, Tez wrote: > > and another thingin all these "key" interactions, (physical or > > IME), am I correct in assuming that all data must pass thru the > > Framework c

[android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Tez
In all these "key" interactions, (physical or IME), am I correct in assuming that all data must pass thru the Framework classes like WindowManagerService, KeyInputQueue etc? -E On Sep 6, 2:18 pm, Mark Murphy wrote: > On Mon, Sep 6, 2010 at 12:37 AM, Tez wrote: > > So the K

[android-developers] Re: Statistics on Rooted Phones

2010-09-06 Thread Tez
t rely on it. > > On Sep 6, 1:36 am, Tez wrote: > > > Its just a research study we are carrying. Certain operations can be > > performed on a rooted phone and some of them are security threats. > > We would like to quantify certain statements we make. > > Also, now

[android-developers] Re: Statistics on Rooted Phones

2010-09-05 Thread Tez
ill this number help anyone. :) > > -Kumar Bibekhttp://techdroid.kbeanie.com > > On Sep 4, 7:14 pm, Tez wrote: > > > Hi, > > > Is there any statistic/research study on the no. of users who root > > their phones? > > > Cheers, > > Earlence --

[android-developers] Re: Simple Key Event Questions

2010-09-05 Thread Tez
rom the IME.  What you get is edit operations via calls > on InputConnection. > > You will need to implement your own keyboard in your app if you want to > monitor individual interactions with it. > > > > On Sun, Sep 5, 2010 at 4:18 AM, Tez wrote: > > Biometric Measur

[android-developers] Re: Simple Key Event Questions

2010-09-05 Thread Tez
.  What you get is edit operations via calls > on InputConnection. > > You will need to implement your own keyboard in your app if you want to > monitor individual interactions with it. > > > > On Sun, Sep 5, 2010 at 4:18 AM, Tez wrote: > > Biometric Measure with neura

[android-developers] Re: Simple Key Event Questions

2010-09-05 Thread Tez
l you are trying to achieve? > > > > On Sat, Sep 4, 2010 at 6:55 AM, Tez wrote: > > How do I intercept the InputConnection Calls? Would I have to modify > > the IME or use a custom one? > > Having text change listeners would not be of use as I need key timing > >

[android-developers] Statistics on Rooted Phones

2010-09-04 Thread Tez
Hi, Is there any statistic/research study on the no. of users who root their phones? Cheers, Earlence -- 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

[android-developers] Re: Simple Key Event Questions

2010-09-04 Thread Tez
p 3, 2010 at 10:48 PM, Tez wrote: > > 1. I have registered a KeyListener on an EditText. When I use the soft > > keyboard to input text, my listener is not called. How Do I intercept > > these events? > > InputConnection is how edit operations are delivered through an IME.  Th

[android-developers] Simple Key Event Questions

2010-09-03 Thread Tez
1. I have registered a KeyListener on an EditText. When I use the soft keyboard to input text, my listener is not called. How Do I intercept these events? 2. How do I measure time interval between KeyEvents. The methods are confusing and documentation is not good. Plz put pseudo-code here. Cheers,

[android-developers] Re: I have a queston about virtual keypad.

2010-09-03 Thread Tez
LatinIME - this is the virtual keyboard on the device. search for it on the android git kernel website. Cheers, Earlence On Sep 2, 8:58 am, debian wrote: > Hello, everyone. > > I suffers one issue related with virtual keypad. > I want to insert typing sound to virtual keypad. > > But I'm audio e

[android-developers] Re: Getprop doesn't return anything

2010-09-03 Thread Tez
getprop should work anywhere. See whether you are using the correct name and whether the property exists. Cheers, Earlence On Sep 2, 5:34 pm, BlaY0 wrote: > Hi, > > I'm writing a little dhcpcd hook (script) and was wondering how could > I  get some properties into it. Getprop doesn't work in dh

[android-developers] Re: IM server behind NAT router

2010-09-03 Thread Tez
Stun4J and JStun both work. I have tried them. Just use the sample code provided on their sites. Of course, these STUN libs will only work with certain types of NATs. Cheers, Earlence On Sep 2, 1:49 pm, Android Programmer wrote: > Hi. I am making an IM application for Android. The application >

[android-developers] Re: KeyEvent Methods

2010-09-01 Thread Tez
ferent for a key up. > > > > On Wed, Sep 1, 2010 at 1:48 AM, Tez wrote: > > I tried subtracting the 2 values. I always get zero. > > > On Sep 1, 1:04 pm, Dianne Hackborn wrote: > > > On Tue, Aug 31, 2010 at 10:47 PM, Tez wrote: > > > > 1. what is t

[android-developers] Not detecting soft keyboard keypresses

2010-09-01 Thread Tez
I have an EditText. I have set a OnKeyListener to listen to key presses. I get proper info when I use the keyboard in the emulator. If i try to use the "soft keyboard" I dont receive any events. Is this behavior normal? If so, How do I get the soft keyboard key presses? Cheers, Earlence -- You r

[android-developers] Re: KeyEvent Methods

2010-09-01 Thread Tez
I tried subtracting the 2 values. I always get zero. On Sep 1, 1:04 pm, Dianne Hackborn wrote: > On Tue, Aug 31, 2010 at 10:47 PM, Tez wrote: > > 1. what is the getKeyDownTime() method? What does its return value > > mean logically? > > The time when the key down event oc

[android-developers] KeyEvent Methods

2010-08-31 Thread Tez
1. what is the getKeyDownTime() method? What does its return value mean logically? 2. what is the getKeyEventTime() method? What does its return value mean logiccaly? 3. I want to measure the time a key was depressed for. Eg: Key A was pressed for 60 ms. which of the above methods would be useful?

[android-developers] Re: IME: How does the system replace the current keyboard?

2010-08-29 Thread Tez
ok On Aug 29, 11:59 pm, Dianne Hackborn wrote: > Please post questions about platform development on one of the relevant > groups, thanks. > > > > On Sun, Aug 29, 2010 at 9:02 AM, Tez wrote: > > To use a custom IME, it must be selected from the "Settings app"

[android-developers] Re: Application permissions

2010-08-29 Thread Tez
how do u do that? On Aug 20, 2:04 am, String wrote: > Sign it with the same cert as the system. > > String > > On Aug 19, 6:50 pm, Stephen Lin wrote: > > > Hi Dianne, > > > I am building an application to configure Ethernet on a custom Android > > platform.  How do I get my application signed to

[android-developers] IME: How does the system replace the current keyboard?

2010-08-29 Thread Tez
To use a custom IME, it must be selected from the "Settings app". How does the system do this operation? What are the code files that changes the settings? Cheers, Earlence -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] Re: Using IMEs

2010-08-29 Thread Tez
I got the answer on my other thread. On Aug 29, 7:38 pm, Tez wrote: > 1. The softkeyboard sample, after installation, how do I use it? > 2. Can I replace the default system IME (popup keyboard)? If yes, how? > > Cheers, > Earlence -- You received this message because you are su

[android-developers] Re: Input Method Framework: How to use?

2010-08-29 Thread Tez
thanks! On Aug 29, 7:42 pm, Mark Murphy wrote: > On Sun, Aug 29, 2010 at 10:36 AM, Tez wrote: > > How do I change the system IME to my custom IME? is this possible? > > The user can enable your IME through the Settings application. > > > How do I specify that I want to u

[android-developers] Using IMEs

2010-08-29 Thread Tez
1. The softkeyboard sample, after installation, how do I use it? 2. Can I replace the default system IME (popup keyboard)? If yes, how? Cheers, Earlence -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Re: Input Method Framework: How to use?

2010-08-29 Thread Tez
:28 am, Tez wrote: > Hi, > > I need to learn how to use the IMF to design a soft keyboard. Please > point me to some resources that will help me understand how to do it > from the ground up. Something other than the SDK sample > > Cheers, > Earlence -- You received this

[android-developers] Input Method Framework: How to use?

2010-08-28 Thread Tez
Hi, I need to learn how to use the IMF to design a soft keyboard. Please point me to some resources that will help me understand how to do it from the ground up. Something other than the SDK sample Cheers, Earlence -- You received this message because you are subscribed to the Google Groups "An

[android-developers] AudioRecord APIs

2009-09-06 Thread Tez
Hi, I have two questions 1. Has anyone been able to use an AudioRecord properly WITHOUT the "buffer overflow" messages? 2. What is the audio latency parameter? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: HTC Hero Networking Stack

2009-08-30 Thread Tez
Hi, Have you taken into account the fact that the device will be behind some kind of NAT/Firewall setup by the carrier? In that case, the device gets an IP that is refreshed/recycled periodically from an internal pool of IP addrs. Cheers, Earlence On Aug 29, 9:06 pm, Dan Sherman wrote: > Hey g

[android-developers] Re: Too many audioflinger blocked warn,please help.

2009-08-14 Thread Tez
Hi, If you are using the emulator, the background noise is because of the emulator. When you run the same code on a phone, the noise will not be there. As for the "write block" messages, even I get them, but I dont think they are much of a problem, but I may be wrong. If you find a better solutio

[android-developers] audioRecord buffer overflow

2009-08-09 Thread Tez
Hi, Can anyone send me some pseudo code to record from AudioRecord without getting buffer overflow messages? This is the code i am using : this is my setup for AudioRecord 8khz, 16bit pcm, mono buffer size spec during object creation - 1024 i read 480shorts(960 bytes) every 60ms in addition,

[android-developers] GPS proximity alerts

2009-08-05 Thread Tez
Hi, Can anyone post some sample code or point me to a tutorial on usage of GPS proximity alerts with PendingIntent? cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Signal re-sampling in android

2009-08-03 Thread Tez
Hi, Is there any library already available for speech signal re-sampling? I have sample speech input with the following config. 8Khz, 16bit PCM. I wish to resample to rates like 11.25, 22.5, 44.1khz, 16khz etc. Is there any open source project doing this? Cheers, Earlence --~--~-~--~-

[android-developers] Re: Speech Codec Support for Android

2009-07-17 Thread Tez
er > The views, opinions and statements in this email are those of the > author solely in their individual capacity, and do not necessarily > represent those of T-Mobile USA, Inc. > > On Jul 17, 4:35 am, Tez wrote: > > > Hi, > > > thanks for the reply. I was wonder

[android-developers] Re: Speech Codec Support for Android

2009-07-17 Thread Tez
tatements in this email are those of the > author solely in their individual capacity, and do not necessarily > represent those of T-Mobile USA, Inc. > > On Jul 15, 8:39 pm, Tez wrote: > > > Hi, > > > I was wondering what kind of Audio/Speech Codecs are av

[android-developers] Speech Codec Support for Android

2009-07-15 Thread Tez
Hi, I was wondering what kind of Audio/Speech Codecs are available for the 1.5 SDK? Are there any Open Source projects working on this? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Packaging SQLite DB for deployment

2009-07-10 Thread Tez
Hi, I have an SQLite DB file. I wish to include the sqlite file with my apk. How do i do that? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Draggable UI Elements

2009-06-25 Thread Tez
Hi, I want to build a draggable interface. To be explicit, i want to be able to drag an image from one location to another. For this, I have implemented a small class that contains the image and its current co- ordinates. To move around, I extend a View and intercept the 'Touch' events. Hence, i

[android-developers] Drawing custom images in a ListView

2009-06-23 Thread Tez
Hi, I would like to draw custom images within a ListView, for this I have created a ListView and an ArrayAdapter object. I have specified that each element of the ListView will be an ImageView which is specified by an XML layout file. Now, I would like to draw a custom graphic in each cell depend

[android-developers] aborting calls on android devices

2009-06-18 Thread Tez
Hi, I wish to be able to abort calls on the android system. When a user dials in a number and calls it, i should be notified of this and hence abort. for notification, i have found certain callbacks in the TelephonyManager class, but i couldn't find a corresponding method to disconnect a voice c

[android-developers] Obtaining Frequency from Mic on Android

2009-06-09 Thread Tez
Hi, I wish to obtain the frequency of an input signal from the mic. Can anyone send me some pointers on how this may be accomplished. Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Setting up UDP connections between devices

2009-05-07 Thread Tez
Hi, I want to setup a P2P UDP connection between two devices. The 'normal' method is to use the socket class available, but this won't work due to NAT issues etc. For this, i am using XMPP, but the default mode is TCP. To use UDP, i need to use Jingle. Can anyone tell me how to perform a basic ji

[android-developers] Java Native Access (JNA)

2009-02-01 Thread Tez
Hi, Has anyone been able to run JNA on Android? Cheers, Earlence --~--~-~--~~~---~--~~ 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 T

[android-developers] Re: JavaScript XMLHTTPRequest

2009-01-30 Thread Tez
29日, 下午1时05分, kevin wrote: > > > Can you point me to an example of implement native layer? Is it just > > ajavascriptinterface call back object which register in webview? > > > Thanks, > > Kevin > > > On 1月27日, 下午9时53分, Tez wrote: > > > > Hi

[android-developers] Audio Streaming Integration

2009-01-27 Thread Tez
Hi, How can I integrate the cupcake audio streaming code into the existing android sdk? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: JavaScript XMLHTTPRequest

2009-01-27 Thread Tez
Hi, Basically, AJAX calls are not allowed within the android web view I implemented a native layer that intercepted the calls and transferred actual data using android apis Cheers, Earlence On Jan 27, 8:58 am, kevin wrote: > I am trying to use javascript XMLHTTPRequest inside a webview. > Won

[android-developers] Re: unknown exception for create object of FileTransferManager() of smack library

2009-01-21 Thread Tez
Hi, Even I am encountering the same problem. When I debug using the smack debug extension, I get a NullPointerException in the FileTransferNegotiator class in the setServiceEnabled method call. If you find a solution, please let me know!!!1 Cheers, Earlence On Jan 21, 3:35 pm, jalandar wrote

[android-developers] ALSA lib

2009-01-21 Thread Tez
Hi, What is the ALSA lib and what can it be used for. Where is doc for it? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

  1   2   >