Android :: Get RSSI In GSM Cells / Way Or Class Available?

May 7, 2010

I´m trying to get the rssi value from the main cell i´m currently connected to in an application for Android 1.6. I´m using android.telephony.gsm.GsmCellLocation which does not have this value. For Android 2.1 its avaible android.telephony.SignalStrength, but I cannot find anything equivalent for API 4. Is there any other way or class available?

Android :: Get RSSI in GSM cells / way or class available?


Android :: WifiManager.calculateSignalLevel - RSSI 5

May 20, 2010

I am trying to use the Wifimanager to calculate the Signal Level of the access points found during a scan.

I am using the following method:

WifiManager.calculateSignalLevel(int, int)

But it appears to always return the same int no matter what the RSSI level is.

Here is my code:.............

The logging outputs 1 for all the test cases for calculateQoS(int).

Am I missing something simple here? Why is the SignalLevel always 1?

View 1 Replies View Related

Android : Need To Color Cells In Gridview

Sep 1, 2010

Is it possible to color the cells in the grid view? If yes..

View 2 Replies View Related

Android :: Get RSSI - To Get Bluetooth Signal Strength

Jan 27, 2010

I am working on Android platform 2.1 and trying to make an app that can get the Bluetooth signal strength from remote devices. It seems i should try to read the 'RSSI'

something like : int rssi = intent.getIntExtra (BluetoothDevice.EXTRA_RSSI, Integer.MIN_VALUE);

But it just keep returning the latter default value.

Did anyone ever manage to get the value of RSSI? Do we need to pair the device before getting the RSSI?

View 2 Replies View Related

Android :: Need Table With Editable Cells In Phone

Mar 4, 2010

I need table with editable cells for my android app. Something like QTableWidget in QT. So what widget should I use?

View 1 Replies View Related

Android :: How To Reduce Padding Between Cells In TableLayout

Sep 12, 2010

I have a 3*3 TableLayout that contains buttons. But I cannot seem to remove the spacing between the buttons in the Table.Setting pading to zero for the buttons has no effect. Setting padding and layout_margin to zero for the TableRow has no effect. Setting layout_margin for the TableLayout has no effect.Any idea on how I can alter/remove/reduce the spacing between the cells?

View 4 Replies View Related

Android :: How Do I Poll RSSI Value Of An Existing Bluetooth Connection?

Jan 27, 2010

I need to know the signal strength of a Bluetooth connection to a remote device that I make with my Android 2.1 phone. From the SDK, I can see that I can determine the RSSI at the time I discover the remote device. But I can't see how to update that RSSI value over time.
Can someone give me a hand?

View 3 Replies View Related

Android :: Cell RSSI - Network Signal Strength - On 1.5

Feb 16, 2010

Is there any way to retrieve the current cellular Signal Strength (RSSI) on Android 1.5?

I know there's a way to listen for signal strength updates through the TelephonyManager, but this seems to only give a "state," not a numeric value.

Is using the RSSI field on a neighboring cell fairly accurate? I'm guessing not, but I'm running out of ideas.

View 3 Replies View Related

Android :: UMTS Signal Strength - RSCP Or RSSI

Sep 27, 2010

I need some clarification on API docs.

http://developer.android.com/reference/android/telephony/SignalStreng... getSignalStrength() indicates: "Get the GSM Signal Strength, valid values are (0-31, 99) as defined in TS 27.007 8.5"

[url] getRSSI() indicates "received signal strength or UNKNOWN_RSSI if unknown For GSM, it is in "asu" ranging from 0 to 31 (dBm = -113 + 2*asu) 0 means "-113 dBm or less" and 31 means "-51 dBm or greater" For UMTS, it is the Level index of CPICH RSCP defined in TS 25.125"

So, for 3G UMTS networks, does the SignalStrength class not return the same value as the NeighboringCellInfo class ? What are the chances that each RIL implementation is sending something different ?

Has anyone see negative value for signalStrength on UMTS networks as is possible for RSCP index values ?

View 5 Replies View Related

Android :: Problem Getting Bluetooth RSSI - Signal Strength

Jan 28, 2010

I'm trying to determine location via bluetooth beacons and while I can discover and find all of the devices around me, when I try to grab the EXTRA_RSSI that's supposed to come through it doesn't work.

Here's the code I'm using and I get a 0 every time.

CODE:....................

View 5 Replies View Related

Android :: Fill_parent With ListView Cells - Single TextView Span One To Two Lines

Feb 12, 2009

I am having this issue where I am trying to have a single TextView span one to two lines, fill the cell completely (so you can also click edges of the cell and it will trigger) and center-align.

This is the layout for the cell:

CODE:...

