[android-developers] DOUBT

2012-02-19 Thread ramalakshmi
Hai sir good morning.

   I hava a local microsoft sql server 2005.
   I am currently working on android project.
in this I have to use the data in sql server.From te server i hava to
access an existing table
 I am using java as the developing language.please send me the code
how to connect sql server with java in android.
please sir.make it fast.

-- 
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] Doubt

2012-11-06 Thread RAJESH RAMAN
I have a layout, on which a few edittextboxes, textviews and checkboxes are 
placed. Based on some logic i need to dynamically create a few more of 
these. I have managed to create them but for them to have the same style 
and appreance? Could you please advice how to go about it. Many thanks in 
advance.

-- 
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] Doubt

2011-12-26 Thread chari
Hi..
 In my project ,i need to get the previous activity name,, in
present activity
 plz help me..

-- 
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] Doubt---Sync

2012-02-23 Thread Aadi Rockzz
Hello,

I have a doubt - I have a webservice created using .net and installed
on my local server and i created a Android application also.
Is that possible to Sync a data in my application with webservice in
local server.??

Please Help me

Thanks
Aadi

-- 
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] Doubt Layout

2010-11-30 Thread Diego N.
Hello,

I would put two buttons on one line, so that they occupy the entire
horizontal space as possible with equal sizes.

I put these buttons in a grid layout, divided into two columns.

There is some property of the layout that can do this?

Att,

-- 
Diêgo Nunes Assunção
"Give Peace a Chance"

-- 
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

Re: [android-developers] Doubt

2011-12-26 Thread TreKing
On Fri, Dec 23, 2011 at 5:18 AM, chari  wrote:

> i need to get the previous activity name,, in present activity
>

Pass the name in the intents when you start the second one.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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] doubt on customview

2012-09-07 Thread vadivel rajan
 hi friends help me

i just want to create TextView , Button and Edittext using java code and
also extends the Linear layout in the class how to do?

advance thanks to u

-- 
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] Doubt on setOnKeyListener

2011-02-15 Thread Bins
I've created 2layouts 'l1', 'l2'.
Included an EditText view 't1' in layout 'l1'.
I've set keyListener for 't1'.

KeyListener is working fine when the activity is invoked and 'l1' is
displayed first.
My problem is that when i navigate to 'l2' and come back to 'l1', the
keyListener for 'l1' stops working anymore.
What's the solution for this problem? How do i get the KeyListener to
work everytime i navigate to 'l1'?

-- 
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] doubt on cookies

2011-09-14 Thread Devendran Raju
how to use cookies.
i dont know how to store cookies.
can u please cleare my doubt.

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] Doubt in live streaming

2016-04-26 Thread saranya manchikanti
how to place a live stream url  which is of .aac extension in android 
studio.

-- 
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/bb744111-c7c8-4ade-9cff-203a0f97e216%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Doubt in Notepad Application

2008-10-13 Thread JavaAndroid

Hi All,
I m a neebie with Android. Jus went through the Notepad application. I
have several of doubts regarding the application.
1. What is the exact purpose of Intent class?
2. Why do we pass this Intent object to
startActivityForResult(i, ACTIVITY_CREATE); method.
3. What happens at the end of startActivityForResult(i,
ACTIVITY_CREATE); method, which method is getting called after that?
4. What is the purpose of  onActivityResult(int requestCode, int
resultCode,
   Intent intent) method??

Any explanation would be highly appreciated

Thanks in Advance


Thanks
JavaAndroid


--~--~-~--~~~---~--~~
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] Doubt w.r.t content resolver

2009-12-31 Thread deeMurthy
Hi

Is it possible to access the content resolver methods in a class
extending from AppWidgetProvider class? Have been trying to do it with
no luck so far. Please help.

Many 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] Doubt about heap size

2012-06-24 Thread Francisco M. Marzoa Alonso
Hi there,

I have read that the maximum heap available for an app is 16M, despite
that there may be higher on newer devices.

Anyway on a 2.1 emulator with Eclipse/DDMS my available heap shown is
just about 3M, while in  my SGS2 real device shows about 5M of available
heap. As you see, a lot of lower than 16M.

