Re: [android-developers] Android Market crashes after uploading an upgrade of my app at market

2010-10-11 Thread TreKing
On Wed, Oct 6, 2010 at 7:34 PM, sai skir...@gmail.com wrote:

 I was surprised to see 8 screen shots instead of 2.


Where? On the Android Market? On your Dev Console? What were they
screenshots of? 4 duplicates of your original 2?


 When I tried to download updated version of my app on my device thorough
 Android Market, it kept crashing.


Your app or the Android Market?

-
TreKing http://sites.google.com/site/rezmobileapps/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] Re: Exception every time I launch the application

2010-10-11 Thread Pankaj
Thanks, I found the reason for the exception. I was using a custom
theme and I needed to extend the parent theme in the xml. Now the
exception seems to be gone :)

On Oct 10, 5:32 am, DanH danhi...@ieee.org wrote:
 Also keep in mind that one occasionally slips up (or Eclipse slips up)
 and the project is not rebuilt before running.  Or you can simply
 forget which XML is which.  Try rebuilding, and verify for yourself
 which XML is being used for which screen.

 On Oct 9, 5:01 pm, Pankaj pankajiit...@gmail.com wrote:



  Ya I got that much from theexception, But in which XML ? I could not
  figure that out that is why I have provided the xml files

  On Oct 9, 4:00 am, DanH danhi...@ieee.org wrote:

   Speak of the devil! (Just had this problem myself.)  Read carefully
   the first few lines in yourexceptionstack:

   Binary XML file line #25: You must supply a layout_height attribute.

   On Oct 8, 4:42 pm, Pankaj pankajiit...@gmail.com wrote:

Hi all,

I get anexceptioneverytimeIlaunchtheapplication. Here is the
stacktrace for theexception

10-01 14:49:35.321: WARN/WindowManager(61):Exceptionwhen adding
starting window
10-01 14:49:35.321: WARN/WindowManager(61):
java.lang.RuntimeException: Binary XML file line #25: You must supply
a layout_height attribute.
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.content.res.TypedArray.getLayoutDimension(TypedArray.java:438)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:
3468)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.view.ViewGroup$MarginLayoutParams.init(ViewGroup.java:3547)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.widget.LinearLayout$LayoutParams.init(LinearLayout.java:
1265)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:
1191)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:45)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.view.LayoutInflater.rInflate(LayoutInflater.java:620)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.view.LayoutInflater.inflate(LayoutInflater.java:407)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
10-01 14:49:35.321: WARN/WindowManager(61):     at
com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.jav
 a:
2153)
10-01 14:49:35.321: WARN/WindowManager(61):     at
com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:
2207)
10-01 14:49:35.321: WARN/WindowManager(61):     at
com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:
1395)
10-01 14:49:35.321: WARN/WindowManager(61):     at
com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(Phone
 WindowManager.java:
818)
10-01 14:49:35.321: WARN/WindowManager(61):     at
com.android.server.WindowManagerService
$H.handleMessage(WindowManagerService.java:8794)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.os.Handler.dispatchMessage(Handler.java:99)
10-01 14:49:35.321: WARN/WindowManager(61):     at
android.os.Looper.loop(Looper.java:123)
10-01 14:49:35.321: WARN/WindowManager(61):     at
com.android.server.WindowManagerService
$WMThread.run(WindowManagerService.java:531)

I am also posting the XML files I'm using.

?xml version=1.0 encoding=utf-8?

RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
android
    android:id=@+id/arw_layout android:orientation=horizontal
    android:layout_width=fill_parent
android:layout_height=wrap_content
    ImageView android:id=@+id/arw_logo android:layout_width=30px
        android:layout_height=40px
android:layout_alignParentRight=true /
    LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
        android:orientation=horizontal
android:layout_width=fill_parent
        android:layout_height=wrap_content android:gravity=center
        android:layout_alignParentLeft=true
        TextView android:id=@+id/arw_left
android:layout_width=wrap_content
            android:layout_height=wrap_content android:text=@string/
arw_left
            android:textSize=25sp android:paddingLeft=10dp
            android:paddingRight=10dp
android:gravity=center_vertical /
        TextView android:id=@+id/arw_title
android:layout_width=wrap_content
            android:layout_height=wrap_content android:minEms=10
            android:text=@string/arw_title

[android-developers] Re: HelloWorld.... now what?

2010-10-11 Thread Robert Green
Skip straight to the custom 3D FPS engine :)

On Oct 11, 12:48 am, Rocky rkjhaw1...@gmail.com wrote:
 Hey,
 go through the java code, xml code, and try to understand the flow, and
 replace hello world to ur customize text,

 then go through the developer.android.com for there u may find lots of
 example, try to run them.

 On Fri, Oct 8, 2010 at 3:13 AM, Joshua Germon 
 littlebigfrea...@gmail.comwrote:

  I've just started here. I downloaded the SDK did the HelloWorld
  tutorial and I don't no what to do next. This is the first Java
  programing I've ever done. I want to start making my own apps but
  how Please clear this up for me!

  Cheers Josh

  --
  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.comandroid-developers%2Bunsubs 
  cr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Thanks  Regards

 Rakesh Kumar Jha
 Software Developer
 Symphony Services Corp (India) Pvt Ltd
 Bangalore
 (O) +918030274295
 (R) +919886336619

-- 
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] Proper way to use Non-Extended Classes?

2010-10-11 Thread TreKing
On Thu, Oct 7, 2010 at 2:23 PM, Ehask ehas...@gmail.com wrote:

 Always results in constructor not defined?


Where? What line is giving you the error?

Also, if it's not a typo, you cannot call getSharedPreferences() like that,
so that would be a problem.

-
TreKing http://sites.google.com/site/rezmobileapps/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

Re: [android-developers] Re: Host not resolved issue

2010-10-11 Thread Rajesh Pelluru
Log cat :

10-11 11:39:02.699: WARN/System.err(303):
com.try.messaging.traveler.TmException: Host is unresolved:
mo22.moproxy.com:5001
10-11 11:39:02.699: WARN/System.err(303): at
com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:502)
10-11 11:39:02.708: WARN/System.err(303): at
com.try.messaging.traveler.TmSession.sendTmMessage(TmSession.java:361)
10-11 11:39:02.708: WARN/System.err(303): at
com.try.messaging.traveler.TmSession.getUrlPrefix(TmSession.java:266)
10-11 11:39:02.718: WARN/System.err(303): at
com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:416)
10-11 11:39:02.718: WARN/System.err(303): at
com.try.mo.MoObject.execute(MoObject.java:281)
10-11 11:39:02.728: WARN/System.err(303): at
com.try.mo.MoInternalCalls.echo(MoInternalCalls.java:22)
10-11 11:39:02.728: WARN/System.err(303): at
com.try.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:233)
10-11 11:39:02.738: WARN/System.err(303): at
com.try.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:112)
10-11 11:39:02.738: WARN/System.err(303): at
com.try.mo.MocaProcessQueue$MocaProcessQueueThread.run(MocaProcessQueue.java:164)

--Rajesh


On Mon, Oct 11, 2010 at 11:01 AM, pramod.deore deore.pramo...@gmail.comwrote:

 Provide Logcat output.

 On Oct 11, 10:00 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
  Hi,
   If i try to open connection forhttp://localhost:5001using
  HttpURLConnection in my android app, i am getting host not resolved issue
 in
  my android emulator.
  Internet connection is working in my emulator and I am able to browse the
  web sites using my emulator.
 
  I tried below options
 
  1. Created new AVD
 
  2. Restarted both Eclipse IDE and AVD
 
  3. Instead of localhost , i used ipaddress of the machine
 
  None of the above options  didn't work for me.
 
  Could anyone help me on the same.
 
  --Rajesh

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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] how to set text into spinner in java

2010-10-11 Thread TreKing
On Sat, Oct 9, 2010 at 11:19 AM, ohad srur ohads...@gmail.com wrote:

 i have tried :

 spinnerType_expense.setContentDescription(Payments);
or  spinnerType_payment.setSelection(4);


setSelection works fine for me. If it's not working for you, perhaps you're
doing something else wrong.

-
TreKing http://sites.google.com/site/rezmobileapps/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] Google, when can you stop your stupid political show?

2010-10-11 Thread nubin...@gmail.com
Google, I know you are against Chinese communists, but when will you
stop black listing a language used by 1.4 billion innocent
continuously suppressed non free Chinese who so long for your
patronising love and care and non-evilness?

Specifically, why is Simplified Chinese not available in the
description of Market apps?

It's almost two years now. How many political prisoners must China
release until you give them Simplified Chinese?

This is just stupid!!!

-- 
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] I can not find that error in my development device but it raised when i upload my application to market

2010-10-11 Thread TreKing
On Sat, Oct 9, 2010 at 7:36 PM, ehabkandeel ekand...@gmail.com wrote:

  is the number behinde  which exist beside each line can help me ?


If you're asking what I think you're asking, the line at the end of each
line tells you the line in the code that corresponds to each entry in the
stack trace. That will help you step through your code to see what you could
be doing along that code path to end up with a Null Pointer.

-
TreKing http://sites.google.com/site/rezmobileapps/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

Re: [android-developers] Uninstall survey results

2010-10-11 Thread TreKing
On Sun, Oct 10, 2010 at 5:57 PM, Curran thecurra...@gmail.com wrote:

 Is there any way I can get hold of these results for my app, because I
 think they'd be quite useful and it seems silly for the dev not to?


They would be quite useful, and it is quite silly not to show the stats to
the developers, but remember that you're talking about the Android Market
here.

-
TreKing http://sites.google.com/site/rezmobileapps/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] External Storage File Creation Problem

