[android-developers] The number of used satellites for the calculation of GPS fix

2011-09-09 Thread souissi haythem
how can i get the number of satellites, i used in my GPS localisation? -- 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] Re: how to add new resource in Preference

2011-09-09 Thread souissi haythem
hi, when i want to use shared preference. i used this: http://androidorange.blogspot.com/2011/06/android-sharedpreferences.html?spref=bl Maybe it help you. On Sep 9, 10:22 am, Ellen ellen...@hotmail.com wrote: I want to add some new resources in Preference which like title and summary, it

[android-developers] Re: The number of used satellites for the calculation of GPS fix

2011-09-09 Thread souissi haythem
thanks this give me caracteristic of a satellite. but i want first to know the number of satellites my android used to get a GPS fix? On Sep 9, 1:16 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Sep 9, 2011 at 5:13 AM, souissi haythem haythe...@gmail.com wrote: how can i get

[android-developers] Re: The number of used satellites for the calculation of GPS fix

2011-09-09 Thread souissi haythem
i have tried: gps_loc.getExtras().getInt(satellites); //gps_loc is the location, i got But it doesn't work and my programme was blocked!!! On Sep 9, 1:54 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Sep 9, 2011 at 7:38 AM, souissi haythem haythe...@gmail.com wrote: thanks

[android-developers] hexadecimal encoded TP-UD SMS

2011-09-07 Thread souissi haythem
Hi, from my platform, i send an hexadecimal SMS to my Android. Why i can't detect this SMS? When i send a binary SMS, i can detect it with the broadcast SMS receiver. But the same broadcat doesn't work with hexadecimal SMS. There is my broadcast: public class SMSReceiver extends

[android-developers] Re: hexadecimal encoded TP-UD SMS

2011-09-07 Thread souissi haythem
the only think that i know, that it is two different forms. I got a problem when i want to communicate (by SMS) with a small programme (which was developped years ago and that i don't have source code). this programme send an hexadecimal SMS to my phone. but my phone did not notify anythink. --

[android-developers] Re : Error starting app. Must force a close

2011-09-06 Thread souissi haythem
http://groups.google.com/group/android-developers/browse_thread/thread/bd2fb3b57f5a9bc9/5fd98e43a85c6517?lnk=raot i hope this will help 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] Android Accelerometer Sensor

2011-07-07 Thread souissi haythem
Hi, I am trying to work with Accelerometer Sensor. So i tried this example: http://blog.androgames.net/85/android-accelerometer-tutorial/ It work perfectly. But when i change AccelerometerManager activity to a service, it doesn't work and i got an error. //this is the activity that i want

[android-developers] register and unregister listner???

2011-07-06 Thread souissi haythem
Hi, I want my application to manipulate accelerometer sensor. so i register the sensor from activiy1: sensorManager.registerListener(this, sensor, SensorManager.SENSOR_DELAY_GAME); now, i am in activity2 and i want to unregister the same sensor that i registred: solution1:

[android-developers] em...@android.com

2011-07-01 Thread souissi haythem
can i have an émail : myn...@android.com ??? -- 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] Re: em...@android.com

2011-07-01 Thread souissi haythem
Why, it's only for person who work in android sociaty??? On Jul 1, 2:50 pm, Jorge Luis jorgelferr...@gmail.com wrote: no. 2011/7/1 souissi haythem haythe...@gmail.com can i  have an émail   :   myn...@android.com   ??? -- You received this message because you are subscribed

[android-developers] Re: em...@android.com

2011-07-01 Thread souissi haythem
are you sure??? On Jul 1, 3:04 pm, Jorge Luis jorgelferr...@gmail.com wrote: yes. 2011/7/1 souissi haythem haythe...@gmail.com Why, it's only for person who work in android sociaty??? On Jul 1, 2:50 pm, Jorge Luis jorgelferr...@gmail.com wrote: no. 2011/7/1 souissi haythem

[android-developers] Re: update spinner