My app runs fine on my SGS2, but it crashes complaining about not having
sufficient heap memory on the emulator, and I have received a few
reports with the same error on Google Play.

I am currently doing an effort to decrease heap consumption, but I
wonder why DDMS shows values so low and if some devices may actually
have less than 16M of heap memory.

My app is developed for Android 2.1+

Best regards,

-- 
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


Re: [android-developers] Doubt on setOnKeyListener

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 11:50 PM, Bins  wrote:

> I've created 2layouts 'l1', 'l2'.
> Included an EditText view 't1' in layout 'l1'.
> I've set keyListener for 't1'.
>

Wow, those are terrible variable names.


> My problem is that when i navigate to 'l2' and come back to 'l1',
> the keyListener for 'l1' stops working anymore.
>


>  What's the solution for this problem?
>
How do i get the KeyListener to work everytime i navigate to 'l1'?
>

The solution is to make sure you key listener is set, even when navigating
away from your Activity.
Considering you posted almost no information, that's the best I have for
you.

Consider posting a code snippet of where and how you set this listener if
you want some real help.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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] doubt in xmlns:android tag

2011-01-31 Thread Sohan badaya
Hi All,

In android xml files we define xmlns:android="http://
schemas.android.com/apk/res/android" in root tag, so then we use
android:attributes.  I want to know what is the location where these
attributes are defined. and if we want can we define our custom
attributes.

thanks,
sohan

-- 
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] Doubt on database access.

2011-09-19 Thread Devendran Raju
-- Forwarded message --
From: Devendran Raju 
Date: Mon, Sep 19, 2011 at 7:56 PM
Subject: Doubt on database access.
To: a...@androidpower.com


This is my code. While run this program i could not access the database.
Exception is coming. Please give me the sollution.

import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;

public class OwnerRegistration extends Activity implements
AdapterView.OnItemSelectedListener {
private final String SAMPLE_DB_NAME = "my_Db";
private final String SAMPLE_TABLE_NAME = "login";
private final String SAMPLE_TABLE_COL = "Questions";
private final String SQ_Table_Name = "tblSecurityQuestion";
int i=0;
String[] ques=new String[10];

  EditText user_name, password, c_password, F_n, L_n, adr, cty, state, zip,
email, security_A;
Spinner security_Q;
Button button_1, button_2;
String user, pass, c_pass, F_name, L_name, Addr, City, State, Zip, Email,
Security_A;
//String pass;



   /** Called when the activity is first created. */
   @Override
   public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.registration);
   user_name=(EditText)findViewById(R.id.editText1);
   password=(EditText)findViewById(R.id.editText2);
   c_password=(EditText)findViewById(R.id.editText3);
   F_n=(EditText)findViewById(R.id.editText4);
   L_n=(EditText)findViewById(R.id.editText5);
   adr=(EditText)findViewById(R.id.editText6);
   cty=(EditText)findViewById(R.id.editText7);
   state=(EditText)findViewById(R.id.editText8);
   zip=(EditText)findViewById(R.id.editText9);
   email=(EditText)findViewById(R.id.editText10);
   security_Q=(Spinner)findViewById(R.id.spinner1);
   security_A=(EditText)findViewById(R.id.editText11);




   Button myButton = (Button) findViewById(R.id.b1);
   myButton.setOnClickListener(new View.OnClickListener() {
   public void onClick(View v) {
   insert();
   }
   });
   Button myButton2 = (Button) findViewById(R.id.b2);
   myButton2.setOnClickListener(new View.OnClickListener() {
   public void onClick(View v) {
   Intent intent = new Intent(getApplicationContext(),
   Session_2Activity.class);
   startActivity(intent);
   }
   });

   spinnerQry();

   security_Q.setOnItemSelectedListener(this);
   ArrayAdapter adp=new ArrayAdapter(this,
android.R.layout.simple_spinner_item, ques);