However cells seems to be filled correctly ONLY if it happens to wrap around and end up spanning two lines of text. It shows center-aligned and you can click anywhere in the cell to trigger the click. The cells that do not span multiple lines of text are left-aligned and trigger (highlight) only if you click where the text is. There is a "numb" area which does not react to clicks inside the cell if the text is short.

View 6 Replies View Related

Create Table Layout With 2 Cells?

Feb 5, 2012

I need to create table layout with 2 cells (2 ImageButton) that equals and fit to full screen by height and width.

I tried differents options, params, but I can't create it.

My code:

PHP Code:

TableLayout tl = (TableLayout) findViewById(R.id.colorLayout);
//        tl.setBackgroundColor(Color.RED);
TableRow row = new TableRow(this);
row.setLayoutParams(new TableLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
row.setGravity(Gravity.FILL);
row.setBackgroundColor(Color.BLUE);

[code]....

View 1 Replies View Related

Motorola Droid :: 3G HDR RSSI Field Test?

Mar 3, 2010

This weekend im going to be installing 2 antennas i ordered from wi-ex one is for 1X signal and the other is for 3G when pointing them im gonna be inside the house looking at the dBm while a friend is on the roof so i can try to get them both peaked i know when i go into test mode ##program and on the HDR Status Screen this is the 3G reception info but my question is which one should i be looking at the HDR RSSI or the Receive Power im thinking its the RSSI but i wanna be sure also the lower that number the better right? and for the 1X signal i goto the Call Processing Status Screen and look at the RSSI.

View 3 Replies View Related

RSSI - Application To Read Signal Strength Of 3G / GSM / WiFi

Mar 17, 2009

I'm developing an application to read signal strength of 3G, GSM, Wifi.

Is there any classes that provides us with the RSSI of 3G signal and GSM signal?

The WifiManager Class provides the RSSI for wifi, but I can't find any for 3G and GSM. If there is no classes provided, is it difficult to start from scratch?

View 9 Replies View Related

Android :: Creating A New Class Using Eclipse New Java Class Dialog Box

Jul 7, 2010

I'm creating a new class, using eclipse "New Java Class" dialog box. I can write the superclass I want (I can't find using "browse" button), but I can't write or select an interface to implement. I click "add" but ther is nothing to select. What I'm doing wrong?

View 4 Replies View Related

Android :: Communicating Between Receiver Class And An Activity Class

Jul 14, 2010

I'm just getting into Android development, and I have a question about communicating between a receiver class and an activity class. I'm very new to JAVA and Android so I hope I don't sound too stupid. I'm developing an application where I intercept an SMS message and then based on various elements of that SMS I might delete it once it's been saved to the inbox. I have a receiver class that intercepts the txt message, and I am also able to delete messages from my inbox with code in the activity class using a button at the moment. The problem I have is communicating between the receiver class and the activity class where the code to delete a message resides. I tried putting that code directly into the receiver class but as I'm sure most of you already know the BroadcastReceiver class doesn't seem to support what I need to delete messages. I've been searching for an answer to this for a while, but haven't been able to find anything. Honestly I'm not sure I know enough about JAVA and Android to even recognize a solution if I saw it.

View 2 Replies View Related

Android :: Accessing Class Level Stuff From Inner Class

Jun 27, 2010

What I want to do, is be able to access the object neoApi inside the Neoseeker class, from its inner class RunningTimer. Now, in my code, you can see what I would think to work, but when I run my application, nothing pops up. Nothing inside my TextView, no Toast, nothing at all. How can I remedy this?

package com.neoseeker.android.app;
import java.util.Timer;
import java.util.TimerTask;
import org.json.JSONObject;
import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;.......................

View 1 Replies View Related

Android :: Access Application Class From Class Other Then Activity

Sep 8, 2010

I'm new to Java and android development. In my application I need data which is accessible for a few activities. I've read that a good solution is to use Application class for this. So I use it like this:

public class MyApplication extends Application {
private String str;
public String getStr(){
return str;
}
public void setStr(String s){
str = s;
}
}

and I can access this variable from activity like this:........................................

View 2 Replies View Related

Android :: Call Activity Class From Other Java Class?

Oct 8, 2010

I have just started android. I just want to know that how can i call activity class from other java class. i just want to pass class object to activity class.

public class GsonParser extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
MagazineThread thread=new MagazineThread();
thread.start();
}
public GsonParser(JsonMagazineParser Obj)
{

}
}

and i am just doing like from other class. GsonParser obj=new GsonParser(this);passing obj to activity class.how can i achieve that.

View 1 Replies View Related

HTC Incredible :: Voip - Make Calls To Other Cells And Landline Phones Over Wifi Connection

Jul 21, 2010

