[android-developers] how to get event by broadcast receiver when application installed first time?

2011-06-16 Thread Hitendrasinh Gohil
Hi,

I m just trying to get event through broadcast receiver when
application installed firsttime.

Here is my broadcastreceiver class.
public class LaunchReceiver extends BroadcastReceiver
{
public static final String TAG=LaunchReceiver;

@Override
public void onReceive(Context context, Intent intent)
{
Log.i(TAG,..OnReceive.);

if(intent.getAction().equals(android.intent.action.PACKAGE_INSTALL))
{
Log.i(TAG,..OnReceive.);
}
}

}

Here is my manifest.
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.android.back
  android:versionCode=1
  android:versionName=1.0
application android:icon=@drawable/icon android:label=@string/
app_name
service android:name=BackgroundService android:enabled=true/
service
receiver android:name=.LaunchReceiver
intent-filter
action android:name=android.intent.action.PACKAGE_INSTALL/
action
action android:name=android.intent.action.CALL/action
action android:name=android.intent.action.PACKAGE_ADDED/action
/intent-filter
/receiver

/application
uses-sdk android:minSdkVersion=4 /

/manifest

I m not getting broadcast on any events.

can anybody tell me what is the problem with this code?


-- 
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 get event by broadcast receiver when application installed first time?

2011-06-16 Thread Zsolt Vasvari
Cannot.

On Jun 16, 2:04 pm, Hitendrasinh Gohil hitendra.virtuei...@gmail.com
wrote:
 Hi,

 I m just trying to get event through broadcast receiver when
 application installed firsttime.

 Here is my broadcastreceiver class.
 public class LaunchReceiver extends BroadcastReceiver
 {
         public static final String TAG=LaunchReceiver;

         @Override
         public void onReceive(Context context, Intent intent)
         {
                 Log.i(TAG,..OnReceive.);

 if(intent.getAction().equals(android.intent.action.PACKAGE_INSTALL))
                 {
                         Log.i(TAG,..OnReceive.);
                 }
         }

 }

 Here is my manifest.
 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
       package=com.android.back
       android:versionCode=1
       android:versionName=1.0
     application android:icon=@drawable/icon android:label=@string/
 app_name
         service android:name=BackgroundService android:enabled=true/
 service
         receiver android:name=.LaunchReceiver
         intent-filter
         action android:name=android.intent.action.PACKAGE_INSTALL/
 action
         action android:name=android.intent.action.CALL/action
         action android:name=android.intent.action.PACKAGE_ADDED/action
         /intent-filter
         /receiver

     /application
     uses-sdk android:minSdkVersion=4 /

 /manifest

 I m not getting broadcast on any events.

 can anybody tell me what is the problem with this code?

-- 
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: Sir,

2011-06-16 Thread Zsolt Vasvari
I assume you followed the directions for compiling the code, right?
Which step is it failing on?

On Jun 15, 2:16 pm, sarvesh singh sarveshg...@gmail.com wrote:
 Sir,
  i have download the code from CODE.GOOGLE.COM http://code.google.com/.
 when i upload the
 code on eclipse sdk then it give error..'building workspace' has
 encountered a problem. Error occurred during the build.

 So please Sir give me answer . how can i compile the code.

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

2011-06-16 Thread Peter Webb
Complete list can be found here: http://tinypaste.com/b7e1e9

They haven't stolen either of my apps; probably not worth enough to
steal.

However many readers of this forum are being ripped-off in this
manner.

And they have the cheek to publicise their theft on a website
frequented by the people thay have robbed. They are rubbing your nose
in it.

With the cumulative knowledge and resources that exist in the Android
Developer community, somebody must have some idea as to how to disrupt
the operations of a website that is being used to steal their
property?

Any ideas?





On Jun 16, 1:48 am, arial johansson arialjohans...@gmail.com wrote:
 Ultimate Collection of Paid Android Apps and Games{2010-2011}
 collection of best android applications , games , softwares ,live wallpaper
 around (2.5GB) folder size.
 In this collection more then 1000s applications (must download)

 http://www.click2sell.eu/buy?aakash19ult

 http://sonusuniverse.weebly.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] Shape having two sided border

2011-06-16 Thread Sapna Srivastav
Hi all.

I would like to create a layout having a shape that has border only on
2 sides:
left and right, i.e. I want top and  bottom to be open.  How can I
achieve that
defining shape in XML?

Currently I have a normal 4 side border using the following shape XML
definition:

?xml version=1.0 encoding=utf-8?
shape xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=fill_parent


solid android:color=#FF
   /

stroke android:width=1dp
android:color=#FF
/

padding android:left=1dp
 android:top=1dp
 android:right=1dp
 android:bottom=1dp
 /
/shape

Please help, its urgent.
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


Re: [android-developers] Shape having two sided border

2011-06-16 Thread νιנαソkum
remove that padding bottom and top. then check it

On Thu, Jun 16, 2011 at 12:06 PM, Sapna Srivastav sapna.ari...@gmail.comwrote:

 Hi all.

 I would like to create a layout having a shape that has border only on
 2 sides:
 left and right, i.e. I want top and  bottom to be open.  How can I
 achieve that
 defining shape in XML?

 Currently I have a normal 4 side border using the following shape XML
 definition:

 ?xml version=1.0 encoding=utf-8?
 shape xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=fill_parent


solid android:color=#FF
   /

stroke android:width=1dp
android:color=#FF
/

padding android:left=1dp
 android:top=1dp
 android:right=1dp
 android:bottom=1dp
 /
 /shape

 Please help, its urgent.
 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




-- 




Nobody can go back and start a new beginning, but anyone can start today
and make a new ending
-
Thanks,
Regards,
νιנαソαkum@r M
BloG:http://iamvijayakumar.blogspot.com/
Mob.No:09048382536(Kerala)
Mob.No:09751076707(TN)

-- 
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: Initial setup after app install/update?

2011-06-16 Thread Jens
If your app includes a broadcast listener for one of the more spammy
intents you can create a somewhat delayed setup this way.
Plz remember to disable the listener afterwards using
PackageManager#setComponentEnabledSetting(..)

On 15 Juni, 16:29, Joshua Partogi joshua.part...@gmail.com wrote:
 Hi all,

 Is it possible to implement an initial setup after the app has been installed?

 Kind regards,
 Joshua

 --
 @jpartogi

-- 
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] Shape having two sided border

2011-06-16 Thread Rajiv
Use the following shape tag:

 padding android:left=1dp
android:top=0dp
android:right=1dp
android:bottom=0dp
/

On Thu, Jun 16, 2011 at 12:06 PM, Sapna Srivastav sapna.ari...@gmail.comwrote:

 Hi all.

 I would like to create a layout having a shape that has border only on
 2 sides:
 left and right, i.e. I want top and  bottom to be open.  How can I
 achieve that
 defining shape in XML?

 Currently I have a normal 4 side border using the following shape XML
 definition:

 ?xml version=1.0 encoding=utf-8?
 shape xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=fill_parent


solid android:color=#FF
   /

stroke android:width=1dp
android:color=#FF
/

padding android:left=1dp
 android:top=1dp
 android:right=1dp
 android:bottom=1dp
 /
 /shape

 Please help, its urgent.
 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

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

2011-06-16 Thread Peter Webb
I might add that the web page for the list of programs was last
updated by tomas2605, who manages 1.9m Goggle hits. He appears to be
a Vietnamese resident who works for a graphics board manufacturer in
Hanoi, and hosts pirate websites in his spare time. I am sure a
Vietnamese speaker would be able to learn much more about him from
those many web hits.

I am inclined to send him some email questions asking about the
program's legality. One per program he lists. Or maybe even a couple
of emails per program. Can anybody lend me an SMTP relay server for a
couple of hours that will let me queue a few thousand short emails?
Doing this one at a time by hand would be a nightmare.

Or, indeed, are there any other ideas for addressing this problem?
Nobody else seems to be doing anything.

-- 
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] Why seekbar progress background always rounded corner ?

2011-06-16 Thread Mansoor
Hi,
I am using a red rectangular image as seekbar progress background but
background is always drawing with rounded corner. how can i make it as
rectangular without rounded corner?

Following is my seekbar layer-list:

?xml version=1.0 encoding=utf-8?
 layer-list xmlns:android=http://schemas.android.com/apk/res/
android

 item android:id=@android:id/background
 android:drawable=@drawable/mybackground
  
  corners android:radius=0dp/
 /item

item android:id=@android:id/secondaryProgress
clip
shape
corners android:radius=0px /
gradient
android:startColor=#80ffd300
android:centerColor=#80ffb600
android:centerY=0.75
android:endColor=#a0ffcb00
android:angle=270
/
/shape
/clip
/item

item android:id=@android:id/progress
  
   scale android:scaleWidth=100%
   android:drawable=@drawable/progress /

/item


/layer-list

please help me ..

Thanks and regards
Mansoor V.M

-- 
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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread String
On Thursday, June 16, 2011 6:57:36 AM UTC+1, Gheter wrote:

String:- The logcat out put is:

And did you read it? 

ERROR/Launcher(210): Launcher does not have the
permission to launch Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x1020
cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN
intent-filter for the corresponding activity or use the exported
attribute for this activity. tag=ApplicationInfo(title=Quaker)
intent=Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x1020
cmp=com.raghavsood.quaker/.Quaker }

Just like it says, sounds like you're missing the required launcher intent 
in your manifest.
http://developer.android.com/guide/topics/intents/intents-filters.html#ccases

ERROR/Launcher(210): java.lang.SecurityException:
Permission Denial: starting Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x1020
cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
210:com.android.launcher/10017} (pid=210, uid=10017) requires
android.permission.INTERNET

Again with the manifest, you need to ask for permission to access the 
internet.
http://developer.android.com/guide/topics/security/security.html#permissions

Generally, it's a good idea to read the error messages you get. :^)

String



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

2011-06-16 Thread ABSOLUT
Thanks,
But how could I change the button for a progress bar, how could I know
the coordinates to can change them?

Thanks


On 16 jun, 07:36, Saurav to.saurav.mukher...@gmail.com wrote:
 make the button gone and put a progress bar. when the service is over,
 display the button again and enable it.

 Regards,
 Saurav Mukherjee.







 On Thu, Jun 16, 2011 at 2:55 AM, ABSOLUT davidt...@gmail.com wrote:
  Hi
  I have a button in an appwidget that executes a service. These service
  takes time about 10 seconds. How the button doesnt have any effect it
  seems that you are not pressed the button. What i should to do for the
  button seems is doing something?.
  Many thanks and sorry for my english

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

-- 
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: App Widget considerations when enabling installLocation in manifest

2011-06-16 Thread Mark Carter
I plan to show this message when the app detects it has been moved to the SD 
card (i.e. the first time it runs after the event):

Android automatically disables homescreen widgets for apps that have been 
moved to the SD card. If you would like to use widgets, then please move 
this app back to internal memory.

There's a starting point. Feel free to improve it. If we can settle on 
something then maybe others can post translations here...

-- 
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: Nexus S,how to exchange ndef data via p2p.

2011-06-16 Thread Tommy
Hi Michael :
Thanks for your answer about npp.Now i got it.


Regards.
tommy.

-- 
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 in Searching a Location in Emulator using Google Map

2011-06-16 Thread gjs
Hi,

Are you always receiving an Address for your Search in -

Address x = foundAdresses.get(i);

?

Try outputting Address  location lat lon details returned to logcat
( yes you said you used Toast ).

Try sending valid 'hard coded' lat lon details ( that are different to
the currently shown map location ) to navigateToLocation() method to
make sure it is working ok...

Regards

On Jun 16, 2:25 pm, Md.Fazla Rabbi OPU md.fazlara...@gmail.com
wrote:
 If the message *Couldn't get connection factory client *is not a problem
 then why i don't get any output?







 On Thu, Jun 16, 2011 at 3:51 AM, TreKing treking...@gmail.com wrote:
  On Wed, Jun 15, 2011 at 6:03 AM, Md.Fazla Rabbi OPU 
  md.fazlara...@gmail.com wrote:

  But my problem is when i intend to search a location in the editbox and
  press the button there is no change in google map.

  Define there is no change.

  I have debugged but there show a message *Couldn't get connection
  factory client . *

  That message is always shown and apparently means nothing.

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

-- 
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 force close the app when using multiple activity

2011-06-16 Thread HariRam
How to quit the app or force close the app when multiple activity running in
background. I tried to give system.exit(0), but this will works only having
single activity. In my app i have 3 activity when i tried system.exit it
kills that particular activity and go back to previous activity. please
guide me to solve this..
-- 
Thanks and
Regards
Hariram

-- 
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 force close the app when using multiple activity

2011-06-16 Thread Dianne Hackborn
Why do you want to do this?  What are you trying to accomplish?  This is not
something normal for an application to do.

On Thu, Jun 16, 2011 at 12:47 AM, HariRam hariram1...@gmail.com wrote:


 How to quit the app or force close the app when multiple activity running
 in background. I tried to give system.exit(0), but this will works only
 having single activity. In my app i have 3 activity when i tried
 system.exit it kills that particular activity and go back to previous
 activity. please guide me to solve this..
 --
 Thanks and
 Regards
 Hariram

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




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

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

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Problem in Searching a Location in Emulator using Google Map

2011-06-16 Thread Md.Fazla Rabbi OPU
Yes I tried this already But no results. In the try block* *after this line:
* ListAddress foundAdresses = gc.getFromLocationName( addressInput, 5); *it
can't show any result though i use Logcat or Toast.

On Thu, Jun 16, 2011 at 1:39 PM, gjs garyjamessi...@gmail.com wrote:

 Hi,

 Are you always receiving an Address for your Search in -

 Address x = foundAdresses.get(i);

 ?

 Try outputting Address  location lat lon details returned to logcat
 ( yes you said you used Toast ).

 Try sending valid 'hard coded' lat lon details ( that are different to
 the currently shown map location ) to navigateToLocation() method to
 make sure it is working ok...

 Regards

 On Jun 16, 2:25 pm, Md.Fazla Rabbi OPU md.fazlara...@gmail.com
 wrote:
  If the message *Couldn't get connection factory client *is not a
 problem
  then why i don't get any output?
 
 
 
 
 
 
 
  On Thu, Jun 16, 2011 at 3:51 AM, TreKing treking...@gmail.com wrote:
   On Wed, Jun 15, 2011 at 6:03 AM, Md.Fazla Rabbi OPU 
   md.fazlara...@gmail.com wrote:
 
   But my problem is when i intend to search a location in the editbox
 and
   press the button there is no change in google map.
 
   Define there is no change.
 
   I have debugged but there show a message *Couldn't get connection
   factory client . *
 
   That message is always shown and apparently means nothing.
 
  
 ---
 --
   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

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


-- 
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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread Raghav Sood
I did but I didn't understand it clearly. Thanks.

On 6/16/11, String sterling.ud...@googlemail.com wrote:
 On Thursday, June 16, 2011 6:57:36 AM UTC+1, Gheter wrote:

 String:- The logcat out put is:

 And did you read it?

 ERROR/Launcher(210): Launcher does not have the
 permission to launch Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER] flg=0x1020
 cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN
 intent-filter for the corresponding activity or use the exported
 attribute for this activity. tag=ApplicationInfo(title=Quaker)
 intent=Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER] flg=0x1020
 cmp=com.raghavsood.quaker/.Quaker }

 Just like it says, sounds like you're missing the required launcher intent
 in your manifest.
 http://developer.android.com/guide/topics/intents/intents-filters.html#ccases

 ERROR/Launcher(210): java.lang.SecurityException:
 Permission Denial: starting Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER] flg=0x1020
 cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
 210:com.android.launcher/10017} (pid=210, uid=10017) requires
 android.permission.INTERNET

 Again with the manifest, you need to ask for permission to access the
 internet.
 http://developer.android.com/guide/topics/security/security.html#permissions

 Generally, it's a good idea to read the error messages you get. :^)

 String



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


-- 
Raghav Sood
http://www.raghavsood.com/
http://www.androidappcheck.com/
http://www.telstop.tel/

-- 
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: Strange exception

2011-06-16 Thread Felix Garcia Lainez
Really i got more crash logs of this type this morning. The case is
that this is the most frequent crash we have got on the application
(we released 2 days ago) and i would like to address it. My crash log
implementation is a subclass of UncaughtExceptionHandler, in which i
override this method public void uncaughtException(Thread t, Throwable
e) , reporting the exceptions to one of our servers.

Really the problem is that i don't know what is wrong.. It seems it is
crashing android process, but i can't figure out what could be the
reason as i don't see any line of our application...

Any ideas?

Thanks!

On this exception

On 16 jun, 04:08, TreKing treking...@gmail.com wrote:
 On Wed, Jun 15, 2011 at 7:23 PM, Felix Garcia Lainez 

 fgarcialai...@gmail.com wrote:
  I would like to know how to handle this kind of exceptions in which
  there is not any reference to my application code, and in particular
  what could have generated this one...

 Those are tricky - if it's rare (these are the only two reports you've ever
 gotten) then just ignore it. It's not worth the trouble.
 If it's frequent, then I would recommend a custom bug-reporting solution
 like ACRA that lets you include more information to track down bugs, like
 your own internal logs.

 --- 
 --
 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: jar files of packages for android.git.kernel.org applications

2011-06-16 Thread Anu
Hmm... you are trying to build core applications in Eclipse(Which is
difficult)
You need to have those jar files for those packages (Ex:
org.javia.arity...).
Follow proceedure in http://source.android.com/source/initializing.html
on your linux machine.
Build apps and run on emulator
Good luck !!!


On Jun 15, 11:42 am, Lakshya eleksh...@gmail.com wrote:
 Hi,
 I am new to android. I downloaded most of the packages for
 applications from android.git.kernel, such as calculator,
 Calender,Phone,Telephony provider etc...

  But I am not able to execute them in my android workspace. Most of
 the applications showing some imported packages not available error--
 such as for calculator application  import
 org.javia.arity.SyntaxException;, import org.javia.arity.Symbols;
 etc.. . For TelephonyProvider  import
 android.provider.Telephony.Sms;,
 import android.provider.Telephony.Threads;, import
 android.provider.Telephony.MmsSms.PendingMessages; etc...

 Like this for most of the packages downloaded have errors. I tried to
 get the jar files for these packages and classes. But it is not
 available. I  saw the class files for Symbols and SyntaxException
 classes. But when tried to copy the class files into my project it
 again showing errors.

 Can anybody help me to solve this issues, such as for getting  the jar
 files or how can remove errors ?

 Expecting hear from you soon

 Regards
 Lakshya

-- 
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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread Kostya Vasilyev
Raghav,

Move permission INTERNET from inside activity to be directly inside
manifest and rename it to uses-permission.

Wrong:

manifest
application
activity
permission INTERNET



Right:

manifest
 application
 activity . /activity
 /application
 uses-permission INTERNET
/manifest

-- Kostya

2011/6/16 Raghav Sood raghavs...@gmail.com

 I did but I didn't understand it clearly. Thanks.

 On 6/16/11, String sterling.ud...@googlemail.com wrote:
  On Thursday, June 16, 2011 6:57:36 AM UTC+1, Gheter wrote:
 
  String:- The logcat out put is:
 
  And did you read it?
 
  ERROR/Launcher(210): Launcher does not have the
  permission to launch Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN
  intent-filter for the corresponding activity or use the exported
  attribute for this activity. tag=ApplicationInfo(title=Quaker)
  intent=Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker }
 
  Just like it says, sounds like you're missing the required launcher
 intent
  in your manifest.
 
 http://developer.android.com/guide/topics/intents/intents-filters.html#ccases
 
  ERROR/Launcher(210): java.lang.SecurityException:
  Permission Denial: starting Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
  210:com.android.launcher/10017} (pid=210, uid=10017) requires
  android.permission.INTERNET
 
  Again with the manifest, you need to ask for permission to access the
  internet.
 
 http://developer.android.com/guide/topics/security/security.html#permissions
 
  Generally, it's a good idea to read the error messages you get. :^)
 
  String
 


-- 
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: Camera bitmap too small

2011-06-16 Thread Fina Perez

Hi!

If you are using the same intent and if you dont specify any new place
to save the pictures, they will be automatically saved by default in
the same place that the camera usually uses and they will appear
automatically in the gallery app, so you dont need to do anything
special. About the permissions, to use the camera you need this: uses-
permission android:name=android.permission.CAMERA /, and I think
that's all. Let me know if you have any problem.



On Jun 15, 7:08 pm, J Handal jhand...@gmail.com wrote:
  Hi Fina,

 I'm using t also he built-in camera app in my Xoom,tryng to store the
 picture in  the
 AppGallery that comes by default.

 same intent  :

 new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);

 Something to with permissions?

 THX

-- 
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 store places on google maps?

2011-06-16 Thread danhpc
Thanks, TreKing
I'm till find out the solution. Good luck to me. :)

Regards,
D

On Jun 15, 9:43 pm, TreKing treking...@gmail.com wrote:
 I'm sorry but it doesn't seem like any of this has anything to do with
 Android specifically.

 -
 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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread Raghav Sood
Okay now my manifest reads as follows:

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.raghavsood.quaker
  android:versionCode=1
  android:versionName=1.0
permission android:name=android.permission.INTERNET /
uses-sdk android:minSdkVersion=8 /

application android:icon=@drawable/icon
android:label=@string/app_name
android:permission=android.permission.INTERNET
activity android:name=.Quaker
  android:label=@string/app_name
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity

/application
/manifest

Yet the problem persists. Any ideas? Logcat output is the same without
the internet permission problem. As far as I can see my manifest has
the required intents and code. Any ideas?



On 6/16/11, Raghav Sood raghavs...@gmail.com wrote:
 I did but I didn't understand it clearly. Thanks.

 On 6/16/11, String sterling.ud...@googlemail.com wrote:
 On Thursday, June 16, 2011 6:57:36 AM UTC+1, Gheter wrote:

 String:- The logcat out put is:

 And did you read it?

 ERROR/Launcher(210): Launcher does not have the
 permission to launch Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER] flg=0x1020
 cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN
 intent-filter for the corresponding activity or use the exported
 attribute for this activity. tag=ApplicationInfo(title=Quaker)
 intent=Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER] flg=0x1020
 cmp=com.raghavsood.quaker/.Quaker }

 Just like it says, sounds like you're missing the required launcher
 intent
 in your manifest.
 http://developer.android.com/guide/topics/intents/intents-filters.html#ccases

 ERROR/Launcher(210): java.lang.SecurityException:
 Permission Denial: starting Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER] flg=0x1020
 cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
 210:com.android.launcher/10017} (pid=210, uid=10017) requires
 android.permission.INTERNET

 Again with the manifest, you need to ask for permission to access the
 internet.
 http://developer.android.com/guide/topics/security/security.html#permissions

 Generally, it's a good idea to read the error messages you get. :^)

 String



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


 --
 Raghav Sood
 http://www.raghavsood.com/
 http://www.androidappcheck.com/
 http://www.telstop.tel/



-- 
Raghav Sood
http://www.raghavsood.com/
http://www.androidappcheck.com/
http://www.telstop.tel/

-- 
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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread Raghav Sood
I tried what kostya said but now the app doesn't even compile.

On 6/16/11, Raghav Sood raghavs...@gmail.com wrote:
 Okay now my manifest reads as follows:

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
   package=com.raghavsood.quaker
   android:versionCode=1
   android:versionName=1.0
 permission android:name=android.permission.INTERNET /
 uses-sdk android:minSdkVersion=8 /

 application android:icon=@drawable/icon
 android:label=@string/app_name
 android:permission=android.permission.INTERNET
 activity android:name=.Quaker
   android:label=@string/app_name
 intent-filter
 action android:name=android.intent.action.MAIN /
 category android:name=android.intent.category.LAUNCHER
 /
 /intent-filter
 /activity
   
 /application
 /manifest

 Yet the problem persists. Any ideas? Logcat output is the same without
 the internet permission problem. As far as I can see my manifest has
 the required intents and code. Any ideas?



 On 6/16/11, Raghav Sood raghavs...@gmail.com wrote:
 I did but I didn't understand it clearly. Thanks.

 On 6/16/11, String sterling.ud...@googlemail.com wrote:
 On Thursday, June 16, 2011 6:57:36 AM UTC+1, Gheter wrote:

 String:- The logcat out put is:

 And did you read it?

 ERROR/Launcher(210): Launcher does not have the
 permission to launch Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER] flg=0x1020
 cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN
 intent-filter for the corresponding activity or use the exported
 attribute for this activity. tag=ApplicationInfo(title=Quaker)
 intent=Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER] flg=0x1020
 cmp=com.raghavsood.quaker/.Quaker }

 Just like it says, sounds like you're missing the required launcher
 intent
 in your manifest.
 http://developer.android.com/guide/topics/intents/intents-filters.html#ccases

 ERROR/Launcher(210): java.lang.SecurityException:
 Permission Denial: starting Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER] flg=0x1020
 cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
 210:com.android.launcher/10017} (pid=210, uid=10017) requires
 android.permission.INTERNET

 Again with the manifest, you need to ask for permission to access the
 internet.
 http://developer.android.com/guide/topics/security/security.html#permissions

 Generally, it's a good idea to read the error messages you get. :^)

 String



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


 --
 Raghav Sood
 http://www.raghavsood.com/
 http://www.androidappcheck.com/
 http://www.telstop.tel/



 --
 Raghav Sood
 http://www.raghavsood.com/
 http://www.androidappcheck.com/
 http://www.telstop.tel/



-- 
Raghav Sood
http://www.raghavsood.com/
http://www.androidappcheck.com/
http://www.telstop.tel/

-- 
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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread Kostya Vasilyev
No, your manifest is still wrong.

1 - Change permission to uses-permission inside manifest

2 - Remove android:permission=android.permission.INTERNET from
application

BTW, what prompted you to put 'permission' inside application? Is there a
tutorial somewhere?

-- Kostya

2011/6/16 Raghav Sood raghavs...@gmail.com

 Okay now my manifest reads as follows:

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.raghavsood.quaker
  android:versionCode=1
  android:versionName=1.0
permission android:name=android.permission.INTERNET /
uses-sdk android:minSdkVersion=8 /

application android:icon=@drawable/icon
 android:label=@string/app_name
 android:permission=android.permission.INTERNET
activity android:name=.Quaker
  android:label=@string/app_name
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity

/application
 /manifest

 Yet the problem persists. Any ideas? Logcat output is the same without
 the internet permission problem. As far as I can see my manifest has
 the required intents and code. Any ideas?



 On 6/16/11, Raghav Sood raghavs...@gmail.com wrote:
  I did but I didn't understand it clearly. Thanks.
 
  On 6/16/11, String sterling.ud...@googlemail.com wrote:
  On Thursday, June 16, 2011 6:57:36 AM UTC+1, Gheter wrote:
 
  String:- The logcat out put is:
 
  And did you read it?
 
  ERROR/Launcher(210): Launcher does not have the
  permission to launch Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN
  intent-filter for the corresponding activity or use the exported
  attribute for this activity. tag=ApplicationInfo(title=Quaker)
  intent=Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker }
 
  Just like it says, sounds like you're missing the required launcher
  intent
  in your manifest.
 
 http://developer.android.com/guide/topics/intents/intents-filters.html#ccases
 
  ERROR/Launcher(210): java.lang.SecurityException:
  Permission Denial: starting Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
  210:com.android.launcher/10017} (pid=210, uid=10017) requires
  android.permission.INTERNET
 
  Again with the manifest, you need to ask for permission to access the
  internet.
 
 http://developer.android.com/guide/topics/security/security.html#permissions
 
  Generally, it's a good idea to read the error messages you get. :^)
 
  String
 
 
 
  --
  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
 
 
  --
  Raghav Sood
  http://www.raghavsood.com/
  http://www.androidappcheck.com/
  http://www.telstop.tel/
 


 --
 Raghav Sood
 http://www.raghavsood.com/
 http://www.androidappcheck.com/
 http://www.telstop.tel/

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


-- 
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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread νιנαソkum
 application android:icon=@drawable/icon
android:label=@string/app_

 name
 android:permission=android.permission.INTERNET


android:permission=android.

 permission.INTERNET


why u added this line here ?


On Thu, Jun 16, 2011 at 1:55 PM, Raghav Sood raghavs...@gmail.com wrote:

 Okay now my manifest reads as follows:

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.raghavsood.quaker
  android:versionCode=1
  android:versionName=1.0
permission android:name=android.permission.INTERNET /
uses-sdk android:minSdkVersion=8 /

application android:icon=@drawable/icon
 android:label=@string/app_name
 android:permission=android.permission.INTERNET
activity android:name=.Quaker
  android:label=@string/app_name
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity

/application
 /manifest

 Yet the problem persists. Any ideas? Logcat output is the same without
 the internet permission problem. As far as I can see my manifest has
 the required intents and code. Any ideas?



 On 6/16/11, Raghav Sood raghavs...@gmail.com wrote:
  I did but I didn't understand it clearly. Thanks.
 
  On 6/16/11, String sterling.ud...@googlemail.com wrote:
  On Thursday, June 16, 2011 6:57:36 AM UTC+1, Gheter wrote:
 
  String:- The logcat out put is:
 
  And did you read it?
 
  ERROR/Launcher(210): Launcher does not have the
  permission to launch Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN
  intent-filter for the corresponding activity or use the exported
  attribute for this activity. tag=ApplicationInfo(title=Quaker)
  intent=Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker }
 
  Just like it says, sounds like you're missing the required launcher
  intent
  in your manifest.
 
 http://developer.android.com/guide/topics/intents/intents-filters.html#ccases
 
  ERROR/Launcher(210): java.lang.SecurityException:
  Permission Denial: starting Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
  210:com.android.launcher/10017} (pid=210, uid=10017) requires
  android.permission.INTERNET
 
  Again with the manifest, you need to ask for permission to access the
  internet.
 
 http://developer.android.com/guide/topics/security/security.html#permissions
 
  Generally, it's a good idea to read the error messages you get. :^)
 
  String
 
 
 
  --
  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
 
 
  --
  Raghav Sood
  http://www.raghavsood.com/
  http://www.androidappcheck.com/
  http://www.telstop.tel/
 


 --
 Raghav Sood
 http://www.raghavsood.com/
 http://www.androidappcheck.com/
 http://www.telstop.tel/

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




-- 




Nobody can go back and start a new beginning, but anyone can start today
and make a new ending
-
Thanks,
Regards,
νιנαソαkum@r M
BloG:http://iamvijayakumar.blogspot.com/
Mob.No:09048382536(Kerala)
Mob.No:09751076707(TN)

-- 
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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread Raghav Sood
No tutorial but I used the same thing in a knots and crosses app of
mine and it seemed to work. Kostya's suggestion worked perfectly.

Thanks a lot

On 6/16/11, νιנαソkum@r iamvijayaku...@gmail.com wrote:
  application android:icon=@drawable/icon
 android:label=@string/app_

 name
 android:permission=android.permission.INTERNET


 android:permission=android.

 permission.INTERNET


 why u added this line here ?


 On Thu, Jun 16, 2011 at 1:55 PM, Raghav Sood raghavs...@gmail.com wrote:

 Okay now my manifest reads as follows:

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=com.raghavsood.quaker
  android:versionCode=1
  android:versionName=1.0
permission android:name=android.permission.INTERNET /
uses-sdk android:minSdkVersion=8 /

application android:icon=@drawable/icon
 android:label=@string/app_name
 android:permission=android.permission.INTERNET
activity android:name=.Quaker
  android:label=@string/app_name
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER
 /
/intent-filter
/activity

/application
 /manifest

 Yet the problem persists. Any ideas? Logcat output is the same without
 the internet permission problem. As far as I can see my manifest has
 the required intents and code. Any ideas?



 On 6/16/11, Raghav Sood raghavs...@gmail.com wrote:
  I did but I didn't understand it clearly. Thanks.
 
  On 6/16/11, String sterling.ud...@googlemail.com wrote:
  On Thursday, June 16, 2011 6:57:36 AM UTC+1, Gheter wrote:
 
  String:- The logcat out put is:
 
  And did you read it?
 
  ERROR/Launcher(210): Launcher does not have the
  permission to launch Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN
  intent-filter for the corresponding activity or use the exported
  attribute for this activity. tag=ApplicationInfo(title=Quaker)
  intent=Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker }
 
  Just like it says, sounds like you're missing the required launcher
  intent
  in your manifest.
 
 http://developer.android.com/guide/topics/intents/intents-filters.html#ccases
 
  ERROR/Launcher(210): java.lang.SecurityException:
  Permission Denial: starting Intent { act=android.intent.action.MAIN
  cat=[android.intent.category.LAUNCHER] flg=0x1020
  cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
  210:com.android.launcher/10017} (pid=210, uid=10017) requires
  android.permission.INTERNET
 
  Again with the manifest, you need to ask for permission to access the
  internet.
 
 http://developer.android.com/guide/topics/security/security.html#permissions
 
  Generally, it's a good idea to read the error messages you get. :^)
 
  String
 
 
 
  --
  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
 
 
  --
  Raghav Sood
  http://www.raghavsood.com/
  http://www.androidappcheck.com/
  http://www.telstop.tel/
 


 --
 Raghav Sood
 http://www.raghavsood.com/
 http://www.androidappcheck.com/
 http://www.telstop.tel/

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




 --




 Nobody can go back and start a new beginning, but anyone can start today
 and make a new ending
 -
 Thanks,
 Regards,
 νιנαソαkum@r M
 BloG:http://iamvijayakumar.blogspot.com/
 Mob.No:09048382536(Kerala)
 Mob.No:09751076707(TN)

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


-- 
Raghav Sood
http://www.raghavsood.com/
http://www.androidappcheck.com/
http://www.telstop.tel/

-- 
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] How to make A2DP connection automatically

2011-06-16 Thread SREEHARI
Hi,

I am trying to develop an application, in which my phone will act as
the A2DP source and my PC with UBUNTU and bluetooth connection acts as
A2DP sink. It is getting connected when I tried manually and I am able
to listen the song played from phone in PC speakers. I want to make
this A2DP connection (programatically) from my application. Please see
the below code snippet I have tried.

private static final UUID MY_UUID =
UUID.fromString(110A--1000-8000-00805F9B34FB);
btSocket = device.createRfcommSocketToServiceRecord(MY_UUID);
btSocket.connect();

But the connection is not getting established. I dont know the method
I tried is correct or not.

Thanks in advance,
Sreehari

-- 
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: Camera bitmap too small

2011-06-16 Thread Fina Perez

Hi!

If you are using the same intent and if you dont specify any new place
to save the pictures, they will be automatically saved by default in
the same place that the camera usually uses and they will appear
automatically in the gallery app, so you dont need to do anything
special. About the permissions, to use the camera you need this: uses-
permission android:name=android.permission.CAMERA /, and I think
that's all. Let me know if you have any problem.



On Jun 15, 7:08 pm, J Handal jhand...@gmail.com wrote:
  Hi Fina,

 I'm using t also he built-in camera app in my Xoom,tryng to store the
 picture in  the
 AppGallery that comes by default.

 same intent  :

 new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);

 Something to with permissions?

 THX

-- 
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: App Widget considerations when enabling installLocation in manifest

2011-06-16 Thread Marcin Orlowski
You could also consider separating widget from main app. having two apks you
could allow sd card for main user and keep widget plugin app on main memory.
depending on what your widget shows it may be the way to go
On Jun 16, 2011 9:33 AM, Mark Carter mjc1...@googlemail.com wrote:
 I plan to show this message when the app detects it has been moved to the
SD
 card (i.e. the first time it runs after the event):

 Android automatically disables homescreen widgets for apps that have been

 moved to the SD card. If you would like to use widgets, then please move
 this app back to internal memory.

 There's a starting point. Feel free to improve it. If we can settle on
 something then maybe others can post translations here...

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

-- 
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] Problem with Handlers and Thread to change the UI.

2011-06-16 Thread Kostya Vasilyev
06-15 15:49:11.467: ERROR/AndroidRuntime(271):
*android.util.AndroidRuntimeException: { what=6 when=56421 } This message is
already in use.*
06-15 15:49:11.467: ERROR/AndroidRuntime(271): at
android.os.MessageQueue.enqueueMessage(MessageQueue.java:171)

*   message1 = Message.obtain();*

do{
SystemClock.sleep(sleep_time);
*handler1.sendMessage(message1);*

} while (!Thread.currentThread().isInterrupted());


Get a fresh message with obtain() every time you need one for sendMessage.

And I doubt you really need a Thread / Runnable / sleep() just to schedule
periodic tasks. Take a look at Handler.sendMessageDelayed.

-- Kostya

2011/6/15 andorid.italia giancarlo.capon...@gmail.com

 Hi to all.
 I've the following problem.I have an activity with two togglebutton :
 the first lets start a new thread that send messages to the main
 thread who care about them trought handlemessage(), and call thhe
 invalidate.
 The problem is that when I click on this firrst togglebutton, the
 animation starts, but when I re-click on it, I have the folloqing
 messaege on Logcat. Does anybody want to help me ??? THANKS

 LOGCAT ERROR when i Click on the toggle button and then reclick on
 it :

 06-15 15:49:11.067: DEBUG/onClick(271): Sono in onClick
 06-15 15:49:11.067: DEBUG/onClick(271): pulsante OFF premuto
 06-15 15:49:11.457: WARN/dalvikvm(271): threadid=7: thread exiting
 with uncaught exception (group=0x4001d800)
 06-15 15:49:11.467: ERROR/AndroidRuntime(271): FATAL EXCEPTION:
 Thread-8
 06-15 15:49:11.467: ERROR/AndroidRuntime(271):
 android.util.AndroidRuntimeException: { what=6 when=56421 } This
 message is already in use.
 06-15 15:49:11.467: ERROR/AndroidRuntime(271): at
 android.os.MessageQueue.enqueueMessage(MessageQueue.java:171)
 06-15 15:49:11.467: ERROR/AndroidRuntime(271): at
 android.os.Handler.sendMessageAtTime(Handler.java:457)
 06-15 15:49:11.467: ERROR/AndroidRuntime(271): at
 android.os.Handler.sendMessageDelayed(Handler.java:430)
 06-15 15:49:11.467: ERROR/AndroidRuntime(271): at
 android.os.Handler.sendMessage(Handler.java:367)


-- 
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] UUID in Bluetootht sample

2011-06-16 Thread wu mark
Dear Kris :

Thanks.

I use a Viewpad  Acer A500 to communicate through the bluetooth.

Mark

2011/6/15 Kristopher Micinski krismicin...@gmail.com

 Looks like you have the code right,  if you took it from the sample it
 should work.

 Just go through with eclipse, set a breakpoint on the line that catches the
 exception, and run your code.

 Again, what two phones are you running?

 Kris


 On Wed, Jun 15, 2011 at 3:23 AM, wu mark androidmark2...@gmail.comwrote:

 Dear Kris :

 Sorry, I'm a newer from android. Could you tell me how to see the text
 in the exception?
 What do you mean about the permission? Is it enough to add BLUETOOTH 
 BLUETOOTH_ADMIN in the AndroidMenifest.xml?

 Thanks.

 Best Regards,
 Mark

 PS. Could you give me an example code that can run?

   2011/6/15 Kristopher Micinski krismicin...@gmail.com

   Debug through and see what the text in the exception is. Maybe you
 didn't get ther right permission, that's a glaring reason

   On Jun 14, 2011 11:28 PM, wu mark androidmark2...@gmail.com wrote:

 Dear Kris:

  I found it failed on the below step. Could you find anything wrong?

 Thanks.

  // 連線等候執行緒
 private class ServerThread extends Thread {
  private final BluetoothServerSocket mmServerSocket;
  private final String ServiceName = BTServer;
  private final UUID MY_UUID =
 UUID.fromString(1101--1000-8000-00805F9B34FB);

  public ServerThread() {
   BluetoothServerSocket tmp = null;
   try {
tmp = BTAdapter.listenUsingRfcommWithServiceRecord(ServiceName,
 MY_UUID);
   } catch (IOException e) { }
   mmServerSocket = tmp;
   }

  2011/6/15 Kristopher Micinski krismicin...@gmail.com

  
  The UUIDs don't matter, they just have to be the same between your
 applications.
 
  If you copy...

   --

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




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

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


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


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


-- 
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: Strange exception

2011-06-16 Thread Yahel
Hi,

It can really be anything. Modded Rom, bad implementation by a few
manufacturer of some of the apis.

As Treking told you, in those case your best bet is to use your
uncaught exception mecanism to send yourself internal logs that you
generate for yourself. Not only the stacktrace but a detailed log of
whats happening in your app and that you can customise.

Store every action your user does, everything your app does  in an
Array.
Using a 16:29:12 Before action X, 16:29:15 During action X, 16:30
After action x protocol.

And when your app crashes, send this array in your report. You'll then
see the chronology of events and maybe you'll catch the culprit that
kills your app.

My two cents : Most not in my code bugs are generated on objects
creation (eg. AudioBuffer audioB = new AudioBuffer(); ). So be sure to
put a log line just before and a log line just after any of those.

Long and tedious...Yes...Efficient...Yes :D

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: How to force close the app when using multiple activity

2011-06-16 Thread Droid
The back button will take user to a non-finished activity - normal
behavior.
The home button should not leave an activity visible, but if you have
a non-ui thread still running then that could bring an activity back
to view.
I kill naughty threads in carefully thought out life cycle methods and
cancel thread methods.

But if you finish(); an activity when going to the next, then it
should not cone back to view unless you start it again with an intent.


On Jun 16, 8:47 am, HariRam hariram1...@gmail.com wrote:
 How to quit the app or force close the app when multiple activity running in
 background. I tried to give system.exit(0), but this will works only having
 single activity. In my app i have 3 activity when i tried system.exit it
 kills that particular activity and go back to previous activity. please
 guide me to solve this..
 --
 Thanks and
 Regards
 Hariram

-- 
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: inflate Vs intent

2011-06-16 Thread Droid

I think fragments can do that, but I have not got my head around them
yet.
Also, I have never changed 'part' of a layout just on its own without
redrawing all of it. Sorry I am not much help.



On Jun 16, 2:46 am, New Developer secur...@isscp.com wrote:
 create a simple layout.xml  with a Button and TextEdit

 Then call that layout using  intent  and  then call the same layout using 
 inflate
 and see the difference.

 Droid if you avoid inflate,  is there a way to call intent, but only use part 
 of the screen
 by that I mean I have a home page layout which has a framelayout as part of 
 the screen
 how can I use intent and fill just the framelayout with the new intent's 
 layout ?

 at present I only know that intent will change the whole screen.

 So
 Main layout.xml
 
 |  layout      |    layout 2                    |
 |      1          |                                       |
 |                  |-|
 |                  |  layout 3                      |
 |                  |                                      |
 

 I just want to fill layout 3  with other layouts  using intent,  is this 
 possible ??

 thanks in advance

 On Jun 15, 2011, at 8:00 PM, Dianne Hackborn wrote:



  My head is now exploding.  This discussion makes no sense at all. :p

  On Wed, Jun 15, 2011 at 3:34 PM, Droid rod...@gmail.com wrote:
  Yes, I noticed that inflate code has not so many attributes as in xml
  layout files.
  I generally avoid inflate for the reasons you stated. Not really sure
  what is going on behind the scenes.

  On Jun 15, 6:39 pm, New Developer secur...@isscp.com wrote:
   Thanks

   my OnCreate()  has nothing in it.
   The only thing different is the method of calling the exact same  layout
   1) using intent        and        2) using inflate

   The intent appears normal   the  the inflate appears transparent  even
   when the button is clicked, or text is select the  original highlight 
   color Orange is  gray  under  inflate.

   Thanks

   On Jun 15, 2011, at 10:47 AM, Marcin Orlowski wrote:

You do not run the layout. You do not call it nor call it with the 
intent. All you now comparing is bit nonsense as it is intent sent to 
your application vs inflating xml file. Not much comparable. Check your 
code in activity's onCreate() for anything extra you do there or check 
your code around inflate() to see if you do not miss anything you do in 
onCreate().

Regards,
Marcin Orlowski

Tray Agenda - keep you daily schedule handy...
Date In Tray - current date at glance...
WebnetMobile on Facebook and Twitter

On 15 June 2011 16:33, New Developer secur...@isscp.com wrote:
I have a layout with a button and EditText  fields

IF I call the layout using  intent
intent.setClass(getApplicationContext(), eedsClientActivity.class...
startActivity(

The Buttons have a light gray background neat black text
and the EditText a white background

IF I call the layout using  inflate
inflate.inflate(R.layout.client_single,    parent);

The Buttons have a dull gray background , Large white text
and the EditText appear transparent, almost see through background 
slightly grayish

Why the Difference  it is the same .xml layout ??

What additionally is called By intent  that inflate does not call ?

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

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

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

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

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

  --
  You 

Re: [android-developers] Re: App Widget considerations when enabling installLocation in manifest

2011-06-16 Thread Mark Carter
Yes, I have considered that and may well end up taking that route. It's
messy though, whether it's a separate app in the Market or an APK downloaded
from my server (or even bundled as an asset in the main app).

Also the separation means you have to handle the scenario where the widget
app is an earlier version than the main app and vice versa. Much more
difficult to test unless the internal APIs (e.g. ContentProviders) are
particularly mature.

On 16 June 2011 17:24, Marcin Orlowski webnet.andr...@gmail.com wrote:

 You could also consider separating widget from main app. having two apks
 you could allow sd card for main user and keep widget plugin app on main
 memory. depending on what your widget shows it may be the way to go
 On Jun 16, 2011 9:33 AM, Mark Carter mjc1...@googlemail.com wrote:
  I plan to show this message when the app detects it has been moved to the
 SD
  card (i.e. the first time it runs after the event):
 
  Android automatically disables homescreen widgets for apps that have
 been
  moved to the SD card. If you would like to use widgets, then please move
  this app back to internal memory.
 
  There's a starting point. Feel free to improve it. If we can settle on
  something then maybe others can post translations here...
 
  --
  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

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


-- 
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: Cannot handle exception in a thread

2011-06-16 Thread Droid
Thanks to Murphy M for the solution to my problem. It worked like a
charm.

On Jun 14, 12:10 pm, Mark Murphy mmur...@commonsware.com wrote:
 Use runOnUiThread() around your code in the catch block, to have that
 stuff be done on the main application thread.





 On Tue, Jun 14, 2011 at 6:40 AM, Droid rod...@gmail.com wrote:
  I am spinning a thread to go online and get data. But if phone is in a
  network hole (no signal) it throws an exception.
  In the exception I try to call Toast or finish() the activity but both
  those cause a crash.

  Here's the error and my code:
   error is:
  06-14 11:32:01.691: ERROR/AndroidRuntime(7389):
  java.lang.RuntimeException: Can't create handler inside thread that
  has not called Looper.prepare()

  here is the code, note the catch clause at the end which is where my
  problem lies:

  *** 
  **
     private Thread checkUpdate = new Thread() {
         public void run() {
             try {
                 URL updateURL = new URL(http://search.twitter.com/
  search.json?q=+string_from_speaker);
                 URLConnection conn = updateURL.openConnection();
                 ...
             } catch (Exception e) {
  // none of these exception handlers work becaue they are in wrong
  thread!! WTF?
  // NOPE tv1.setText( having trouble getting online); // TODO
  // NOPE Toast.makeText(IconicAgain.this, having trouble getting
  online + e, Toast.LENGTH_LONG).show();
             }
         }
     };
  *** 
  *

  Can I at least stop this thread somehow? Or close the activity
  somehow?

  --
  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/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android Training in NYC:http://marakana.com/training/android/

-- 
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: how to get event by broadcast receiver when application installed first time?

2011-06-16 Thread Hitendrasinh Gohil
is there any other way that i can get broadcast after application
installed?.
my application doesnt has any activity.


On Wed, Jun 15, 2011 at 11:33 PM, Zsolt Vasvari zvasv...@gmail.com wrote:

 Cannot.

 On Jun 16, 2:04 pm, Hitendrasinh Gohil hitendra.virtuei...@gmail.com
 wrote:
  Hi,
 
  I m just trying to get event through broadcast receiver when
  application installed firsttime.
 
  Here is my broadcastreceiver class.
  public class LaunchReceiver extends BroadcastReceiver
  {
  public static final String TAG=LaunchReceiver;
 
  @Override
  public void onReceive(Context context, Intent intent)
  {
  Log.i(TAG,..OnReceive.);
 
  if(intent.getAction().equals(android.intent.action.PACKAGE_INSTALL))
  {
 
 Log.i(TAG,..OnReceive.);
  }
  }
 
  }
 
  Here is my manifest.
  ?xml version=1.0 encoding=utf-8?
  manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.android.back
android:versionCode=1
android:versionName=1.0
  application android:icon=@drawable/icon android:label=@string/
  app_name
  service android:name=BackgroundService
 android:enabled=true/
  service
  receiver android:name=.LaunchReceiver
  intent-filter
  action android:name=android.intent.action.PACKAGE_INSTALL/
  action
  action android:name=android.intent.action.CALL/action
  action
 android:name=android.intent.action.PACKAGE_ADDED/action
  /intent-filter
  /receiver
 
  /application
  uses-sdk android:minSdkVersion=4 /
 
  /manifest
 
  I m not getting broadcast on any events.
 
  can anybody tell me what is the problem with this code?

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




-- 
Regards,
Hitendrasinh Gohil

-- 
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] Multiple routes in Android maps for Honeycomb.

2011-06-16 Thread maliha
Hi,

For my application I need to get all possible routes from a given
source and destination, like the Get Directions functionality for
google maps.
Calling the map apis, I am able to get one route but not all. I didn't
find documentation or tutorials, any help is appreciated.

Cheerio!
- Maliha.

-- 
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] Determine TextView Height

2011-06-16 Thread sahana uday
Hi,
How to compute TextView Height before its laid out on screen?

I'm not aware how we can use getPaint().ascent() or descent() method
for computing height?

Can you please provide an example??

Thanks,
Sahana

-- 
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: how to get event by broadcast receiver when application installed first time?

2011-06-16 Thread Mark Murphy
On Thu, Jun 16, 2011 at 6:39 AM, Hitendrasinh Gohil
hitendra.virtuei...@gmail.com wrote:
 is there any other way that i can get broadcast after application
 installed?.

No.

 my application doesnt has any activity.

Then add one. Users have repeatedly expressed their opinion that apps
without a launcher activity are broken, by giving such apps one-star
ratings on the Market and comments to match.

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

_The Busy Coder's Guide to *Advanced* Android Development_ Version
1.9.9 Available!

-- 
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] Multiple routes in Android maps for Honeycomb.

2011-06-16 Thread Mark Murphy
This has nothing whatsoever to do with Android. There are no route
methods in the Google Maps Add-on for Android.

On Thu, Jun 16, 2011 at 6:15 AM, maliha malihamari...@gmail.com wrote:
 Hi,

 For my application I need to get all possible routes from a given
 source and destination, like the Get Directions functionality for
 google maps.
 Calling the map apis, I am able to get one route but not all. I didn't
 find documentation or tutorials, any help is appreciated.

 Cheerio!
 - Maliha.

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

_The Busy Coder's Guide to *Advanced* Android Development_ Version
1.9.9 Available!

-- 
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: Strange exception

2011-06-16 Thread Felix Garcia Lainez
Yes, but really the problem is that the error could be in any place!!
If i have to set logs on application on each method start and end,
really would be crazy, no?

-- 
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: Dialog and Progress Dialog issues on Orientation Change

2011-06-16 Thread sahana uday
Hi,
Yes I'm sending the request to server in onCreateDialog(), but its an
AsyncTask.
In onPreExecute() show the progress dialog and onPostExecute() cancel
the progress dialog.

Off late I have another issue in computing textview height, I have
posted this issue on a separate thread also.
The issues is:
How to compute TextView Height before its laid out on screen?

I'm not aware how we can use getPaint().ascent() or descent()
method
for computing height?

Can you please provide an example

On Jun 6, 6:38 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
 Are you sending a request to the server in the implementation of the
 'onCreateDialog(...)' method? If so, this is not good. The onCreateDialog is
 called by the OS when the hosting activity is recreated due to a config
 change when a dialog is shown using the showDialog method (i.e. an
 activity-managed dialog). This is perfectly normal behavior.

 Call 'showDialog' just *after *you send an (asynchronous) request to the
 server and call 'dismissDialog' when the server returns a response. Usually,
 do not code anything in the onCreateDialog except for building an
 AlertDialog object.

-- 
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: Strange exception

2011-06-16 Thread Kostya Vasilyev
You might want to try and learn more about this exception.

Add information from Build globals (version and fingerprint) in your log.
Find a matching version of Android sources.

Another thing to log is the current stacks of all other threads, not just
the one crashing.

I know these suggestions aren't exactly a E-Z 3 Step Fix (tm), but given how
unclear the situation is in the first place, perhaps they're worth a try.

-- Kostya

2011/6/16 Felix Garcia Lainez fgarcialai...@gmail.com

 Yes, but really the problem is that the error could be in any place!!
 If i have to set logs on application on each method start and end,
 really would be crazy, no?

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


-- 
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: App Widget considerations when enabling installLocation in manifest

2011-06-16 Thread String
Here's mine, being used in several apps now:

[app name]'s widgets are currently disabled because it has been installed to 
SD card. To re-enable widgets, click App settings  Move to phone, then 
restart [app name].

Similar to yours, but I wanted to give (novice) users more explicit 
instructions on how to move the app off the SD card. Though there's a danger 
there too, because not all phones label that button the same way. Hopefully 
they'll get the gist.

String

-- 
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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread String
Did your naughts  crosses app access the 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

Re: [android-developers] Re: Application doesn't install but Icon comes in launcher

2011-06-16 Thread gaurav gupta
Hi Dude.
chk ur manifest file
u r using internet permission wrong.
use this line above the application tag. it will work ..
working in my Nexus. i only chage this.(Remove ur internet permission line
from application tag)
:)



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


On Thu, Jun 16, 2011 at 5:35 PM, String sterling.ud...@googlemail.comwrote:

 Did your naughts  crosses app access the 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


-- 
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: Strange exception

2011-06-16 Thread Yahel
 really would be crazy, no?

Crazy ? Yes ! Tedious ? Yes !

But you can probably narrow it down since it is raised by a TextView
ontouch event.

Have fun :)

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: Failed to register input channel?

2011-06-16 Thread Emanuel Moecklin
I got one too (also 2.3.3):

java.lang.RuntimeException: Failed to register input channel.  Check
logs for details.
at android.view.InputQueue.nativeRegisterInputChannel(Native Method)
at android.view.InputQueue.registerInputChannel(InputQueue.java:92)
at android.view.ViewRoot.setView(ViewRoot.java:572)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
at android.view.Window$LocalWindowManager.addView(Window.java:424)
at
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:
2174)
at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
1672)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:
935)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)

I'm not showing a toast or a progress dialog at that point of time. I
think it has to do with inflating and displaying a layout (regardless
of its type as regular activity layout, toast layout or dialog
layout).
But so far I have no clue what could have caused it let alone how to
fix it.

Cheers
Emanuel Moecklin
1gravity LLC

-- 
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] Heart Beat Counter

2011-06-16 Thread Harsh J
My heartbeat is rising cause this wasn't for an Android device and yet
the message was sent to its developers' list.

Anyhow…

On Thu, Jun 16, 2011 at 10:38 AM, Rohit Mishra rohitmishra...@yahoo.com wrote:

 Hello Friends,
 Greetings!!
 You see that someone special and your heart beat's wildly and your heart 
 rate goes up.

 You watch a horror movie in a theater and you feel that your heart rate has 
 gone up.
 Ever wished that you could measure your heart beat?
 We@Mobisy have come up with an app that will allow you to measure 
 it precisely and best of all its totally free :-)
 How it works:-This application measures oxygen saturation changes in your 
 blood. On every heartbeat your blood becomes more oxygen rich, which causes a 
 slight change in the color of your skin. Camera in your mobile tracks that 
 change and calculates your heart rate.
 for more detail please visit http://www.mobisy.com/hbc.php
 Just click on the link below and share you heart beat WITH everyone:
 http://store.ovi.com/content/94260
 Recommended handset to play on Nokia 5800 Express music

 Rohit Mishra
 +91-9986478970
 Bangalore, India

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


--
Harsh J
http://harshj.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: Failed to register input channel?

2011-06-16 Thread Nikolay Elenkov
On Thu, Jun 16, 2011 at 10:08 PM, Emanuel Moecklin
1gravity...@gmail.com wrote:
 I got one too (also 2.3.3):


Just one? Lucky guy :) I found some suggestions that it might be a
problem with the home app people are using, but I'm getting
way to many of those exceptions, and most are on what appear
to be stock ROMs, so there must be something else going on.
It's consistently happening on 2.3.3 only.

-- 
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 find total no activate devices in wifi network ?

2011-06-16 Thread shubham patni
Hello to all,

Any one have idea how can find activate devices in the wifi network.

pls suggest.

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: Implementing Auto-Update of an Application

2011-06-16 Thread Jake Colman

William,

I'm sorry if I came across as an idiot.  But what I meant was where do I
found documentation of the unofficial Market API?  Do I have peruse
source code?  Have you protected yourself somehow against the
possibility that the API will not be available if/when a user updates
his phone to a newer version of the OS?

...Jake


 WF == William Ferguson william.ferguson...@gmail.com writes:

   WF Um, I'm not sure I can break it down any simpler. But I'll try.

   WF 1) On start up of your app use the unofficial Market API to find out
   WF the latest version of your app that has been published in the
   WF Market.

   WF 2) Compare that to the version that is running.

   WF 3) If the Market version is newer present the user with a dialog
   WF asking if they want to update.

   WF 4) If they don take them to your app in the Market.

   WF On Jun 16, 12:53 am, Jake Colman col...@ppllc.com wrote:
 WF == William Ferguson william.ferguson...@gmail.com writes:

   WF Alternatively, on start up use the (unofficial) Market API to
   WF check if there is a newer version of your app available and if
   WF there is present the user with a dialog offering to take them to
   WF the Market to update.

Can you provide some more details on this suggestion?

Thanks.

--
Jake Colman -- Android Tinkerer

   WF -- 
   WF You received this message because you are subscribed to the Google
   WF Groups Android Developers group.
   WF To post to this group, send email to android-developers@googlegroups.com
   WF To unsubscribe from this group, send email to
   WF android-developers+unsubscr...@googlegroups.com
   WF For more options, visit this group at
   WF http://groups.google.com/group/android-developers?hl=en

-- 
Jake Colman -- Android Tinkerer

-- 
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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread Raghav Sood
String:- Yes the knots and crosses app serves ads from admob and hence
uses the internet.

Gaurav:- Thanks but I have already fixed it. Appreciate your help though.


Thanks

On 6/16/11, gaurav gupta gaurav.gupta...@gmail.com wrote:
 m attaching working copy of Quaker.
 On Thu, Jun 16, 2011 at 6:13 PM, gaurav gupta
 gaurav.gupta...@gmail.comwrote:

 Hi Dude.
 chk ur manifest file
 u r using internet permission wrong.
 use this line above the application tag. it will work ..
 working in my Nexus. i only chage this.(Remove ur internet permission line
 from application tag)
 :)

 

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


 On Thu, Jun 16, 2011 at 5:35 PM, String
 sterling.ud...@googlemail.comwrote:

 Did your naughts  crosses app access the 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




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


-- 
Raghav Sood
http://www.raghavsood.com/
http://www.androidappcheck.com/
http://www.telstop.tel/

-- 
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: Implementing Auto-Update of an Application

2011-06-16 Thread Kostya Vasilyev
http://code.google.com/p/android-market-api/

Putting a file with latest version number somewhere on your own server seems
easier to me - at the cost of having to update the file after each new
release. For a small number of applications it shouldn't really be a
problem.

-- Kostya

2011/6/16 Jake Colman col...@ppllc.com


 William,

 I'm sorry if I came across as an idiot.  But what I meant was where do I
 found documentation of the unofficial Market API?  Do I have peruse
 source code?  Have you protected yourself somehow against the
 possibility that the API will not be available if/when a user updates
 his phone to a newer version of the OS?

 ...Jake


  WF == William Ferguson william.ferguson...@gmail.com writes:

WF Um, I'm not sure I can break it down any simpler. But I'll try.

   WF 1) On start up of your app use the unofficial Market API to find out
   WF the latest version of your app that has been published in the
   WF Market.

   WF 2) Compare that to the version that is running.

   WF 3) If the Market version is newer present the user with a dialog
   WF asking if they want to update.

   WF 4) If they don take them to your app in the Market.

   WF On Jun 16, 12:53 am, Jake Colman col...@ppllc.com wrote:
 WF == William Ferguson william.ferguson...@gmail.com
 writes:
   
   WF Alternatively, on start up use the (unofficial) Market API to
   WF check if there is a newer version of your app available and if
   WF there is present the user with a dialog offering to take them
 to
   WF the Market to update.
   
Can you provide some more details on this suggestion?
   
Thanks.
   
--
Jake Colman -- Android Tinkerer

WF --
   WF You received this message because you are subscribed to the Google
   WF Groups Android Developers group.
   WF To post to this group, send email to
 android-developers@googlegroups.com
   WF To unsubscribe from this group, send email to
   WF android-developers+unsubscr...@googlegroups.com
   WF For more options, visit this group at
   WF http://groups.google.com/group/android-developers?hl=en

 --
 Jake Colman -- Android Tinkerer

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


-- 
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] Notification sound not continuous

2011-06-16 Thread Jyothi Amaranath
Hi,
I am using “notification.sound =
RingtoneManager.getDefaultUri(RingtoneManager.TYPE_ALARM)” for getting
notification sound
 and also i have set “notification.flags = notification.flags
|Notification.FLAG_INSISTENT”.
 But still the sound i am getting is not continuous. I am using Android 2.2.

If some one can help me in this i would be thankful as my app is waiting
only with this blocker.

--Thanks
 Jyothi

-- 
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] Lost my app's keystore file and want to update app??

2011-06-16 Thread Arpit Hada
I want to publish updated version of my app but I've lost certificate/
keystore file that I used while publishing the app's previous version.
Is there any way I can upload my updated app and send the notification
to it's active users?
Any help would be appreciated.
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] AndroidPlistParser

2011-06-16 Thread DID
 Hello,

I want to use Iphone plist files in my android apps i tried so
many task but still not found any solution if have anybody solution
then please tell me just simple example give in example
 One plist file
One class where the applying plist file
and one textview or listview where the set the value of plist

Please Help me As soon as possible i needs urgently..

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] Problem with localhost connection

2011-06-16 Thread shah dipen
Hello Guys,
I am new to android web development
I want to connect to IIs server running on my laptop to my android
phone
and want to access web pages hosted on my local host
Please help Me.

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] Re: Strange exception

2011-06-16 Thread BINESH DOBHAL


On Jun 16, 5:23 am, Felix Garcia Lainez fgarcialai...@gmail.com
wrote:
 Hi,

 I have received an exception on my application from a user that
 downloaded application from market. I know also that this user has a
 HTC Glacier with API Level 8. Also i received the same exception from
 other user. The problem is that i don't know how to find the place in
 which is generated.. I don't see any code line in the stacktrace of
 our application.

 I would like to know how to handle this kind of exceptions in which
 there is not any reference to my application code, and in particular
 what could have generated this one...

 java.lang.NullPointerException
         at android.widget.TextView.onTouchEvent(TextView.java:6896)
         at android.view.View.dispatchTouchEvent(View.java:3778)
         at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
         at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
         at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
         at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
         at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
         at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
         at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
         at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
         at com.android.internal.policy.impl.PhoneWindow
 $DecorView.superDispatchTouchEvent(PhoneWindow.java:1709)
         at
 com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:
 1117)
         at android.app.Dialog.dispatchTouchEvent(Dialog.java:642)
         at com.android.internal.policy.impl.PhoneWindow
 $DecorView.dispatchTouchEvent(PhoneWindow.java:1693)
         at android.view.ViewRoot.handleMessage(ViewRoot.java:1802)
         at android.os.Handler.dispatchMessage(Handler.java:99)
         at android.os.Looper.loop(Looper.java:143)
         at android.app.ActivityThread.main(ActivityThread.java:5097)
         at java.lang.reflect.Method.invokeNative(Native Method)
         at java.lang.reflect.Method.invoke(Method.java:521)
         at com.android.internal.os.ZygoteInit
 $MethodAndArgsCaller.run(ZygoteInit.java:868)
         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
         at dalvik.system.NativeStart.main(Native Method)

 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] How I can send a key event inside android service?

2011-06-16 Thread Antonio Manganelli
Hello,
how I can send a key event inside android service?

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

2011-06-16 Thread Ganesh VK
hi,

To create Gps Application in android you need to select the
androidversion with  googleApi.
and then you need check the GPS provider in your Application.

On Jun 16, 7:28 am, Peeyush Mandal mandal.peey...@gmail.com wrote:
 how to create gps application in android

-- 
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't read Calypso card (NfcB ISO 14443-3B)

2011-06-16 Thread Julien-François COLLIN
Hello,
I have 3 Calypso cards. I'm trying to read them, but I can't get an Intent
for discovering the Card. The Calypso technology is a proprietary protocol
implemented it top of the NFC Type B (ISO 14443-3B).
I have filtered intents for either NfcB or IsoDeep but I don't get any
Intent.
I wonder if it is related with this issue :
http://www.mail-archive.com/android-developers@googlegroups.com/msg148062.html
.

What I am doing wrong?
Maybe I should use private APIs to handle the connection to the card at a
lower level?

Thank you.

Julien-François COLLIN

-- 
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 Backup Transport unable to backup more than 5 MB data

2011-06-16 Thread Arun
Hi team,

I faced the below exception when trying to backup more than 5 MB of
data to Google Server using Google Backup Transport.
The error repeates after every 4-6 minutes when device is connected to
Internet.

06-16 01:55:52.055 E/BackupTransportService(  248): Server policy
rejection: com.google.android.backup.BackupRequestGenerator
$PolicyException: server error in app com.bmgr.conversations : code 1

06-16 01:55:52.905 W/BackupTransportService(  248): Error sending
final backup to server: java.io.IOException: Not ready to send network
request: [OperationScheduler: enabledState=true
lastSuccess=2011-06-16/01:55:52 moratoriumSet=2011-06-16/01:21:08
moratorium=1970-01-01/00:00:00]

06-16 01:55:52.915 W/PerformBackupThread(  248): Backup pass
unsuccessful, restaging

My application is trying to backup some images and videos to Google
Cloud storage using Google Backup Transport. But when the application
tries to backup more than 5 MB of data, the above exception is been
noticed.

-- 
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] CALL ,SMS,MMS and DATA developinig in Android application

2011-06-16 Thread Ganesh Vadlakonda
Hi friends,

  Iam new to  this  group.
I am developiong one application in android. that has implementation
regarding the call,sms,mms and data transfer.
will please help me how to use these concepts in android.



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] Issues: ‘appVersion’ is being reported as ‘null’ in Android device (MDN)

2011-06-16 Thread Chitra
Hi All,

Am getting Application version name (From manifest) by using
below code,
 PackageInfo packageInfo;
 try {
 packageInfo = 
getPackageManager().getPackageInfo(getPackageName(),
 0);
  String verName = packageInfo.versionName;
   int verCode = packageInfo.versionCode;
 } catch (NameNotFoundException e) {
 e.printStackTrace();
   String verName = Cannot load Version!;
 }

   If i check in my emulator/device its getting values. but one of
my client test with MDN, its returning 'null'  :'(

Let me know, If I need to change any thing regarding tht...

-- 
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 I get GPS fix?

2011-06-16 Thread Vladimir
No ideas? It's really bad..

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

2011-06-16 Thread jyothi
Dear All,

Thanks you your response..

But as u know an activity can have more than  one window..i wanted to
know how is the windowmanager managing those windows while trying to
switch from one window to another window.how it internally maintains
all the window states...

Thanks in advance

On Jun 15, 12:15 pm, »»»CodenameLxL««« lam281...@gmail.com wrote:
 Watching 3 parts of this video you will get 
 ithttp://developer.android.com/videos/index.html#v=QBGfUs9mQYY

 On Jun 14, 4:45 am, jyothi jyothi...@gmail.com wrote:

  Once the activities of different applications are launched and their
  windows are created, how does the WindowManger is able to manage those
  corresponding windows while trying to switch from one activity to
  another activity of different applications. Could please someone
  explain with regard to this.

  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] Any way Application Publisher get to know details on users who bought the application from Market?

2011-06-16 Thread vaidyanet
I am happy to know that Android now provides the LVL for the license
verification. How ever there so many discussions on the net over how
easily it can be breaked. So I was plannng to have the double check
over licensing. We have a cloud server which application communicates
to get some processing done. During this time, I was thinking of
verifying the registered users. So Any way publisher can query either
Android market or License server for the users who purchased
application though market? if so what details publisher can get?

Thanks in advance.
Sandeep

-- 
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] Problems streaming videos in Android 2.2

2011-06-16 Thread Kiview
When I try to stream a video file from my server on Android 2.2 (on
the Samsung Galaxy Tab) I get a -82 error, meaning Error returned
when the video container is not valid for progressive playback.

However, the same code works well vor Android 2.3 devices.

And streaming audio from the same server works on the Galaxy Tab as
well.

Is this a missing feature in Android 2.2? Is 2.2 not able to stream
videos (only audio) from a static ressource?
Or would there be a way to configure my server differently to provide
the functionality for 2.2 devices?

This is how the response header looks:

HTTP/1.0·200·OK(CR)(LF)
Server:·PasteWSGIServer/0.5·Python/2.6.5(CR)(LF)
Date:·Thu,·16·Jun·2011·12:52:11·GMT(CR)(LF)
Content-Type:·video/mp4(CR)(LF)
Accept-Ranges:·bytes(CR)(LF)
Last-Modified:·Wed,·15·Jun·2011·13:54:46·GMT(CR)(LF)
ETag:·1308146086.0-5923170(CR)(LF)
Content-Range:·bytes·0-5923169/5923170(CR)(LF)
Content-Length:·5923170(CR)(LF)
(CR)(LF)


Thx in advance
Kiview

-- 
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] Notification sound not continuous

2011-06-16 Thread Jyothi Amaranath
Hi,
I am using “notification.sound =
RingtoneManager.getDefaultUri(RingtoneManager.TYPE_ALARM)” for getting
notification sound
 and also i have set “notification.flags = notification.flags |
Notification.FLAG_INSISTENT”.
 But still the sound i am getting is not continuous. I am using
Android 2.2.

If some one can help me in this i would be thankful as my app is
waiting only with this blocker.

--Thanks
 Jyothi

-- 
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] [Android3.1]Can't find my worked mouse in UsbManager getDeviceList()

2011-06-16 Thread young40
I have a moto Xoom with Android 3.1, and a Thinkpad USB mouse.

I connect Xoom and the mouse, everything goes well, I got a cousor,
click, drag works.

I'm trying to List my USB devices with new APIs in Android 3.1.

some codes like:

UsbManager manager = (UsbManager)
getSystemService(Context.USB_SERVICE);

HashMapString, UsbDevice deviceList = manager.getDeviceList();
IteratorUsbDevice deviceIterator = 
deviceList.values().iterator();

Log.d(MyActivity, Devices Count: + deviceList.size() + );

while (deviceIterator.hasNext()) {
UsbDevice device = (UsbDevice) deviceIterator.next();

Log.d(MyActivity, getProductId: + 
device.getProductId() + );
}


I got Devices Count:0, when I connect my mouse to the Xoom. be
noticed, the mouse works.
and I got Device count:1, when I connect my SanDisk flash disk to
the Xoom, and ProductId of the disk too.
these codes works with my Netcore wireless USB card too.



Why I can't list my mouse with these codes, did I miss something
important??

thanks for your reply 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] Re: mysql connection using Ksoap2 API

2011-06-16 Thread Chandra Sekaran Ramasamy
I can access data from mysql database using ksoap, but i can face one
i can get one row response as string ..i can't access a group of rows
from mysql using ksoap its through an classcast exception

-- 
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] Bootloader, FOTA 2.3.3

2011-06-16 Thread James Maylen
Can we please have an update on the Bootloader, FOTA 2.3.3 issue, I
would like a working phone again!

Thanks

James

-- 
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] set/change Android emulator Phone Number

2011-06-16 Thread dynaaaaaaamic
Hi,

Tried many things but couldnt get any option for setting/changing the
Android Emulator phone number.

Please let me know if any one knows.

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] compile in NDK, 3rd party shared library linked error

2011-06-16 Thread 维江 郭
i m trying to build shared library named libbestv.so by ndk-build
this library uses functions from prebuilt shared library libbcti.so
and libbcti.a
i have tried 2 methods to build it but both are failed. call for help

first. my  Android.mk file likes this:

LOCAL_PATH:= $(call my-dir)

##

include $(CLEAR_VARS)
LOCAL_MODULE:= static-lib
LOCAL_SRC_FILES := libstaticbcti.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
include $(PREBUILT_STATIC_LIBRARY)

##

include $(CLEAR_VARS)
LOCAL_MODULE:= shared-lib
LOCAL_SRC_FILES := libsharedbcti.so
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
include $(PREBUILT_SHARED_LIBRARY)

##

include $(CLEAR_VARS)
LOCAL_MODULE := libbestv
LOCAL_SRC_FILES  := bcti_jni.c
LOCAL_STATIC_LIBRARY := static-lib
LOCAL_SHARED_LIBRARY := shared-lib
include $(BUILD_SHARED_LIBRARY)

##

the console displayed undefined reference error like this:
/home/apt/workspace/BCTI/obj/local/armeabi/objs/bestv/bcti_jni.o: In
function `Java_com_example_hellojni_HelloJni_bcti_open':
/home/apt/workspace/BCTI/jni/bcti_jni.c:2066: undefined reference to
`bcti_open'
/home/apt/workspace/BCTI/jni/bcti_jni.c:2070: undefined reference to
`bcti_getresult'
/home/apt/workspace/BCTI/jni/bcti_jni.c:2181: undefined reference to
`bcti_freeresult'


second. my  Android.mk file likes this:

LOCAL_PATH:= $(call my-dir)

##

include $(CLEAR_VARS)
LOCAL_MODULE:= static-lib
LOCAL_SRC_FILES := libstaticbcti.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
include $(PREBUILT_STATIC_LIBRARY)