adp.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
   security_Q.setAdapter(adp);
   }
   public void onItemSelected(AdapterView parent, View v, int
position, long id) {
   //tv.setText(items[position]);
   }
   public void onNothingSelected(AdapterView parent) {
   //tv.setText("");


}


 public void insert( ) {
 user=user_name.getText().toString();
 pass=password.getText().toString();
 c_pass=c_password.getText().toString();
 F_name=F_n.getText().toString();
 L_name=L_n.getText().toString();
 Addr=adr.getText().toString();
 City=cty.getText().toString();
 State=state.getText().toString();
 Zip=zip.getText().toString();
 Email=email.getText().toString();
// Security_Q=security_Q.getText().toString();
 Security_A=security_A.getText().toString();

Log.v("first",user);
Log.v("last",pass);

 SQLiteDatabase sampleDB = null;


 try {
sampleDB =  this.openOrCreateDatabase(SAMPLE_DB_NAME,
MODE_PRIVATE, null);



//sampleDB.execSQL("SELECT "+SAMPLE_TABLE_Spnner+" from
"+SQ_Table_Name,new String [] {});



sampleDB.execSQL("INSERT INTO " + SAMPLE_TABLE_NAME +"(user,
pwd, c_pwd, f_name, l_name, address, city, state, zip, email, security_a)"+
" Values
('"+user+"','"+pass+"','"+c_pass+"','"+F_name+"','"+L_name+"','"+Addr+"','"+City+"','"+State+"','"+Zip+"','"+Email+"','"+Security_A+"');");



} catch (SQLiteException se ) {
Log.e(getClass().getSimpleName(), "Could not create or Open
the database");
} finally {
if (sampleDB != null)

sampleDB.close();
user_name.setText("");
password.setText("");
c_password.setText("");
F_n.setText("");
L_n.setText("");
adr.setText("");
cty.

[android-developers] doubt in the Log class...

2009-06-04 Thread Saurav Mukherjee
hi,
is there any way to read the Log thats recorded during the execution in my
program (via code...)?

please skip the trivial solution of writin it on to file and readin it...
i need api.

--~--~-~--~~~---~--~~
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] Doubt In Eclipse Plugin Development

2010-04-19 Thread Pallavi Jadhav
I have to extend the existing problem view of Eclipse..
But I have problem to display problems i.e errors,warning,infos at run
time...
I am able to get that runtime but when we change any error i.e after
removing or adding any error,warning that changes not reflect
immediately in problem view table..
Can anyone help me?





 
Thanking you,
 
Pallavi Jadhav.

-- 
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


Re: [android-developers] Doubt w.r.t content resolver

2009-12-31 Thread Rui Wu
All member functions in AppWidgetProvider have a Context type. I think you
can call Context's getContentResolver() to get an content resolver intance.




2009/12/31 deeMurthy 

> Hi
>
> Is it possible to access the content resolver methods in a class
> extending from AppWidgetProvider class? Have been trying to do it with
> no luck so far. Please help.
>
> Many 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




-- 
BRs,
Rui

-- 
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

Re: [android-developers] Doubt about heap size

2012-06-24 Thread Dianne Hackborn
This is the maximum heap size:
http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass()


Also see:
http://developer.android.com/reference/android/app/ActivityManager.html#getLargeMemoryClass()


On Sun, Jun 24, 2012 at 2:56 AM, Francisco M. Marzoa Alonso <
fmmar...@gmail.com> wrote:

> Hi there,
>
> I have read that the maximum heap available for an app is 16M, despite
> that there may be higher on newer devices.
>
> Anyway on a 2.1 emulator with Eclipse/DDMS my available heap shown is
> just about 3M, while in  my SGS2 real device shows about 5M of available
> heap. As you see, a lot of lower than 16M.
>
> My app runs fine on my SGS2, but it crashes complaining about not having
> sufficient heap memory on the emulator, and I have received a few
> reports with the same error on Google Play.
>
> I am currently doing an effort to decrease heap consumption, but I
> wonder why DDMS shows values so low and if some devices may actually
> have less than 16M of heap memory.
>
> My app is developed for Android 2.1+
>
> Best regards,
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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] Doubt logcat log - program blocked

2011-05-04 Thread David Muñoz
Hi everybody!

This is my first message since I've just joined your mail list. So first of
all hi to everybody.

I am now developing for android and having some issues so I will directly
publish the problem:

I have developed one application which uses the bluetooth and transfers data
through a 3g connection. The problem is that, sometimes the application just
freezes for a while(maybe half an hour, one hour or just "forever"). I
connected the application to the computer and taken the log from logcat. the
moment where the phone seems to be blocked is here:



D/QCRIL_MSC (   73): "RIL"=>"AMSS" [ label = "cm_ph_cmd_get_ph_info()"];

D/GsmServiceStateTracker(  231): handlePollStateResult  regplmn = 24491

D/MobileDataStateTracker(  133): replacing old mInterfaceName (rmnet0) with
rmnet0 for hipri

D/NetworkLocationProvider(  133): onDataConnectionStateChanged 3

D/MobileDataStateTracker(  133): default Received state= CONNECTED, old=
CONNECTED, reason= (unspecified), apnTypeList= default

D/SntpClient(  133): request time failed: java.net.SocketTimeoutException:
Connection timed out

I/EventLogService(  277): Aggregate from 1304501219994 (log), 1304501219994
(data)

D/SntpClient(  133): request time failed: java.net.SocketTimeoutException:
Connection timed out

D/SntpClient(  133): request time failed: java.net.SocketTimeoutException:
Connection timed out

E/Sensors (  133): light: 640 lux

E/Sensors (  133): light: 1280 lux

D/SntpClient(  133): request time failed: java.net.SocketTimeoutException:
Connection timed out

D/SntpClient(  133): request time failed: java.net.SocketTimeoutException:
Connection timed out

D/QCRIL_MSC (   73): "RIL"=>"AMSS" [ label = "cm_ph_cmd_get_ph_info()"];

D/GsmServiceStateTracker(  231): handlePollStateResult  regplmn = 24491

D/QCRIL_MSC (   73): "RIL"=>"AMSS" [ label = "cm_ph_cmd_get_ph_info()"];

D/GsmServiceStateTracker(  231): handlePollStateResult  regplmn = 24491

E/Sensors (  133): light: 640 lux

E/Sensors (  133): light: 320 lux

E/Sensors (  133): light: 640 lux

E/Sensors (  133): light: 320 lux

E/BluetoothEventLoop.cpp(  133): event_filter: Received signal
org.bluez.Adapter:DeviceFound from /org/bluez/182/hci0

D/BluetoothService(  133):
updateDeviceServiceChannelCache(70:F3:95:4B:12:B2)



It seems that the E/Sensors(133) referes to the bluetooth that seem to be
"away" for a while and that sending the information it launches a
SocketTimeoutException, but I am checking before sending any data that the
NetworkInfos have some wifi/mobile connection available.

Additionally, the phone sometimes just reboots alone(the program is running
for hours) and stays in the "PIN" request state.

Thank you in advance!

Dhay

-- 
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] Doubt logcat log - program blocked