2010-10-11 Thread Goutham P N
Hi Everyone,

I'm new to android development, the following is the code that am
using to create a small text file on the external storage. but the
problem is its saying can't read nd can't write.. Can any one help me
out.. please

Note : bollo() is a method with has a toast to display on the screen
dont confuse with that method.

boolean mExternalStorageAvailable = false;
boolean mExternalStorageWriteable = false;
String state = Environment.getExternalStorageState();

if (Environment.MEDIA_MOUNTED.equals(state)) {
// We can read and write the media
mExternalStorageAvailable = mExternalStorageWriteable = 
true;
   bollo(Storage is mounted and ready to use);

try {
File root = Environment.getExternalStorageDirectory);
if (root.canWrite()) {
File myFile = new File(root, test.txt);
FileWriter myFileWriter = new FileWriter(myFile);
BufferedWriter out = new BufferedWriter(myFileWriter);
out.write(Hello Android Community);
out.close();
}
else
{
bollo(media not writable);
if(root.canRead())
{
bollo(root.getPath());
}
else
{
bollo(media not readable);
}
}
} catch (IOException e) {
Log.e(EXT, Error writing file:  + e.getMessage());
bollo(Error);
}


} else if (Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {
// We can only read the media
mExternalStorageAvailable = true;
mExternalStorageWriteable = false;
Toast.makeText(this, Storage is mounted and ready to use 
but
not writable, Toast.LENGTH_LONG).show();
} else {
// Something else is wrong. It may be one of many other 
states,
but all we need
//  to know is we can neither read nor write
mExternalStorageAvailable = mExternalStorageWriteable = 
false;
Toast.makeText(this, Storage is not mounted and not ready 
to
use, Toast.LENGTH_LONG).show();
}

-- 
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] Can any one help me to break large Html file to small html files in java

2010-10-11 Thread TreKing
On Sun, Oct 10, 2010 at 5:57 PM, Miguel Morales therevolti...@gmail.comwrote:

 This should be absolutely easy to do using javascript.  Not sure why you
 need help with something so basic.


Basic to you may very well be advanced to the OP - who know if he's even
ever touched javascript?

If it's so easy, how about pointing the OP in the right direction instead of
chiding him for not knowing what you find to be so basic?

-
TreKing http://sites.google.com/site/rezmobileapps/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] Progress Dialog on application load

2010-10-11 Thread RKJ (Android developer)
Hey,
I want a progress dialog before launching the apps, once click on
application, first ProgressDialog will come for 5 sec then actual
application.

--RKJ

-- 
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: Host not resolved issue

2010-10-11 Thread pramod.deore
Did you add the INTERNET permission to your manifest file?

On Oct 11, 11:15 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
 Log cat :

 10-11 11:39:02.699: WARN/System.err(303):
 com.try.messaging.traveler.TmException: Host is unresolved:
 mo22.moproxy.com:5001
 10-11 11:39:02.699: WARN/System.err(303):     at
 com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:502)
 10-11 11:39:02.708: WARN/System.err(303):     at
 com.try.messaging.traveler.TmSession.sendTmMessage(TmSession.java:361)
 10-11 11:39:02.708: WARN/System.err(303):     at
 com.try.messaging.traveler.TmSession.getUrlPrefix(TmSession.java:266)
 10-11 11:39:02.718: WARN/System.err(303):     at
 com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:416)
 10-11 11:39:02.718: WARN/System.err(303):     at
 com.try.mo.MoObject.execute(MoObject.java:281)
 10-11 11:39:02.728: WARN/System.err(303):     at
 com.try.mo.MoInternalCalls.echo(MoInternalCalls.java:22)
 10-11 11:39:02.728: WARN/System.err(303):     at
 com.try.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:233)
 10-11 11:39:02.738: WARN/System.err(303):     at
 com.try.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:112)
 10-11 11:39:02.738: WARN/System.err(303):     at
 com.try.mo.MocaProcessQueue$MocaProcessQueueThread.run(MocaProcessQueue.java:164)

 --Rajesh

 On Mon, Oct 11, 2010 at 11:01 AM, pramod.deore 
 deore.pramo...@gmail.comwrote:

  Provide Logcat output.

  On Oct 11, 10:00 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
   Hi,
        If i try to open connection forhttp://localhost:5001using
   HttpURLConnection in my android app, i am getting host not resolved issue
  in
   my android emulator.
   Internet connection is working in my emulator and I am able to browse the
   web sites using my emulator.

   I tried below options

   1. Created new AVD

   2. Restarted both Eclipse IDE and AVD

   3. Instead of localhost , i used ipaddress of the machine

   None of the above options  didn't work for me.

   Could anyone help me on the same.

   --Rajesh

  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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] Application Testing Group anyone?

2010-10-11 Thread TreKing
On Fri, Oct 8, 2010 at 4:27 AM, Sanjay Parekh objectprofession...@gmail.com
 wrote:

 Comments?


As metal says, we're all busy making our own apps, so testing other apps
even for the same favor in return is not likely to happen. And even if you
got a good number of people, they may not put the apps through the same
paces a regular user would.

Consider setting up a beta group made up of people that actually use your
app on a regular basis.

-
TreKing http://sites.google.com/site/rezmobileapps/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

Re: [android-developers] Re: Host not resolved issue

2010-10-11 Thread Rajesh Pelluru
Yep and I gave below permissions:


uses-permission android:name=*android.permission.READ_PHONE_STATE*/

uses-permission android:name=*android.permission.INTERNET* /

uses-permission android:name=*android.permission.WRITE_SETTINGS* /


On Mon, Oct 11, 2010 at 12:10 PM, pramod.deore deore.pramo...@gmail.comwrote:

 Did you add the INTERNET permission to your manifest file?

 On Oct 11, 11:15 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
  Log cat :
 
  10-11 11:39:02.699: WARN/System.err(303):
  com.try.messaging.traveler.TmException: Host is unresolved:
  mo22.moproxy.com:5001
  10-11 11:39:02.699: WARN/System.err(303): at
  com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:502)
  10-11 11:39:02.708: WARN/System.err(303): at
  com.try.messaging.traveler.TmSession.sendTmMessage(TmSession.java:361)
  10-11 11:39:02.708: WARN/System.err(303): at
  com.try.messaging.traveler.TmSession.getUrlPrefix(TmSession.java:266)
  10-11 11:39:02.718: WARN/System.err(303): at
  com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:416)
  10-11 11:39:02.718: WARN/System.err(303): at
  com.try.mo.MoObject.execute(MoObject.java:281)
  10-11 11:39:02.728: WARN/System.err(303): at
  com.try.mo.MoInternalCalls.echo(MoInternalCalls.java:22)
  10-11 11:39:02.728: WARN/System.err(303): at
 
 com.try.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:233)
  10-11 11:39:02.738: WARN/System.err(303): at
 
 com.try.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:112)
  10-11 11:39:02.738: WARN/System.err(303): at
 
 com.try.mo.MocaProcessQueue$MocaProcessQueueThread.run(MocaProcessQueue.java:164)
 
  --Rajesh
 
  On Mon, Oct 11, 2010 at 11:01 AM, pramod.deore deore.pramo...@gmail.com
 wrote:
 
   Provide Logcat output.
 
   On Oct 11, 10:00 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
Hi,
 If i try to open connection forhttp://localhost:5001using
HttpURLConnection in my android app, i am getting host not resolved
 issue
   in
my android emulator.
Internet connection is working in my emulator and I am able to browse
 the
web sites using my emulator.
 
I tried below options
 
1. Created new AVD
 
2. Restarted both Eclipse IDE and AVD
 
3. Instead of localhost , i used ipaddress of the machine
 
None of the above options  didn't work for me.
 
Could anyone help me on the same.
 
--Rajesh
 
   --
   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.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
 
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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] Google, when can you stop your stupid political show?

2010-10-11 Thread TreKing
On Mon, Oct 11, 2010 at 1:19 AM, nubin...@gmail.com nubin...@gmail.comwrote:

 This is just stupid!!!


Agreed.

-
TreKing http://sites.google.com/site/rezmobileapps/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

Re: [android-developers] External Storage File Creation Problem

2010-10-11 Thread TreKing
On Mon, Oct 11, 2010 at 1:32 AM, Goutham P N pn.gowt...@gmail.com wrote:

 the problem is its saying can't read nd can't write..


First, have you obtained the external media permission?

-
TreKing http://sites.google.com/site/rezmobileapps/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

Re: [android-developers] Progress Dialog on application load

2010-10-11 Thread TreKing
On Mon, Oct 11, 2010 at 1:38 AM, RKJ (Android developer) 
rkjhaw1...@gmail.com wrote:

 I want a progress dialog before launching the apps, once click on
 application, first ProgressDialog will come for 5 sec then actual
 application.


OK. So what's the problem?

-
TreKing http://sites.google.com/site/rezmobileapps/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] Re: Host not resolved issue

2010-10-11 Thread pramod.deore
Try setting permission as
uses-permission
android:name=android.permission.android.permission.INTERNET /
this instead of
uses-permission android:name=*android.permission.INTERNET* /