I just can't figure this out. All I need to do is be able to make calls to other cells and landline phones over my wifi connection using my incredible ( i don't get cell service at home). No international calls. I have sip set up and fring. I can dial out on my dinc and i will hear ringing but but that is it. No one picks up. I have called my home phone and it doesn't ring.

View 4 Replies View Related

Android :: How To Run Class In Background Among Package Of Class?

Apr 23, 2010

In my app in one package there are some classes. from those classes i want to run one class that is the Gps functionality class. i want to run that class in background. how i do it, i don't know. i am not able to make it solve from any document. if anybody knows the way to solve it please me by run a "hello world" app in the background. i am not able to solve this problem by going through document.

View 2 Replies View Related

Android :: In Java, What Does A Reference To Class.class Do?

Jul 20, 2010

I'm building a small Android application, but this is more of a Java question than an android question. Looking through the tutorials there are lines that look like: startService(new Intent(this, MyService.class));

What exactly does the "MyService.class" field represent? Is that just a reference to the class for a template?

View 4 Replies View Related

Android :: Dialog Class With It's View Class?

May 19, 2009

I made a Dialog Class with it's view classI want to pop up the dialog when I got some packets from network. so I made a Thread which parses packets and then I made if clause in Run() method There is no problem with parsing packet but when I enter "if clause" and call showDialog() I got Error message

Is there anyone who knows how to pop up a dialog from different thread?

View 2 Replies View Related

Android :: How To Get Bluetooth RSSI On Android After Discovery

Jun 8, 2010

I'm trying to write a program that can read the signal strength of a bluetooth device linked to my android 2.0 handset. Doesnt seem like android exposes anyway to get the RSSI unless it is during discovery. Is there any other way to get the signal strength of the device after the device has been detected? I read of a way to do it using NDK to access the underlying BlueZ API, but I dont know how to use that. Any help would be appreciated.

View 1 Replies View Related

Android :: Getting Cell Signal Strength For Current Cell Vs Neighboring Cells

Jan 6, 2010

I'm writing an android application that collects cell signal strengths.I am having trouble getting the "current" cell signal strength, but I don't have any problem getting the "neighboring" cell signal strengths.To get the current cell signal strength, I created a PhoneStateListener and implemented the onSignalStrengthChanged callback.It works, but not very well.It seems like the signal strength hardly ever changes, and resolution jumps to only a few numbers.I would accept the answer that the resolution of the signal strength hardware is coarse, but when I use the TelephonyManager's getNeighboringCellInfo() method, it works much better.The signal strength readings from neighboring cells change frequently, and they have much better resolution.So, how can I get the current cell signal strength in the same way that I am getting the neighboring cell strengths?It seems odd to me that the functionality of the neighboring cells is better than the current cell.

View 3 Replies View Related

Android : Dynamically Load Customized Table Cells In Table?

Aug 19, 2010

I want to create say 5 different types of cells in table along with identifiers and load them appropriately as per the given data depending upon the type?

Creating TableRow inside TableLayout seems to be one of the options but how to dynamically create the tableRows depending upon the type?

View 1 Replies View Related

Android :: Android IRC Office Hours - Android Bluetooth RSSI

Jan 27, 2010

I have a question about bluetooth RSSI functionality on the Android (either 2.0 or 2.1):

It's easy enough to get the RSSI value when a bluetooth connection is created, but how can you repeatedly get the RSSI value of a connection that is already active? It's really important to be able to do this, because this lets you determine if bluetooth devices are close to each other or far away, but I can't find any appropriate function calls in the Android API.

View 2 Replies View Related

Android :: Android's Listview - Update View Within Of Cells Just After Invalidating Activity's View

May 15, 2010

I have ListViewActivity
public class SelectActivity extends ListActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.select_one_of);
SimpleAdapter adapter = new SimpleAdapter(
this,
createChildList(),
R.layout.select_one_of_childrow,
new String[] { KEY_VALUE },
new int[] { R.id.selectoneof_add_new_item});
setListAdapter(adapter);
}
// ...
}

after setListAdapter() calls I would like to execute the following code:

((TextView) getListView().getChildAt(0).findViewById(R.id.selectoneof_add_new_item)).setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ticked, 0); but getListView().getChildAt(xxx) returns null and I catch NullPointerException. Where should I put mentioned above code-snippet?

View 1 Replies View Related

Android :: Created A Method In Another Class But I Can't Use It In OnClick Method From Main Class

Nov 1, 2010

I created a method called insertTable in a class called Table but i can't use it in my onClick method in the main class :

CODE:.......

I want to do a income.insertTable in the onClick method but eclipse say that i need to create a local variable.

View 3 Replies View Related

Android :: How Can Pass Text Of Textview From One Class To Other Class Textview

Oct 15, 2010

if there are five text in a text view and we want to pass one of them on click event to the next class text view which method i m used on android

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved