[android-developers] QoS Control in Android

Hi,



I am new here. I will like to know whether it is possible in Android



to specify the QoS requirement for cellular network connection



establishment? if yes, where could I find more details?



I tried to search QoS in Android.com, nothing comes out…



thank you.



rgds.



Ji Hui







You received this message because you are subscribed to the Google



Groups "Android Developers" group.



To post to this group, send email to android-developers@googlegroups.com



To unsubscribe from this group, send email to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



To unsubscribe, reply using "remove me" as the subject.



[android-developers] How to get USSD interactive option using Android device simulator

I am very now to this Android application.



I am working on USSD project…



Using the Android SDK, i want to dial any number to call USSD e.g



*12345#



With this input, i want to get the output as some options…



1 ABC



2 XYZ



3 MNOP



4 Exit



is it possible using Android as it support device simulator?







You received this message because you are subscribed to the Google



Groups "Android Developers" group.



To post to this group, send email to android-developers@googlegroups.com



To unsubscribe from this group, send email to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



To unsubscribe, reply using "remove me" as the subject.



[android-developers] Support for AES-GCM encryption

Hi,



I am working in a project that needs to use the AES128 algorithm in



Galois/Counter mode. I am researching on how to integrate it in



Android.



I know that the current Android SDK supports AES by using



javax.crypto.Cipher, but I could not find any support for GCM mode



(not an expert in JCA/JCE though).



I read that the lightweight API of Bouncy Caste (from their site) has



support for GCM, but some devs have big trouble integrating it with



their code because the Android SDK already contains a trimmed version



of Bouncy Castle libraries (version 1.34 in my SDK).



Any idea on how to solve this issue?



Thank you in advance,



Sebastian.







You received this message because you are subscribed to the Google



Groups "Android Developers" group.



To post to this group, send email to android-developers@googlegroups.com



To unsubscribe from this group, send email to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



To unsubscribe, reply using "remove me" as the subject.



[android-developers] Accelerometer not working when screen turns off

As I understand it, there seems to have been a change in the OS that



prevents the accelerometer from running when the screen turns off and



the phone CPU goes into its power saving state. Can this be



confirmed? I have gotten around this by using a wake lock, but this



is a much less than ideal solution as it drains a lot of battery.



If the accelerometer was disabled in low power mode to save the



battery, it may very well have the opposite effect in many cases, such



as mine. A partial wake lock seems to be required to keep it running,



which is obviously much worse than if just the accelerometer were



running without the need for the wake lock.



Are there any other workarounds anyone knows of to getting



accelerometer values while the phone is in low power mode? Also, are



there any plans to change this in future versions of the OS? If there



are no plans to change this, I would definitely like to petition for



this to be changed.



Thoughts? Ideas? Workarounds? Thank you!!







You received this message because you are subscribed to the Google



Groups "Android Developers" group.



To post to this group, send email to android-developers@googlegroups.com



To unsubscribe from this group, send email to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



To unsubscribe, reply using "remove me" as the subject.



[android-developers] source code for Voice Search application

Is it possible to get the Voice Search applications source code. This



will help a lot in getting Speech Recognition to work independently.



thanks,



Ravi.







You received this message because you are subscribed to the Google



Groups "Android Developers" group.



To post to this group, send email to android-developers@googlegroups.com



To unsubscribe from this group, send email to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



To unsubscribe, reply using "remove me" as the subject.



[android-developers] Re: Android monkey tool script

Dear Kurt,



the file has to be uploaded to the device/emulator first. You can do



it using following command:



adb push scriptfile /sdcard/scriptfile



and then execute it:



adb shell monkey -p com.touchtype -v -v -v -f /sdcard/scriptfile 1



which is equivalent to obtaining shell using adb shell and then



running monkey -p com.touchtype -v -v -v -f /sdcard/scriptfile 1



adam



On 31 Mar, 12:11, Kurt Glivos <kurt.gli…@gmail.com> wrote:



> Me too trying to use themonkeywith -f <scriptfile>. I used the



> samplescriptgiven in source code but not able to make it work. Could



> anybody please help?



>



> -



> KG



>