2011-05-04 Thread Dhay
Hi everybody!

This is my first message since I've just joined your mail list. So
first of all hi to everybody.

I am now developing for android and having some issues so I will
directly publish the problem:

I have developed one application which uses the bluetooth and
transfers data through a 3g connection. The problem is that, sometimes
the application just freezes for a while(maybe half an hour, one hour
or just "forever"). I connected the application to the computer and
taken the log from logcat. the moment where the phone seems to be
blocked is here:



D/QCRIL_MSC (   73): "RIL"=>"AMSS" [ label =
"cm_ph_cmd_get_ph_info()"];

D/GsmServiceStateTracker(  231): handlePollStateResult  regplmn =
24491

D/MobileDataStateTracker(  133): replacing old mInterfaceName (rmnet0)
with rmnet0 for hipri

D/NetworkLocationProvider(  133): onDataConnectionStateChanged 3

D/MobileDataStateTracker(  133): default Received state= CONNECTED,
old= CONNECTED, reason= (unspecified), apnTypeList= default

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

I/EventLogService(  277): Aggregate from 1304501219994 (log),
1304501219994 (data)

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

E/Sensors (  133): light: 640 lux

E/Sensors (  133): light: 1280 lux

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

D/QCRIL_MSC (   73): "RIL"=>"AMSS" [ label =
"cm_ph_cmd_get_ph_info()"];