On Oct 11, 11:44 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
 Yep and I gave below permissions:

 uses-permission android:name=*android.permission.READ_PHONE_STATE*/

 uses-permission android:name=*android.permission.INTERNET* /

 uses-permission android:name=*android.permission.WRITE_SETTINGS* /

 On Mon, Oct 11, 2010 at 12:10 PM, pramod.deore 
 deore.pramo...@gmail.comwrote:

  Did you add the INTERNET permission to your manifest file?

  On Oct 11, 11:15 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
   Log cat :

   10-11 11:39:02.699: WARN/System.err(303):
   com.try.messaging.traveler.TmException: Host is unresolved:
   mo22.moproxy.com:5001
   10-11 11:39:02.699: WARN/System.err(303):     at
   com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:502)
   10-11 11:39:02.708: WARN/System.err(303):     at
   com.try.messaging.traveler.TmSession.sendTmMessage(TmSession.java:361)
   10-11 11:39:02.708: WARN/System.err(303):     at
   com.try.messaging.traveler.TmSession.getUrlPrefix(TmSession.java:266)
   10-11 11:39:02.718: WARN/System.err(303):     at
   com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:416)
   10-11 11:39:02.718: WARN/System.err(303):     at
   com.try.mo.MoObject.execute(MoObject.java:281)
   10-11 11:39:02.728: WARN/System.err(303):     at
   com.try.mo.MoInternalCalls.echo(MoInternalCalls.java:22)
   10-11 11:39:02.728: WARN/System.err(303):     at

  com.try.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:233)
   10-11 11:39:02.738: WARN/System.err(303):     at

  com.try.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:112)
   10-11 11:39:02.738: WARN/System.err(303):     at

  com.try.mo.MocaProcessQueue$MocaProcessQueueThread.run(MocaProcessQueue.java:164)

   --Rajesh

   On Mon, Oct 11, 2010 at 11:01 AM, pramod.deore deore.pramo...@gmail.com
  wrote:

Provide Logcat output.

On Oct 11, 10:00 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
 Hi,
      If i try to open connection forhttp://localhost:5001using
 HttpURLConnection in my android app, i am getting host not resolved
  issue
in
 my android emulator.
 Internet connection is working in my emulator and I am able to browse
  the
 web sites using my emulator.

 I tried below options

 1. Created new AVD

 2. Restarted both Eclipse IDE and AVD

 3. Instead of localhost , i used ipaddress of the machine

 None of the above options  didn't work for me.

 Could anyone help me on the same.

 --Rajesh

--
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.comandroid-developers%2bunsubscr...@googlegroups.com
  android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en

  --
   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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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] Flash games for Android is it possible?

2010-10-11 Thread Zhihong GUO
If you have the actionscript source code of the game, you can build the game
to android native application by AIR. otherwise you can have a try to reuse
the flash file in an empty flash project

2010/10/11 Miguel Morales therevolti...@gmail.com

 You might be able to create an application with a WebView in which you
 embed your flash game.
 Or you might be able to create an application which simply launches
 the browser to the page specified.

 Although I really doubt any but the simplest flash game will be
 playable in Android.

 On Thu, Oct 7, 2010 at 9:44 AM, Josh foxvalleysoc...@gmail.com wrote:
  I have several games I have developed for flash and use as google
  gadgets.
 
  I want to package them for the addroid market. Is this possible? Can
  you package flash games for use on android phones. I can play them if
  i like directly to the swfs on my server.
 
  Can you point out any tutorials on how to do this in the sdk?
 
  Im a complete newbie in this realm.
 
  Thanks for your help
 
  Josh
 
  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en



 --
 ~ Jeremiah:9:23-24
 Android 2D MMORPG: http://developingthedream.blogspot.com/,
 http://diastrofunk.com,
 http://www.youtube.com/user/revoltingx

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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] Progress Dialog on application load

2010-10-11 Thread Rocky
this is my code

onCreate()
{

myProgressDialog = ProgressDialog.show(iAnywhere.this,Please
wait..,Checking setting, true);

 new Thread() {
 public void run() {
 try{
 // Do some Fake-Work
 sleep(5000);
 } catch (Exception e) { }
 // Dismiss the Dialog
 myProgressDialog.dismiss();
 }
 }.start();


Intent myIntent = new Intent(iAnywhere.this,
change_password.class);
startActivityForResult(myIntent,
Intent.FLAG_ACTIVITY_NO_ANIMATION);
 }

I want PDialog box will come before the change_password screen appears

On Mon, Oct 11, 2010 at 12:19 PM, TreKing treking...@gmail.com wrote:

 On Mon, Oct 11, 2010 at 1:38 AM, RKJ (Android developer) 
 rkjhaw1...@gmail.com wrote:

 I want a progress dialog before launching the apps, once click on
 application, first ProgressDialog will come for 5 sec then actual
 application.


 OK. So what's the problem?


 -
 TreKing http://sites.google.com/site/rezmobileapps/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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thanks  Regards

Rakesh Kumar Jha
Software Developer
Symphony Services Corp (India) Pvt Ltd
Bangalore
(O) +918030274295
(R) +919886336619

-- 
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: Simulating USB connection

2010-10-11 Thread FrankG
IMHO you need a powered usb hub and a usb controled power supply for
this hub.
Then you can switch on and off the hub very fast.

Most devices react on VBUS detection, means they do no differ between
vbus connected
and usb enumerated.

Good luck ! Frank

On 8 Okt., 13:42, { Devdroid } webnet.andr...@gmail.com wrote:
 On 8 October 2010 13:31, DanH danhi...@ieee.org wrote:

  Maybe you can think of some other way to cause the equivalent juggling
  of the notification area.

 The problem is that anny other juggling just works. USB connection
 crashes each time, so that would be perfect to have this simulated.
 I may check android sources too, but it's not what I'd like to do now
 Will keep trying anyway

-- 
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] Can any one help me to break large Html file to small html files in java

2010-10-11 Thread Miguel Morales
I did, it's called javascript.

On Oct 10, 2010 11:35 PM, TreKing treking...@gmail.com wrote:

On Sun, Oct 10, 2010 at 5:57 PM, Miguel Morales therevolti...@gmail.com
wrote:   This should be ...

Basic to you may very well be advanced to the OP - who know if he's even
ever touched javascript?

If it's so easy, how about pointing the OP in the right direction instead of
chiding him for not knowing what you find to be so basic?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

 --

You received this message because you are subscribed to the Google Groups
Android Developers group...

-- 
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] Re: scrollbar drawable not appearing properly

2010-10-11 Thread kavitha b
ya,thanks

It is appearing somewat better than before now.


On Mon, Oct 11, 2010 at 11:27 AM, Kumar Bibek coomar@gmail.com wrote:

 I think I mentioned that your image dimensions should be square... :)

 On Mon, Oct 11, 2010 at 11:24 AM, kavitha b kkavith...@gmail.com wrote:

 Hi Kumar,

 I am using image with rectangle dimension only.

 It is not square.

 Still scrollbar image is appearing as very thin line,stretched image.

 Can you please provide me example of such?

 Thanks
 Kavitha

 On Sun, Oct 10, 2010 at 10:04 PM, Kumar Bibek coomar@gmail.comwrote:

 I am not sure, but I think you should be using an image with square
 dimensions. The Listview might be trying to stretch it do a squarish
 dimension.

 On Oct 10, 9:02 pm, kavitha b kkavith...@gmail.com wrote:
  Hi All,
 
  I am setting a drawable to scrollbar of a list view.But scrollbar image
 is
  not appearing properly.It appears strecthed.
 
  I tried to use 9 patch image.But still same problem.
 
  Anybody ahs used image to scrollbar successfully?
 
  Please help.
 
  Thanks
  Kavitha

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Kumar Bibek
 http://techdroid.kbeanie.com
 http://www.kbeanie.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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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] how to send a image from one process to another

2010-10-11 Thread mani
Hi all,

  I am looking for sending a image ( fav icon from browser ) to
Notification service.

I couldnt do successfully, as there are some problems with parcelable
class.

public class Notification implements Parcelable

   public Notification(Bitmap icon)-- I wrote this
new api on the framework.
{
if(icon == null)
System.out.println(In notification fav icon is NULL );
else
{
System.out.println(In notification fav icon );

this.favIcon = icon; }
}

But i couldnt find proper functions to write this Bitmap into the
parcel.

 parcel.writeLong(when);
parcel.writeInt(icon);
parcel.writeInt(number);

Similar to these api's how do i write a Bitmap. I dint find any
matching api's

How do i do it ?

Any body can suggest what would be the best way to send a image from
one process to another process ?

Thanks
- mani

-- 
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: Running static analysis on an Android device

2010-10-11 Thread Tez
Hi Daniela,

You might want to look at the Kirin Safe installer research paper
from Penn state University. McDaniel et al.\
They have a form of static analysis by checking permission
combinations at install time.
From the paper, you will get an idea of how thing work.

cheers,
Earlence



On Oct 9, 2:21 pm, daniela daniela.anton...@gmail.com wrote:
 Hi,

 I am working on a university project which should be completed in 2
 months. The aim of the project is to classify Android apps as secure
 or less so. I am hoping to achieve this by statically analysing apps
 after they are downloaded and (possibly) before they are installed.
 The analysis would be simple in the beginning and hopefully get more
 sophisticated if there is time. As far as I understand, running the
 analysis on a device would be the greatest difficulty, so my question
 is: Is this project feasible given the time frame?

 Also, I would be very grateful for any pointers to relevant
 information, such as classes in the Android framework which do
 security checks after an application is downloaded, for example.

 Thank you very much indeed!
 daniela

-- 
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: Incoming call recording

2010-10-11 Thread Tez
You might try to switch on the microphone when a call is received and
record audio.
It is not possible to access the actual voice stream as it is handled
by the baseband processor independently.

cheers,
Earlence

On Oct 8, 3:32 pm, Amit Mangal forum.amit.man...@gmail.com wrote:
 Hi
 Is this possible to run an application in back ground and record incoming
 call on android phone ?
 Any body having any link or some thing for learning recording call.

 Thankyou.

-- 
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: Capture Android softkeyboard events

2010-10-11 Thread Tez
write your own keyboard and place it in your activity layout. thats
what I did.

cheers,
Earlence

