[android-developers] Re: Send Manual Broadcast

2009-12-25 Thread rezar
I gave both BT permission in my manifest file, but still it doesn't work On Dec 23, 10:44 am, Donal Rafferty draf...@gmail.com wrote: I presume you have any bluetooth permisiions required in the manifest? On Wed, Dec 23, 2009 at 9:41 AM, rezar rraw...@gmail.com wrote: I created an intend

[android-developers] Send Manual Broadcast

2009-12-23 Thread rezar
I created an intend which manually calls BT broadcast receiver as follows: Intent manualIntent = new Intent(); manualIntent.setAction (android.bluetooth.BluetoothDevice.ACTION_FOUND); sendBroadcast(manualIntent); But in Runtime I got the following Exception: ERROR/AndroidRuntime(4054): Caused

[android-developers] Re: Bluetooth Developers Guide and Bluetooth Sample Code

2009-12-22 Thread rezar
This is very good. I hope the emulator can support Bluetooth in the near future. Now debugging bluetooth related things is very hard, because we need to port each build to the real device and test it there. On Dec 22, 4:26 am, chen ji chenjihz...@gmail.com wrote: It is good. I just want to find

[android-developers] Re: Get the list of discovered bluetooth

2009-12-21 Thread rezar
No answer ? :( On Dec 18, 12:06 pm, rezar rraw...@gmail.com wrote: Can any body help me how can I get the list of discoveredbluetooth device ? I am currently developing an application which scan forbluetooth devices in a specific time interval and log their names. I haven't been found any

[android-developers] Get the list of discovered bluetooth

2009-12-18 Thread rezar
Can any body help me how can I get the list of discovered bluetooth device ? I am currently developing an application which scan for bluetooth devices in a specific time interval and log their names. I haven't been found any example yet. also it seems that BluetoothAdapter class does not support

[android-developers] Re: Uploading a File with HttpClient and HttpPost

2009-11-15 Thread rezar
I solved the problem. I post my code here for others to have a working sample: on the server side I made a simple servlet: -- private void

[android-developers] Re: Uploading a File with HttpClient and HttpPost

2009-11-12 Thread rezar
I Also have problem uploading to a server with new HttpClient v.4 I am trying to upload a file same as the example in the httpclient docs. but it doesn't work and I get NullPointerException when I execute the post method: HttpClient client = new DefaultHttpClient(); post = new

[android-developers] Android Dev Guide example for Audio recording doesn't work with SDK 1.6

2009-10-20 Thread rezar
I tried to record call from mic. when a phone call is initiated. I use the code from this link: http://dev.android.com/guide/topics/media/index.html But it seems it doesn't work any more, e.g. MediaStore.MediaColumns. does not have TIMESTAMP, I can not instantiate a ContentResolver object, etc.

[android-developers] Re: Obtaining/calculating process CPU usage.

2009-05-05 Thread rezar
You can use output of the top command, for your process Here is what I did: Runtime runtime = Runtime.getRuntime(); Process process; String res = -0-; try { String cmd = top -n 1;

[android-developers] Re: Obtaining/calculating process CPU usage.

2009-05-05 Thread rezar
I though I sent it once, but Use out put of top linux command with java Runtime. On May 4, 4:02 pm, Donald_W wojcik.to...@gmail.com wrote: Hello, How can I get/calculate current process CPU usage? ActivityManager provides method that returns a list of all active processes (list of

[android-developers] Re: Disk Activity and Disk Usage

2009-03-18 Thread rezar
but what about the others ? On Mar 18, 10:14 am, rezar rraw...@gmail.com wrote: Can any body help me how to measure Disk Activity and Disk Usage on android ? Unfortunately iostat is not available in Android. I would like to monitor Data read and Data written for disk activity and Utilized

[android-developers] Disk Activity and Disk Usage

2009-03-18 Thread rezar
Can any body help me how to measure Disk Activity and Disk Usage on android ? Unfortunately iostat is not available in Android. I would like to monitor Data read and Data written for disk activity and Utilized and Free space for Disk Usage. I found diskstats but I don't know how to read it.

[android-developers] Re: Network activity for each Process (based on PID)

2009-03-16 Thread rezar
Science Yesterday I didn't receive any answer :( On Mar 16, 1:29 am, rezar rraw...@gmail.com wrote: Hi All I intend to log TCP activity of a given process. When I cd to the proc/[PID]/net folder, and check the content of the files there. They are not process specific they all have the same

[android-developers] Network activity for each Process (based on PID)

2009-03-15 Thread rezar
Hi All I intend to log TCP activity of a given process. When I cd to the proc/[PID]/net folder, and check the content of the files there. They are not process specific they all have the same content. e.g a Process with PID=xxx and a process with PID=yyy their snmp or tcp or etc. are all the

[android-developers] Re: New SDK Available

2008-12-06 Thread rezar
And again there is no Bluetooth support ! On Dec 6, 4:00 am, Dan Morrill [EMAIL PROTECTED] wrote: Hello, developers!  I wanted to call your attention to the new Android 1.0 SDK, release 2 that we just made available. For full details, please see our blog

[android-developers] Re: New SDK Available

2008-12-06 Thread rezar
It is just Bug fixes nothing new On Dec 6, 2:40 pm, ena [EMAIL PROTECTED] wrote: What is new in new sdk?? On Dec 6, 4:21 pm, Paulo Sergio [EMAIL PROTECTED] wrote: Hi very nice news!!! 2 questions: whats the band frenquency of the phone? will it have 3g in europe? from where is it

[android-developers] Re: No Bluetooth API in 0.9 or 1.0 SDK?!?!?

2008-08-21 Thread rezar
Bluetooth is very important for further integration of other sensors/ device to android device. I think they underestimate the importance of bluetooth. Let me put it this way: With bluetooth there is a possibility to connect Android device to lots of other thing (from T.V. and Refrigerator to

[android-developers] Re: No bluetooth support ?!?!?!

2008-08-20 Thread rezar
in Android 1.0. That's not saying that Bluetooth won't ever be present, just that it's not going to be in 1.0. rezar wrote: This is very discussing, now bluez package disapper :( I can not believe it. They reduced quality of their platform instead of increasing it. On Aug 19, 3:53 pm

[android-developers] No bluetooth support ?!?!?!

2008-08-19 Thread rezar
I'm very disappointed with new SDK, where is bluetooth ? Bluetooth is going to be the social sensor of the phones. Removing bluetooth is totally unacceptable. If there is no bluetooth support I will go for MS windows mobile. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Final SDK build available (84853); deadline extended to Tuesday, August 5?????

2008-07-15 Thread rezar
I hope they make it available for every body, at least member of that email lists. On Jul 15, 5:05 pm, Anthony [EMAIL PROTECTED] wrote: I got the same email too, don't know its meaning. On Jul 15, 10:55 pm, InakaBoyJoe [EMAIL PROTECTED] wrote: Ah, now it makes sense. So they've been

[android-developers] android on NVIDA Tegra ?

2008-06-26 Thread rezar
Does any body have any information about android integrity with NVIDA Tegra ? I hope Android support XVGA. If there is a phone with strong camera and that new NVIDIA mobile CPU, I think it will going to be really big step for Android success. --~--~-~--~~~---~--~~

[android-developers] Re: H264 implementation

2008-06-23 Thread rezar
I think you can use JNI to call your C classes but google for it, I remember once I saw somebody did it. On Jun 22, 8:16 am, rajesh [EMAIL PROTECTED] wrote: Hey, I have an optimized version of H-264 written entirely in C language. I want to make use of this in my Media applications in

[android-developers] Re: Where has everybody gone???

2008-04-16 Thread rezar
good post :) I finished my submitted mine two weeks ago, it was not complete and mostly it is prototype. But I really get addicted to this group. On Apr 13, 6:51 pm, Dexter's Brain [EMAIL PROTECTED] wrote: Hello All, Where's everybody gone? I dont find any new topics nor any messages here...

[android-developers] Re: Finish Activity(Urgent)

2008-04-16 Thread rezar
I just change the exit button to back on B and C activity. I think it is usual in all mobile applications to go back to A then exit the application. On Apr 3, 11:23 am, Greg [EMAIL PROTECTED] wrote: I have three activies A B C i start sub activity from