2011-06-24 Thread souissi haythem
I try this but it still didn't work. did you have an example of using two spinners. thanks On Jun 24, 1:19 am, TreKing treking...@gmail.com wrote: On Thu, Jun 23, 2011 at 6:03 PM, Indicator Veritatis mej1...@yahoo.comwrote: Well now, TreKing, I have read the documentation on both, and I

[android-developers] update spinner

2011-06-23 Thread souissi haythem
Hi, How can i update my spinner with the last value i have choise, using shared preference?? 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

[android-developers] Re: value of timer

2011-06-15 Thread souissi haythem
i found the answer hir: http://stackoverflow.com/questions/5369682/android-get-current-time-and-date Calendar c = Calendar.getInstance(); int seconds = c.get(Calendar.SECOND) it's all what i need Thanks Mark, it's true that i can use timer . Indicator , you don't need to know what i want to do

[android-developers] value of timer

2011-06-14 Thread souissi haythem
Hi, I have create a new timer: Timer t=new Timer(); than i lunch my timer: t.schedule(new TimerTask() { public void run() { } },1000); how can i have the value of my timer t, so i can do tests?? (if t==

[android-developers] Re: value of timer

2011-06-14 Thread souissi haythem
i don't understand, how can i do this? On Jun 14, 1:55 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jun 14, 2011 at 7:32 AM, souissi haythem haythe...@gmail.com wrote: Hi, I have create a new timer:  Timer t=new Timer(); than i lunch my timer: t.schedule(new TimerTask

[android-developers] Re: value of timer

2011-06-14 Thread souissi haythem
ok, can i get the time of the system directly. I have tried getTime(), so i got the error: The method getTime() is undefined for the type SMSReceiver. please did some one know what's rong hir??? On Jun 14, 2:43 pm, souissi haythem haythe...@gmail.com wrote: i don't understand, how can i do

[android-developers] Re: value of timer

2011-06-14 Thread souissi haythem
Unfortunately, I can see only one thing wrong here: you do not know Java well enough to develop Android apps. Maybe it's true How do I know? The question you are asking makes no sense: why WOULD there be a getTime() method for SMSReceiver? Did you define it yourself? There is certainly

[android-developers] can i start an activity from a broadcast?

2011-06-10 Thread souissi haythem
Hi, Please i wanna start my activity, when i my broadcast is received. I found this in android.com: Note that, although the Intent class is used for sending and receiving these broadcasts, the Intent broadcast mechanism here is completely separate from Intents that are used to start Activities

[android-developers] BROADCAST ACTION_SCREEN_OFF or ACTION_SCREEN_ON

2011-06-09 Thread souissi haythem
Hi i need to use the two broadcast in the title. The problem is that to use it, we require API version8 (android 2.2). And my program need to work in Android 2.1 I wanna know if there is other tools in android 2.1 that it can do the work of detecting screen on or off. I have found isScreenOn()

[android-developers] Re: BROADCAST ACTION_SCREEN_OFF or ACTION_SCREEN_ON

2011-06-09 Thread souissi haythem
...@gmail.com wrote: According to the documentation, both are since API level 1. -- Kostya 2011/6/9 souissi haythem haythe...@gmail.com Hi i need to use the two broadcast in the title. The problem is that to use it, we require API version8 (android 2.2). And my program need to work

[android-developers] Re: BROADCAST ACTION_SCREEN_OFF or ACTION_SCREEN_ON

2011-06-09 Thread souissi haythem
sorry it's working i have to change my manifest.xml i know it's stupid :) thanks On Jun 9, 2:07 pm, souissi haythem haythe...@gmail.com wrote: so why i got this message?? [2011-06-09 14:06:19 - Screen] ERROR: Application requires API version 8. Device API version is 7 (Android 2.1-update1

[android-developers] keypad unlocked automatically

2011-06-07 Thread souissi haythem
Hi, can i do this in android? if something happen (my download finish), the keypad is unlocked automatically. i can detect when my download has finished. but i can't found how to unlock my phone automatically. Thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: keypad unlocked automatically

2011-06-07 Thread souissi haythem
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+unsubscr...@googlegroups.com For more

[android-developers] Handling Screen OFF and Screen ON Intents

2011-06-06 Thread souissi haythem
I'm trying to get a BroadcastReceiver invoked when the screen is turned on or off. In my AndroidManifest.xml I have specified : receiver android:name=.ScreenReceiver intent-filter action android:name=android.intent.action.SCREEN_ON/action

[android-developers] Re: Handling Screen OFF and Screen ON Intents

2011-06-06 Thread souissi haythem
class. On Mon, Jun 6, 2011 at 5:15 AM, souissi haythem haythe...@gmail.com wrote: I'm trying to get a BroadcastReceiver invoked when the screen is turned on or off. In my AndroidManifest.xml I have specified :         receiver android:name=.ScreenReceiver                 intent

[android-developers] Re: Handling Screen OFF and Screen ON Intents

2011-06-06 Thread souissi haythem
it's good I got the answer hear http://groups.google.com/group/android-developers/browse_frm/thread/81d84efa68578924?scoring=dq=screen_on; = Screen_on/off not working via the manifest thank u mark :) On Jun 6, 1:45 pm, souissi haythem haythe...@gmail.com wrote: I CHANGED IT INTO LOG Log.e

[android-developers] Re: Handling Screen OFF and Screen ON Intents

2011-06-06 Thread souissi haythem
for more detail: http://androidorange.blogspot.com/2011/06/manipulation-screen-off-and-screen-on.html On Jun 6, 2:20 pm, souissi haythem haythe...@gmail.com wrote: it's good I got the answer hearhttp://groups.google.com/group/android-developers/browse_frm/thread/8... = Screen_on/off

[android-developers] How to target a running app with a KeyEvent?

2011-05-18 Thread souissi haythem
Hi, my goal is to target with a keyevent a specific application running either in foreground or background from a background service. I tried many solutions, but have not yet managed to do it. The few solutions tried (all from a background running service): With a broadcast, I tried to target

[android-developers] list of receiver that i can a declare in manifest

2011-05-18 Thread souissi haythem
hi, how can i have the list of receiver that can be declared in the manifest? i try ACTION_SCREEN_ON, it can't be declared in the manifest. it must be registred in my activity or my service. there is ACTION_BOOTCOMPLETE that is declared in the manifest, and runned independ of our activity. i

[android-developers] Re: How to target a running app with a KeyEvent?

2011-05-18 Thread souissi haythem
I do not believe that SDK applications can successfully receive this permission. So maybe i can do it with NDK application?? -- 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] install c++ application in my android