On Oct 6, 12:48 pm, Bobby phani.bo...@gmail.com wrote:
 Is there a way I could capture the Keyevents of a softkeyboard(qwerty
 usually) ? I need the keyCode of the key pressed, so can't really rely
 on the onTextChanged Listeners.
 After seeing many posts regarding the same through different forums, I
 wasn't able to find any suitable solutions.
 I am a beginner with android applications and Java. Any detailed help
 would be highly thankful  :)

-- 
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: How do i simulate a touch on the soft keyboard?

2010-10-11 Thread Tez
try using the monkey tool.

On Oct 4, 6:24 am, CG Tan cgfu...@gmail.com wrote:
 I am trying to simulate a touch on the soft keyboard, how do i do
 that?
 I try injectPointerEvent but it fail.

-- 
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] Understanding the Transaction mechanism

2010-10-11 Thread Tez
Hi,

Is there any article/paper that describes the transaction mechanism,
why it is needed and how it works?
eg: the ActivityManagerService class

-E

-- 
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: CTS Test plan Query

2010-10-11 Thread rhakuma
Hi Uander,

Try using SDK with previous version. (e.g. SDK_r6, SDK_r5)
Using SDK_r7, I got the same result with yours.

Thank you,
rhakuma.


On 9월16일, 오후9시56분, Uander uandro...@gmail.com wrote:
 Hi All ,

  I am running cts plan on cts console using command :

 start --plan CTS
 Console Logs are :
 
 start test plan CTS

 CTS_INFO  Checking API...

 CTS_INFO  This might take several minutes, please be patient...

 CTS_ERROR 
 null

 CTS_ERROR  Timeout: checkapi
 API Check TIMEOUT.
 (timeout)

 CTS_INFO  Max ADB operations reached. Restarting ADB...

 CTS_INFO  Restarting device ...
 06:21:51 E/DeviceMonitor: Sending jdwp tracking request failed!
 Device(1234567890ABCDEF) disconnected
 **

 Can anybody explains why I am not able to run CTS test plan on my android
 2.2 platform .

 while I can run a individual test case of CTS plan successfully .

 Thanks :
 Uander

-- 
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: Advertising network

2010-10-11 Thread Bruno Rørdam
Thanks for the recommendations. I will put an eye on MobClix, looks
interesting. Someone tried The Kinetik?? (http://www.thekinetik.com/)
looks interesting also. Is like a Cool Apps network with the concept
of the credit exchange.

Regards

On Oct 11, 2:55 am, Rocky rkjhaw1...@gmail.com wrote:
 hey go thr the inmobi.com,
 they r mob adv company.

 --Rakesh kumar Jha

 On Thu, Oct 7, 2010 at 9:00 PM, Bruno Rørdam brunoror...@gmail.com wrote:
  Hello everyone, i want to add promotion in my app to get earn money in
  this way. What is your experience with this? which advertising network
  would you recommend?

  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.comandroid-developers%2Bunsubs 
  cr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Thanks  Regards

 Rakesh Kumar Jha
 Software Developer
 Symphony Services Corp (India) Pvt Ltd
 Bangalore
 (O) +918030274295
 (R) +919886336619

-- 
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] Re: Host not resolved issue

2010-10-11 Thread Rajesh Pelluru
Do u want me use android.permission twice in android:name ??



On Mon, Oct 11, 2010 at 12:23 PM, pramod.deore deore.pramo...@gmail.comwrote:

 Try setting permission as
 uses-permission
 android:name=android.permission.android.permission.INTERNET /
 this instead of
 uses-permission android:name=*android.permission.INTERNET* /

 On Oct 11, 11:44 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
  Yep and I gave below permissions:
 
  uses-permission android:name=*android.permission.READ_PHONE_STATE*/
 
  uses-permission android:name=*android.permission.INTERNET* /
 
  uses-permission android:name=*android.permission.WRITE_SETTINGS* /
 
  On Mon, Oct 11, 2010 at 12:10 PM, pramod.deore deore.pramo...@gmail.com
 wrote:
  
   Did you add the INTERNET permission to your manifest file?
 
   On Oct 11, 11:15 am, Rajesh Pelluru mail2pell...@gmail.com wrote:
Log cat :
 
10-11 11:39:02.699: WARN/System.err(303):
com.try.messaging.traveler.TmException: Host is unresolved:
mo22.moproxy.com:5001
10-11 11:39:02.699: WARN/System.err(303): at
   
 com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:502)
10-11 11:39:02.708: WARN/System.err(303): at
   
 com.try.messaging.traveler.TmSession.sendTmMessage(TmSession.java:361)
10-11 11:39:02.708: WARN/System.err(303): at
com.try.messaging.traveler.TmSession.getUrlPrefix(TmSession.java:266)
10-11 11:39:02.718: WARN/System.err(303): at
   
 com.try.messaging.traveler.TmSession.startTmMessage(TmSession.java:416)
10-11 11:39:02.718: WARN/System.err(303): at
com.try.mo.MoObject.execute(MoObject.java:281)
10-11 11:39:02.728: WARN/System.err(303): at
com.try.mo.MoInternalCalls.echo(MoInternalCalls.java:22)
10-11 11:39:02.728: WARN/System.err(303): at
 
  
 com.try.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:233)
10-11 11:39:02.738: WARN/System.err(303): at
 
  
 com.try.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:112)
10-11 11:39:02.738: WARN/System.err(303): at
 
  
 com.try.mo.MocaProcessQueue$MocaProcessQueueThread.run(MocaProcessQueue.java:164)
 
--Rajesh
 
On Mon, Oct 11, 2010 at 11:01 AM, pramod.deore 
 deore.pramo...@gmail.com
   wrote:
 
 Provide Logcat output.
 
 On Oct 11, 10:00 am, Rajesh Pelluru mail2pell...@gmail.com
 wrote:
  Hi,
   If i try to open connection forhttp://localhost:5001using
  HttpURLConnection in my android app, i am getting host not
 resolved
   issue
 in
  my android emulator.
  Internet connection is working in my emulator and I am able to
 browse
   the
  web sites using my emulator.
 
  I tried below options
 
  1. Created new AVD
 
  2. Restarted both Eclipse IDE and AVD
 
  3. Instead of localhost , i used ipaddress of the machine
 
  None of the above options  didn't work for me.
 
  Could anyone help me on the same.
 
  --Rajesh
 
 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
 
   android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
 android-developers%252bunsubscr...@googlegroups.comandroid-developers%25252bunsubscr...@googlegroups.com
 
  
 For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
 
   --
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.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
 
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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] Does anyone know how to read market place statisctic in an app...

2010-10-11 Thread Sanjay Parekh
is isas simple as going to a url / api from an intent and reading the
data from the market place?
Anyone have any ideas how I can get the raw datat of my apps
statistics so I can updae a view on them - a chart for example?
Thanks
Sanjay

-- 
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] Re: Host not resolved issue

2010-10-11 Thread Brad Gies

 Why do you have the * in the permission?

uses-permission android:name=*android.permission.INTERNET* /

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 11/10/2010 1:13 AM, Rajesh Pelluru wrote:

uses-permission android:name=*android.permission.INTERNET* /


--
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: I can not find that error in my development device but it raised when i upload my application to market

2010-10-11 Thread ehabkandeel
ok how can i use these numbers ? some thing like 1284 , what does it
mean ? , it means the number of line code ?

On Oct 11, 8:21 am, TreKing treking...@gmail.com wrote:
 On Sat, Oct 9, 2010 at 7:36 PM, ehabkandeel ekand...@gmail.com wrote:
   is the number behinde  which exist beside each line can help me ?

 If you're asking what I think you're asking, the line at the end of each
 line tells you the line in the code that corresponds to each entry in the
 stack trace. That will help you step through your code to see what you could
 be doing along that code path to end up with a Null Pointer.

 -
 TreKing http://sites.google.com/site/rezmobileapps/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


Re: [android-developers] Re: Host not resolved issue

2010-10-11 Thread Rajesh Pelluru
Sorry  It's typo mistake ,  I copied from my eclipse editor and I got
stars... My actual settings

uses-permission android:name=android.permission.READ_PHONE_STATE/
   uses-permission android:name=android.permission.INTERNET /
uses-permission android:name=android.permission.WRITE_SETTINGS /

--Rajesh






On Mon, Oct 11, 2010 at 1:49 PM, Brad Gies rbg...@gmail.com wrote:

  Why do you have the * in the permission?


 uses-permission android:name=*android.permission.INTERNET* /

 Sincerely,

 Brad Gies
 ---
 Bistro Bot - Bistro Blurb
 http://bgies.com
 http://bistroblurb.com
 http://ihottonight.com
 http://forcethetruth.com
 ---

 Everything in moderation, including abstinence

 Never doubt that a small group of thoughtful, committed people can
 change the world. Indeed. It is the only thing that ever has - Margaret
 Mead



 On 11/10/2010 1:13 AM, Rajesh Pelluru wrote:

 uses-permission android:name=*android.permission.INTERNET* /


 --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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: Host not resolved issue

2010-10-11 Thread pramod.deore

Ohh so sorry I just mean remove * and use as
uses-permission android:name=android.permission.INTERNET /
On Oct 11, 1:19 pm, Brad Gies rbg...@gmail.com wrote:
   Why do you have the * in the permission?

 uses-permission android:name=*android.permission.INTERNET* /

 Sincerely,

 Brad Gies
 ---
 Bistro Bot - Bistro 
 Blurbhttp://bgies.comhttp://bistroblurb.comhttp://ihottonight.comhttp://forcethetruth.com
 ---

 Everything in moderation, including abstinence

 Never doubt that a small group of thoughtful, committed people can
 change the world. Indeed. It is the only thing that ever has - Margaret Mead

 On 11/10/2010 1:13 AM, Rajesh Pelluru wrote:

  uses-permission android:name=*android.permission.INTERNET* /

