[android-developers] Is it possible for C to talk to Java if necessary.

2008-12-05 Thread Rudi

Hi

Does Google/Android prevent C applications from beginning execution on
the phone, e.g. a simple web server.  Are there any API's for C
programmers to access phone functions etc.

Is it possible for C to talk to Java if necessary.

Regards

Rudi
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Turning GPS ON/OFF

2009-03-09 Thread Rudi

Anybody nows a code/sample how to turn ON/OFF the GPS location
provider *corretcly*. I have found the System.Settings provider and
can set / change the corresponding setting, but it seems that the rest
of the system does not recgnize the change. Is there a method to be
called to notify the system about the settings update?

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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Turning GPS ON/OFF

2009-03-09 Thread Rudi

What is the correct way of turning ON/OFF the GPS in Android. I've
found the System.Settings provider, and the LOCATION_PROVIDERS_ALLOWED
setting, but it seems that the rest of the system is not notified
about the change if I set the values. Is there a function that should
be called initiate a notification? Or am I missing something and the
whole thing should be done differently?
--~--~-~--~~~---~--~~
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Turning GPS ON/OFF

2009-03-10 Thread Rudi

Actually I'm building from my own source tree and was
calling updateManager. I was able to turn on the GPS successfully
at the start of my activity

Now the problem is that I want to restore the original state when my
activity
is paused. So I'm doing exactly the same thing in my onPause method,
but the android throws on me a SecurityException about.
The strange thing is that the same code works for turning on the GPS
at application start, but fails with security exception at the end...

I was hoping that there were better ways turn on/off the GPS, than
calling
internal API-s... :(

Thanks for the answers..
Rudolf

On márc. 10, 05:17, Edward  Falk  wrote:
> On Mar 9, 1:20 pm, Rudi  wrote:
>
> > What is the correct way of turning ON/OFF the GPS in Android. I've
> > found the System.Settings provider, and the LOCATION_PROVIDERS_ALLOWED
> > setting, but it seems that the rest of the system is not notified
>
> I had the exact same question myself.  Browsing the source code for
> the settings application shows that it's calling
> locationManager.updateProviders() to send the notification out.
>
> Unfortunately, this API isn't available unless you're building within
> the Android source tree.
>
> Your options seem to be:
>
> 1) Ignore the problem.  Things should still work, except for the
> notifications.
>
> 2) Wait for Google to open up the updateProviders() api, then update
> your code accordingly.
>
> 3) Use this code snippet fromhttp://habrahabr.ru/blogs/android/46356/:
>
>     try {
>       Method m =
>         locationManager.getClass().getMethod("updateProviders", new
> Class[] {});
>       m.setAccessible(true);
>       m.invoke(locationManager, new Object[]{});
>     } catch (Exception e) {
>       Log.e(TAG, "Couldn't call updateProviders", e);
>     }
>
> I can't vouch for #3.  I'm sticking to #2 myself.
--~--~-~--~~~---~--~~
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Annotation: keyDispatchingTimedOut

2010-09-24 Thread Rudi
HI I'm doing a application, I have  a Layout that has a ListView. when
I'm scrolling the list, the system hold and force me to close the app.

I saw the logs and show me the next.

09-23 08:35:16.189: WARN/WindowManager(51): Key dispatching timed out
sending to com.totalcontrol.multicam16/
com.totalcontrol.multicam16.Multicam16
09-23 08:35:16.189: WARN/WindowManager(51): Dispatch state:
{{KeyEvent{action=1 code=4 repeat=0 meta=0 scancode=158 mFlags=520} to
Window{43d6a638 Sorry! paused=false} @ 1285251027492
lw=Window{43d6a638 Sorry! paused=false} lb=android.view.ViewRoot
$...@43d3acc8 fin=false gfw=true ed=true tts=0 wf=false fp=false
mcf=Window{43e257d8 com.totalcontrol.multicam16/
com.totalcontrol.multicam16.Multicam16 paused=false}}}
09-23 08:35:16.199: WARN/WindowManager(51): Current state:  {{null to
Window{43e257d8 com.totalcontrol.multicam16/
com.totalcontrol.multicam16.Multicam16 paused=false} @ 1285252516198
lw=Window{43e257d8 com.totalcontrol.multicam16/
com.totalcontrol.multicam16.Multicam16 paused=false}
lb=android.os.binderpr...@43e255d8 fin=false gfw=true ed=true tts=0
wf=false fp=false mcf=Window{43e257d8 com.totalcontrol.multicam16/
com.totalcontrol.multicam16.Multicam16 paused=false}}}
09-23 08:35:16.228: INFO/ActivityManager(51): ANR in process:
com.totalcontrol.multicam16 (last in com.totalcontrol.multicam16)
09-23 08:35:16.228: INFO/ActivityManager(51): Annotation:
keyDispatchingTimedOut
09-23 08:35:16.228: INFO/ActivityManager(51): CPU usage:
09-23 08:35:16.228: INFO/ActivityManager(51): Load: 0.2 / 0.11 / 0.13
09-23 08:35:16.228: INFO/ActivityManager(51): CPU usage from 16226ms
to 25ms ago:
09-23 08:35:16.228: INFO/ActivityManager(51):   trol.multicam16: 24% =
18% user + 5% kernel / faults: 5426 minor
09-23 08:35:16.228: INFO/ActivityManager(51):   system_server: 1% = 0%
user + 0% kernel / faults: 1 minor
09-23 08:35:16.228: INFO/ActivityManager(51):   m.android.phone: 0% =
0% user + 0% kernel

I'm not understand whats mean it, If any one can help me, i'll 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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] MENTOS Messenger

2017-08-10 Thread rudi xboy



MENTOS MESSENGER adalah aplikasi pengirim pesan instan gratis yang dapat di 
gunakan pada berbagai platform seperti telepon cerdas, tablet, dan 
komputer. MENTOS MESSENGER di fungsikan dengan menggunakan jaringan 
internet sehingga pengguna MENTOS MESSENGER dapat melakukan aktivitas 
seperti mengirim pesan teks, mengirim gambar, vidio, pesan suara, dan lain 
lain. 

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/6d5eb788-2202-4e69-b499-d19a45f7e663%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.