2011-05-16 Thread souissi haythem
Hi can i install an application which have been developped in c++ in an android device? i have the code in c++ and i don't want to lose time to make an equivalent application in java. thanks -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Call an Activity or a service when phone is locked by clicking two times on the CALL button

2011-05-13 Thread souissi haythem
hi group, can i call an Activity or a service when phone is locked by clicking two times on the CALL button?? 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

[android-developers] Re: Calling an Activity when phone is locked by clicking two times on the END_CALL button

2011-05-13 Thread souissi haythem
some event. On Thursday, May 12, 2011 9:13:58 AM UTC-7, Dianne Hackborn wrote: Sorry you can't do this. On Thu, May 12, 2011 at 5:44 AM, souissi haythem hayt...@gmail.comwrote: Hi, I need to call my Activity when user press two times on the END_CALL button (it need to work when

[android-developers] Calling an Activity when phone is locked by clicking two times on the END_CALL button

2011-05-12 Thread souissi haythem
Hi, I need to call my Activity when user press two times on the END_CALL button (it need to work when the phone is locked). Is is that possible?? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Calling an Activity when phone is locked by clicking two times on the END_CALL button

2011-05-12 Thread souissi haythem
Hi, I need to call my Activity when user press two times on the END_CALL button (it need to work when the phone is locked). Is is that possible?? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Demande d'info

2011-05-04 Thread souissi haythem
Bonjour Est ce que c'est possible de controler les touches non tactile de son terminal mobile. c'est à dire la touche appeler par exemple ou les touches de volume. Je veux que lorsque je fait un clic sur la touche menu, mon programme affiche son menu et non pas celui de SE Android. Est ce que je