> On Mar 23, 6:06 pm, zafar <md.zafar.z…@gmail.com> wrote:



>



> > AndroidMonkeytool can use user suppliedscriptto run,



> > but very few information are present in this regarding to writing



> > androidmonkeyscript.



>



> > one guy only copied the stuff from source code and apart from that no



> > information is present.



>



> > Can anyone tell abount the sysntax of androidmonkeyscript to launch



> > browser using the command fromscriptand to browse particular



> > website.



>



> > Any suggestion will be appreciated.



>



> > MD ZAFAR ZIYA







You received this message because you are subscribed to the Google



Groups "Android Developers" group.



To post to this group, send email to android-developers@googlegroups.com



To unsubscribe from this group, send email to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



To unsubscribe, reply using "remove me" as the subject.



[android-developers] how to bind intent to every item in search suggestions?

Hey,



Now I have one customized content provider for the search suggestions.



You know when click my app in "More results" from global search box



results, it will change to the activity with suggestions list. I know



there is "SUGGEST_COLUMN_INTENT_DATA" for every item it can provide



the data when click every item into intent. But I reviewed the example



of "searchable dictionary", it seems to only bind the String. I want



to know how can bind the any type and multiple data just like



intent.putExtra("key", Object)?



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 to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



[android-developers] Installation date of an application in a device

Hello,



I’m developing an application that seems as an android market. Can



anybody tell me how can I know what is the installation date of an



application in a device?



Thanks in advance!



Isidoro.







You received this message because you are subscribed to the Google



Groups "Android Developers" group.



To post to this group, send email to android-developers@googlegroups.com



To unsubscribe from this group, send email to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



To unsubscribe, reply using "remove me" as the subject.



[android-developers] Repeating an AsyncTask

Hi guys,



I have an Activity which uses Http based authentication to log a user



into an online site. I’m using an AsyncTask to handle authentication



in the background so I can display a ProgressDialog in the meantime.



If the user login fails they should be given another chance. Of



course, though, you cannot repeat an AsyncTask once it’s finished.



What would be the canonical way of doing so? I was going to hold a



weak reference to an instance of the task and re-create it if I need



to. What would be the suggested way?



Regards,



Lee







You received this message because you are subscribed to the Google



Groups "Android Developers" group.



To post to this group, send email to android-developers@googlegroups.com



To unsubscribe from this group, send email to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



To unsubscribe, reply using "remove me" as the subject.



[android-developers] Re: Android monkey tool script

Dear zafar,



the script file is consummed here:



http://android.git.kernel.org/?p=platform/development.git;a=blob;f=cmds/monkey/src/com/android/commands/monkey/MonkeySourceScript.java;hb=HEAD



which suggest following syntax:



count= number of events



speed= in ms



start data >>



DispatchPointer(long downTime, long eventTime, int action,



float x, float y, float pressure, float size, int metaState,



float xPrecision, float yPrecision, int device, int edgeFlags)



DispatchTrackball same as DispatchPointer



DispatchKey(long downTime, long eventTime, int action, int code,



int repeat, int metaState, int device, int scancode)



DispatchFlip(boolean keyboardOpen)



DispatchPress(int keyCode)



LaunchActivity(String pkg_name, String cl_name)



UserWait(long sleeptime)



LongPress()



so I think that command you are after is LaunchActivity



On 23 Mar, 10:06, zafar <md.zafar.z…@gmail.com> wrote:



> AndroidMonkeytool can use user suppliedscriptto run,



> but very few information are present in this regarding to writing



> androidmonkeyscript.



>



> one guy only copied the stuff from source code and apart from that no



> information is present.



>



> Can anyone tell abount the sysntax of androidmonkeyscriptto launch



> browser using the command fromscriptand to browse particular



> website.



>



> Any suggestion will be appreciated.



>



> MD ZAFAR ZIYA







You received this message because you are subscribed to the Google



Groups "Android Developers" group.



To post to this group, send email to android-developers@googlegroups.com



To unsubscribe from this group, send email to



android-developers+unsubscribe@googlegroups.com



For more options, visit this group at



http://groups.google.com/group/android-developers?hl=en



To unsubscribe, reply using "remove me" as the subject.