##

include $(CLEAR_VARS)
LOCAL_MODULE:= shared-lib
LOCAL_SRC_FILES := libsharedbcti.so
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
include $(PREBUILT_SHARED_LIBRARY)

##

include $(CLEAR_VARS)
LOCAL_MODULE := libbestv
LOCAL_SRC_FILES  := bcti_jni.c
LOCAL_LDFLAGS:= $(LOCAL_PATH)/libstaticbcti.a
LOCAL_LDLIBS := $(LOCAL_PATH)/libsharedbcti.so
include $(BUILD_SHARED_LIBRARY)

##

the console displayed could not read symbols error like this:
/home/apt/CloudHost/besttv/JNI_Build/android-ndk-r5b/toolchains/arm-
linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-
androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: /home/apt/
workspace/BCTI/jni/libstaticbcti.a(bcti_service.o): Relocations in
generic ELF (EM: 3)
/home/apt/CloudHost/besttv/JNI_Build/android-ndk-r5b/toolchains/arm-
linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-
androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: /home/apt/
workspace/BCTI/jni/libstaticbcti.a(bcti_service.o): Relocations in
generic ELF (EM: 3)
/home/apt/workspace/BCTI/jni/libstaticbcti.a: could not read symbols:
File in wrong format
collect2: ld returned 1 exit status
make: *** [/home/apt/workspace/BCTI/obj/local/armeabi/libbestv.so] 错误
1

if i ignore LOCAL_LDFLAGS := $(LOCAL_PATH)/libstaticbcti.a  , the
console displayed like this:
/home/apt/workspace/BCTI/jni/libsharedbcti.so: could not read symbols:
File in wrong format
collect2: ld returned 1 exit status
make: *** [/home/apt/workspace/BCTI/obj/local/armeabi/libbestv.so] 错误 1

-- 
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] application not running

2011-06-16 Thread Parikshit Shekhawat
Hi all
  I am new to android and i have developed   application  fro
temperature conversion. When i run the program. lt launches the
virtual device bu as i take my cursor  on  VD it stops. can you
people  help me in this.

Thanks in advance.

parikshit singh shekhawat

-- 
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] want to know more about web services

2011-06-16 Thread Nasreen
Hi,

I m Nasreen Ustad, i want know more about Web Service, Xml Parsing,
plz send me some links and small demos related to web services.

Thank You

-- 
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] Radio App

2011-06-16 Thread Ruddee

Hi Guys,

I am looking for help with the build of a basic Internet Radio App
that plays back an internet Radio station from an IPhone,Blackberry
and Andriod, I will be very grateful if this can be developed for me.

I am running on a tight Budget at the moment but all I am looking for
is something quite basic as described above.

Any pointers will be helpful.

Thanks for your help in Advance

Rudde

-- 
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: Any way Application Publisher get to know details on users who bought the application from Market?

2011-06-16 Thread Zsolt Vasvari
Have you tried clicking on an order and see what it shows?

On Jun 16, 9:03 pm, vaidyanet vaidya...@gmail.com wrote:
 I am happy to know that Android now provides the LVL for the license
 verification. How ever there so many discussions on the net over how
 easily it can be breaked. So I was plannng to have the double check
 over licensing. We have a cloud server which application communicates
 to get some processing done. During this time, I was thinking of
 verifying the registered users. So Any way publisher can query either
 Android market or License server for the users who purchased
 application though market? if so what details publisher can get?

 Thanks in advance.
 Sandeep

-- 
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: Issues: ‘appVersion’ is being reported as ‘null’ in Android device (MDN)

2011-06-16 Thread Zsolt Vasvari
What is an MDN?  Microsoft Developer Network?

On Jun 16, 6:25 pm, Chitra chitramas...@gmail.com wrote:
 Hi All,

         Am getting Application version name (From manifest) by using
 below code,
                  PackageInfo packageInfo;
                  try {
                  packageInfo = 
 getPackageManager().getPackageInfo(getPackageName(),
                  0);
                   String verName = packageInfo.versionName;
                    int verCode = packageInfo.versionCode;
                  } catch (NameNotFoundException e) {
                  e.printStackTrace();
                    String verName = Cannot load Version!;
                  }

        If i check in my emulator/device its getting values. but one of
 my client test with MDN, its returning 'null'  :'(

 Let me know, If I need to change any thing regarding tht...

-- 
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] ListView - text straddling items

2011-06-16 Thread Zsolt Vasvari
I would like to put a small-font text between 2 line items of a
ListView.  Basically, I would like the top half of the text to be over
one list item and the bottom half to be over the other item.

I cannot think of a simple way of doing this, but can anyone even
think of a difficult 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


Re: [android-developers] application not running

2011-06-16 Thread sippy zenma
give your code

On Thu, Jun 16, 2011 at 3:50 PM, Parikshit Shekhawat 
tercetpariks...@gmail.com wrote:

 Hi all
  I am new to android and i have developed   application  fro
 temperature conversion. When i run the program. lt launches the
 virtual device bu as i take my cursor  on  VD it stops. can you
 people  help me in this.

 Thanks in advance.

 parikshit singh shekhawat

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

-- 
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: want to know more about web services

2011-06-16 Thread Zsolt Vasvari
Will get right to it  Give me about a month.

On Jun 16, 7:18 pm, Nasreen ustad.nasr...@gmail.com wrote:
 Hi,

 I m Nasreen Ustad, i want know more about Web Service, Xml Parsing,
 plz send me some links and small demos related to web services.

 Thank You

-- 
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: Implementing Auto-Update of an Application

2011-06-16 Thread Zsolt Vasvari
You can put that on Google AppEngine.

The very big drawback is that your application will suddenly require
the Internet permission.

On Jun 16, 9:38 pm, Kostya Vasilyev kmans...@gmail.com wrote:
 http://code.google.com/p/android-market-api/

 Putting a file with latest version number somewhere on your own server seems
 easier to me - at the cost of having to update the file after each new
 release. For a small number of applications it shouldn't really be a
 problem.

 -- Kostya

 2011/6/16 Jake Colman col...@ppllc.com





  William,

  I'm sorry if I came across as an idiot.  But what I meant was where do I
  found documentation of the unofficial Market API?  Do I have peruse
  source code?  Have you protected yourself somehow against the
  possibility that the API will not be available if/when a user updates
  his phone to a newer version of the OS?

  ...Jake

   WF == William Ferguson william.ferguson...@gmail.com writes:

     WF Um, I'm not sure I can break it down any simpler. But I'll try.

    WF 1) On start up of your app use the unofficial Market API to find out
    WF the latest version of your app that has been published in the
    WF Market.

    WF 2) Compare that to the version that is running.

    WF 3) If the Market version is newer present the user with a dialog
    WF asking if they want to update.

    WF 4) If they don take them to your app in the Market.

    WF On Jun 16, 12:53 am, Jake Colman col...@ppllc.com wrote:
      WF == William Ferguson william.ferguson...@gmail.com
  writes:

        WF Alternatively, on start up use the (unofficial) Market API to
        WF check if there is a newer version of your app available and if
        WF there is present the user with a dialog offering to take them
  to
        WF the Market to update.

     Can you provide some more details on this suggestion?

     Thanks.

     --
     Jake Colman -- Android Tinkerer

     WF --
    WF You received this message because you are subscribed to the Google
    WF Groups Android Developers group.
    WF To post to this group, send email to
  android-developers@googlegroups.com
    WF To unsubscribe from this group, send email to
    WF android-developers+unsubscr...@googlegroups.com
    WF For more options, visit this group at
    WFhttp://groups.google.com/group/android-developers?hl=en

  --
  Jake Colman -- Android Tinkerer

  --
  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- Hide quoted text -

 - Show quoted text -

-- 
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] ListView - text straddling items

2011-06-16 Thread Kostya Vasilyev
Paint half the text on one item, and the other half on the other, by using a
special view that would offset the text's position before drawing (so it's
clipped).

Other than that, use a special view type, just for the text, and have your
adapter inject them as necessary. You might put the standard list item
separator halfway down this special view.

-- Kostya
2011/6/16 Zsolt Vasvari zvasv...@gmail.com

 I would like to put a small-font text between 2 line items of a
 ListView.  Basically, I would like the top half of the text to be over
 one list item and the bottom half to be over the other item.

 I cannot think of a simple way of doing this, but can anyone even
 think of a difficult 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

-- 
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: multiple opengl context and shared textures

2011-06-16 Thread Paolo
UPDATE 2:

I've understand I have to create an EGLContext in the first rendering
thread and share it with the second one, as explained here
http://comments.gmane.org/gmane.comp.handhelds.android.devel/130165

But it isn't enough...

At this link 
http://groups.google.com/group/android-platform/browse_thread/thread/a9931ef61a5648c5
there is a topic where it is explained how to achieve texture sharing
(see the answer on 30th May), using EGLImage Object and
glEGLImageTargetTexture2DOES() function.
The second one is present in Android inside GLES11Ext class, but what
about the EGLImage... I can't find it anywhere.

It seems that Android provides an older EGL specs or simply a partial
EGL specs. Am I wrong?

In this case, is there any other way to achieve texture sharing?

Thanks in advance!

Paolo

On 15 Giu, 18:36, Paolo brand...@gmail.com wrote:
 UPDATE 1:

 I have been able to show two different GLsurfaceview showing one
 simple square for every surface with OpenGL and it works.
 Then I applied a texture on one square and it works.

 Now I'd like to share textures within the second square on the second
 GLSurfaceView, but it seems a bit complicated.

 Is there anyone who knows how to work it out?

 Here my code... it's bad code, but it just for testing...

 private static int id_text = -1; //id texture

 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
                 gl.glShadeModel(GL10.GL_SMOOTH);
                 gl.glClearColor(0, 0, 0, 0);

                 gl.glClearDepthf(1.0f);
                 gl.glEnable(GL10.GL_DEPTH_TEST);
                 gl.glDepthFunc(GL10.GL_LEQUAL);

                 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, 
 GL10.GL_NICEST);

                 //TEXTTURE
                 gl.glEnable(GL11.GL_TEXTURE_2D);

             // create vertex buffer for texture
             textureBuffer = setTextureVertex();

             //if I am the first glsurfaceview (it means texture
 sharing == false) I create my texture, otherwise i get the shared one.
             if(!textureSharing)
                 //id_text is the texture id generated, see below
 methods
                 id_text = GlRenderer.loadTexture(gl, context,
 R.drawable.texture);

             gl.glDisable(GL11.GL_TEXTURE_2D);

         }

         public void onDrawFrame(GL10 gl) {
                 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | 
 GL10.GL_DEPTH_BUFFER_BIT);

                 gl.glMatrixMode(GL10.GL_MODELVIEW);
                 gl.glLoadIdentity();

                 //if my texture id isn't generated yet, nop, else I
 use it do for drawing
                 if (id_text != -1) {
                         // draw quad
                         gl.glPushMatrix();
                         gl.glColor4f(1, 1, 1, 1);
                         // create texture
                         gl.glEnable(GL10.GL_TEXTURE_2D);
                         gl.glBindTexture(GL10.GL_TEXTURE_2D, id_text);

                         gl.glTranslatef(0, 0, -4f);

                         gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
                         gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);

                         gl.glVertexPointer(3, GL10.GL_FLOAT, 0, quadBuffer);
                         gl.glTexCoordPointer(2, GL11.GL_FLOAT, 0, 
 textureBuffer);
                         gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4);
                         gl.glDisableClientState(GL10.GL_VERTEX_ARRAY);

                         // Disable the vertices buffer.
                         gl.glDisableClientState(GL11.GL_VERTEX_ARRAY);
                         gl.glDisableClientState(GL11.GL_TEXTURE_COORD_ARRAY);

                         gl.glDisable(GL11.GL_TEXTURE_2D);
                         gl.glPopMatrix();
                 }
         }

         public void onSurfaceChanged(GL10 gl, int width, int height) {
                 // avoid division by zero
                 if (height == 0)
                         height = 1;

                 // draw on the entire screen
                 gl.glViewport(0, 0, width, height);
                 // setup projection matrix
                 gl.glMatrixMode(GL10.GL_PROJECTION);
                 gl.glLoadIdentity();
                 GLU.gluPerspective(gl, 45.0f, (float)width / (float)height, 
 1.0f,
 100.0f);
         }

         /*
          * Generate a new ID for texture
          */
         private static int newTextureID(GL10 gl) {
             int[] temp = new int[1];
             gl.glGenTextures(1, temp, 0);
             return temp[0];
         }

         /*
          * Load Texture
          */
         private static int loadTexture(GL10 gl, Context context, int
 resource) {

         int id = id_text;
         BitmapFactory.Options opts = new BitmapFactory.Options();
         opts.inScaled = false;
         Bitmap temp =
 BitmapFactory.decodeResource(context.getResources(), resource, opts);
         Bitmap texture = Bitmap.createBitmap(temp, 0, 0,
 temp.getWidth(), 

Re: [android-developers] Radio App

2011-06-16 Thread Daniel Drozdzewski
On Thu, Jun 16, 2011 at 12:22 PM, Ruddee ruy...@hotmail.com wrote:

 Hi Guys,

 I am looking for help with the build of a basic Internet Radio App
 that plays back an internet Radio station from an IPhone,Blackberry
 and Andriod, I will be very grateful if this can be developed for me.

I personally think, that you could easily ask for Facebook integration
in this app as well and do not hesitate to ask for very polished and
shiny design. There are plenty very talented people on this list just
waiting for such opportunity to develop applications for people, when
they are in need.

 I am running on a tight Budget at the moment but all I am looking for
 is something quite basic as described above.

Oh, applications playing internet radios for Android, IPhone and
Blackberry are the next step after Hello Worlds, so count your lucky
stars. They are as basic as they come and there will be plenty of them
around.

 Any pointers will be helpful.
 Thanks for your help in Advance

I would wish you good luck, but you will not need it.

Daniel

-- 
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] Want sample code for After playing songs when to make call

2011-06-16 Thread Bharathiraja R
Hi All,

I want to check while playing song want to make call and need to check
music is resuming.

please find my code below.

//scannedFiles is an ArrayList object as entire list of songs there in
phone.

playMusic(){
int val = randomMusic.nextInt(scannedFiles.size());
Uri data = Uri.parse(file://+
scannedFiles.get(val).getAbsolutePath());
intent.setDataAndType(data, audio/mp3);
startActivity(intent);
try {
 Thread.sleep(5000);
  makeCall();
} catch (InterruptedException e) {
  e.printStackTrace();
}}

makeCall(){
try {
Intent call = new Intent(Intent.ACTION_CALL);
call.setData(Uri.parse(tel:1234));
startActivity(call);
} catch (ActivityNotFoundException e) {
Log.e(MakeCall, +e.toString());
}
}

Music is playing and call is not initiating unless we focus phone
application by pressing back button.

if anyone know the solution
please help me out .

Regards,
Bharathiraja R

-- 
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 with localhost connection

2011-06-16 Thread Streets Of Boston
In your URLs on the phone or emulator, localhost or 127.0.0.1 resolve to the 
phone (or emulator) itself.
Instead, use 10.0.0.2 (i think this is the correct IP-address) for accessing 
the PC/Mac that your phone is connected to (your emulator is running on).

-- 
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] UUID in Bluetootht sample