-- 
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] Autofill in local webview

2010-10-11 Thread perumal316
Hi All,

I have written an application to load a webpage using a local webview.
In the app I have also included some buttons. The idea is in the
loaded webpage need to insert some data in their fields. Eg. In Gmail,
need to insert username. So when the user clicks on the button it will
autofill the predefined data into the field in the webpage. Any idea
how to implement this?

I have tried using:

WebView mWebView;
mWebView
mWebView.loadData();

But it is not working. Is there any other method?

Thanks In Advance,
Perumal

-- 
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] Can we send the data to usb port

2010-10-11 Thread pramod.deore
will it possible to send data from application to usb device (some pen
drive). If yes then how? please provide some docs or link.

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


Re: [android-developers] Re: Host not resolved issue

2010-10-11 Thread Rajesh Pelluru
I am using like that only..

On Mon, Oct 11, 2010 at 1:59 PM, pramod.deore deore.pramo...@gmail.comwrote:


 Ohh so sorry I just mean remove * and use as
 uses-permission android:name=android.permission.INTERNET /
 On Oct 11, 1:19 pm, Brad Gies rbg...@gmail.com wrote:
Why do you have the * in the permission?
 
  uses-permission android:name=*android.permission.INTERNET* /
 
  Sincerely,
 
  Brad Gies
  ---
  Bistro Bot - Bistro
 Blurbhttp://bgies.comhttp://bistroblurb.comhttp://ihottonight.comhttp://
 forcethetruth.com
   ---
 
  Everything in moderation, including abstinence
 
  Never doubt that a small group of thoughtful, committed people can
  change the world. Indeed. It is the only thing that ever has - Margaret
 Mead
 
  On 11/10/2010 1:13 AM, Rajesh Pelluru wrote:
 
   uses-permission android:name=*android.permission.INTERNET* /

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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: AppWidget on receive method and documentation

2010-10-11 Thread arnouf
I think the issue was the debug mode :)
When phone is not connected apparently the phone is lot loaded by my
widget. best.

On Oct 9, 11:03 pm, Kostya Vasilyev kmans...@gmail.com wrote:
   2Mark:

 Ummm. AppWidgetProvider is a subclass of BroadcastReceiver, not
 Service. As such, it has no onStartCommand or onStart.

 You're probably thinking of onReceive - ditto for that.

 2Arnouf:

 Another reason might be that something else is keeping the device awake.
 Might be worthwhile to dump wakelocks in adb. Or else it might be the
 setting to keep screen on while plugged in, which is often enabled for
 debugging.

 -- Kostya

 09.10.2010 19:00, Mark Murphy пишет:









  Override onStartCommand() or onStart() in your AppWidgetProvider and
  figure out what Intent is being used to update the AppWidgetProvider.
  That should help you narrow down the source (your alarm or the
  built-in updatePeriodMillis alarm).

  On Sat, Oct 9, 2010 at 10:45 AM,arnoufarnaud.far...@gmail.com  wrote:
  Hi,

  I use an AlarmManager to refresh my widget view (the view not the data
  displayed which are managed by the standard updatePeriodMillis).
  The AlarmManager is configured to work with RTC. The documentation
  indicates :
  Set the alarm type to either ELAPSED_REALTIME or RTC, which will only
  deliver the alarm when the device is awake. Then set
  updatePeriodMillis to zero (0).
  I check that but my method continue to be called even if my screen is
  OFF (device awake).

  What's the issue ?

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

 --
 Kostya Vasilyev -- WiFi Manager + pretty widget 
 --http://kmansoft.wordpress.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] when we write words in editText, i want to know toggle state in virtual keyboard

2010-10-11 Thread jongnam!~
hi i have some problem when i'm developing application
please answer me about the problem T.T

when writting words in EditText i want to know EditText state about
toggle state in virtual keyboard

for example in 9x9 virtual keyboard we can touch a, can change the 'a'
to 'b' or 'c' by toggling
at the time, i want to know to see if now toggling state.
how can i know this state by using editText or InputManager

please answer me about it 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] MP4 video problem

2010-10-11 Thread Ahmed Shoeib
hi all,

i want to play mp4 video on android .
using intent

this is the code i used to play mp4 file :

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(http://www.apphuset.no/
skiprepper/video/rex/6.mp4), video/mp4);
startActivity(intent);


but there is no video play back only sound we can here from it


what is the problem and how to fix this ?


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] android internationalization problem

2010-10-11 Thread Ahmed Shoeib
hi all,

now i now how to make my application internationalization

the problem in :

i wanna to test it if the language is Norwegian
but i can't find it on my simulator .

how to Add Norwegian Language To my Application ?

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] Re: Can we send the data to usb port

2010-10-11 Thread pramod.deore
Or will it be possible to write or read data to UART.

On Oct 11, 1:45 pm, pramod.deore deore.pramo...@gmail.com wrote:
 will it possible to send data from application to usb device (some pen
 drive). If yes then how? please provide some docs or link.

 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] Directories and Files on External Storage are invisible

2010-10-11 Thread Goutham P N
Hi Everyone,

I have created a directory and even a file in that directory on the
external storage, I am able to read and write into that but the
problem is they are not visible on the emulator i.e, in the phone.
What might be the reason.

-- 
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] Directories and Files on External Storage are invisible

2010-10-11 Thread Kumar Bibek
You mean the data directory of your app? That wouldn't be visible to
anything else other than your app componennts.

On Mon, Oct 11, 2010 at 2:58 PM, Goutham P N pn.gowt...@gmail.com wrote:

 Hi Everyone,

 I have created a directory and even a file in that directory on the
 external storage, I am able to read and write into that but the
 problem is they are not visible on the emulator i.e, in the phone.
 What might be the reason.

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Problem when starting translucent activity from Broadcast receiver.

2010-10-11 Thread felix
I have tested at HTC Desire now as well and there is no problems at
that device either.

I can't find any qualifier for localization based on phone model.
(http://developer.android.com/guide/topics/resources/providing-
resources.html)
Is there a way to turn off Translucent theme on only the Samsung
Galaxy i9000 device?



On Sep 30, 12:16 pm, felix felixwal...@gmail.com wrote:
 Hi
 I got a graphical problem regarding the Translucent theme at Samsung
 Galaxy i9000. It works well in the emulator with android version
 ranging from 1.6 to 2.2 as well as on SE x10 mini. I have yet to test
 on more devices.

 I am starting an activity from a broadcast receiver. The activity
 started got the theme @android:style/Theme.Translucent
 If all the activities in my application are destroyed when the
 broadcast occurs, then the new activity got a working translucent
 theme and is presented on top of the activity currently in front.

 However, if the user left the application with the HOME-key, not
 destroying the activity, I get a graphical bug when the broadcast
 triggers.
 The application gets brought to the front with the activity the user
 last visited showing instead of the new activity that I started from
 my broadcast receiver.
 When I press the back key I can see my Translucent activity quickly
 showing itself and then getting destroyed.

 This flow results in the graphical bug:
 Start application. Activity A will be shown.
 Leave application by pressing HOME-key. Home screen is shown.
 Trigger broadcast.
 Start activity B.
 Application gets brought to foreground and activity A is shown.
 Press BACK-key. Activity B quickly shows itself and disappears. Now
 activity A is shown.

 Also, after activity B is started and when activity A is shown in its
 place. Pressing the screen will triggers buttons that belong in
 activity B even if the user can’t see them.

 If I remove the theme, then activity B will show itself when it’s
 supposed to.

 Is there anyone else who have encountered a similar problem?
 Is there any good workarounds I can apply? (I don’t want to rebind
 home to finish all activities)
 Is the problem my fault or can there possibly be some glitch in
 Touchwiz?

-- 
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] Click on Home icon need to start application from beginning

2010-10-11 Thread RKJ (Android developer)
Hi,

I want to to start the application from beginning, once i click on
home button.

Now, If i click on home button, and i want to again open the
application it preserve the initial state, and automatically ll go
there, But I want it will start from beginning.

thanks
--RKJ

-- 
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] Error when HTTPConnection

2010-10-11 Thread kavitha b
Hi All,

I am getting this error frequently when making HTTPConnection.

Sometimes it connects and sometimes not.

I have tried with various link.It behaves same with all.

What may be the cause?

W/System.err( 1845): java.net.SocketException: The operation timed out
W/System.err( 1845): at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native
Method)
W/System.err( 1845): at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java:478)
W/System.err( 1845): at
org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:565)
W/System.err( 1845): at
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:61)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readln(HttpURLConnection.java:1178)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readServerResponse(HttpURLConnection.java:1250)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.java:1238)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnection.java:1558)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:1551)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1052)

-- 
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] android internationalization problem

2010-10-11 Thread { Devdroid }
On 11 October 2010 11:12, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote:


 i wanna to test it if the language is Norwegian
 but i can't find it on my simulator .

it only means you can't easily test your localizaion
in simulator. But it won't affect the app itself.
You can add preferences so users can enforce
specific language no matter what lang is OS running

 how to Add Norwegian Language To my Application ?

put your norvegian translation into values-no folder

-- 
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: Host not resolved issue

2010-10-11 Thread karteek
 3. Instead of localhost , i used ipaddress of the machine