D/GsmServiceStateTracker(  231): handlePollStateResult  regplmn =
24491

D/QCRIL_MSC (   73): "RIL"=>"AMSS" [ label =
"cm_ph_cmd_get_ph_info()"];

D/GsmServiceStateTracker(  231): handlePollStateResult  regplmn =
24491

E/Sensors (  133): light: 640 lux

E/Sensors (  133): light: 320 lux

E/Sensors (  133): light: 640 lux

E/Sensors (  133): light: 320 lux

E/BluetoothEventLoop.cpp(  133): event_filter: Received signal
org.bluez.Adapter:DeviceFound from /org/bluez/182/hci0

D/BluetoothService(  133): updateDeviceServiceChannelCache(70:F3:95:4B:
12:B2)



It seems that the E/Sensors(133) referes to the bluetooth that seem to
be "away" for a while and that sending the information it launches a
SocketTimeoutException, but I am checking before sending any data that
the NetworkInfos have some wifi/mobile connection available.

Additionally, the phone sometimes just reboots alone(the program is
running for hours) and stays in the "PIN" request state.

Thank you in advance!

Dhay

-- 
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] Doubt about RingtoneManager and Soundpool class

2010-07-01 Thread ankita.nhst
Hi,

I wanted to understand that is there any method through which
Soundpool could communicate with the RingtoneManager class as
MediaPlayer can pass the reference of the songs from its storage place
to the ringtone list but, there is no well-documented method that is
doing it. (at least i have not encountered it so far after googling
for a while).

So, my query is do I need to dig deep into the code to understand it?
if so, kindly suggest me what possible areas to look into as I have
already seen MediaPlayer-related classes a bit but, in the end I got
lost into the maze.

And, if not so i.e. its documented, then kindly direct me to the
appropriate link.

TIA.

Regards,
Ankita

-- 
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] doubt in accessing database in /data folder

2012-06-29 Thread Kruthika Shastry
hi

i want to develop an app for synchronizing notes between an android app in
my android mobile and my PC. I want this app to be accessible for other
android users also. I am using android 2.3.6 and my mobile is samsung
galaxy ace. The IDE is eclipse and OS is windows 7.

i have rooted my phone. When i try to access  the database of this app
which is stored in /data/data/app_package_name/databases/app_database_name,
I get an error "Could not create or open database". I don't understand why
this is happening. I am able to access the same database from adb shell in
command prompt but when i want to access via eclipse it doesn't seem to
work. Also, I am not able to see the list of sub-folders of /data folder in
the file explorer of eclipse.

I even changed the access rights of /data/ folder and the relevant sub
folders but..alas..my phone crashed after that! So after recovering my
data, I changed the access rights of only the app_database to read-only.

Any help would be greatly appreciated!

Regards
Kruthika

-- 
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] Doubt regarding redirection of websites to mobile version and address bar of browser.

2010-11-23 Thread sat
Hi

1.

I am launching the browser in a normal way with URL supplied as
parameter,

Intent ln_intent = new Intent(Intent.ACTION_VIEW);
ln_intent.setDataAndType(Uri.parse(web_url), "text/html");
startActivity(ln_intent);

here web_url is any web url.

This opens the browser with the mobile version of the
url(website) ,i.e. from the normal version it gets redirected to
mobile version.

Problem is when I press back address bar shows url of normal version
of the website but the page is blank , How can I overcome this problem.
(i.e. back should directly take me to last activity avoiding showing
the blank page)

2.
Is there any flag by which I can tell the browser to hide the address
bar ? (without using webview)

-- 
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] Doubt--- Example: Record audio and play the recorded audio ---Unable run this example code

2011-05-06 Thread sujith
Hi,
 I am new to this group. First of all I try create develop "
Record Audio and play and recorded audio which is example code give in
this link """http://developer.android.com/guide/topics/media/
index.html   using android emulator.
I build this successfully but while click on the record data it
say's like this "sorry audiorecordtest process
com.example.audiorecordtest has stopped unexpectedly" Can please help
me recording this. Expecting Reply.

Thanks and Regards,
C.Sujith

-- 
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