2011-06-16 Thread Kristopher Micinski
Hrrm... and what did the exception tell you? The exception has a .text field
that will tell you why it fails. What did that say?

On Jun 16, 2011 5:46 AM, wu mark androidmark2...@gmail.com wrote:

Dear Kris :

Thanks.

I use a Viewpad  Acer A500 to communicate through the bluetooth.

Mark

2011/6/15 Kristopher Micinski krismicin...@gmail.com

 Looks like you have the code right,  if y...

-- 
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] compile in NDK, 3rd party shared library linked error

2011-06-16 Thread David Turner
You should post this to android-ndk instead.

Use LOCAL_STATIC_LIBRARIES instead of LOCAL_STATIC_LIBRARY
Similarly, LOCAL_SHARED_LIBRARIES instead of LOCAL_SHARED_LIBRARY

Hope this helps

2011/6/16 维江 郭 sawae...@gmail.com

 i m trying to build shared library named libbestv.so by ndk-build
 this library uses functions from prebuilt shared library libbcti.so
 and libbcti.a
 i have tried 2 methods to build it but both are failed. call for help

 first. my  Android.mk file likes this:

 LOCAL_PATH:= $(call my-dir)

 ##

 include $(CLEAR_VARS)
 LOCAL_MODULE:= static-lib
 LOCAL_SRC_FILES := libstaticbcti.a
 LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
 include $(PREBUILT_STATIC_LIBRARY)

 ##

 include $(CLEAR_VARS)
 LOCAL_MODULE:= shared-lib
 LOCAL_SRC_FILES := libsharedbcti.so
 LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
 include $(PREBUILT_SHARED_LIBRARY)

 ##

 include $(CLEAR_VARS)
 LOCAL_MODULE := libbestv
 LOCAL_SRC_FILES  := bcti_jni.c
 LOCAL_STATIC_LIBRARY := static-lib
 LOCAL_SHARED_LIBRARY := shared-lib
 include $(BUILD_SHARED_LIBRARY)

 ##

 the console displayed undefined reference error like this:
 /home/apt/workspace/BCTI/obj/local/armeabi/objs/bestv/bcti_jni.o: In
 function `Java_com_example_hellojni_HelloJni_bcti_open':
 /home/apt/workspace/BCTI/jni/bcti_jni.c:2066: undefined reference to
 `bcti_open'
 /home/apt/workspace/BCTI/jni/bcti_jni.c:2070: undefined reference to
 `bcti_getresult'
 /home/apt/workspace/BCTI/jni/bcti_jni.c:2181: undefined reference to
 `bcti_freeresult'


 
 second. my  Android.mk file likes this:

 LOCAL_PATH:= $(call my-dir)

 ##

 include $(CLEAR_VARS)
 LOCAL_MODULE:= static-lib
 LOCAL_SRC_FILES := libstaticbcti.a
 LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
 include $(PREBUILT_STATIC_LIBRARY)

 ##

 include $(CLEAR_VARS)
 LOCAL_MODULE:= shared-lib
 LOCAL_SRC_FILES := libsharedbcti.so
 LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
 include $(PREBUILT_SHARED_LIBRARY)

 ##

 include $(CLEAR_VARS)
 LOCAL_MODULE := libbestv
 LOCAL_SRC_FILES  := bcti_jni.c
 LOCAL_LDFLAGS:= $(LOCAL_PATH)/libstaticbcti.a
 LOCAL_LDLIBS := $(LOCAL_PATH)/libsharedbcti.so
 include $(BUILD_SHARED_LIBRARY)

 ##

 the console displayed could not read symbols error like this:
 /home/apt/CloudHost/besttv/JNI_Build/android-ndk-r5b/toolchains/arm-
 linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-
 androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: /home/apt/
 workspace/BCTI/jni/libstaticbcti.a(bcti_service.o): Relocations in
 generic ELF (EM: 3)
 /home/apt/CloudHost/besttv/JNI_Build/android-ndk-r5b/toolchains/arm-
 linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-
 androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: /home/apt/
 workspace/BCTI/jni/libstaticbcti.a(bcti_service.o): Relocations in
 generic ELF (EM: 3)
 /home/apt/workspace/BCTI/jni/libstaticbcti.a: could not read symbols:
 File in wrong format
 collect2: ld returned 1 exit status
 make: *** [/home/apt/workspace/BCTI/obj/local/armeabi/libbestv.so] 错误
 1

 if i ignore LOCAL_LDFLAGS := $(LOCAL_PATH)/libstaticbcti.a  , the
 console displayed like this:
 /home/apt/workspace/BCTI/jni/libsharedbcti.so: could not read symbols:
 File in wrong format
 collect2: ld returned 1 exit status
 make: *** [/home/apt/workspace/BCTI/obj/local/armeabi/libbestv.so] 错误 1

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


-- 
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] Problem in Searching a Location in Emulator using Google Map

2011-06-16 Thread TreKing
On Wed, Jun 15, 2011 at 11:25 PM, Md.Fazla Rabbi OPU 
md.fazlara...@gmail.com wrote:

 If the message *Couldn't get connection factory client *is not a problem
 then why i don't get any output


Presumably because you have another problem.

Yes I tried this already But no results. In the try block* *after this line:
 * ListAddress foundAdresses = gc.getFromLocationName( addressInput, 5);
 *it can't show any result though i use Logcat or Toast.


That sounds like the other 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] Passing Touch Event to Parent

2011-06-16 Thread zosq
I have a custom ViewSwitcher in which I implemented touch events so I
am able to scroll through screens using the touchscreen.

My layout hierarchy looks like this:

ViewSwitcher

LinearLayout
ListView /
/LinearLayout

LinearLayout
ListView /
/LinearLayout

/ViewSwitcher

Now, the problem is that the touch events are being consumed by the
ListViews and I am not able to switch the views. It works fine when I
don't have the ListViews. I need to be able to scroll through the
views and scroll the ListView. How do I solve this?

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


Re: [android-developers] debugging in eclipse and CONFIRM keyword???

2011-06-16 Thread Tor Norbye
The property sheet bug is a bug specific to Eclipse 3.6.2. In other
versions of Eclipse, it should just work, and in ADT 12 we've added a
workaround for 3.6.2 as well. You can download a preview build from
http://tools.android.com/download/ .

-- Tor

On Wed, Jun 15, 2011 at 9:23 PM, jesb budiat...@gmail.com wrote:
 Hello group,
 I'm a beginner in developing in android. I'm used to using visual
 studio for my IDE.

 here is a problem i'm having. When i launched an app in AVD, it keeps
 on forcing me to close. i tried to debug it using the debug feature in
 eclipse.

 i don't know if it's just me because i still know very little, or
 what. so far,  I find the debugging feature in eclipse when debugging
 android app. well, very useless.

 this is an example:
 i have a button, and i'm trying to create a listener for the button.

 i name the button id confirm (Id      @+id/confirm)

 i spent hours trying to debug my code, with no useful info from logcat
 or the debugger itself. maybe there is a feature in this book i'm
 using that i haven't gotten to yet.

 after 2 hours, i find out that if i change the button id to something
 else like confirm1 (Id        @+id/confirm1), everything works perfectly!!!
 if i change the id back to confirm, it forces close again when i run
 the app. I can only assume that confirm is somehow a reserved word,
 and the debugger didn't tell me that.

 is confirm really a RESERVED word??

 another thing that annoy me A LOT is the Properties tab. When i'm
 building a layout, there is no way i'm going to remember all the XML
 attributes for every form widgets. therefore, i rely a lot on the GUI
 and the Properties tab to set the value of my widgets(i.e setting the
 text value of my button, color of my background, etc).

 i could never get this to work. say that i have 4 buttons on a layout.
 and i need to see the properties of button 4. logically, this is what
 you would do:
 click on the properties tab, and click on button 4.

 this does NOT work. I have to do the following:
 - click properties tab
 - click button 4 (properties display doesn't change)
 - i need to click on some other tab, like console, or log cat
 - click on properties tab again
 - click on button 4 again. still the properties is not updating.
 - click on different tab again
 - click on properties again
 - click on button 4 again, and the view magically switch to some other
 tab(unpredictable which tab it will land on)
 - click on properties again
 - click on button 4 again.. BINGO. Now i can see the
 properties.

 AM I CRAZY or JUST DUMB

 can a more seasoned android developer tell me more about the problems
 i describe above?

 I would really appreciate any input.



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


-- 
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] New O'Reilly book for Motorola Xoom users

2011-06-16 Thread jacek
Please check out our eBook reader/bookstore for Honeycomb

https://market.android.com/details?id=com.ambrosoft.searchlib

In the featured section of the Bookstore you will find

Motorola Xoom: The Missing Manual by Preston Gralla.

eCarrel is a new, official digital distribution channel for O'Reilly,
specialized for developers.
BTW, the app itself was developed on the Xoom  :-)
It is funny to read a book about the Xoom on the Xoom itself.

-- 
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: App Widget considerations when enabling installLocation in manifest

2011-06-16 Thread Mark Carter
I wanted to make clear this was an Android limitation rather than something
specific to the app.

I'm guessing most users would have manually moved the app to SD so they know
where to go. But maybe that's not right if the installLocation is auto?

Maybe it's enough to include a button (in the dialog) that takes them to the
App details screen (i.e. where the Move to SD card button is) although I'm
not sure how this is done in 3.0+ (and it may not work for future SDK
levels).

On 16 June 2011 20:04, String sterling.ud...@googlemail.com wrote:

 Here's mine, being used in several apps now:

 [app name]'s widgets are currently disabled because it has been installed
 to SD card. To re-enable widgets, click App settings  Move to phone, then
 restart [app name].

 Similar to yours, but I wanted to give (novice) users more explicit
 instructions on how to move the app off the SD card. Though there's a danger
 there too, because not all phones label that button the same way. Hopefully
 they'll get the gist.

 String

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


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