means are you running any apache server.
Is your apache server is running?. I did some application with apache
server which is running on my machine and  able to access without port
number
example http://myip/sample.xml
Check your server first and try without port number. May be  helps you
On Oct 11, 1:47 pm, Rajesh Pelluru mail2pell...@gmail.com wrote:
 I am using like that only..

 On Mon, Oct 11, 2010 at 1:59 PM, pramod.deore deore.pramo...@gmail.comwrote:



  Ohh so sorry I just mean remove * and use as
  uses-permission android:name=android.permission.INTERNET /
  On Oct 11, 1:19 pm, Brad Gies rbg...@gmail.com wrote:
     Why do you have the * in the permission?

   uses-permission android:name=*android.permission.INTERNET* /

   Sincerely,

   Brad Gies
   ---
   Bistro Bot - Bistro
  Blurbhttp://bgies.comhttp://bistroblurb.comhttp://ihottonight.comhttp://
  forcethetruth.com
    ---

   Everything in moderation, including abstinence

   Never doubt that a small group of thoughtful, committed people can
   change the world. Indeed. It is the only thing that ever has - Margaret
  Mead

   On 11/10/2010 1:13 AM, Rajesh Pelluru wrote:

uses-permission android:name=*android.permission.INTERNET* /

  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en



-- 
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: Advertising network

2010-10-11 Thread Yahel
Ah I thought the name was familiar : Is Avril your sister or just the
fake top-model avatar you made yourself on linked-in ?? :D

As for mobclix, you should maybe read this blog post before
choosing...The comments are gold :

http://www.androidsx.com/admob-vs-mobclix-2nd-round/

Take care :D

Yahel
http://www.a-world-of-faces.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: android internationalization problem

2010-10-11 Thread Yahel
 i wanna to test it if the language is Norwegian

On the emulator I wouldn't know, but on actual device, simply download
more locale from the market and set the locale you want to be in.
Its instanteneous and works very well.

That's what I use to test my localization.

Yahel

-- 
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: http POST request problem

2010-10-11 Thread karteek
Inorder to pass  data using http post we need to set  content-Type
field in http header.
Otherwise the server won't recognize your data which have been sent by
parms.

Try with the following
Example
   httppost.setHeader(Content-Type,your content type supported
by u r server);

On Oct 11, 4:11 am, dashman erjdri...@gmail.com wrote:
         ListNameValuePair params = new ArrayListNameValuePair();

         params.add(new BasicNameValuePair(A, B));

 even an empty params works fine.

 but as soon as i add en entry - it fails to response code 400.

 the weird thing is i copied this code verbatim from the c2dm
 android sample app - of course i could have done something but
 i've narrowed it down to one line.

 the problem happens on both the device and emulator.

 On Oct 10, 6:53 pm, Brad Gies rbg...@gmail.com wrote:

    Need to see how you are setting the params to have any idea of how to
  help.

  My guess is that you are sending an invalid parameter and the server is
  refusing the connection because of that.

  Sincerely,

  Brad Gies
  ---
  Bistro Bot - Bistro 
  Blurbhttp://bgies.comhttp://bistroblurb.comhttp://ihottonight.comhttp://fo...
  ---

  Everything in moderation, including abstinence

  Never doubt that a small group of thoughtful, committed people can
  change the world. Indeed. It is the only thing that ever has - Margaret Mead

  On 10/10/2010 11:09 AM, dashman wrote:

   in the following code - i get an http response code
   400 - BAD REQUEST.

   if i comment out the post.setEntity() line - then it
   works fine - response code 200.

   of course i've got internet permission

   params is a list of 1 entry - string2string mapping.

            URI uri = new URI(urlPath);

            HttpPost post = new HttpPost(uri);

            UrlEncodedFormEntity entity = new UrlEncodedFormEntity(params,
   UTF-8);

            post.setEntity(entity);  // if this line is commented out -
   the post results in status 200 OK

            DefaultHttpClient client = new DefaultHttpClient();

            HttpResponse res = client.execute(post);



-- 
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] Error when HTTPConnection

2010-10-11 Thread kavitha b
Hi All,

I am getting this error frequently when making HTTPConnection.

Sometimes it connects and sometimes not.

I have tried with various link.It behaves same with all.

What may be the cause?

W/System.err( 1845): java.net.SocketException: The operation timed out
W/System.err( 1845): at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native
Method)
W/System.err( 1845): at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java:478)
W/System.err( 1845): at
org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:565)
W/System.err( 1845): at
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:61)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readln(HttpURLConnection.java:1178)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readServerResponse(HttpURLConnection.java:1250)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.java:1238)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnection.java:1558)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:1551)
W/System.err( 1845): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1052)

-- 
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: Can we send the data to usb port

2010-10-11 Thread pramod.deore
As I know we can create a file only in application or at under sdcard.
And I think uart is detected at /dev/tty directory. So it is
impossible to create file in uart. Is am I write? or we can't create
file in UART but read or write them?

2) Normally on Linux UART is detected at /dev/tty1 but when I used
UART for android I didn't saw the /dev folder.

Please help me about this UART issue.

Thanks

On Oct 11, 2:26 pm, pramod.deore deore.pramo...@gmail.com wrote:
 Or will it be possible to write or read data to UART.

 On Oct 11, 1:45 pm, pramod.deore deore.pramo...@gmail.com wrote:

  will it possible to send data from application to usb device (some pen
  drive). If yes then how? please provide some docs or link.

  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] Re: Error when HTTPConnection

2010-10-11 Thread pramod.deore
did you write permission in manifest as
uses-permission android:name=android.permission.INTERNET /

On Oct 11, 4:17 pm, kavitha b kkavith...@gmail.com wrote:
 Hi All,

 I am getting this error frequently when making HTTPConnection.

 Sometimes it connects and sometimes not.

 I have tried with various link.It behaves same with all.

 What may be the cause?

 W/System.err( 1845): java.net.SocketException: The operation timed out
 W/System.err( 1845):     at
 org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native
 Method)
 W/System.err( 1845):     at
 org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java:478)
 W/System.err( 1845):     at
 org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:565)
 W/System.err( 1845):     at
 org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:61)
 W/System.err( 1845):     at
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readln(HttpURLConnection.java:1178)
 W/System.err( 1845):     at
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readServerResponse(HttpURLConnect...)
 W/System.err( 1845):     at
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.jav...)
 W/System.err( 1845):     at
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnecti...)
 W/System.err( 1845):     at
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:...)
 W/System.err( 1845):     at
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection)

-- 
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] Activity, ActivityManagerService, ActivityManagerNative interaction

2010-10-11 Thread Tez
Hi,

I want to understand how the following components interact say, from
activity startup through normal operation to shut down.

Activity,
ActivityManagerService
ActivityManagerNative

Cheers,
Earlence

-- 
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] Re: Error when HTTPConnection

2010-10-11 Thread kavitha b
Thanks for the response.

I am able to connect to Server through HTTPConnection.I have included
permission.

Most frequently i get Socket Connection Error.

It times out very frequently.

Like I am doing a online streaming application.It will play for sometime and
after afterwards it will close the connection.

so i need to set any other thing for this?


On Mon, Oct 11, 2010 at 5:00 PM, pramod.deore deore.pramo...@gmail.comwrote:

 did you write permission in manifest as
 uses-permission android:name=android.permission.INTERNET /

 On Oct 11, 4:17 pm, kavitha b kkavith...@gmail.com wrote:
  Hi All,
 
  I am getting this error frequently when making HTTPConnection.
 
  Sometimes it connects and sometimes not.
 
  I have tried with various link.It behaves same with all.
 
  What may be the cause?
 
  W/System.err( 1845): java.net.SocketException: The operation timed out
  W/System.err( 1845): at
  org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native
  Method)
  W/System.err( 1845): at
 
 org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java:478)
  W/System.err( 1845): at
 
 org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:565)
  W/System.err( 1845): at
 
 org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:61)
  W/System.err( 1845): at
 
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readln(HttpURLConnection.java:1178)
  W/System.err( 1845): at
 
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readServerResponse(HttpURLConnect...)
  W/System.err( 1845): at
 
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.jav...)
  W/System.err( 1845): at
 
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnecti...)
  W/System.err( 1845): at
 
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:...)
  W/System.err( 1845): at
 
 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection)

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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: writing Events into Google Calendar in Android failed

2010-10-11 Thread Jens
You're adding an event that's not linked to a row in the calendars
table for one.

Typically you need to set the value of calendar_id to something.
This something better be a valid _id value from the calendars table
or your app will just be filling the provider with crap.

If you're going to be messing around in undocumented providers you
should probably start by looking at the provider code itself:

http://android.git.kernel.org/?p=platform/packages/providers/CalendarProvider.git;a=tree;f=src/com/android/providers/calendar;h=240974b9e76a1c95fb7a20069e0848f913abbef7;hb=25b0f0ee070a5fff18cfcaffa86cb1607941c8a5

Also.. the provider is a bit peculiar on all-day events.. plz make
sure you're pushing them in in UTC-time with the event time zone set
to UTC also. Look at the implementation in the Calendar app itself:

http://android.git.kernel.org/?p=platform/packages/apps/Calendar.git;a=tree;f=src/com/android/calendar;h=e0c3f3cc9249fb9b0cf278a8338e362fdf3e9f4a;hb=14e77164bddf4d29acaca5bb2ff116a697bf9650

--

(or you could just do it with GDATA as M.Murphy suggests and push your
messages via HTTP up to Google which should sync it back to the device
sooner or later).


