[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

[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
! 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[/url] - Tez

[android-developers] Re: SMS PDU Behaviour

2010-12-02 Thread Tez
any ideas? On Dec 1, 7:49 pm, Tez earlencefe...@gmail.com 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

[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] 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] Re: Setting alarm time

2010-11-29 Thread Tez
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)); cal.set(2010, 11, 29, 9, 0, 0); and then I call AlarmManager.set like: mAlarmManager.set

[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 fahadaliars...@gmail.com wrote: There is no documentation that describes on how to build scripts from Monkey Exerciser tool. Can someone point to a

[android-developers] Re: Setting alarm time

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

[android-developers] Re: Setting alarm time

2010-11-29 Thread Tez
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 пишет: I have tried using GMT as well. no use. Something is wrong in my understanding of how this works. Can anyone help? On Nov 29, 5:21 pm

[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 treking...@gmail.com wrote: On Mon, Nov 29, 2010 at 4:08 PM, Tez earlencefe...@gmail.com wrote: GMT + 1 There you go - you're off by one

[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

[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] 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 forum.amit.man...@gmail.com wrote: Hi Is this

[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 phani.bo...@gmail.com 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

[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 cgfu...@gmail.com 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.

[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

[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

[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

[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

[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 elpablos...@gmail.com 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

[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,

[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 rosebeat2...@gmail.com wrote: I am new to Android. I want to know how we

[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 vij...@yahoo.com wrote: final int port = 5060;   byte[] inviteBytes = sipInvite.getBytes();         DatagramPacket packet = new DatagramPacket(inviteBytes,                 inviteBytes.length, toInetAddress, port );        

[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 jeff.rubi...@gmail.com 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

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

2010-09-13 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 earlencefe...@gmail.com wrote: count= number of events speed= in ms start data

[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: 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 x...@android.com wrote: On Sun, Sep 12, 2010 at 1:22 PM, Samsyn d...@synthetic-reality.com wrote: I believe DDMS has much of what you need. For code profiling, search for 'TraceView' * you will want

[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 mmur...@commonsware.com wrote: On Mon, Sep 13, 2010 at 3:44 AM, Tez earlencefe...@gmail.com wrote: Is it possible

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

2010-09-13 Thread Tez
read the manual! On Sep 13, 4:49 pm, Rahul Garg rahul.lnm...@gmail.com 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] Re: Disabling the USB port?

2010-09-13 Thread Tez
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 data is transferred? Where

[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 ATT -E On Sep 13, 10:43 pm, niko20 nikolatesl...@yahoo.com wrote: Tez, do you work for ATT? On Sep 13, 12:35 pm, Mark Murphy mmur...@commonsware.com wrote: On 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

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

2010-09-12 Thread Tez
to 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 earlencefe...@gmail.com wrote: Hi, I am trying to do 2 things

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

2010-09-12 Thread Tez
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 pm, Tez

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

2010-09-11 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 serzh...@gmail.com wrote: Tez - Your

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

2010-09-11 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 saie...@gmail.com wrote: Hello, I have two

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

2010-09-10 Thread Tez
slacked off on, for all we know. On Thu, Sep 9, 2010 at 11:37 PM, Tez earlencefe...@gmail.com wrote: @TrekIng - thanks for your professional opinion. This is most definitely NOT professional opinion. I'm just telling you how posts with urgent in the title are usually perceived on forums like

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

2010-09-10 Thread Tez
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 treking...@gmail.com wrote: On Fri, Sep 10, 2010 at 1:53 AM, Tez earlencefe...@gmail.com wrote: I hope this clears things

[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 treking...@gmail.com wrote: On Fri, Sep 10, 2010 at 10:07 AM, Tez earlencefe...@gmail.com wrote: @Devdroid - Its only written

[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 serzh...@gmail.com 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

[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 treking...@gmail.com wrote: On Wed, Sep 8, 2010 at 10:04 PM, Tez earlencefe...@gmail.com wrote

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

2010-09-09 Thread Tez
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 lot like flying:  Hours of sheer boredom punctuated by moments of stark terror. On Sep 9, 12:59 pm, TreKing treking...@gmail.com wrote: On Thu, Sep

[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 oct...@gmail.com 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

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

2010-09-08 Thread Tez
Hi, I start monkey like this: monkey -p MY PACKAGE --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

[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 treking...@gmail.com wrote: On Wed, Sep 8, 2010 at 10:00 AM, Tez earlencefe...@gmail.com wrote: Why is this happening? I don't know, haven't used Monkey, but I'm curious as to why

[android-developers] Re: Simple Key Event Questions

2010-09-07 Thread Tez
it to be 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 hack...@android.com wrote: I've told you what there is. On Mon, Sep 6, 2010 at 9:25 PM, Tez earlencefe...@gmail.com wrote: I mean

[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

[android-developers] Re: Simple Key Event Questions

2010-09-07 Thread Tez
to 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? On Sat, Sep 4, 2010 at 6:55 AM, Tez earlencefe

[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 earlencefe...@gmail.com wrote: I want to implement a biometric measure based on keystroke analysis. (This is a known research topic). I need to extract timing vectors

[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 SCRIPT_NAME On Sep 6, 11:03 am, ankit ankit.ag...@gmail.com

[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 pm, Tez

[android-developers] Re: Statistics on Rooted Phones

2010-09-06 Thread Tez
might rely on it. On Sep 6, 1:36 am, Tez earlencefe...@gmail.com 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 that rooting

[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 mmur...@commonsware.com wrote: On Mon, Sep 6, 2010 at 12:37 AM, Tez earlencefe

[android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Tez
editing of its text. On Sun, Sep 5, 2010 at 9:42 PM, Tez earlencefe...@gmail.com wrote: and another thingin 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? Cheers

[android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Tez
.  There are no key events. On Mon, Sep 6, 2010 at 8:52 PM, Tez earlencefe...@gmail.com 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? Cheers, Earlence

[android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Tez
, Tez earlencefe...@gmail.com 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? Cheers, Earlence On Sep 7, 8:42 am, Dianne Hackborn hack

[android-developers] Re: Simple Key Event Questions

2010-09-05 Thread Tez
, Sep 4, 2010 at 6:55 AM, Tez earlencefe...@gmail.com 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 information. This I can only get thru KeyEvents. Cheers

[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 earlencefe...@gmail.com wrote: Biometric Measure with neural nets: Key stroke

[android-developers] Re: Simple Key Event Questions

2010-09-05 Thread Tez
that from 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 earlencefe...@gmail.com wrote: Biometric Measure with neural nets

[android-developers] Re: Statistics on Rooted Phones

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

[android-developers] Re: Simple Key Event Questions

2010-09-04 Thread Tez
: On Fri, Sep 3, 2010 at 10:48 PM, Tez earlencefe...@gmail.com 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

[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: 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 andreas.man...@gmail.com wrote: Hi. I am making an IM application for

[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 blaz.podr...@gmail.com wrote: Hi, I'm writing a little dhcpcd hook (script) and was wondering how could I  get some properties into it. Getprop

[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 juhe...@gmail.com wrote: Hello, everyone. I suffers one issue related with virtual keypad. I want to insert typing sound to virtual keypad. But

[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.

[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 hack...@android.com wrote: On Tue, Aug 31, 2010 at 10:47 PM, Tez earlencefe...@gmail.com wrote: 1. what is the getKeyDownTime() method? What does its return value mean logically? The time when the key

[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

[android-developers] Re: KeyEvent Methods

2010-09-01 Thread Tez
.  They should be different for a key up. On Wed, Sep 1, 2010 at 1:48 AM, Tez earlencefe...@gmail.com wrote: I tried subtracting the 2 values. I always get zero. On Sep 1, 1:04 pm, Dianne Hackborn hack...@android.com wrote: On Tue, Aug 31, 2010 at 10:47 PM, Tez earlencefe...@gmail.com wrote: 1

[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

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

2010-08-29 Thread Tez
:28 am, Tez earlencefe...@gmail.com 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 message

[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

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

2010-08-29 Thread Tez
thanks! On Aug 29, 7:42 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Aug 29, 2010 at 10:36 AM, Tez earlencefe...@gmail.com 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

[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 earlencefe...@gmail.com 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

[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

[android-developers] Re: Application permissions

2010-08-29 Thread Tez
how do u do that? On Aug 20, 2:04 am, String sterling.ud...@googlemail.com wrote: Sign it with the same cert as the system. String On Aug 19, 6:50 pm, Stephen Lin stephen.xi@gmail.com wrote: Hi Dianne, I am building an application to configure Ethernet on a custom Android

[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 hack...@android.com wrote: Please post questions about platform development on one of the relevant groups, thanks. On Sun, Aug 29, 2010 at 9:02 AM, Tez earlencefe...@gmail.com wrote: To use a custom IME, it must be selected from the Settings app

[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

[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

[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

[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 post

[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
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 earlencefe...@gmail.com wrote: Hi, I was wondering what kind of Audio/Speech Codecs are available for the 1.5 SDK? Are there any Open Source projects

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

2009-07-17 Thread Tez
, 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 earlencefe...@gmail.com wrote: Hi, thanks for the reply. I was wondering what kind ofSpeechcodec support

[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

[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, send

[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

[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

[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

[android-developers] Setting up UDP connections between devices

2009-05-08 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

[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 To

[android-developers] Re: JavaScript XMLHTTPRequest

2009-01-30 Thread Tez
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 earlencefe...@gmail.com wrote: Hi, Basically, AJAX calls are not allowed within the android web view

[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 kevin_x...@yahoo.com wrote: I am trying to use javascript XMLHTTPRequest

[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] Cupcake branch

2009-01-21 Thread Tez
Hi, I am using a windows system. Can anyone send me steps on how to checkout the cupcake branch? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[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-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

  1   2   >