On 8 Okt, 12:40, Kapuddi kapu...@gmail.com wrote:
 Hello, All:

 when I insert one new Calendar Event into Google calendar from my app,
 the log message was given:
 
 10-05 00:30:44.171: ERROR/DatabaseUtils(8479): Error inserting
 transparency=0 dtstart=128589120 title=TestCalendar _sync_dirty=1
 dtend=128589120 visibility=0 allDay=1 lastDate=1285950628697
 hasAlarm=0 eventStatus=1 into table  Events
 10-05 00:30:44.171: ERROR/DatabaseUtils(8479):
 android.database.sqlite.SQLiteConstraintException: error code 19:
 constraint failed
 10-05 00:30:44.171: ERROR/DatabaseUtils(8479):     at
 android.database.sqlite.SQLiteStatement.native_execute(Native Method)
 

 would you please tell me how to solve it?

 Best Regards,

 Kapuddi

 
 Next is my sample code:
 // Platform: android 2.2 froyo

    private static final String calendarcontentStr =
 content://com.android.calendar/events;

    ContentValues event = new ContentValues();

    //event.put(title, mAct.getString(R.string.read) + :  + title);
    event.put(title, TestCalendar);

    long startTime = startC.getTimeInMillis();
    long endTime = endC.getTimeInMillis();

    event.put(dtstart, startTime);
    event.put(dtend, endTime);
    //event.put(allDay, 1);
    event.put(eventStatus, 1);
    event.put(visibility, 0);
    event.put(transparency, 0);
    event.put(hasAlarm, 0);

    Uri eventsUri = Uri.parse(calendarcontentStr);
    Uri uri = mAct.getContentResolver().insert(eventsUri, event);

-- 
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] Activity, ActivityManagerService, ActivityManagerNative interaction

2010-10-11 Thread Mark Murphy
Questions regarding the Android open source code are best asked on a
Google Group pertaining to the Android open source code:

http://source.android.com/community/index.html

On Mon, Oct 11, 2010 at 7:35 AM, Tez earlencefe...@gmail.com wrote:
 Hi,

 I want to understand how the following components interact say, from
 activity startup through normal operation to shut down.

 Activity,
 ActivityManagerService
 ActivityManagerNative

 Cheers,
 Earlence

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




-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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] MP4 video problem

2010-10-11 Thread Mark Murphy
If you are trying this on an emulator, that is expected behavior. The
emulator requires very fast hardware to play back videos. I recommend
anyone who is serious about video playback on Android should develop
and test using actual devices.

On Mon, Oct 11, 2010 at 5:08 AM, Ahmed Shoeib
ahmedelsayed.sho...@gmail.com wrote:
 hi all,

 i want to play mp4 video on android .
 using intent

 this is the code i used to play mp4 file :

        Intent intent = new Intent(Intent.ACTION_VIEW);
        intent.setDataAndType(Uri.parse(http://www.apphuset.no/
 skiprepper/video/rex/6.mp4), video/mp4);
        startActivity(intent);


 but there is no video play back only sound we can here from it


 what is the problem and how to fix this ?


 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




-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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: External Storage File Creation Problem

2010-10-11 Thread Goutham P N
oh! Thank you.. thanks for the information.. but the problem now is
the directory that I have created(I changed the code little bit to
create direcotory) is not visible, I mean I cant see it in the
Gallary.. What might be the problem

-- 
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] Regarding toast messages

2010-10-11 Thread ameya dandekar
Hi,
In  my app , i have used 'Toast'  to show various messages for user on a
certain wrong action. It works absolutely perfectly on 1.5 devices but on
some devices of 2.1 like *samsung europa* etc. , the toast messages are
getting broken .
My code for creating toast and showing is as follows :
Toast t = Toast.makeText(this,Select a contact.,
Toast.LENGTH_SHORT);

t.setGravity(Gravity.CENTER_VERTICAL,Gravity.AXIS_CLIP,Gravity.AXIS_CLIP);
t.show();

If the text is little long then the issue is observed quite a lot.
What i need to change ?

Thanks ,
Ameya

-- 
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] SocketTimeoutException thrown frequently

2010-10-11 Thread kavitha b
Hi all,

i am doing a internet radio,and i keep getting this error often in the mid
while playing from url.

How to avoid this?

W/System.err( 3098): java.net.SocketTimeoutException: The operation timed
out
W/System.err( 3098): at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native
Method)
E/CREATOR THREAD##( 3098): BEFORECREATOR THREAD
STOPEDDD
W/System.err( 3098): at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java:478)
W/System.err( 3098): at
org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:565)
W/System.err( 3098): at
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:87)
W/System.err( 3098): at
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:67)
W/System.err( 3098): at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection$LocalCloseInputStream.read(HttpURLConnection.java:165)

-- 
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] BroadcastReceiver not working for Car Dock

2010-10-11 Thread Mark Murphy
On Sun, Oct 10, 2010 at 10:57 PM, zachariahyoung zpyo...@gmail.com wrote:
 I'm testing the code by click on the phone Car Home app.  Would this
 not be the same thing as docking the phone?

No, they are not the same. You will need a device and a car dock, AFAIK.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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] Regarding toast messages

2010-10-11 Thread Mark Murphy
On Mon, Oct 11, 2010 at 7:53 AM, ameya dandekar ameya...@gmail.com wrote:
     In  my app , i have used 'Toast'  to show various messages for user on a
 certain wrong action. It works absolutely perfectly on 1.5 devices but on
 some devices of 2.1 like samsung europa etc. , the toast messages are
 getting broken .

What does getting broken mean?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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: BroadcastReceiver not working for Car Dock

2010-10-11 Thread zachariahyoung
What should my intent filter look like?  Also is there a way to make
the file dock via a adb command?

Thanks

On Oct 11, 6:54 am, Mark Murphy mmur...@commonsware.com wrote:
 On Sun, Oct 10, 2010 at 10:57 PM, zachariahyoung zpyo...@gmail.com wrote:
  I'm testing the code by click on the phone Car Home app.  Would this
  not be the same thing as docking the phone?

 No, they are not the same. You will need a device and a car dock, AFAIK.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android Training...At Your Office:http://commonsware.com/training

-- 
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] list of bluetooth paired devices

2010-10-11 Thread parag
hi

what is the API to get list of all paired devices?

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] Can I Access Oracle Database Directly From my Android application

2010-10-11 Thread Goutham P N
Hi Everyone,

I'm new to the android application development. I found some packages
java.sql and javax.sql packages in the API of android while going
through it. My doubt is can I access the Oracle Database directly
using drivers. So what type of driver is used to connect.

Please any one reply me.

Thanks  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] Can I Access Oracle Database Directly From my Android application

2010-10-11 Thread Kumar Bibek
You don't have an Oracle Database on an Android phone. Android has a DB
named sqlite3. Read up about it and hope it satisfies your needs.

On Mon, Oct 11, 2010 at 5:37 PM, Goutham P N pn.gowt...@gmail.com wrote:

 Hi Everyone,

 I'm new to the android application development. I found some packages
 java.sql and javax.sql packages in the API of android while going
 through it. My doubt is can I access the Oracle Database directly
 using drivers. So what type of driver is used to connect.

 Please any one reply me.

 Thanks  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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Directories and Files on External Storage are invisible

2010-10-11 Thread Goutham P N
Yes, exactly I cant see it anywhere on the emulator, but I'm able to
access the data on the SD Card that I have stored

On Oct 11, 2:31 pm, Kumar Bibek coomar@gmail.com wrote:
 You mean the data directory of your app? That wouldn't be visible to
 anything else other than your app componennts.

 On Mon, Oct 11, 2010 at 2:58 PM, Goutham P N pn.gowt...@gmail.com wrote:

  Hi Everyone,

  I have created a directory and even a file in that directory on the
  external storage, I am able to read and write into that but the
  problem is they are not visible on the emulator i.e, in the phone.
  What might be the reason.

  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: BroadcastReceiver not working for Car Dock

2010-10-11 Thread Mark Murphy
On Mon, Oct 11, 2010 at 8:03 AM, zachariahyoung zpyo...@gmail.com wrote:
 What should my intent filter look like?

AFAIK, this should work:

intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.CAR_DOCK /
category android:name=android.intent.category.DEFAULT /
/intent-filter

Note, though, that I do not own a car dock, let alone have written any
code to try using it.

 Also is there a way to make
 the file dock via a adb command?

It does not appear that this is possible. I see neither an emulator
switch nor a telnet command for it.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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] Re: Directories and Files on External Storage are invisible

2010-10-11 Thread Kumar Bibek
data-data-packagename and there are your files... You can see it in the File
manager view of the DDMS.

On Mon, Oct 11, 2010 at 5:40 PM, Goutham P N pn.gowt...@gmail.com wrote:

 Yes, exactly I cant see it anywhere on the emulator, but I'm able to
 access the data on the SD Card that I have stored

 On Oct 11, 2:31 pm, Kumar Bibek coomar@gmail.com wrote:
  You mean the data directory of your app? That wouldn't be visible to
  anything else other than your app componennts.
 
  On Mon, Oct 11, 2010 at 2:58 PM, Goutham P N pn.gowt...@gmail.com
 wrote:
 
   Hi Everyone,
 
   I have created a directory and even a file in that directory on the
   external storage, I am able to read and write into that but the
   problem is they are not visible on the emulator i.e, in the phone.
   What might be the reason.
 
   --
   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.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
 
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
  --
  Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Save User Data in android

2010-10-11 Thread Ahmed Shoeib
hi all,

i want to know how to save user Data in android so i can retrieve it
when staring and during the run of the application


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


Re: [android-developers] Save User Data in android

2010-10-11 Thread { Devdroid }
On 11 October 2010 14:19, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote:
 hi all,

 i want to know how to save user Data in android so i can retrieve it
 when staring and during the run of the application

1. user preferences data (simplier, key-val)
2. database (more complex)
3. both discussed in the manual so read it first

-- 
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: Directories and Files on External Storage are invisible

2010-10-11 Thread Goutham P N
Is it possible to see it on the emulator?

-- 
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] Re: Directories and Files on External Storage are invisible

2010-10-11 Thread Kumar Bibek
Not on Emulator, but through eclipse.

On Mon, Oct 11, 2010 at 6:13 PM, Goutham P N pn.gowt...@gmail.com wrote:

 Is it possible to see it on the emulator?

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Directories and Files on External Storage are invisible

2010-10-11 Thread Goutham P N
ok.. I have one more doubt. Like I'm working on Data Storage right now
and is it possible for me to access remote database. If it is then
what is the way to access it. Can you please tell me if you know.

-- 
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] Re: Directories and Files on External Storage are invisible

2010-10-11 Thread Kumar Bibek
What exactly do you mean by accessing remote database? You want to view the
tables of the remote database, or you want your app to be able to update and
read from your remote database?

On Mon, Oct 11, 2010 at 6:24 PM, Goutham P N pn.gowt...@gmail.com wrote:

 ok.. I have one more doubt. Like I'm working on Data Storage right now
 and is it possible for me to access remote database. If it is then
 what is the way to access it. Can you please tell me if you know.

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Directories and Files on External Storage are invisible

2010-10-11 Thread Mark Murphy
Wrap the remote database in some form of Web service (a REST
interface works well), then access it via HttpClient or the older
java.net HTTP APIs.

On Mon, Oct 11, 2010 at 8:54 AM, Goutham P N pn.gowt...@gmail.com wrote:
 ok.. I have one more doubt. Like I'm working on Data Storage right now
 and is it possible for me to access remote database. If it is then
 what is the way to access it. Can you please tell me if you know.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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: Directories and Files on External Storage are invisible

2010-10-11 Thread Goutham P N
but there are java.sql and javax.sql packages in API no. Then what is
the use of them then?

-- 
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: Directories and Files on External Storage are invisible

2010-10-11 Thread Goutham P N
but there are java.sql and javax.sql packages in API, What is the use
of them then?

-- 
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: Directories and Files on External Storage are invisible

2010-10-11 Thread Goutham P N
I want to read some data in the remote database and also based on that
data I got, I want to update the information in the database

-- 
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: Proper way to use Non-Extended Classes?

2010-10-11 Thread DanH
SharedPreferences pref
=ctcx.getSharedPreferences(MyPref,Context.MODE_PRIVATE);

On Oct 7, 2:23 pm, Ehask ehas...@gmail.com wrote:
 I have an app I am working on and being new to Android Dev I am
 running into a situation

 I have a Scores class not extended from anything (Activity,Service,
 etc) but in the same package that needs to access SharedPreferences

 public class Scores {

 Context ctcx;

 public Scores(Context context) {
       ctcx = context;

 }

 public void resetScores(){

      SharedPreferences pref =
 getSharedPreferences(MyPref,ctcx.MODE_PRIVATE);

 }
 }

 Always results in constructor not defined? All the imports are there
 and Eclipse doesnt flag until it tries to run on emulator. Does
 everything have to extend something in android?

 Thx for any guidance
 Eric

-- 
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] Re: Directories and Files on External Storage are invisible

2010-10-11 Thread Kumar Bibek
Does the docs say anything about this?

On Mon, Oct 11, 2010 at 6:29 PM, Goutham P N pn.gowt...@gmail.com wrote:

 but there are java.sql and javax.sql packages in API, What is the use
 of them then?

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Directories and Files on External Storage are invisible

2010-10-11 Thread Mark Murphy
On Mon, Oct 11, 2010 at 8:58 AM, Goutham P N pn.gowt...@gmail.com wrote:
 but there are java.sql and javax.sql packages in API no. Then what is
 the use of them then?

I do not recommend the use of APIs designed for use on a
high-reliability LAN in cases where you do not have a high-reliability
LAN.

If you are working on a version of Android running on a server or
something, where it has a solid wired connection to a high-reliability
LAN, you are welcome to use those packages.

I do not recommend using them over WiFi from a device that tends to
move, and I *really* do not recommend using them over wireless data
(e.g., 3G).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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: Directories and Files on External Storage are invisible

2010-10-11 Thread Goutham P N
No, nothing regarding this is mentioned in the doc as far as I read.
What is the way to access, is it like above mentioned, using web
services only can we access the remote database? or is there any other
way to access it.

-- 
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: Directories and Files on External Storage are invisible

2010-10-11 Thread Goutham P N
ok, Thank you. Then is there any other way or Web Services is the
only way?

-- 
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] Menu and AlertDialog are not getting displayed on regaining the focus

2010-10-11 Thread Roj
Hi,
I have one application in which I have only one Activity and 6
different frames (derived from FrameLayout). Using menu one can choose
a particular frame. On each frame I have different views, user can go
from one view to another and come back to the previous view (I am
managing it with one stack in each frame) some of the views has
buttons on clicking which we show a list using AlertDialog.

This is working fine. But when another application comes on top of my
application and then regain the focus again to my application it is
not working as expected. For eg if I press the button, it is not
listing the items. However if I power off and power on the device, the
list is appearing. That means AlertDialog is getting created properly,
but somehow it is not getting displaying. (Even though the list is not
getting displayed, I can see that if I press one the screen, the
action item correponding to each item is getting executed).

Similarly on pressing menu (after regaining the focus), it is not
displaying the menu items.

Can anybody tell what is going wrong here. It is also observed that
sometimes it started to work as expected (ie menu and AlertDialogs are
getting displayed after regaining the focus). Once it started to work
it is always working fine.

Regards,
Roj

-- 
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] Error log

2010-10-11 Thread Diego Queiroz
Hi there,

Is there a way to see the log error crashing my apps?

I`m getting messages like ˜The application OMG has stopped unexpectedly.
Please try again˜.

And i really do not know what kind of error it`s exploding down there =/

Any terminal? Any eclipse window view? I tried debugging on eclipse but
uncessfully.

Ty in advance

-- 
Diego Queiroz

-- 
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] Error log

2010-10-11 Thread iñaki
adb logcat?

On 11 October 2010 16:19, Diego Queiroz dibo...@gmail.com wrote:

 Hi there,

 Is there a way to see the log error crashing my apps?

 I`m getting messages like ˜The application OMG has stopped unexpectedly.
 Please try again˜.

 And i really do not know what kind of error it`s exploding down there =/

 Any terminal? Any eclipse window view? I tried debugging on eclipse but
 uncessfully.

 Ty in advance

 --
 Diego Queiroz

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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] Error log

2010-10-11 Thread Kumar Bibek
Isn't the Logcat window enough? It's avaiable in the DDMS perspective...

On Mon, Oct 11, 2010 at 7:49 PM, Diego Queiroz dibo...@gmail.com wrote:

 Hi there,

 Is there a way to see the log error crashing my apps?

 I`m getting messages like ˜The application OMG has stopped unexpectedly.
 Please try again˜.

 And i really do not know what kind of error it`s exploding down there =/

 Any terminal? Any eclipse window view? I tried debugging on eclipse but
 uncessfully.

 Ty in advance

 --
 Diego Queiroz

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to record a video as a Service

2010-10-11 Thread Rubik
Hi All,

Any news on this topic?

Regards,
Andrei

On Sep 28, 3:06 pm, Anurag anuragin...@gmail.com wrote:
 Hi All,

 I just wanted a small piece of information. I am trying to record a
 video in background as a service. But, I am unable to record it. Can
 you tell me first of all that is it possible or not. And if possible,
 please guide me through the procedure.

 Thanks in advance,
 Anurag

-- 
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] Re: I can not find that error in my development device but it raised when i upload my application to market

2010-10-11 Thread TreKing
On Mon, Oct 11, 2010 at 3:24 AM, ehabkandeel ekand...@gmail.com wrote:

 ok how can i use these numbers ?


You know which line in the code to go to, assuming you have access to the
file.


 some thing like 1284 , what does it mean ? , it means the number of line
 code ?


Yes.

-
TreKing http://sites.google.com/site/rezmobileapps/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

Re: [android-developers] Re: External Storage File Creation Problem

2010-10-11 Thread TreKing
On Mon, Oct 11, 2010 at 6:53 AM, Goutham P N pn.gowt...@gmail.com wrote:

 What might be the problem


Does this folder have pictures in it? I don't think folders without images
show up in the gallery, otherwise it would get really cluttered for no good
reason.

-
TreKing http://sites.google.com/site/rezmobileapps/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

Re: [android-developers] Progress Dialog on application load

2010-10-11 Thread TreKing
On Mon, Oct 11, 2010 at 2:02 AM, Rocky rkjhaw1...@gmail.com wrote:

 I want PDialog box will come before the change_password screen appears


Technically it does, but you launch your new activity immediately afterward,
so you don't see anything.
I recommend you use an AsyncTask to manage your sequence. You would show
your dialog at the beginning, do your background work, then start your new
activity at the end.

-
TreKing http://sites.google.com/site/rezmobileapps/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

Re: [android-developers] Error log

2010-10-11 Thread Diego Queiroz
trying it now, ty

On Mon, Oct 11, 2010 at 11:23 AM, Kumar Bibek coomar@gmail.com wrote:

 Isn't the Logcat window enough? It's avaiable in the DDMS perspective...

 On Mon, Oct 11, 2010 at 7:49 PM, Diego Queiroz dibo...@gmail.com wrote:

 Hi there,

 Is there a way to see the log error crashing my apps?

 I`m getting messages like ˜The application OMG has stopped unexpectedly.
 Please try again˜.

 And i really do not know what kind of error it`s exploding down there =/

 Any terminal? Any eclipse window view? I tried debugging on eclipse but
 uncessfully.

 Ty in advance

 --
 Diego Queiroz

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Kumar Bibek
 http://techdroid.kbeanie.com
 http://www.kbeanie.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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Diego Queiroz

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

  1   2   >