[android-developers] Re: Sqlite and SimpleCursorAdapter

2010-04-05 Thread elham
Thank you for your help .

On Apr 1, 4:54 pm, Mark Murphy mmur...@commonsware.com wrote:
 elham wrote:
   Hello , I want to create a table whose primary key will  be some
  other field and not _id . The below table gets created but the value
  of _id remains null  :

  create table accounts (+BaseColumns._ID+ integer , profile_name
  text primary key
                      + name text not null);;

  My doubt is wont _id get auto incremented if we do not place
  +BaseColumns._ID integer primary key autoincrement+ .

  Kindly assist .

 You have two choices that I can see:

 1. Use integer primary key autoincrement and deal with the fact that you
 have two distinct primary keys

 2. Do not use CursorAdapter or its subclasses, but create your own
 Adapter that uses your own primary key

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

 _Beginning Android 2_ from Apress Now 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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: AudioTrack in streaming mode

2010-04-05 Thread ani
You can use audiomanager apis to do what you are trying to do...

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

To unsubscribe, reply using remove me as the subject.


[android-developers] virtual keyboard problem

2010-04-05 Thread rajesh chandrasekaran
Hi All,

I am new in android, i am having problem in Virtual Keyboard.

I am having text field. if user click the text field then virtual
keyboard need to appear. how to do this.

please help me

Thanks
C.Rajesh

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: virtual keyboard problem

2010-04-05 Thread Nithin

This is the default behaviour of Android. If user click on the
EditText, virtual keyboard will appear..

Nithin

On Apr 5, 11:52 am, rajesh chandrasekaran crajeshdanger...@gmail.com
wrote:
 Hi All,

 I am new in android, i am having problem in Virtual Keyboard.

 I am having text field. if user click the text field then virtual
 keyboard need to appear. how to do this.

 please help me

 Thanks
 C.Rajesh

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
why do you think i am not being serious?!

On Apr 4, 9:28 pm, ~ TreKing treking...@gmail.com wrote:
 On Sun, Apr 4, 2010 at 9:38 PM, HeHe cnm...@gmail.com wrote:
  my apk stills gets a *false* Config.DEBUG value.

 Are you being serious? Which part of Xavier's post did you not understand?

 So once again:

 On Sun, Apr 4, 2010 at 3:35 PM, Xavier Ducrohet x...@android.com wrote:
  If you are talking about
 http://d.android.com/reference/android/util/Config.html#DEBUGthen it's
  based on whether the device build is a debug build. It has nothing to do
  with your app.

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

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
i set debuggable flag in manifest.xml.

i launched my apk using Run Debug As menu cmd of Eclipse IDE.

could you or Xavier please elaborate what extra procedure (detailed
steps, please) i need to follow to get a true Config.DEBUG value?

thanks a lot!

On Apr 4, 9:28 pm, ~ TreKing treking...@gmail.com wrote:
 On Sun, Apr 4, 2010 at 9:38 PM, HeHe cnm...@gmail.com wrote:
  my apk stills gets a *false* Config.DEBUG value.

 Are you being serious? Which part of Xavier's post did you not understand?

 So once again:

 On Sun, Apr 4, 2010 at 3:35 PM, Xavier Ducrohet x...@android.com wrote:
  If you are talking about
 http://d.android.com/reference/android/util/Config.html#DEBUGthen it's
  based on whether the device build is a debug build. It has nothing to do
  with your app.

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

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Reusable Android library packaging: interest?

2010-04-05 Thread Bob Kerns
I've been holding off on replying to this only because I haven't fully
collected my thoughts. I hope to write up my recommendations for build
approaches, especially for free/paid apps, before really wrapping my
mind around it.

But since that's taking me a while, I thought I should chime in, yes,
I'm interested. Quite.

But one thought is that making this be a command may not be the best
approach for integration into build systems. I'm thinking that
packaging it as an ant macro in an antlib may be a better approach,
with the underlying technology being a .zip file with the various
pieces.

Then, if you feel the need for a command, you could create an ant
script, and simple shell scripts to invoke it.

This would leverage Ant's facilities (.zip files, file operations,
xslt to update the manifest, etc), give you platform independence, and
not require any software installation other than the antlib, since
people already need ant (even if they don't know it).

It's not that I'm a huge fan of ant. But it's adequate, and already a
part of the tool mix. And I see the primary endpoint being good
integration with building, and ant is a key part of that for most of
us.

It looks like this should mostly integrate cleanly with the build
approach I'm about to blog about. My approach, for production builds,
produces pristine clones of your hierarchy, so injecting into this
won't interfere with revision control systems or builds. However,
there are issues to work out about integration with Eclipse. Or
alternatively, we could inject into a project, and then check it in.
The problem here is that managing upgrading to a new revision of a
library becomes more problematic, as you need to consider unwinding
changes to the manifest, removing files no longer needed, etc.

Overall, I think it's cleaner to consider injection to be a build
step, rather than a project configuration step.

You also need to consider how to avoid and/or handle file name
conflicts.

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Remember Password

2010-04-05 Thread Chirayu Dalwadi
If user clicks on remember password than how  to remeber username and
password on client ?

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread Bob Kerns
TreKing -- He doesn't understand what a debug build is. The flag
indicates that the DEVICE, not your APPLICATION is a debug build.

HeHe -- That's why you can't get at it with Config.DEBUG -- you'd need
to reflash your device. You don't make this in Eclipse -- or at least
not using the SDK.

What you're really looking for is this:
http://developer.android.com/intl/de/reference/android/content/pm/ApplicationInfo.html#FLAG_DEBUGGABLE

Just  little misunderstanding...

On Apr 4, 9:28 pm, ~ TreKing treking...@gmail.com wrote:
 On Sun, Apr 4, 2010 at 9:38 PM, HeHe cnm...@gmail.com wrote:
  my apk stills gets a *false* Config.DEBUG value.

 Are you being serious? Which part of Xavier's post did you not understand?

 So once again:

 On Sun, Apr 4, 2010 at 3:35 PM, Xavier Ducrohet x...@android.com wrote:
  If you are talking about
 http://d.android.com/reference/android/util/Config.html#DEBUGthen it's
  based on whether the device build is a debug build. It has nothing to do
  with your app.

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

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Streaming of Wav Files using Native Player

2010-04-05 Thread Kamal Hasan
Hi,
Our application needs streaming of audio files.I have done with
streaming of mp3 files by calling the native player and passing the
url to it. Whereas the default player is not able to play the wav
format files from remote server.



The following code worked for mp3 files.

Intent intent = new
Intent(android.content.Intent.ACTION_VIEW);
Uri data = 
Uri.parse(http://myserverurl/voice.mp3;);
String type = audio/mp3;
intent.setDataAndType(data, type);
startActivity(intent)

I changed the mime type for wav format but it didn't worked

Intent intent = new
Intent(android.content.Intent.ACTION_VIEW);
Uri data = 
Uri.parse(http://myserverurl/voice.wav;);
String type = audio/wav;  // tried String 
type = audio/x-wav;
intent.setDataAndType(data, type);
startActivity(intent)

Anyone suggestions ?

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Behavior of Just In in Market

2010-04-05 Thread patbenatar
Makes perfect sense. Making it so all updates to apps show up at the
top of the list opens up a wide door for fraud--as in people posting
updates to their app on a daily basis simply to get it to the top of
the list and increase their presence [with or without any notable code
changes].



On Apr 4, 9:25 pm, ~ TreKing treking...@gmail.com wrote:
 On Sun, Apr 4, 2010 at 8:04 PM, Siva G sivarama...@gmail.com wrote:
  When I publish update to my app, sometimes, the app does not feature in the
  Just In. But sometimes it does too. Have anyone faced this issue?

 Your app will only show up in the Just In list if there's been some time
 since the last update (like or week or so I think). Otherwise people could
 bump their apps on a daily basis (if not sooner).

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

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-05 Thread patbenatar
A so sorry about taking this thread all off topic and what-not.. I
need to figure out how this works. I hit Reply to author for the
above email and for some reason it went straight to the whole group..
Seems like incorrect behavior considering there is a generic Reply
option as well...?



On Apr 4, 1:06 pm, patbenatar patbena...@gmail.com wrote:
 Phil-

 Meant to send this directly to you not post on the public group [sorry
 about going off-topic on your public discussion]!

 Whoa.. Had no idea about the official 2.1 update. I rooted and
 installed CM after the little snafoo a few weeks back with Motorola
 pushing off the update again.. Glad to hear 2.1 is now officially on
 the Droid!! Is it the complete Nexus One version? What features does
 it have/lack?

 -Nick

 On Apr 2, 8:20 pm, Phil tesujiga...@gmail.com wrote:



  patbenatar,

  Verizon started the rollout of 2.1 to Droid devices earlier this week.
  If it has been halted, it's news to me.

  On Apr 2, 10:30 pm,patbenatarpatbena...@gmail.com wrote:

   If you updated to 2.1, you must have root and have installed some
   custom ROM, correct? Motorola has not yet rolled out 2.1 updates [and
   from what I've been hearing they've put it on some sort of indefinite
   hiatus] so any version of 2.1 you're running is not OFFICIALLY built
   for Droid... Maybe the ROM is the reason for this behavior? What ROM
   are you running?

   On Apr 2, 6:16 pm, Emmanuel emmanuel.ast...@gmail.com wrote:

I think the Nexus One can't go above 30 FPS in OGL because of the
screen resolution :
It is fill limited

Emmanuelhttp://androidblogger.blogspot.com/http://www.alocaly.com/

On Apr 2, 9:55 pm, Ralf Schneider li...@gestaltgeber.com wrote:

 UUUhh!

 Does this mean the Nexus One would be faster if it would use 2.0.1?

 Is OpenGL affected, too? This would explain why it is nearly 
 impossible to
 reach 60FPS, even if only doing a glClear...

 ... There is so much idle time! Does Android 2.1 try to keep an upper 
 limit
 of 30 FPS to save battery?

 So, many questions!

 2010/4/2 MrChaz mrchazmob...@googlemail.com

  Wow that is a big difference in performance!

  On Apr 2, 6:29 pm, Phil tesujiga...@gmail.com wrote:
   I have observed a marked difference in frame rate of 2-D (Canvas)
   graphics following a 2.1 update on the Motorola Droid. Details are
   here:

  http://tesujigames.blogspot.com/2010/04/2-d-graphics-slowdown-after-m...

   Can anyone else corroborate this?  I have posted the code and an 
   apk
   in the above blog entry.

   Also, it would be interesting to know whether there is a 
   difference
   between manual and OTA updates.

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

  To unsubscribe, reply using remove me as the subject.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Moving a graphic on different screen sizes with the right ratio?

2010-04-05 Thread Bevor
Hello,

thanks for your answer. Using heightPixels is a good idea. With it I
could achieve my intent. I wonder if game developers would do that in
the same manner because on the bottom of the screen I have buttons.
These buttons have different heights on the different screen sizes
(small, normal, large) because of auto-scaling by Android. So if I
would use this method, I firstly have to know how much bigger are
these button in comparison to other screen sizes to calculate an
accurate value (And this is just an example with few elements.
Unimaginable what to do when there are a lot of elements which should
be aligned precisely).  That's why I think that my intent is not the
right to solve this kind of problems. But now I have an other idea.
Maybe I could use 3 different layouts for the 3 different sizes
(small, normal, large). I'm new to Android and I am not that familiar
with the possibilities yet. But I think that this solution would be
better?

Regards.

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: virtual keyboard problem

2010-04-05 Thread Kumar Bibek
This is a default behaviour in Portrait mode only when there is a
hardware keyboard.

If there is no physical keyboard, then the on screen keyboard should
show up in both orientations. This is a default behaviour and you
don't need to do anything special for it.

Make sure that you are using the EditText and it has focus, or it is
clicked.

Thanks and Regards,
Kumar Bibek

On Apr 5, 11:56 am, Nithin nithin.war...@gmail.com wrote:
 This is the default behaviour of Android. If user click on the
 EditText, virtual keyboard will appear..

 Nithin

 On Apr 5, 11:52 am, rajesh chandrasekaran crajeshdanger...@gmail.com
 wrote:

  Hi All,

  I am new in android, i am having problem in Virtual Keyboard.

  I am having text field. if user click the text field then virtual
  keyboard need to appear. how to do this.

  please help me

  Thanks
  C.Rajesh

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Remember Password

2010-04-05 Thread Kumar Bibek
Save the password somewhere in a file or preferences, ecrypted of
course.
And then retrieve it when you need it.

Thanks and Regards,
Kumar Bibek

On Apr 5, 12:23 pm, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote:
 If user clicks on remember password than how  to remeber username and
 password on client ?

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Multiple Listviews in single Activity?

2010-04-05 Thread Kumar Bibek
Get handles to all listviews and show/hide the list views by setting
the visibility to View.GONE or View.VISIBLE.

Thanks and Regards,
Kumar Bibek

On Apr 5, 10:11 am, javame_android su...@softwebsolutions.com wrote:
 Hi,

 I want to have multiple listviews in single activity. But only one
 listview should be displayed at one time. The listviews will be loaded
 dynamically. So, how can I fill all the four listviews at the same
 time and display only one.

 If anyone knows the solution then please share it over here.

 I hope to get a quick response.

 Thanks  Regards
 Sunil

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Splash Screen Appears only once

2010-04-05 Thread Kumar Bibek
Well, you cannot run two Activities simultaneously. When one Activity
is in the foreground, the next activity will be in paused/stop state.
Only when your foreground activity finishes, you background activity
will come alive.

Show your splash screen for 5 secs. Then start the next activity and
finish your flash activity.

Thanks and Regards,
Kumar Bibek

On Apr 5, 6:13 am, Dror520 dror...@gmail.com wrote:
 thanks for your answer! i figured it out it was actually my fault ...
 lol
 now i'm having a hard time figuring out how to start the mydeals
 activity but keep the splashscreen activity showing on the screen and
 when the mydeals activity is done move to that activity ...
 thanks!

 On Apr 3, 7:34 am, Kumar Bibek coomar@gmail.com wrote:

  Make sure that your onCreate method is called, and it is not resumed.
  You can put some Log statements to check this in your onCreate method.

  Thanks and Regards,
  Kumar Bibek

  On Mar 30, 3:45 am, Dror520 dror...@gmail.com wrote:

   Hey, i made a splash screen:
   public class SplashScreen extends Activity  {

           protected int splashTime = 2000;

           @Override
           public void onCreate(Bundle savedInstanceState) {
             super.onCreate(savedInstanceState);
             setContentView(R.layout.splash);
             new Handler().postDelayed(new Runnable(){
                 @Override
                 public void run() {
                     Intent intent = new Intent(SplashScreen.this, 
   MyDeals.class);
                     SplashScreen.this.startActivity(intent);
                 SplashScreen.this.finish();
                   }

             }, splashTime);

           }

   }

   AndroidMenifiest:

   activity android:name=.SplashScreen
                     android:theme=@android:style/Theme.NoTitleBar
                     android:screenOrientation=portrait
                   intent-filter
                   action android:name=android.intent.action.MAIN /
                    category
   android:name=android.intent.category.LAUNCHER /
               /intent-filter
               /activity
           activity android:name=.MyDeals
                     android:theme=@android:style/Theme.NoTitleBar
                     android:screenOrientation=portrait
                   intent-filter
                   action android:name=android.intent.action.DEFAULT/
                   category android:name=android.intent.catagory.VIEW /

               /intent-filter
           /activity

   it works the first time i put it on the device. but then when i kill
   the application so the application can start over i don't see it. it
   goes straight to the next activity MyDeals.

   can you please help me 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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Fastest and most reliable Location provider

2010-04-05 Thread patbenatar
Hey guys-

Thanks again for the feedback. My app has two reasons for knowing the
location: the first is to fetch data from a web API when the app
loads, this one does not need a super-accurate location fix as I'm
initially fetching a large enough radius of data to make any 10,000
meter error negligible. The second part is when the user selects a
spot on the map, it displays a Distance from you in miles, this one
I would like to be as accurate as possible [meaning if GPS is on, I
should be trying to get an update from it and hoping for one
eventually so this data is actually useful].

So when the app launches I'm killing updates after the first one
[regardless of whether its GPS or NETWORK] and using those coords to
fetch data. Then after the fetch I push to a new activity, turn back
on the listeners and hope GPS eventually gives me a fix.

John: you mention if the user is on WiFi, that doesn't take them off
the Network does it? That wouldn't make sense as the user would no
longer be able to make a call... Shouldn't the phone still be able to
triangulate based on cell towers even while on a WiFi network? Also,
you say I won't even know the availability of GPS for up to 30
seconds? So that means onStatusChanged() won't be fired, not even with
a TEMPORARILY_UNAVAILABLE, until up to 30 seconds at times? If this is
the case, I will definitely switch to your method of running them side-
by-side.

Bob: my app is localized to a few major metropolitan centers [and more
to come], but there's no real application for it in rural areas.

-Nick




On Apr 4, 1:26 pm, Bob Kerns r...@acm.org wrote:
 I should have said to opt for the simplest thing that actually works!
 Or, to put it another way, as simple as possible, but no simpler.

 (Neither phrase is mine, but I can't recall the correct attributions.)

 For the fastest result, I'd start off with both listeners. The network
 will nearly always win (unless you're off the grid), but the GPS won't
 start until you ask it to.

 However, even if you can't get a network fix, you MAY be able to get a
 GPS fix, eventually. It will certainly take longer in this case. I
 haven't tested it in a location far enough away from towers to not get
 any network fix at all, and it would vary by phone anyway, but in
 theory it should be possible.

 Handling this case may not be important. A long-delayed GPS fix may be
 useless, for example. So as Maps API Guru says, you'll have to decide.

 On Apr 4, 3:00 am, patbenatar patbena...@gmail.com wrote:



  Bob- You're absolutely right. The phone will continue to be a phone,
  so the Network listener really isn't an energy consumer as its always
  connected to towers. Great analysis, thanks! You say simplicity is
  probably the best approach here--my main goal is to get a location as
  fast as possible, whether it be network or GPS, then hope we can
  eventually get a GPS update, but without one it will be OK.. Do you
  think my approach will be just as fast as running two side-by-side
  listeners?

  Ning- This isn't really a concern for me as the lifetime of my app is
  not very long.. I couldn't imagine a user running my app in the
  foreground for a day or so as in your application.

  Thanks for all the feedback, you guys are great help!
  -Nick

  On Apr 3, 5:21 pm, Ning zeeg...@gmail.com wrote:

   On Apr 3, 2:39 am, patbenatar patbena...@gmail.com wrote:

Hey all who are interested in this topic-

I have taken John's above advice and modified it into what I believe
is a more efficient way to be doing this [although the efficiency of
my method is only evident if you're going to to ensure updates from
either provider throughout the life of your app]. Please let me know
your thoughts on this method:

Rather than running both listeners side-by-side as John suggested
above, I am first running a GPS listener and then within that
listener's onProviderDisabled and onStatusChanged [only if the status
is OUT_OF_SERVICE or TEMPORARILY_UNAVAILABLE] I am requesting updates
from a Network listener [and of course setting a networkOn=true flag
so I don't turn it on twice or anything]. Then the Network takes over
[while GPS listener remains running] until onStatusChanged() in the
GPS listener gets an AVAILABLE status at which point I turn off the
Network listener [and mark the flag accordingly] and allow the GPS to
do its thing.

   Apparently, my reply didn't go to the public list because I habitually
   hit 'a' when I tried to reply all in Google Groups, which does not do
   the job.

   I have been using this approach for a while. There are two problems
   with it. The first one is that GPS takes a while to get the first fix.
   The second one is power consumption. My program is set to get update
   every 5 minutes or 200 meters. After a day or so when I checked the
   battery usage, it had raised to the top of the list, consuming some
   30% of all power consumed during that period. 

[android-developers] Re: new service: link to android market from device and computer

2010-04-05 Thread patbenatar
So on the Web side, check the user_agent request header to determine
if the user is on Android and if so do a direct link to market, if not
display instructions to download on Market or an option to email?
Sounds about right...




On Apr 3, 8:18 am, ko5tik kpriblo...@yahoo.com wrote:
 Just send an external redirect with something like :
 market://search?q=pname:de.pribluda.games.android.colors
 (this link will install my game)

 You can also wrap it by URL shortener, and then you will get funny
 statistics

 regards,

 On Apr 3, 12:23 am,patbenatarpatbena...@gmail.com wrote:



  Awesome! Thanks much Rob! Bookmarking.

  Out of curiosity, how do you go about doing this programmatically on
  the Web server side?

  -Nick

  On Apr 1, 8:47 am, Rob rob.jon...@gmail.com wrote:

   Hi Folks,

   I just launched my app VLC Remote and was surprised to see that there
   isn't a way to post a link to the app on the market that works both on
   my android device and also in my browser.

   -so I made a way, and I'm opening it up for all-comers.

   What it does is lets you post an http link like this

  http://and-download.hobbyistsoftware.com/android/download?name=VLC
   Remoteq=pname:com.hobbyistsoftware.android.vlcremote

   If someone clicks on the link from an android device, then the link
   opens in the market. If they click from their computer, then it offers
   to send them a link by email (so they can click on the link on their
   device).

   the download emails have a (subtle) advert for my app, but the feature
   is clearly your app!

   details are here:http://and-download.hobbyistsoftware.com/

   I'm hoping this will be useful for people, so please use it anywhere
   you like.

   cheers,

   Rob

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Web Browser die when request cached geolocation position.

2010-04-05 Thread Kumar Bibek
Interesting log debuggerd committing suicide to free the zombie! 

You can report this as an issue. Seems to be a memory problem to be.

Thanks and Regards,
Kumar Bibek

On Apr 5, 8:09 am, oslim tobeapr...@gmail.com wrote:
    Does anyone know about this problem?

    When I run Browser and create new windows by press button menu key
 to
    menu-windows-press + New window from time to time Browser die.

    I have try to solve this problem but it doesn't works. If anyone
 know the solution
    please tell me.

     Android code version you are running: 2.1-update1

     Your development environment: Ubuntu

     Describe the problem:

     Steps to reproduce:
     1. Launch the Browser APK- It shows google.com page and
 geolocation position with blue light icon
     2. Press Menu button - select Windows- select + New window -
 creat new google.com page
     3. Do step 2 again, if i do this 3times or 4times then get Browser
 die at
         geolocation::requestReturnedCachedPosition(GeoNotifier*
 notifier);
     4. It only happen m_cachedPosition is true at
 Geolocation::GeoNotifier::timerFired(...);

     Expected results:
    It supposed to create newhttp://www.google.comwindow page and
 show geolocation position
    with blue icon under search text field in the page.

     Observed results:

     Additional information:
 I/DEBUG   ( 2763): *** *** *** *** *** *** *** *** *** *** *** *** ***
 *** *** ***
 I/DEBUG   ( 2763): Build fingerprint: '-/-/-/8x50:2.1-update1/-/-
 5.014234:eng/release-keys'
 I/DEBUG   ( 2763): pid: 2896, tid: 2915   com.android.browser 
 I/DEBUG   ( 2763): signal 11 (SIGSEGV), fault addr 006e007b
 I/DEBUG   ( 2763):  r0 00690075  r1 00690074  r2 6fe3db84  r3 6a0fc72c
 I/DEBUG   ( 2763):  r4 0062b8d8  r5 6a421750  r6 6a421750  r7 006e006f
 I/DEBUG   ( 2763):  r8 31d8dd90  r9 2db40f1c  10 2db40f04  fp 0032e000
 I/DEBUG   ( 2763):  ip 4258  sp 31d8dcc0  lr 6a0fc823  pc
 6a0fc73a  cpsr 0030
 I/DEBUG   ( 2763):          #00  pc 000fc73a  /system/lib/
 libwebcore.so
 I/DEBUG   ( 2763):          #01  pc 000fc81e  /system/lib/
 libwebcore.so
 I/DEBUG   ( 2763):          #02  pc 000faebe  /system/lib/
 libwebcore.so
 I/DEBUG   ( 2763):          #03  pc 0010ef7a  /system/lib/
 libwebcore.so
 I/DEBUG   ( 2763):
 I/DEBUG   ( 2763): code around pc:
 I/DEBUG   ( 2763): 6a0fc728 18eda300 460c4607 b1119103 1c486809
 I/DEBUG   ( 2763): 6a0fc738 68fe6020 f107b13e a903000c fe98f7fe
 I/DEBUG   ( 2763): 6a0fc748 bf181e06 a8032601 fe00f7fe f107b19e
 I/DEBUG   ( 2763):
 I/DEBUG   ( 2763): code around lr:
 I/DEBUG   ( 2763): 6a0fc810 e000f8d0 3008f8de 68604798 f7ff4621
 I/DEBUG   ( 2763): 6a0fc820 e023ff7f ad014813 46281831 f946f031
 I/DEBUG   ( 2763): 6a0fc830 462a2103 f7fe4668 4628fb9b f7129e00
 I/DEBUG   ( 2763):
 I/DEBUG   ( 2763): stack:
 I/DEBUG   ( 2763):     31d8dc80  31d8dca8
 I/DEBUG   ( 2763):     31d8dc84  31d8dca0
 I/DEBUG   ( 2763):     31d8dc88  31d8dcd4
 I/DEBUG   ( 2763):     31d8dc8c  6a10f799  /system/lib/libwebcore.so
 I/DEBUG   ( 2763):     31d8dc90  31d8dcb0
 I/DEBUG   ( 2763):     31d8dc94  00330ed8  [heap]
 I/DEBUG   ( 2763):     31d8dc98  6a421750  /system/lib/libwebcore.so
 I/DEBUG   ( 2763):     31d8dc9c  6a10ee25  /system/lib/libwebcore.so
 I/DEBUG   ( 2763):     31d8dca0  00330ed8  [heap]
 I/DEBUG   ( 2763):     31d8dca4  6a421750  /system/lib/libwebcore.so
 I/DEBUG   ( 2763):     31d8dca8  6a421750  /system/lib/libwebcore.so
 I/DEBUG   ( 2763):     31d8dcac  6a10f557  /system/lib/libwebcore.so
 I/DEBUG   ( 2763):     31d8dcb0  
 I/DEBUG   ( 2763):     31d8dcb4  006269d0  [heap]
 I/DEBUG   ( 2763):     31d8dcb8  df002777
 I/DEBUG   ( 2763):     31d8dcbc  e3a070ad
 I/DEBUG   ( 2763): #00 31d8dcc0  0001
 I/DEBUG   ( 2763):     31d8dcc4  006246e0  [heap]
 I/DEBUG   ( 2763):     31d8dcc8  0062b198  [heap]
 I/DEBUG   ( 2763):     31d8dccc  0062b8d8  [heap]
 I/DEBUG   ( 2763):     31d8dcd0  41d2ee51
 I/DEBUG   ( 2763):     31d8dcd4  0062b8d8  [heap]
 I/DEBUG   ( 2763):     31d8dcd8  00330ec8  [heap]
 I/DEBUG   ( 2763):     31d8dcdc  6a421750  /system/lib/libwebcore.so
 I/DEBUG   ( 2763):     31d8dce0  31d8dd54
 I/DEBUG   ( 2763):     31d8dce4  6a0fc823  /system/lib/libwebcore.so
 I/DEBUG   ( 2763): #01 31d8dce8  0062b8d8  [heap]
 I/DEBUG   ( 2763):     31d8dcec  0062b8f0  [heap]
 I/DEBUG   ( 2763):     31d8dcf0  0062b8f0  [heap]
 I/DEBUG   ( 2763):     31d8dcf4  00330ec8  [heap]
 I/DEBUG   ( 2763):     31d8dcf8  
 I/DEBUG   ( 2763):     31d8dcfc  6a0faec1  /system/lib/libwebcore.so
 E/copybit ( 1154): copyBits failed (Invalid argument)
 I/DEBUG   ( 2763): debuggerd committing suicide to free the zombie!
 I/ActivityManager( 1154): Process com.android.browser (pid 2896) has
 died.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For 

[android-developers] problem in large screen resolution

2010-04-05 Thread rajesh chandrasekaran
Hi all,

 In android, to support all the screen resolution, i have created
the layout, layout-small, layout-large folder in res folder, and i
have .xml file in all the folder.

 I can get the output in normal screen and small screen
resolution, but in large screen emulator i am getting the xml file in
normal folder.it is not reading the xml file in large screen emulator.

what will be the problem.

i am using Android 1.6


Please give the solution for it

Thanks
C.Rajesh

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: virtual keyboard problem

2010-04-05 Thread rajesh chandrasekaran
Hi Kumar Bibek,

  Thanks for your replay..

how to focus the editText

Thanks
C.Rajesh

On Apr 5, 12:47 pm, Kumar Bibek coomar@gmail.com wrote:
 This is a default behaviour in Portrait mode only when there is a
 hardware keyboard.

 If there is no physical keyboard, then the on screen keyboard should
 show up in both orientations. This is a default behaviour and you
 don't need to do anything special for it.

 Make sure that you are using the EditText and it has focus, or it is
 clicked.

 Thanks and Regards,
 Kumar Bibek

 On Apr 5, 11:56 am, Nithin nithin.war...@gmail.com wrote:

  This is the default behaviour of Android. If user click on the
  EditText, virtual keyboard will appear..

  Nithin

  On Apr 5, 11:52 am, rajesh chandrasekaran crajeshdanger...@gmail.com
  wrote:

   Hi All,

   I am new in android, i am having problem in Virtual Keyboard.

   I am having text field. if user click the text field then virtual
   keyboard need to appear. how to do this.

   please help me

   Thanks
   C.Rajesh

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: virtual keyboard problem

2010-04-05 Thread rajesh chandrasekaran
Hi Nithin,

  Thanks for your replay..

Thanks
C.Rajesh

On Apr 5, 11:56 am, Nithin nithin.war...@gmail.com wrote:
 This is the default behaviour of Android. If user click on the
 EditText, virtual keyboard will appear..

 Nithin

 On Apr 5, 11:52 am, rajesh chandrasekaran crajeshdanger...@gmail.com
 wrote:

  Hi All,

  I am new in android, i am having problem in Virtual Keyboard.

  I am having text field. if user click the text field then virtual
  keyboard need to appear. how to do this.

  please help me

  Thanks
  C.Rajesh

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Forcing the Symbols Soft Keyboard

2010-04-05 Thread Kumar Bibek
For your edit text, use this property.
android:inputType=number

This will pop up the keyboard with numbers only. But in this case you
will not be able to enter anything other than numbers.
Thanks and Regards,
Kumar Bibek


On Apr 5, 12:57 am, Nmix nepean...@gmail.com wrote:
 I have an EditText that specifies android:digits where all the
 specified characters are on the standard symbols soft keyboard.
 Unfortunately it seems that just using android:digits is enough to
 always cause the qwerty keyboard to pop up. Always having to press the
 123? key for that one EditText is a bit inconvenient for my users and,
 sad to say, it's a difficult concept for a few.

 Apart from writing up a custom IME, is there a way to force the
 symbols keyboard on an EditText? I did look around and even try a few
 things, but I'm now thinking this isn't possible. Hopefully I'm wrong.
 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

To unsubscribe, reply using remove me as the subject.


[android-developers] Not able to access the contact birthday events in Android 1.6

2010-04-05 Thread Girish
Hi,

Using Contact.Pepople.ContentUri, am able to access the all contact
details such as name, numbers, email, organisation details, postal
details etc But i didn't find any Uri or methods to access the
birthday and anniversary details of each contact. Please suggest me
how do we access the events details for Android 1.6 or below
versions?

Note: I am able to access the events details in Android 2.0 and above
version. ConatctContarct class provides the Event ContentItem to
access the birthday and anniversary details.


Thanks,
Girish G 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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: How to Launch Contact application displaying multiple phone numbers?

2010-04-05 Thread Girish
First fetch the _id of each contact and use that id in below URL to
fecth the all phone number of each contact.


//**Retrieve Phone Numbers*
Cursor numberCursor = context.getContentResolver().query
(Contacts.Phones.CONTENT_URI,
null,Contacts.ContactMethods.PERSON_ID+=\'+id+\',null,null);
//  prn(numberCount:: +numberCursor.getCount());
if(numberCursor.moveToFirst()){
do{

int phoneType =
numberCursor.getInt(numberCursor.getColumnIndex(Contacts.Phones.TYPE));
//  prn(Phone type:: +phoneType);

String phoneNumber =
numberCursor.getString(numberCursor.getColumnIndex(Contacts.Phones.NUMBER));

switch(phoneType)
{
  case Contacts.Phones.TYPE_HOME:
//prn(Phone No(Home));
  break;

  case Contacts.Phones.TYPE_MOBILE:
//prn(Phone No(Cell));
  break;

  case Contacts.Phones.TYPE_WORK:
//prn(Phone No(Work));
  break;

 case Contacts.Phones.TYPE_OTHER:
//prn(Phone No(Other));
  break;

 case Contacts.Phones.TYPE_CUSTOM:
  String
customLable=numberCursor.getString(numberCursor.getColumnIndex(Phones.LABEL));
  if(customLable != null){
//prn(Phone 
No(Custom):+customLable);
}
  break;

 case Contacts.Phones.TYPE_FAX_HOME:
//prn(Phone No(Fax Home));
  break;

 case Contacts.Phones.TYPE_FAX_WORK:
//prn(Phone No(Fax Work));
  break;

 case Contacts.Phones.TYPE_PAGER:
//prn(Phone No(Pager));
  break;
  }
 }while(numberCursor.moveToNext());
}
numberCursor.close();
numberCursor = null;

This code help you to access the Phone number. Try this.

All the best,
Girish GM

On Apr 4, 6:33 pm, AJ ajeet.invinci...@gmail.com wrote:
 Any clue please regarding my 2 problem

 Thanks
 AJ

 On Apr 3, 7:00 pm, AJ ajeet.invinci...@gmail.com wrote:



  Hi group

  Now I am able to insert 3 phone numbers.

  But There does not looks a way that How can I enter other phone
  numbers like :- Work Fax, Home Fax, Pager etc.

  Any clue please.

  Here is the code what I have done:-

1- How can I show multiple phone number [like Home, Mobile, Work etc]
when I am launching contact application. How can I do that?

  
  i.putExtra(ContactsContract.Intents.Insert.SECONDARY_PHONE,
  22);
  i.putExtra(ContactsContract.Intents.Insert.SECONDARY_PHONE_TYPE,ContactsCon­tract.CommonDataKinds.Phone.TYPE_HOME);

  i.putExtra(ContactsContract.Intents.Insert.TERTIARY_PHONE,  33);
  i.putExtra(ContactsContract.Intents.Insert.TERTIARY_PHONE_TYPE,ContactsCont­ract.CommonDataKinds.Phone.TYPE_WORK);

  --

  On Apr 3, 6:30 pm, AJ ajeet.invinci...@gmail.com wrote:

   Any clues from experts.

   - AJ

   On Apr 3, 3:51 pm, AJ ajeet.invinci...@gmail.com wrote:

Hi Group,

I am able to launch contact application from the following way. I am
also able to show Name and only one Phone number. My problem is :-

1- How can I show multiple phone number [like Home, Mobile, Work etc]
when I am launching contact application. How can I do that?
2- In Contact application there is one option *More*, which is an
expandable list. When I click that it open with other many fields like
Notes, Website, Nicknam etc. How can I fill those fields while
launching the Contact application?

My code is as follows :-

 Code

Intent intent = new Intent(Intent.ACTION_INSERT, People.CONTENT_URI);

intent.putExtra(Contacts.Intents.Insert.NAME, mFullName);

intent.putExtra(Contacts.Intents.Insert.PHONE, mPhoneMob);
intent.putExtra(Contacts.Intents.Insert.PHONE_TYPE,
Contacts.PhonesColumns.TYPE_MOBILE);
startActivity(intent);

[android-developers] Re: How to come back main activity from child activity

2010-04-05 Thread SREEHARI


I tried without using startActivitiForResult.but I tried to go
back from C to A on back button click.
I used startActivity only..If u want to come back to A from C on
clicking back button, give finish() inside onStop() of Activity B.

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Getting the amount of Audio data buffered in the device

2010-04-05 Thread KK
I am trying to write a streaming application. I have my own decoder
and I am playing PCM audio using AudioTrack. At any point in time I
want to know how much data is buffered with the device. I want to use
this so that if the data with the device go below a level, I want to
go into a buffering mode where I will buffer 2-3 seconds of data
before continuing playback again. Can someone please tell me how to do
this?

Thanks in advance
KK

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: How to Launch Contact application displaying multiple phone numbers?

2010-04-05 Thread Girish
Hi,

The above code is for 1.6 and below version, For Android 2.0 and above
version you have to follow the below code,
Cursor m_oCursor =
this.getConetentResolver.query(ContactsContract.Contacts.CONTENT_URI,
null, null, null, null);
String pid =
m_oCursor.getString(m_oCursor.getColumnIndex(ContactsContract.Contacts._ID));
prn(PID:+pid);

 //**Retrieve Phone Numbers*
Cursor phoneCur =
context.getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI,
null,

ContactsContract.CommonDataKinds.Phone.CONTACT_ID+=\'+pid+\',
null, null);
prn(Phone numbers count::+phoneCur.getCount());
if(phoneCur.moveToFirst()){
do{
int phoneType =
phoneCur.getInt(phoneCur.getColumnIndex(ContactsContract.CommonDataKinds.Phone.TYPE));
prn(Phone Type::+phoneType);
phoneType(phoneType);

String phoneNumber =
phoneCur.getString(phoneCur.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER));
prn(PhoneNumber::+phoneNumber);

}while(phoneCur.moveToNext());
}
phoneCur.close();
phoneCur = null;

Try this..

Best wishes,
Girish G M

On Apr 5, 2:37 pm, Girish girishg...@gmail.com wrote:
 First fetch the _id of each contact and use that id in below URL to
 fecth the all phone number of each contact.

 //**Retrieve Phone Numbers*
                 Cursor numberCursor = context.getContentResolver().query
 (Contacts.Phones.CONTENT_URI,
 null,Contacts.ContactMethods.PERSON_ID    +=\'+id+\',null,null);
 //              prn(numberCount:: +numberCursor.getCount());
                 if(numberCursor.moveToFirst()){
                         do{

                                 int phoneType =
 numberCursor.getInt(numberCursor.getColumnIndex(Contacts.Phones.TYPE));
 //                              prn(Phone type:: +phoneType);

                                 String phoneNumber =
 numberCursor.getString(numberCursor.getColumnIndex(Contacts.Phones.NUMBER))­;

                                 switch(phoneType)
                                         {
                                       case Contacts.Phones.TYPE_HOME:
 //                                        prn(Phone No(Home));
                                           break;

                                       case Contacts.Phones.TYPE_MOBILE:
 //                                    prn(Phone No(Cell));
                                       break;

                                       case Contacts.Phones.TYPE_WORK:
 //                                    prn(Phone No(Work));
                                       break;

                                      case Contacts.Phones.TYPE_OTHER:
 //                                    prn(Phone No(Other));
                                       break;

                                      case Contacts.Phones.TYPE_CUSTOM:
                                           String
 customLable=numberCursor.getString(numberCursor.getColumnIndex(Phones.LABEL­));
                                           if(customLable != null){
 //                                                prn(Phone 
 No(Custom):+customLable);
                                                             }
                                       break;

                                      case Contacts.Phones.TYPE_FAX_HOME:
 //                                    prn(Phone No(Fax Home));
                                       break;

                                      case Contacts.Phones.TYPE_FAX_WORK:
 //                                    prn(Phone No(Fax Work));
                                       break;

                                      case Contacts.Phones.TYPE_PAGER:
 //                                    prn(Phone No(Pager));
                                       break;
                               }
                      }while(numberCursor.moveToNext());
                 }
                 numberCursor.close();
                 numberCursor = null;

 This code help you to access the Phone number. Try this.

 All the best,
 Girish GM

 On Apr 4, 6:33 pm, AJ ajeet.invinci...@gmail.com wrote:



  Any clue please regarding my 2 problem

  Thanks
  AJ

  On Apr 3, 7:00 pm, AJ ajeet.invinci...@gmail.com wrote:

   Hi group

   Now I am able to insert 3 phone numbers.

   But There does not looks a way that How can I enter other phone
   numbers like :- Work Fax, Home Fax, Pager etc.

   Any clue please.

   Here is the code what I have done:-

 1- How can I show multiple phone number [like Home, Mobile, Work etc]
 when I am launching contact application. How can I do that?

   
   

[android-developers] Applying animation to all the items in the list at once

2010-04-05 Thread Sonic..
Hello,

I have a list view, wherein I need to apply an animation of sliding
the list items to the left in case of a horizontal fling. Now I need
to apply this animation to all the list items at once.

I tried Google it, and I believe I could use setLayoutAnimation for
each list item. and that animation will be applied when the list item
layout is first created or refreshed. But my problem is I wanted that
animation to be applied only to a particular layout for that list
item, and not the entire list item layout.

Can anyone guide me on how to apply animation to list items.

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Moving a graphic on different screen sizes with the right ratio?

2010-04-05 Thread Yahel
Hi Bevor,

Have you read about independent pixels (dip) in Android.

Take a look at, if you have not already done so at :
http://developer.android.com/intl/fr/guide/practices/screens_support.html

Basically, the device can lie to your app whenever you set pixels on a
device, to make your app look the same across different screen sizes
and screen pixels density.

Another way to go around your problem could be to overlay your
controls on the playing screen, this way you don't have to take them
into account in your calculation.
Check out, Replica Island in the market to see what I mean.

Good luck and keep at it :)

Yahel

On 5 avr, 09:39, Bevor andr...@pithax.net wrote:
 Hello,

 thanks for your answer. Using heightPixels is a good idea. With it I
 could achieve my intent. I wonder if game developers would do that in
 the same manner because on the bottom of the screen I have buttons.
 These buttons have different heights on the different screen sizes
 (small, normal, large) because of auto-scaling by Android. So if I
 would use this method, I firstly have to know how much bigger are
 these button in comparison to other screen sizes to calculate an
 accurate value (And this is just an example with few elements.
 Unimaginable what to do when there are a lot of elements which should
 be aligned precisely).  That's why I think that my intent is not the
 right to solve this kind of problems. But now I have an other idea.
 Maybe I could use 3 different layouts for the 3 different sizes
 (small, normal, large). I'm new to Android and I am not that familiar
 with the possibilities yet. But I think that this solution would be
 better?

 Regards.

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Apllication not installing in Sony Xperia

2010-04-05 Thread Nithin
Hi,

I made an android application in 1.6 SDK. It works in all devices,
which includes HTC Tattoo, LG, Samsung Galaxy, Motorola Droid and
Nexus one. But in Sony Xperia, firmware is 1.6. When I try to install
its getting the error, Application cannot be installed. Any idea ??

Nithin


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

To unsubscribe, reply using remove me as the subject.


[android-developers] Insert and delete SIM contacs working but it needs to be phone restart to update the changes

2010-04-05 Thread Girish
Hi All,

I am able to insert the contacts into SIM card and delete from it. But
it needs to be phone restart to update the changes.

The below is the code woks for delete the conatcs,

Uri simUri = Uri.parse(content://icc/adn);
Cursor cur = context.getContentResolver().query(simUri, 
null,
null, null, null);
prn(Number of SIM Contacts are..+cur.getCount());
int row =0;
while(cur.moveToNext()){
String name = 
cur.getString(cur.getColumnIndex(name));
prn(Name...+name);
String data = 
cur.getString(cur.getColumnIndex(number));
if(!data.equals())
prn(Number..+data);
String where = null;
if(!name.equals()  !data.equals()){
where = tag = + name + AND + 
number = +data;
}
else if(name.equals()  !data.equals()){
where = number =+data;
}
else {
where = tag =+name+ AND 
+number=+null;
}

context.getContentResolver().delete(simUri, 
where, null);
row++;
}
prn(row+ are deleted);
cur.close();
cur = null;

Please look into this issue and give suggestions on this.

Thanks,
Girish G 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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Yahel
Not working on a Hero - Android 1.5.

When I try to launch your app, it says it cannot run against this
device.

Which Api Level did you use. From the screenshot, I can't see a reason
why you would have purposedly exclude Android 1.5 from your build.

From the screenshot again, your metronome seems really complete
functionality-wise. Can't wait to try it :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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Carl Whalley
I ran into this recently. Try this in your AndroidManifest.xml

uses-sdk
android:minSdkVersion=3
android:targetSdkVersion=4 /

--
Android Academy http://androidacademy.com

On Apr 5, 6:01 am, Gabriel Simões gsim...@gmail.com wrote:
 Hi all,

 After spending some time learning about Android´s SDK I´ve finally
 finished a first version of my first app: a metronome.
 It´s a simple app but I´ve faced some problems with AudioTrack, most
 trying to syncronize the audio with changes on the UI. In the end I
 did all my tests using the Android Emulator (1.6 and 2.1) since I don
 ´t have an Android device right now.
 I´ve posted this first version on some sites to get an initial
 feedback about it: how it works, how is the syncronization between
 audio and UI, how easy it is to understand the UI, if it´s stable,
 etc.
 I would appreciate if you could give me some feedback:

 https://slideme.org/application/mobile-metronomehttp://andappstore.com/AndroidApplications/apps/Mobile_Metronome

 I will post it on Android market as soon as I confirm it´s stable and
 working properly.

 Thanks,
 Gabriel Simões

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Issue with GPS Droid, Hero CDMA

2010-04-05 Thread Namrata
Hi,

I am developing an app which uses GPS to find current location. ASAP I
get location I shut down GPS listener..For some of the phones like
droid, hero on CDMA, it is not getting closed. Following is the code
snipset..

final String currentProvider = LocationManager.GPS_PROVIDER;
if(locManager.isProviderEnabled(currentProvider)) {


HandlerThread mThread = new HandlerThread(GPS 
Thread);
mThread.start();
new Handler(mThread.getLooper()).post (
new Runnable() {
public void run() {

locManager.requestLocationUpdates(currentProvider, 1L, 0.0f,
this);
}
});
currentLocation =
locManager.getLastKnownLocation(currentProvider);
try {
if(currentLocation != null) {

// Do anything with current location.

}
} catch (Exception e) {

} finally {
try {
if (locManager != null) {

locManager.removeUpdates(this);
}
if (mThread != null) {

mThread.getLooper().quit();
}

} catch (Exception e) {

}
}
}

Even though I am calling removeUpdate() it keeps gps icon on
notification bar. What am I doing wrong?

Thanks in advance..

Namrata

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Apllication not installing in Sony Xperia

2010-04-05 Thread Kumar Bibek
Can you post a detailed logcat dump?

Thanks and Regards,
Kumar Bibek

On Apr 5, 3:20 pm, Nithin nithin.war...@gmail.com wrote:
 Hi,

 I made an android application in 1.6 SDK. It works in all devices,
 which includes HTC Tattoo, LG, Samsung Galaxy, Motorola Droid and
 Nexus one. But in Sony Xperia, firmware is 1.6. When I try to install
 its getting the error, Application cannot be installed. Any idea ??

 Nithin

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
Updating right now 

On 5 abr, 08:03, Carl Whalley carl.whal...@googlemail.com wrote:
 I ran into this recently. Try this in your AndroidManifest.xml

 uses-sdk
 android:minSdkVersion=3
 android:targetSdkVersion=4 /

 --
 Android Academyhttp://androidacademy.com

 On Apr 5, 6:01 am, Gabriel Simões gsim...@gmail.com wrote:



  Hi all,

  After spending some time learning about Android´s SDK I´ve finally
  finished a first version of my first app: a metronome.
  It´s a simple app but I´ve faced some problems with AudioTrack, most
  trying to syncronize the audio with changes on the UI. In the end I
  did all my tests using the Android Emulator (1.6 and 2.1) since I don
  ´t have an Android device right now.
  I´ve posted this first version on some sites to get an initial
  feedback about it: how it works, how is the syncronization between
  audio and UI, how easy it is to understand the UI, if it´s stable,
  etc.
  I would appreciate if you could give me some feedback:

 https://slideme.org/application/mobile-metronomehttp://andappstore.co...

  I will post it on Android market as soon as I confirm it´s stable and
  working properly.

  Thanks,
  Gabriel Simões- Ocultar texto das mensagens anteriores -

 - Mostrar texto das mensagens anteriores -

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

To unsubscribe, reply using remove me as the subject.


[android-developers] problem in large screen resolution

2010-04-05 Thread rajesh chandrasekaran
Hi,

I am trying to use Resource Qualifier for layout as layout-large. But
when the application is starting in the emulator its reading the same
file from default layout folder. The res folder structure is as
below :

res/
layout/login.xml
layout-large/login.xml

What I want is when there is large screen the layout-large/login.xml
file should be read but its not.

What is wrong over here?

Any help would be appreciated?


Thanks  Regards
C.rajesh

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

To unsubscribe, reply using remove me as the subject.


[android-developers] large screen resolution problem

2010-04-05 Thread rajesh chandrasekaran
Hi,

I am trying to use Resource Qualifier for layout as layout-large. But
when the application is starting in the emulator its reading the same
file from default layout folder. The res folder structure is as
below :

res/
layout/login.xml
layout-large/login.xml

What I want is when there is large screen the layout-large/login.xml
file should be read but its not.

What is wrong over here?

Any help would be appreciated?

Thanks  Regards
C.rajesh

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: IllegalArgument Exception: Service is not registered: when unbindservice is called.

2010-04-05 Thread brucko
Hi Prajakta,

Not sure here - but I dont think you really need to call stopService.
Stop service is usually used when you have started your service with
startService(). Unbind service is used when you started the service
with bindService. If you really needed to kill your service when
unbinding then you might use stopSelf() in your services onUnbind()
method which I believe is called when there are no remaining bound
services.

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Re: Reusable Android library packaging: interest?

2010-04-05 Thread Mark Murphy
 But one thought is that making this be a command may not be the best
 approach for integration into build systems. I'm thinking that
 packaging it as an ant macro in an antlib may be a better approach,
 with the underlying technology being a .zip file with the various
 pieces.

 Then, if you feel the need for a command, you could create an ant
 script, and simple shell scripts to invoke it.

You assume I have the patience for Java. I put up with it for Android
development, but that's about as far as I want to, at least for the
initial versions.

Part of the goal is to fully document all of the file structures and
whatnot such that if somebody else wants to create a native Ant task, or a
Rake task for use with JRuby, or whatever, they have all the info they
need. And I will be happy to help with testing and coordination and all
that.

Tactically, I will be demonstrating Ant tasks that call out to the
command, much like they call out to javac, jar, aapt, etc. today.

And I'm not saying I'd never write an Ant task or Maven thingamajig or
whatever myself someday, just that I'm not starting there.

 Overall, I think it's cleaner to consider injection to be a build
 step, rather than a project configuration step.

I am up for trying to support both modes. This is the sort of thing --
like commands vs. Ant vs. Maven -- that really embodies the expression
beauty lies in the eye of the beholder. Where possible, on those sorts
of things, I'd like to let the developer make the call.

 You also need to consider how to avoid and/or handle file name
 conflicts.

And resource ID conflicts. And dealing with the fact that you can't use
R.layout with those resources. And a whole host of other annoyances that,
individually, aren't particularly huge, but collectively represent a
significant amount of sand in the gears.

Thanks for the input!

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
I have just updated the app to v. 1.0.1

- Fixed a reported bug on AudioTrack´s internal buffersize
- Added Android 1.5

The thing I´d like to know is how well are the audio click and UI
changes syncronized. It´s hard to measure it using the emulator and
right now Android is not made for it. Tried some different approaches
but can´t confirm which one is the best. I hope it´s the one I´ve
used! hehehehe

Please give me your feedbacks about how it´s working!

Thanks,
Gabriel Simões

On 5 abr, 08:06, Gabriel Simões gsim...@gmail.com wrote:
 Updating right now 

 On 5 abr, 08:03, Carl Whalley carl.whal...@googlemail.com wrote:



  I ran into this recently. Try this in your AndroidManifest.xml

  uses-sdk
  android:minSdkVersion=3
  android:targetSdkVersion=4 /

  --
  Android Academyhttp://androidacademy.com

  On Apr 5, 6:01 am, Gabriel Simões gsim...@gmail.com wrote:

   Hi all,

   After spending some time learning about Android´s SDK I´ve finally
   finished a first version of my first app: a metronome.
   It´s a simple app but I´ve faced some problems with AudioTrack, most
   trying to syncronize the audio with changes on the UI. In the end I
   did all my tests using the Android Emulator (1.6 and 2.1) since I don
   ´t have an Android device right now.
   I´ve posted this first version on some sites to get an initial
   feedback about it: how it works, how is the syncronization between
   audio and UI, how easy it is to understand the UI, if it´s stable,
   etc.
   I would appreciate if you could give me some feedback:

  https://slideme.org/application/mobile-metronomehttp://andappstore.co...

   I will post it on Android market as soon as I confirm it´s stable and
   working properly.

   Thanks,
   Gabriel Simões- Ocultar texto das mensagens anteriores -

  - Mostrar texto das mensagens anteriores -- Ocultar texto das mensagens 
  anteriores -

 - Mostrar texto das mensagens anteriores -

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Re: Reusable Android library packaging: interest?

2010-04-05 Thread Mark Murphy
 Anyway, if you choose to go the parcel shell route, don't forget a
 parcel upgrade command. Personally, If I cannot upgrade easily to a
 new version of a library I wouldn't use it.

Yup, it's in there.

Thanks for the input!

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Cannot cast from Bitmap to byte[]

2010-04-05 Thread Pinheiro
I'm trying to draw an image downloaded from the web but keep getting
the error Cannot cast from Bitmap to byte[]. Here's the code
snippet:


BufferedInputStream bis = new
BufferedInputStream(somethingdownloaded);
DataInputStream dis = new DataInputStream(bis);
Bitmap image;

dis.read((byte[]) image); // Error: cannot cast

What am I doing wrong?
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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Cannot cast from Bitmap to byte[]

2010-04-05 Thread Mark Murphy

 I'm trying to draw an image downloaded from the web but keep getting
 the error Cannot cast from Bitmap to byte[]. Here's the code
 snippet:


 BufferedInputStream bis = new
 BufferedInputStream(somethingdownloaded);
 DataInputStream dis = new DataInputStream(bis);
 Bitmap image;

 dis.read((byte[]) image); // Error: cannot cast

 What am I doing wrong?

First, image has not even been initialized, so you could not read from it
in any case.

Second, you can't cast from Bitmap to byte[], for the same reason you
cannot cast from Integer to int, or Double to double, or Boolean to
boolean. You cannot cast from an Object to a primitive.

Use BitmapFactory.decodeStream().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Cannot cast from Bitmap to byte[]

2010-04-05 Thread Abdul Mateen
Hi,
This is not possible. fairly you can either use Bitmap bitmap;
bitmap.compress function to get the bytes to the buffer or you can use
getInt().
On Mon, Apr 5, 2010 at 4:54 PM, Pinheiro rui.c.pinhe...@gmail.com wrote:

 I'm trying to draw an image downloaded from the web but keep getting
 the error Cannot cast from Bitmap to byte[]. Here's the code
 snippet:


BufferedInputStream bis = new
 BufferedInputStream(somethingdownloaded);
DataInputStream dis = new DataInputStream(bis);
Bitmap image;

dis.read((byte[]) image); // Error: cannot cast

 What am I doing wrong?
 Thanks in advance.

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

 To unsubscribe, reply using remove me as the subject.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 cast from Bitmap to byte[]

2010-04-05 Thread Pinheiro
 Use BitmapFactory.decodeStream().

Got it, many thanks!

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: problem in large screen resolution

2010-04-05 Thread Lance Nanek
Are you sure you want the large qualifier and not the hdpi qualifier?
Large refers to the physical size. Note how the density vs. size
matrix in the docs indicates a device can have FWVGA resolution and
still not be considered large:
http://developer.android.com/intl/de/guide/practices/screens_support.html

On Apr 5, 7:31 am, rajesh chandrasekaran crajeshdanger...@gmail.com
wrote:
 Hi,

 I am trying to use Resource Qualifier for layout as layout-large. But
 when the application is starting in the emulator its reading the same
 file from default layout folder. The res folder structure is as
 below :

 res/
     layout/login.xml
     layout-large/login.xml

 What I want is when there is large screen the layout-large/login.xml
 file should be read but its not.

 What is wrong over here?

 Any help would be appreciated?

 Thanks  Regards
 C.rajesh

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: GLSurfaceView on app widget?

2010-04-05 Thread Musafir
Thank u all for good support ..:) keep active

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Programmatically start / launch VPN connection

2010-04-05 Thread nils
I like to control the VPN profiles, connect to VPN and so on.
How can I do this ? I read somewhere that the class is still not
public ... Why is this not allowed ?

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: new service: link to android market from device and computer

2010-04-05 Thread Lance Nanek
What about Android devices without the Market app? I think I asked
that last thread on this technique too, heh.

On Apr 5, 4:18 am, patbenatar patbena...@gmail.com wrote:
 So on the Web side, check the user_agent request header to determine
 if the user is on Android and if so do a direct link to market, if not
 display instructions to download on Market or an option to email?
 Sounds about right...

 On Apr 3, 8:18 am, ko5tik kpriblo...@yahoo.com wrote:



  Just send an external redirect with something like :
  market://search?q=pname:de.pribluda.games.android.colors
  (this link will install my game)

  You can also wrap it by URL shortener, and then you will get funny
  statistics

  regards,

  On Apr 3, 12:23 am,patbenatarpatbena...@gmail.com wrote:

   Awesome! Thanks much Rob! Bookmarking.

   Out of curiosity, how do you go about doing this programmatically on
   the Web server side?

   -Nick

   On Apr 1, 8:47 am, Rob rob.jon...@gmail.com wrote:

Hi Folks,

I just launched my app VLC Remote and was surprised to see that there
isn't a way to post a link to the app on the market that works both on
my android device and also in my browser.

-so I made a way, and I'm opening it up for all-comers.

What it does is lets you post an http link like this

   http://and-download.hobbyistsoftware.com/android/download?name=VLC
Remoteq=pname:com.hobbyistsoftware.android.vlcremote

If someone clicks on the link from an android device, then the link
opens in the market. If they click from their computer, then it offers
to send them a link by email (so they can click on the link on their
device).

the download emails have a (subtle) advert for my app, but the feature
is clearly your app!

details are here:http://and-download.hobbyistsoftware.com/

I'm hoping this will be useful for people, so please use it anywhere
you like.

cheers,

Rob

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Yahel
Ok, I can run it now but the layout is completely off :

http://www.mediafire.com/imageview.php?quickkey=tyaiewfnk0ithumb=4

Yahel


On 5 avr, 13:46, Gabriel Simões gsim...@gmail.com wrote:
 I have just updated the app to v. 1.0.1

 - Fixed a reported bug on AudioTrack´s internal buffersize
 - Added Android 1.5

 The thing I´d like to know is how well are the audio click and UI
 changes syncronized. It´s hard to measure it using the emulator and
 right now Android is not made for it. Tried some different approaches
 but can´t confirm which one is the best. I hope it´s the one I´ve
 used! hehehehe

 Please give me your feedbacks about how it´s working!

 Thanks,
 Gabriel Simões

 On 5 abr, 08:06, Gabriel Simões gsim...@gmail.com wrote:



  Updating right now 

  On 5 abr, 08:03, Carl Whalley carl.whal...@googlemail.com wrote:

   I ran into this recently. Try this in your AndroidManifest.xml

   uses-sdk
   android:minSdkVersion=3
   android:targetSdkVersion=4 /

   --
   Android Academyhttp://androidacademy.com

   On Apr 5, 6:01 am, Gabriel Simões gsim...@gmail.com wrote:

Hi all,

After spending some time learning about Android´s SDK I´ve finally
finished a first version of my first app: a metronome.
It´s a simple app but I´ve faced some problems with AudioTrack, most
trying to syncronize the audio with changes on the UI. In the end I
did all my tests using the Android Emulator (1.6 and 2.1) since I don
´t have an Android device right now.
I´ve posted this first version on some sites to get an initial
feedback about it: how it works, how is the syncronization between
audio and UI, how easy it is to understand the UI, if it´s stable,
etc.
I would appreciate if you could give me some feedback:

   https://slideme.org/application/mobile-metronomehttp://andappstore.co...

I will post it on Android market as soon as I confirm it´s stable and
working properly.

Thanks,
Gabriel Simões- Ocultar texto das mensagens anteriores -

   - Mostrar texto das mensagens anteriores -- Ocultar texto das mensagens 
   anteriores -

  - Mostrar texto das mensagens anteriores -

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

To unsubscribe, reply using remove me as the subject.


[android-developers] opengl es and Live wallpaper

2010-04-05 Thread Musafir
hi friends,
Using live wllpaper we can add  interactive application in home screen
but i want to know how can i add my opengl drawing(which itself
interactive )to live wallpaper?

Thanks and regards

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Non-stretchable background images

2010-04-05 Thread Mariano Kamp
Hi,

I want to generate background drawables for buttons and I am wondering if
there is any way to specify that the button can stretch, e.g. when using
fill_parent, but the image in it should not stretch? I want to use the extra
space for the touch area, but not have the icons on it look all different
and stretched beyond recognition.

So I am basically looking for something like that:
http://developer.android.com/reference/android/widget/ImageView.ScaleType.html

But of course it should work with Buttons.

I know I could use nine patchs, but I have more than 20 icons and even if my
ADD would allow me to do this tedious task once for every 20 images for
every resolution I don't think I would ever change the icons afterwards
which can't be the solution.

Cheers,
Mariano

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Sending email with attachment

2010-04-05 Thread Kumar Bibek
I will try this and let you know.

Thanks and Regards,
Kumar Bibek

On Apr 2, 3:09 am, powder jonas.hey...@gmail.com wrote:
 The logcat says:

 ...
 04-01 18:33:06.230: INFO/ActivityManager(76): Starting activity:
 Intent { act=android.intent.action.SEND typ=text/csv flg=0x300
 cmp=com.google.android.gm/.ComposeActivityGmail (has extras) }
 04-01 18:33:06.290: INFO/ActivityManager(76): Starting activity:
 Intent { act=android.intent.action.SEND typ=text/csv flg=0x280
 cmp=com.google.android.gm/.ComposeActivity (has extras) }
 04-01 18:33:06.589: DEBUG/Gmail(4465): ComposeActivity added to
 message:0 attachment:|file.csv|text/csv|0|text/csv|LOCAL_FILE|file:///
 sdcard/mydir/file.csv size:0
 04-01 18:33:06.609: INFO/Gmail(4465):  Attachment uri:
 file:///sdcard/mydir/file.csv
 04-01 18:33:06.609: INFO/Gmail(4465):            type: text/csv
 04-01 18:33:06.609: INFO/Gmail(4465):            name: file.csv
 04-01 18:33:06.609: INFO/Gmail(4465):            size: 0
 ...

 and the file size is 0. My file is attached in the email as a file but
 always with 0 bytes (my file is 510 bytes)?

 On Apr 1, 1:27 pm, Kumar Bibek coomar@gmail.com wrote:

  Some logcat logs will be helpful in trying to figure out what went
  wrong.

  Thanks and Regards,
  Kumar Bibek

  On Apr 1, 2:10 pm, powder jonas.hey...@gmail.com wrote:

   Hi,

   I never got this to work on a real device, got the email but no
   attachment, also when installing K9 on a emulator and
   then sending the email I see the mail in the outbox with a size of 0
   bytes:

   public static void sendFile(Context context) {
     File exportDir = new File(Environment.getExternalStorageDirectory(),
   mydir);
     if (!exportDir.exists()) {
       exportDir.mkdirs();
     }
     String csvFile = exportDir + /file.csv;
     File file = new File(csvFile);
     if(file.exists()) {
       Intent sendIntent = new Intent(Intent.ACTION_SEND);
       sendIntent.putExtra(Intent.EXTRA_SUBJECT, CSV file);
       sendIntent.setType(text/csv);
       //sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
       //sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(file:// +
   Environment.getExternalStorageDirectory() + /mydir/file.csv));
       sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(file:///sdcard/
   mydir/file.csv));
       context.startActivity(Intent.createChooser(sendIntent, Send CSV
   file));
     } else {
       Util.displayToast(context, R.string.no_csv_file);
     }

   }

   Any help appreciated.

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Multiple Listviews in single Activity?

2010-04-05 Thread javame_android
Hi,

I have used mostly the same way of showing multiple listviews as you
suggested i.e. using setvisibility.

But now what I want is to have the Bitmap image of all the four
listviews. Suppose, my activity starts and the data are loaded into
all the four listviews by binding them to their respective adapters.
Now, when I am trying to fetch the Bitmap using getDrawingCache() it
always returns null to me.

So, can you let me know how can I fetch the Bitmap of all the four
listviews?

public class HomeScreenActivity extends Activity
{
private ImageView imgBabble = null;
private ListView listBabble = null;
private ListView listVille = null;
private ListView listPrivateMsgs = null;
private ListView listBookmarks = null;
private ListString tempBabble = null;
private ListString tempVille = null;
private ListString tempPrivateMsgs = null;
private ListString tempBookmarks = null;

//RelativeLayouts
private RelativeLayout babbleLayout = null;
private RelativeLayout villeLayout = null;
private RelativeLayout privateMsgsLayout = null;
private RelativeLayout bookmarksLayout = null;

//Bitmap
private Bitmap babbleShrunkView = null;
private Bitmap villeShrunkView = null;
private Bitmap privateMsgsShrunkView = null;
private Bitmap bookmarksShrunkView = null;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
setContentView(R.layout.homescreen);
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE,
R.layout.customtitle);

imgBabble = (ImageView) findViewById(R.id.imgBtnBabble);
Bitmap bitmapOrg =
BitmapFactory.decodeResource(getResources(),R.drawable.babble_top_logo);
BitmapDrawable bmpDrawable = new BitmapDrawable(bitmapOrg);
imgBabble.setBackgroundDrawable(bmpDrawable);

//Initialize the layouts for Babble, Ville, Private Messages
and Bookmarks
babbleLayout = (RelativeLayout)
findViewById(R.id.babbleLayout);
babbleLayout.setDrawingCacheEnabled(true);

villeLayout = (RelativeLayout) findViewById(R.id.villeLayout);
villeLayout.setDrawingCacheEnabled(true);

privateMsgsLayout = (RelativeLayout)
findViewById(R.id.privatemsgsLayout);
privateMsgsLayout.setDrawingCacheEnabled(true);

bookmarksLayout = (RelativeLayout)
findViewById(R.id.bookmarksLayout);
bookmarksLayout.setDrawingCacheEnabled(true);

//Babble
tempBabble = new ArrayListString();
tempBabble.add(First Babble);
tempBabble.add(Second Babble);
tempBabble.add(Third Babble);

listBabble = (ListView) findViewById(R.id.listBabble);
listBabble.setAdapter(new ArrayAdapterString(this,
android.R.layout.simple_list_item_multiple_choice, tempBabble));
//babbleShrunkView = babbleLayout.getDrawingCache();

//babbleLayout = (RelativeLayout)
findViewById(R.id.listLayout);

if(babbleShrunkView == null)
{
System.out.println(Babble View is null);
}

//Ville
tempVille = new ArrayListString();
tempVille.add(First Ville);
tempVille.add(Second Ville);
tempVille.add(Third Ville);

listVille = (ListView) findViewById(R.id.listVille);
//listVille.setDrawingCacheEnabled(true);
listVille.setAdapter(new ArrayAdapterString(this,
android.R.layout.simple_list_item_multiple_choice, tempVille));
//villeShrunkView = villeLayout.getDrawingCache();

if(villeShrunkView == null)
{
System.out.println(Ville View is null);
}

//listVille.setVisibility(View.GONE);

//Private Messages
tempPrivateMsgs = new ArrayListString();
tempPrivateMsgs.add(First PM);
tempPrivateMsgs.add(Second PM);
tempPrivateMsgs.add(Third PM);

listPrivateMsgs = (ListView)
findViewById(R.id.listPrivateMessages);
//listPrivateMsgs.setDrawingCacheEnabled(true);
listPrivateMsgs.setAdapter(new ArrayAdapterString(this,
android.R.layout.simple_list_item_multiple_choice, tempPrivateMsgs));
//privateMsgsShrunkView = privateMsgsLayout.getDrawingCache();

if(privateMsgsShrunkView == null)
{
System.out.println(Private Messages View is null);
}

//listPrivateMsgs.setVisibility(View.GONE);

//Bookmarks
tempBookmarks = new ArrayListString();
tempBookmarks.add(First Bookmarks);
tempBookmarks.add(Second Bookmarks);
tempBookmarks.add(Third Bookmarks);

listBookmarks = (ListView) findViewById(R.id.listBookmarks);
//listBookmarks.setDrawingCacheEnabled(true);
listBookmarks.setAdapter(new 

[android-developers] Re: How do I get the MD5 fingerprint of my application certificate through code?

2010-04-05 Thread mendhak

Still struggling with this. Based on what you said, I tried playing
with this:

Signature[] sigs =
getBaseContext().getPackageManager().getPackageInfo(com.whatever.blahpackage,
64).signatures;

(64 = GET_SIGNATURE)

I then had a look at

sigs[0].toCharsString()

which produced a 979 character long string!

Is hashCode() of any use here?  I ignored it for now.

I also had a look at toByteArray(), by converting it to a String.  The
result was a string that contained some readable ASCII characters and
some gobbledygook characters like 0� �0� N�  


I'm wondering if toCharsString is what we're actually looking for, but
that's a huge amount of text to be sending along with the request!
Would hashCode do?





On Mar 31, 2:46 pm, ko5tik kpriblo...@yahoo.com wrote:
 I'm also gnawing on the same problem.  At the moment
 I'm investigating following path:

 Context - Package Manager - Package info (for name, with
 signatures ) - Signatures

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
The layout was built using Relative Layout.
By what I´ve read so far, it should work on 1.5, right? I´ve also read
elsewhere that until 1.6 relative layout had problems with the order
in which the widgets where built.
Yahel, sorry for the inconvenience, I will try to fix it as soon as
possible, ok?

Thanks,
Gabriel

On 5 abr, 09:23, Yahel kaye...@gmail.com wrote:
 Ok, I can run it now but the layout is completely off :

 http://www.mediafire.com/imageview.php?quickkey=tyaiewfnk0ithumb=4

 Yahel

 On 5 avr, 13:46, Gabriel Simões gsim...@gmail.com wrote:



  I have just updated the app to v. 1.0.1

  - Fixed a reported bug on AudioTrack´s internal buffersize
  - Added Android 1.5

  The thing I´d like to know is how well are the audio click and UI
  changes syncronized. It´s hard to measure it using the emulator and
  right now Android is not made for it. Tried some different approaches
  but can´t confirm which one is the best. I hope it´s the one I´ve
  used! hehehehe

  Please give me your feedbacks about how it´s working!

  Thanks,
  Gabriel Simões

  On 5 abr, 08:06, Gabriel Simões gsim...@gmail.com wrote:

   Updating right now 

   On 5 abr, 08:03, Carl Whalley carl.whal...@googlemail.com wrote:

I ran into this recently. Try this in your AndroidManifest.xml

uses-sdk
android:minSdkVersion=3
android:targetSdkVersion=4 /

--
Android Academyhttp://androidacademy.com

On Apr 5, 6:01 am, Gabriel Simões gsim...@gmail.com wrote:

 Hi all,

 After spending some time learning about Android´s SDK I´ve finally
 finished a first version of my first app: a metronome.
 It´s a simple app but I´ve faced some problems with AudioTrack, most
 trying to syncronize the audio with changes on the UI. In the end I
 did all my tests using the Android Emulator (1.6 and 2.1) since I don
 ´t have an Android device right now.
 I´ve posted this first version on some sites to get an initial
 feedback about it: how it works, how is the syncronization between
 audio and UI, how easy it is to understand the UI, if it´s stable,
 etc.
 I would appreciate if you could give me some feedback:

https://slideme.org/application/mobile-metronomehttp://andappstore.co...

 I will post it on Android market as soon as I confirm it´s stable and
 working properly.

 Thanks,
 Gabriel Simões- Ocultar texto das mensagens anteriores -

- Mostrar texto das mensagens anteriores -- Ocultar texto das mensagens 
anteriores -

   - Mostrar texto das mensagens anteriores -- Ocultar texto das mensagens 
   anteriores -

 - Mostrar texto das mensagens anteriores -

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Displays on emulator, not on phone

2010-04-05 Thread RMD
No, LocationManager.GPS_PROVIDER, presently, has a value of gps. It's
more that, in case for some crazy reason they change that convention,

Great info, thanks.

Would would be a good way to code it if I want the LocationManager to
use network if GPS is not available, like when your in a building, and
revert back when your outside with no user intervention required?

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Sending email with attachment

2010-04-05 Thread Kumar Bibek
public static void sendFile(Context context) {
File exportDir = new 
File(Environment.getExternalStorageDirectory(),
mydir);
if (!exportDir.exists()) {
exportDir.mkdirs();
}
String csvFile = exportDir + /file.csv;
File file = new File(csvFile);
if (file.exists()) {
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_SUBJECT, CSV file);
sendIntent.setType(text/csv);
sendIntent.putExtra(Intent.EXTRA_STREAM, 
Uri.parse(file://
+ 
Environment.getExternalStorageDirectory()
+ /mydir/file.csv));
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri

.parse(file:///sdcard/mydir/file.csv));
context.startActivity(Intent.createChooser(sendIntent,
Send CSV file));
} else {
Toast.makeText(context, TTT, 
Toast.LENGTH_LONG).show();
}

This piece of code works fine. I got the mail with the attachment.

Thanks and Regards,
Kumar Bibek

On Apr 5, 5:31 pm, Kumar Bibek coomar@gmail.com wrote:
 I will try this and let you know.

 Thanks and Regards,
 Kumar Bibek

 On Apr 2, 3:09 am, powder jonas.hey...@gmail.com wrote:

  The logcat says:

  ...
  04-01 18:33:06.230: INFO/ActivityManager(76): Starting activity:
  Intent { act=android.intent.action.SEND typ=text/csv flg=0x300
  cmp=com.google.android.gm/.ComposeActivityGmail (has extras) }
  04-01 18:33:06.290: INFO/ActivityManager(76): Starting activity:
  Intent { act=android.intent.action.SEND typ=text/csv flg=0x280
  cmp=com.google.android.gm/.ComposeActivity (has extras) }
  04-01 18:33:06.589: DEBUG/Gmail(4465): ComposeActivity added to
  message:0 attachment:|file.csv|text/csv|0|text/csv|LOCAL_FILE|file:///
  sdcard/mydir/file.csv size:0
  04-01 18:33:06.609: INFO/Gmail(4465):  Attachment uri:
  file:///sdcard/mydir/file.csv
  04-01 18:33:06.609: INFO/Gmail(4465):            type: text/csv
  04-01 18:33:06.609: INFO/Gmail(4465):            name: file.csv
  04-01 18:33:06.609: INFO/Gmail(4465):            size: 0
  ...

  and the file size is 0. My file is attached in the email as a file but
  always with 0 bytes (my file is 510 bytes)?

  On Apr 1, 1:27 pm, Kumar Bibek coomar@gmail.com wrote:

   Some logcat logs will be helpful in trying to figure out what went
   wrong.

   Thanks and Regards,
   Kumar Bibek

   On Apr 1, 2:10 pm, powder jonas.hey...@gmail.com wrote:

Hi,

I never got this to work on a real device, got the email but no
attachment, also when installing K9 on a emulator and
then sending the email I see the mail in the outbox with a size of 0
bytes:

public static void sendFile(Context context) {
  File exportDir = new File(Environment.getExternalStorageDirectory(),
mydir);
  if (!exportDir.exists()) {
    exportDir.mkdirs();
  }
  String csvFile = exportDir + /file.csv;
  File file = new File(csvFile);
  if(file.exists()) {
    Intent sendIntent = new Intent(Intent.ACTION_SEND);
    sendIntent.putExtra(Intent.EXTRA_SUBJECT, CSV file);
    sendIntent.setType(text/csv);
    //sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
    //sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(file:// +
Environment.getExternalStorageDirectory() + /mydir/file.csv));
    sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(file:///sdcard/
mydir/file.csv));
    context.startActivity(Intent.createChooser(sendIntent, Send CSV
file));
  } else {
    Util.displayToast(context, R.string.no_csv_file);
  }

}

Any help appreciated.

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Displays on emulator, not on phone

2010-04-05 Thread RMD
I think I found it.

getBestProvider()


Thanks again for your help everyone,
rd42

On Apr 5, 8:41 am, RMD rmdel...@gmail.com wrote:
 No, LocationManager.GPS_PROVIDER, presently, has a value of gps. It's
 more that, in case for some crazy reason they change that convention,

 Great info, thanks.

 Would would be a good way to code it if I want the LocationManager to
 use network if GPS is not available, like when your in a building, and
 revert back when your outside with no user intervention required?

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Behavior of Just In in Market

2010-04-05 Thread Siva G
That makes sense...

Thanks!

On Apr 5, 3:28 am, patbenatar patbena...@gmail.com wrote:
 Makes perfect sense. Making it so all updates to apps show up at the
 top of the list opens up a wide door for fraud--as in people posting
 updates to their app on a daily basis simply to get it to the top of
 the list and increase their presence [with or without any notable code
 changes].

 On Apr 4, 9:25 pm, ~ TreKing treking...@gmail.com wrote:

  On Sun, Apr 4, 2010 at 8:04 PM, Siva G sivarama...@gmail.com wrote:
   When I publish update to my app, sometimes, the app does not feature in 
   the
   Just In. But sometimes it does too. Have anyone faced this issue?

  Your app will only show up in the Just In list if there's been some time
  since the last update (like or week or so I think). Otherwise people could
  bump their apps on a daily basis (if not sooner).

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

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Multiple Listviews in single Activity?

2010-04-05 Thread javame_android
Hi,

In case someone needs the reference of xml layout file, I have posted
that below too.

?xml version=1.0 encoding=utf-8?
LinearLayout
  xmlns:android=http://schemas.android.com/apk/res/android;
  android:orientation = vertical
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:background = @drawable/bg 

RelativeLayout
android:id = @+id/babbleLayout
android:layout_width = fill_parent
android:layout_height = wrap_content
android:paddingTop = 10dip 

ListView
android:id = @+id/listBabble
android:layout_width = fill_parent
android:layout_height =wrap_content
android:layout_weight = 1
android:paddingTop = 5dip
android:background = @drawable/brown_bg
/ListView
/RelativeLayout

RelativeLayout
android:id = @+id/villeLayout
android:layout_width = fill_parent
android:layout_height = wrap_content
android:paddingTop = 10dip 

ListView
android:id = @+id/listVille
android:layout_width = fill_parent
android:layout_height =wrap_content
android:layout_weight = 1
android:paddingTop = 5dip
android:background = @drawable/brown_bg
/ListView
/RelativeLayout

RelativeLayout
android:id = @+id/privatemsgsLayout
android:layout_width = fill_parent
android:layout_height = wrap_content
android:paddingTop = 10dip 

ListView
android:id = @+id/listPrivateMessages
android:layout_width = fill_parent
android:layout_height = wrap_content
android:layout_weight = 1
android:paddingTop = 5dip
android:background = @drawable/brown_bg
/ListView
/RelativeLayout

RelativeLayout
android:id = @+id/bookmarksLayout
android:layout_width = fill_parent
android:layout_height = wrap_content
android:paddingTop = 10dip 

ListView
android:id = @+id/listBookmarks
android:layout_width = fill_parent
android:layout_height = wrap_content
android:layout_weight = 1
android:paddingTop = 5dip
android:background = @drawable/brown_bg
/ListView
/RelativeLayout

/LinearLayout

Anyone please help me out in this.


Thanks  Regards
Sunil

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Yahel
No worries Gabriel,

I really don't know why this layout problem appears, doesn't really
show off the compile once/run everywhere mantra :D

Tell me if you find a fix, I'll try it again.

Yahel


On 5 avr, 14:37, Gabriel Simões gsim...@gmail.com wrote:
 The layout was built using Relative Layout.
 By what I´ve read so far, it should work on 1.5, right? I´ve also read
 elsewhere that until 1.6 relative layout had problems with the order
 in which the widgets where built.
 Yahel, sorry for the inconvenience, I will try to fix it as soon as
 possible, ok?

 Thanks,
 Gabriel

 On 5 abr, 09:23, Yahel kaye...@gmail.com wrote:



  Ok, I can run it now but the layout is completely off :

 http://www.mediafire.com/imageview.php?quickkey=tyaiewfnk0ithumb=4

  Yahel

  On 5 avr, 13:46, Gabriel Simões gsim...@gmail.com wrote:

   I have just updated the app to v. 1.0.1

   - Fixed a reported bug on AudioTrack´s internal buffersize
   - Added Android 1.5

   The thing I´d like to know is how well are the audio click and UI
   changes syncronized. It´s hard to measure it using the emulator and
   right now Android is not made for it. Tried some different approaches
   but can´t confirm which one is the best. I hope it´s the one I´ve
   used! hehehehe

   Please give me your feedbacks about how it´s working!

   Thanks,
   Gabriel Simões

   On 5 abr, 08:06, Gabriel Simões gsim...@gmail.com wrote:

Updating right now 

On 5 abr, 08:03, Carl Whalley carl.whal...@googlemail.com wrote:

 I ran into this recently. Try this in your AndroidManifest.xml

 uses-sdk
 android:minSdkVersion=3
 android:targetSdkVersion=4 /

 --
 Android Academyhttp://androidacademy.com

 On Apr 5, 6:01 am, Gabriel Simões gsim...@gmail.com wrote:

  Hi all,

  After spending some time learning about Android´s SDK I´ve finally
  finished a first version of my first app: a metronome.
  It´s a simple app but I´ve faced some problems with AudioTrack, most
  trying to syncronize the audio with changes on the UI. In the end I
  did all my tests using the Android Emulator (1.6 and 2.1) since I 
  don
  ´t have an Android device right now.
  I´ve posted this first version on some sites to get an initial
  feedback about it: how it works, how is the syncronization between
  audio and UI, how easy it is to understand the UI, if it´s stable,
  etc.
  I would appreciate if you could give me some feedback:

 https://slideme.org/application/mobile-metronomehttp://andappstore.co...

  I will post it on Android market as soon as I confirm it´s stable 
  and
  working properly.

  Thanks,
  Gabriel Simões- Ocultar texto das mensagens anteriores -

 - Mostrar texto das mensagens anteriores -- Ocultar texto das 
 mensagens anteriores -

- Mostrar texto das mensagens anteriores -- Ocultar texto das mensagens 
anteriores -

  - Mostrar texto das mensagens anteriores -

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Insert and delete SIM contacs working but it needs to be phone restart to update the changes

2010-04-05 Thread Girish
Hi All,

I am able to insert the contacts into SIM card and delete from it. But
it needs to be phone restart to update the changes.

The below is the code woks for delete the conatcs,

Uri simUri = Uri.parse(content://icc/adn);
Cursor cur = context.getContentResolver().query(simUri, 
null,
null, null, null);
prn(Number of SIM Contacts are..+cur.getCount());
int row =0;
while(cur.moveToNext()){
String name = 
cur.getString(cur.getColumnIndex(name));
prn(Name...+name);
String data = 
cur.getString(cur.getColumnIndex(number));
if(!data.equals())
prn(Number..+data);
String where = null;
if(!name.equals()  !data.equals()){
where = tag = + name + AND + 
number = +data;
}
else if(name.equals()  !data.equals()){
where = number =+data;
}
else {
where = tag =+name+ AND 
+number=+null;
}

context.getContentResolver().delete(simUri, 
where, null);
row++;
}
prn(row+ are deleted);
cur.close();
cur = null;

Please look into this issue and give suggestions on this.

Thanks,
Girish G 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

To unsubscribe, reply using remove me as the subject.


[android-developers] Insert and delete SIM contacs working but it needs to be phone restart to update the changes

2010-04-05 Thread Girish
Hi All,

I am able to insert the contacts into SIM card and delete from it. But
it needs to be phone restart to update the changes.

The below is the code woks for delete the conatcs,

Uri simUri = Uri.parse(content://icc/adn);
Cursor cur = context.getContentResolver().query(simUri, 
null,
null, null, null);
prn(Number of SIM Contacts are..+cur.getCount());
int row =0;
while(cur.moveToNext()){
String name = 
cur.getString(cur.getColumnIndex(name));
prn(Name...+name);
String data = 
cur.getString(cur.getColumnIndex(number));
if(!data.equals())
prn(Number..+data);
String where = null;
if(!name.equals()  !data.equals()){
where = tag = + name + AND + 
number = +data;
}
else if(name.equals()  !data.equals()){
where = number =+data;
}
else {
where = tag =+name+ AND 
+number=+null;
}

context.getContentResolver().delete(simUri, 
where, null);
row++;
}
prn(row+ are deleted);
cur.close();
cur = null;

Please look into this issue and give suggestions on this.

Thanks,
Girish G 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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: BluetoothServerSocket: how to close correctly?

2010-04-05 Thread Reason
I hv the same problem, can anyone help?

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Non-stretchable background images

2010-04-05 Thread skink


Mariano Kamp wrote:
 Hi,

 I want to generate background drawables for buttons and I am wondering if
 there is any way to specify that the button can stretch, e.g. when using
 fill_parent, but the image in it should not stretch? I want to use the extra
 space for the touch area, but not have the icons on it look all different
 and stretched beyond recognition.

 So I am basically looking for something like that:
 http://developer.android.com/reference/android/widget/ImageView.ScaleType.html

 But of course it should work with Buttons.

 I know I could use nine patchs, but I have more than 20 icons and even if my
 ADD would allow me to do this tedious task once for every 20 images for
 every resolution I don't think I would ever change the icons afterwards
 which can't be the solution.

 Cheers,
 Mariano

you can use BitmapDrawable with any kind of gravity you like

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Send email in background

2010-04-05 Thread RMD
Is there and accepted way to send an email in the background?

RMD

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Forcing the Symbols Soft Keyboard

2010-04-05 Thread Nmix
Thanks, but that does not solve my problem. I specify android:digits
because the acceptable characters for the EditText are more than just
numerals. From my brief perusal of the IME samples in the SDK (not the
actual Android source code), specifying android:digits always brings
up the qwerty soft keyboard, which is not what I want.

On Apr 5, 4:26 am, Kumar Bibek coomar@gmail.com wrote:
 For your edit text, use this property.
 android:inputType=number

 This will pop up thekeyboardwith numbers only. But in this case you
 will not be able to enter anything other than numbers.
 Thanks and Regards,
 Kumar Bibek

 On Apr 5, 12:57 am, Nmix nepean...@gmail.com wrote:

  I have an EditText that specifies android:digits where all the
  specified characters are on the standard symbols softkeyboard.
  Unfortunately it seems that just using android:digits is enough to
  always cause the qwertykeyboardto pop up. Always having to press the
  123? key for that one EditText is a bit inconvenient for my users and,
  sad to say, it's a difficult concept for a few.

  Apart from writing up a custom IME, is there a way toforcethe
  symbolskeyboardon an EditText? I did look around and even try a few
  things, but I'm now thinking this isn't possible. Hopefully I'm wrong.
  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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
After a little more investigation it seems this issue is related to
RelativeLayout on Android up to 1.5

There's a known bug that up to cupcake, RelativeLayout would build
the UI based on the order in which you declare the widgets on you
Action's XML.
This way, you could end with views drawn one over another (the problem
you have just related). This launches no warnings or Exceptions as the
system understands this is the way things should be done.

At night, when I get back I will try to reorder the views so it build
up ok on 1.5. If this doesn't work I will probably have to develop a
special UI only for 1.5

About this problem, any advices?
What about the app. Is it working properly for 1.6 - 2.1?

Thanks,
Gabriel

On Apr 5, 10:07 am, Yahel kaye...@gmail.com wrote:
 No worries Gabriel,

 I really don't know why this layout problem appears, doesn't really
 show off the compile once/run everywhere mantra :D

 Tell me if you find a fix, I'll try it again.

 Yahel

 On 5 avr, 14:37, Gabriel Simões gsim...@gmail.com wrote:

  The layout was built using Relative Layout.
  By what I´ve read so far, it should work on 1.5, right? I´ve also read
  elsewhere that until 1.6 relative layout had problems with the order
  in which the widgets where built.
  Yahel, sorry for the inconvenience, I will try to fix it as soon as
  possible, ok?

  Thanks,
  Gabriel

  On 5 abr, 09:23, Yahel kaye...@gmail.com wrote:

   Ok, I can run it now but the layout is completely off :

  http://www.mediafire.com/imageview.php?quickkey=tyaiewfnk0ithumb=4

   Yahel

   On 5 avr, 13:46, Gabriel Simões gsim...@gmail.com wrote:

I have just updated the app to v. 1.0.1

- Fixed a reported bug on AudioTrack´s internal buffersize
- Added Android 1.5

The thing I´d like to know is how well are the audio click and UI
changes syncronized. It´s hard to measure it using the emulator and
right now Android is not made for it. Tried some different approaches
but can´t confirm which one is the best. I hope it´s the one I´ve
used! hehehehe

Please give me your feedbacks about how it´s working!

Thanks,
Gabriel Simões

On 5 abr, 08:06, Gabriel Simões gsim...@gmail.com wrote:

 Updating right now 

 On 5 abr, 08:03, Carl Whalley carl.whal...@googlemail.com wrote:

  I ran into this recently. Try this in your AndroidManifest.xml

  uses-sdk
  android:minSdkVersion=3
  android:targetSdkVersion=4 /

  --
  Android Academyhttp://androidacademy.com

  On Apr 5, 6:01 am, Gabriel Simões gsim...@gmail.com wrote:

   Hi all,

   After spending some time learning about Android´s SDK I´ve finally
   finished a first version of my first app: a metronome.
   It´s a simple app but I´ve faced some problems with AudioTrack, 
   most
   trying to syncronize the audio with changes on the UI. In the end 
   I
   did all my tests using the Android Emulator (1.6 and 2.1) since I 
   don
   ´t have an Android device right now.
   I´ve posted this first version on some sites to get an initial
   feedback about it: how it works, how is the syncronization between
   audio and UI, how easy it is to understand the UI, if it´s stable,
   etc.
   I would appreciate if you could give me some feedback:

  https://slideme.org/application/mobile-metronomehttp://andappstore.co...

   I will post it on Android market as soon as I confirm it´s stable 
   and
   working properly.

   Thanks,
   Gabriel Simões- Ocultar texto das mensagens anteriores -

  - Mostrar texto das mensagens anteriores -- Ocultar texto das 
  mensagens anteriores -

 - Mostrar texto das mensagens anteriores -- Ocultar texto das 
 mensagens anteriores -

   - Mostrar texto das mensagens anteriores -

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Layout with ScrollView and TextView

2010-04-05 Thread andrej sarkic
Thanks, I will take a look.

I would still like to understand though, how this layout works,
because it seems to me it contradicts what the documentation states.
At least my reading of it, and I'm sure I'm probably missing
something. I should not have to set a minHeight, which is in pixels,
which kinda of defeats the purpose of fill_parent.

Thanks,
Andrej

On Apr 3, 2:14 am, ABhi abhishek.gonda...@gmail.com wrote:
 Hi,

 If i understood your requirement correctly then your problem can be
 resolved by 'AndroidsFortune' application's source code. The guys has
 done wonderful job by having both horizontal and vertical scrolling
 for the TextView.

 Hope it helps you.

 Regards,
 Abhishek

 On Apr 2, 2:13 am,andrejsarkic andrej.sar...@gmail.com wrote:

  Hi all,

  I want to have a textview (like a console or output window), which
  scrolls. I saw on this list that the TextView will not scroll on its
  own unless I wrap it in a ScrollView. So I did that and it worked. The
  problem is, it seemed no matter what I did I could not get the
  TextView to be higher than one line. This was only when it was
  embedded in the ScrollView, and didn't seem to change whatever I set
  the TexView's layout_height to. Here is my layout:

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

  ScrollView android:id=@+id/ScrollView02
  android:layout_width=fill_parent android:layout_height=1.0dp
  android:layout_weight=1.0

  TextView android:id=@+id/TextView01
  android:layout_width=fill_parent
  android:layout_height=fill_parent/TextView
  /ScrollView
  /LinearLayout

  Adding android:text=some text android:minHeight=50dp  finally did
  the trick! But, I would still like to understand why I had to do this.
  It seemed like setting layout_height to fill_parent should be
  enough, shouldn't it?

  What am I missing here?

  Thanks,
 Andrej

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
Also, the compile once run everywhere mantra is known for itś
incompatibilities between different versions of the virtual machine!
hehehehe

On Apr 5, 10:52 am, Gabriel Simões gsim...@gmail.com wrote:
 After a little more investigation it seems this issue is related to
 RelativeLayout on Android up to 1.5

 There's a known bug that up to cupcake, RelativeLayout would build
 the UI based on the order in which you declare the widgets on you
 Action's XML.
 This way, you could end with views drawn one over another (the problem
 you have just related). This launches no warnings or Exceptions as the
 system understands this is the way things should be done.

 At night, when I get back I will try to reorder the views so it build
 up ok on 1.5. If this doesn't work I will probably have to develop a
 special UI only for 1.5

 About this problem, any advices?
 What about the app. Is it working properly for 1.6 - 2.1?

 Thanks,
 Gabriel

 On Apr 5, 10:07 am, Yahel kaye...@gmail.com wrote:

  No worries Gabriel,

  I really don't know why this layout problem appears, doesn't really
  show off the compile once/run everywhere mantra :D

  Tell me if you find a fix, I'll try it again.

  Yahel

  On 5 avr, 14:37, Gabriel Simões gsim...@gmail.com wrote:

   The layout was built using Relative Layout.
   By what I´ve read so far, it should work on 1.5, right? I´ve also read
   elsewhere that until 1.6 relative layout had problems with the order
   in which the widgets where built.
   Yahel, sorry for the inconvenience, I will try to fix it as soon as
   possible, ok?

   Thanks,
   Gabriel

   On 5 abr, 09:23, Yahel kaye...@gmail.com wrote:

Ok, I can run it now but the layout is completely off :

   http://www.mediafire.com/imageview.php?quickkey=tyaiewfnk0ithumb=4

Yahel

On 5 avr, 13:46, Gabriel Simões gsim...@gmail.com wrote:

 I have just updated the app to v. 1.0.1

 - Fixed a reported bug on AudioTrack´s internal buffersize
 - Added Android 1.5

 The thing I´d like to know is how well are the audio click and UI
 changes syncronized. It´s hard to measure it using the emulator and
 right now Android is not made for it. Tried some different approaches
 but can´t confirm which one is the best. I hope it´s the one I´ve
 used! hehehehe

 Please give me your feedbacks about how it´s working!

 Thanks,
 Gabriel Simões

 On 5 abr, 08:06, Gabriel Simões gsim...@gmail.com wrote:

  Updating right now 

  On 5 abr, 08:03, Carl Whalley carl.whal...@googlemail.com wrote:

   I ran into this recently. Try this in your AndroidManifest.xml

   uses-sdk
   android:minSdkVersion=3
   android:targetSdkVersion=4 /

   --
   Android Academyhttp://androidacademy.com

   On Apr 5, 6:01 am, Gabriel Simões gsim...@gmail.com wrote:

Hi all,

After spending some time learning about Android´s SDK I´ve 
finally
finished a first version of my first app: a metronome.
It´s a simple app but I´ve faced some problems with AudioTrack, 
most
trying to syncronize the audio with changes on the UI. In the 
end I
did all my tests using the Android Emulator (1.6 and 2.1) since 
I don
´t have an Android device right now.
I´ve posted this first version on some sites to get an initial
feedback about it: how it works, how is the syncronization 
between
audio and UI, how easy it is to understand the UI, if it´s 
stable,
etc.
I would appreciate if you could give me some feedback:

   https://slideme.org/application/mobile-metronomehttp://andappstore.co...

I will post it on Android market as soon as I confirm it´s 
stable and
working properly.

Thanks,
Gabriel Simões- Ocultar texto das mensagens anteriores -

   - Mostrar texto das mensagens anteriores -- Ocultar texto das 
   mensagens anteriores -

  - Mostrar texto das mensagens anteriores -- Ocultar texto das 
  mensagens anteriores -

- Mostrar texto das mensagens anteriores -

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Force Close

2010-04-05 Thread RMD
The class below sends and SMS message onLocationChange of the GPS,
well I want it to anyway.

Alone it works fine, but as a class it doesn't.  If I comment out the
code in sendSMS() the program doesn't crash on the phone but it also
doesn't send the SMS.  The same code runs as a standalone sends SMS
just fine.

SMS Class
package xxx..xxx.sms;

import android.app.Activity;
import android.app.PendingIntent;
import android.content.Intent;
import android.telephony.SmsManager;

public class SimpleSMS extends Activity {

public void sendSMS(String phoneNumber, String message) {
  PendingIntent pi = PendingIntent.getActivity(this, 0,new
Intent(this, SimpleSMS.class), 0);
  SmsManager sms = SmsManager.getDefault();
  sms.sendTextMessage(phoneNumber, null, message, pi,
null);
}
}
--

This is how I use the class
SimpleSMS sms   =   new SimpleSMS();

sms.sendSMS(phoneNo, v);  \\ v is gps coordinates

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Force Close

2010-04-05 Thread Mark Murphy

 The class below sends and SMS message onLocationChange of the GPS,
 well I want it to anyway.

 Alone it works fine, but as a class it doesn't.  If I comment out the
 code in sendSMS() the program doesn't crash on the phone but it also
 doesn't send the SMS.  The same code runs as a standalone sends SMS
 just fine.

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine the
Java stack trace associated with your force close dialog. That should
help you diagnose the problem.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Send email in background

2010-04-05 Thread Mark Murphy

 Is there and accepted way to send an email in the background?

You would need to integrate your own email client library (e.g.,
JavaMail), as there is no way to send email in Android natively without
user intervention.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Complains of shrinking font sizes

2010-04-05 Thread polyclefsoftware
Okay, you just need to make sure you define your font sizes in scale-
independent pixels (sip or sp) instead of whatever you were using
before.

For whatever reason, on the Droid pre-2.1 it would automatically scale
text not defined in scale-independent pixels. Now it doesn't.

On Apr 4, 10:01 am, polyclefsoftware dja...@gmail.com wrote:
 Yep, I'm experiencing the same thing, both personally after upgrading
 myDroidto 2.1 and from users who have just upgraded.

 I'm assuming there's an easy fix, but does anyone else know why the
 update had this effect?

 On Feb 10, 2:54 pm, Timothy DeWees whtdrgn...@gmail.com wrote:



  Hello,

  I have an application on the Android Market called My Collection Pro.
  I am getting complaints from my post Android 2.0 users (Droid, etc)
  that when the close and re-open the app, thefontkeeps getting
  smaller.

  I build my application in the 1.5 API to have the highest number of
  supported phones.  If the users rotate the phone to cause the app to
  restart it goes back to the originalfont.

  I am unable to reproduce this in the emulator and on my G1.

  Any ideas or suggestions?  My resource layouts are really straight-
  forward and I leavefontat system default (i.e., I don't specify
  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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Force Close

2010-04-05 Thread RMD
Thanks,
 There appear to be a bunch of errors:
E/dalvikvm(  237): Unable to open stack trace file '/data/anr/
traces.txt': Permission denied

I'm new to java and down in the log I see an uncaught exception.  I
guess a figure out exception handling and do it on the sendSMS class?


adb logcat results:

I/ActivityManager(   52): Starting activity: Intent
{ act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x1020
cmp=xxx.xxx.xxx./.project }
I/ActivityManager(   52): Start proc x for activity
x/.projectname: pid=237 uid=10024 gids={}
D/ddm-heap(  237): Got feature list request
D/LocationManager(  237): Constructor: service =
android.location.ilocationmanager$stub$pr...@43d07820
W/GpsLocationProvider(   52): Duplicate add listener for uid 10024
D/GpsLocationProvider(   52): setMinTime 0
D/GpsLocationProvider(   52): startNavigating
D/AndroidRuntime(  237): Shutting down VM
W/dalvikvm(  237): threadid=3: thread exiting with uncaught exception
(group=0x4001b188)
E/AndroidRuntime(  237): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(  237): java.lang.RuntimeException: Unable to start
activity ComponentInfo{x/.projectname}:
java.lang.NullPointerException
E/AndroidRuntime(  237):at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2496)
E/AndroidRuntime(  237):at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2512)
E/AndroidRuntime(  237):at android.app.ActivityThread.access
$2200(ActivityThread.java:119)
E/AndroidRuntime(  237):at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1863)
E/AndroidRuntime(  237):at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  237):at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(  237):at
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(  237):at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  237):at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(  237):at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(  237):at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(  237):at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime(  237): Caused by: java.lang.NullPointerException
E/AndroidRuntime(  237):at
android.content.ContextWrapper.getPackageName(ContextWrapper.java:120)
E/AndroidRuntime(  237):at
android.content.ComponentName.init(ComponentName.java:75)
E/AndroidRuntime(  237):at android.content.Intent.init(Intent.java:
2551)
E/AndroidRuntime(  237):at
x.sms.SimpleSMS.sendSMS(SimpleSMS.java:11)
E/AndroidRuntime(  237):at
x.projectname.onCreate(project.java:35)
E/AndroidRuntime(  237):at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1047)
E/AndroidRuntime(  237):at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2459)
E/AndroidRuntime(  237):... 11 more
I/Process (   52): Sending signal. PID: 237 SIG: 3
I/dalvikvm(  237): threadid=7: reacting to signal 3
E/dalvikvm(  237): Unable to open stack trace file '/data/anr/
traces.txt': Permission denied

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

To unsubscribe, reply using remove me as the subject.


[android-developers] ad support?

2010-04-05 Thread schwiz
I am wanting to make an ad supported version of my app, any
suggestions as who to go with?  I was just looking into Admob, anyone
like a different company better?  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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: MediRecorder query

2010-04-05 Thread ani
All your questions or answers should be posted in google developers
site.If you want you can cc to the specific people whom you want to
address.
So that people who are facing problem like yours can google it :)

Answer for your question is :
Can anyone please tell me the location where the audioflinger,
surfaceflinger and cameraservice talk to MediaRecorder's APIs?

PV framework talks to audioflinger to supply the decoded audio
data.You can look in
http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree;f=android;h=6bbe69f1324e6cf809375cd0ffba01547f5f7bee;hb=HEAD

 android_audio_output.cpp is the file which talks to audioflinger and
supplies the audio data.

Regarding surfaceflinger and cameraservice i am not sure how they talk
to framebuffer driver.You can check the jni code and find out that.
Or someone has a better answer please share.

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Re: Force Close

2010-04-05 Thread Mark Murphy
  There appear to be a bunch of errors:
 E/dalvikvm(  237): Unable to open stack trace file '/data/anr/
 traces.txt': Permission denied

Those aren't tied to your problem. That is standard chatter from the
Android subsystems, chatter which I desperately wish wasn't at ERROR log
level if the core Android team isn't intending on fixing them.

 I'm new to java and down in the log I see an uncaught exception.  I
 guess a figure out exception handling and do it on the sendSMS class?

The key lines are:

 E/AndroidRuntime(  237): Caused by: java.lang.NullPointerException
 E/AndroidRuntime(  237):  at
 android.content.ContextWrapper.getPackageName(ContextWrapper.java:120)
 E/AndroidRuntime(  237):  at
 android.content.ComponentName.init(ComponentName.java:75)
 E/AndroidRuntime(  237):  at android.content.Intent.init(Intent.java:
 2551)
 E/AndroidRuntime(  237):  at
 x.sms.SimpleSMS.sendSMS(SimpleSMS.java:11)

You are calling an Intent constructor with some malformed parameters,
apparently.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread ~ TreKing
On Mon, Apr 5, 2010 at 2:00 AM, HeHe cnm...@gmail.com wrote:

 why do you think i am not being serious?!


Because you insist on asking the exact same question after an answer was
posted (and then re-posted) about 3 times now.

I thought Xavier's first post about the Config.DEBUG variable indicating the
DEVICE was debug was clear that this was not something you could change or
had anything to do with the debuggable flag.

I hope Bob's post clears this up. And to add to that the link he posted
refers to the debuggable flag in the manifest I mentioned earlier.

If you're still confused, maybe explaining why you insist on using
Config.DEBUG would help clear things up?

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

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Force Close

2010-04-05 Thread RMD
Mark I really appreciate your help.  It can frustrating to learn a new
language.

I have tried different logcat options trying to sift out some of the
chatter, but at this point I'm not sure what is chatter and what is of
value.

./adb logcat ActivityManager:D myProject:V *:S



On Apr 5, 10:38 am, Mark Murphy mmur...@commonsware.com wrote:
   There appear to be a bunch of errors:
  E/dalvikvm(  237): Unable to open stack trace file '/data/anr/
  traces.txt': Permission denied

 Those aren't tied to your problem. That is standard chatter from the
 Android subsystems, chatter which I desperately wish wasn't at ERROR log
 level if the core Android team isn't intending on fixing them.

  I'm new to java and down in the log I see an uncaught exception.  I
  guess a figure out exception handling and do it on the sendSMS class?

 The key lines are:

  E/AndroidRuntime(  237): Caused by: java.lang.NullPointerException
  E/AndroidRuntime(  237):   at
  android.content.ContextWrapper.getPackageName(ContextWrapper.java:120)
  E/AndroidRuntime(  237):   at
  android.content.ComponentName.init(ComponentName.java:75)
  E/AndroidRuntime(  237):   at android.content.Intent.init(Intent.java:
  2551)
  E/AndroidRuntime(  237):   at
  x.sms.SimpleSMS.sendSMS(SimpleSMS.java:11)

 You are calling an Intent constructor with some malformed parameters,
 apparently.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 Android App Developer Books:http://commonsware.com/books.html

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Creating Multiple Instances of a Class

2010-04-05 Thread Matthew Patience
I definitely have a lot to try out now between arrays a pool of laser
objects. Thanks for answering my beginner question.

Thanks again.

On Apr 3, 3:10 pm, ~ TreKing treking...@gmail.com wrote:
 On Fri, Apr 2, 2010 at 5:58 PM, Matthew Patience 

 matthewj.patie...@gmail.com wrote:
   What I want to do is while the user is
  holding down the fire button to have it keep creating instances of the
  Laser class like a rapid fire and then when they hit the edge of the
  screen have them be disappear/destroyed so they are no longer taking
  up memory.

 To add to what has been said, you probably don't want to be continuously
 creating / destroying these laser objects if they are going to be used in
 high-frequency - and it sound like they are (rapid fire). This would mean
 a lot of unnecessary memory allocation and de-allocation that is likely to
 hurt your performance on a mobile device.

 Instead you could have a small pool of Laser objects initialized up front
 that will be the max number of lasers the user can fire and see on screen at
 any given time. By default all objects are inactive, or unfired. When
 the user fires one, you find the first inactive laser and fire it, which
 means making it active and getting it ready to move along it's path. Once
 it's hit something or is off screen, it's marked inactive again
 (destroyed) to be put back in the pool for re-use.

 You could do this with two lists (active and inactive), moving items back
 and forth as necessary, or with one list and setting a flag on each laser
 object indicating it's current state.

 Just some stuff to think about as you make your game. Hope that helps! Good
 luck!

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

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Droid Video Recorder

2010-04-05 Thread Abhi
DP,

no. I couldn't find anything that would let me record videos at high
resolutions. Were you able to figure out?

Abhi

On Apr 1, 2:24 pm, DP dcp...@gmail.com wrote:
 Did anyone found a solution to record 720x480 videos yet?

 On Mar 9, 2:39 pm,Abhiabhishek.r.sha...@gmail.com wrote:

  There is a CamcorderPreview class that extends surfaceview

  public CamcorderPreview(Context context, AttributeSet attrs) {
  super(context, attrs);
  holder = getHolder();
  holder.addCallback(this);
  holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
  recorder = new MediaRecorder();
  recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
  recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
  recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
  recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
  recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264);
  recorder.setVideoSize(352, 288);
  //recorder.setVideoFrameRate(15);
  recorder.setMaxDuration(6);

  }

  I tried changing the MediaRecorder parameters like video size, frame
  rate, o/p format etc. to try and get better output quality, but none
  works.

  This is my layout

  LinearLayout xmlns:android=http://schemas.android.com/apk/res/
  android
       android:orientation=vertical android:layout_width=fill_parent
       android:layout_height=fill_parent
       com.sample.camcorder.CamcorderPreview android:id=@+id/
  camcorder_preview
            android:layout_width=352dp android:layout_height=288dp
            android:enabled=false android:focusable=true
  android:clickable=true /
  /LinearLayout

  See if you can help

  Thanks,

 Abhi

  On Mar 6, 7:38 am, Abelardo abelard...@gmail.com wrote:

   Hi,Abhi

   Could you send me the whole app to find what are you doing?

   Thanks. Best regards,

   Abelardo.

   On 1 feb, 22:00,Abhiabhishek.r.sha...@gmail.com wrote:

Hi,

I am trying to create a Video recorder but it looks like the video
resolution is limited to 320 x 240. I tried changing it through
MediaRecorder.setVideoSize() to something higher (e.g. 640 x 480) but
gives me the same result.

Is there a way to record video at higher quality?

Also, when I tryusingthe CAMERA as VideoSource instead of DEFAULT,
the app force closes.

MediaRecorder.setVideoSource(MediaRecorder.VideoSource.DEFAULT)

Am I doing something wrong? Which is the best configuration (encoding
options?) to give the best video quality?

Thanks,

   Abhi



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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Creating Multiple Instances of a Class

2010-04-05 Thread Matthew Patience
Just to confirrm ill have better performance in having a set amount of
laser objects rather than creating them each time?

On Apr 3, 3:10 pm, ~ TreKing treking...@gmail.com wrote:
 On Fri, Apr 2, 2010 at 5:58 PM, Matthew Patience 

 matthewj.patie...@gmail.com wrote:
   What I want to do is while the user is
  holding down the fire button to have it keep creating instances of the
  Laser class like a rapid fire and then when they hit the edge of the
  screen have them be disappear/destroyed so they are no longer taking
  up memory.

 To add to what has been said, you probably don't want to be continuously
 creating / destroying these laser objects if they are going to be used in
 high-frequency - and it sound like they are (rapid fire). This would mean
 a lot of unnecessary memory allocation and de-allocation that is likely to
 hurt your performance on a mobile device.

 Instead you could have a small pool of Laser objects initialized up front
 that will be the max number of lasers the user can fire and see on screen at
 any given time. By default all objects are inactive, or unfired. When
 the user fires one, you find the first inactive laser and fire it, which
 means making it active and getting it ready to move along it's path. Once
 it's hit something or is off screen, it's marked inactive again
 (destroyed) to be put back in the pool for re-use.

 You could do this with two lists (active and inactive), moving items back
 and forth as necessary, or with one list and setting a flag on each laser
 object indicating it's current state.

 Just some stuff to think about as you make your game. Hope that helps! Good
 luck!

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

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Re: Force Close

2010-04-05 Thread Mark Murphy

 Mark I really appreciate your help.  It can frustrating to learn a new
 language.

If you are new to both Java and Android, I generally recommend you spend a
few weeks poking around Java itself, outside of Android. Learning both at
the same time can be painful, simply because Android is not exactly like
the Java SE or related Java development packages.


 I have tried different logcat options trying to sift out some of the
 chatter, but at this point I'm not sure what is chatter and what is of
 value.

 ./adb logcat ActivityManager:D myProject:V *:S

You'll find DDMS a bit easier for filtering than adb logcat.

Basically, look for Unhandled Exceptions, then scan down until you find
your code referenced. In particular, most Unhandled Exceptions have two
stanzas to the stack trace -- your code should appear somewhere in the
second one, which starts with Caused by.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Re: Service Object Availability between Activities

2010-04-05 Thread Jason LeBlanc
Is there an obvious reason why I am able to bind to the service, yet unable
to access it's objects?

Thanks,
J

On Apr 4, 2010 9:01 AM, Tunneling jasonalebl...@gmail.com wrote:

I have a Connection object that is instantiated by the
ConnectionService. I bind to the service in order to access the
Connection object and get information from a controller over TCP/IP.

Again, I launch the service from a splash screen with success. I bind
to the service in my main activity and can access it's objects(i.e.
Connection) successfully.

Then once I start a new activity from the main activity, I am able to
successfully bind to the service. However, when I try to access the
Connection object I get the following errors/warns.

I would like to be able to connect to the object from multiple
activities throughout the application to obtain up to date information
from the controller.

Any assistance is greatly appreciated.

Here is the dump from LogCat.

04-04 08:25:18.068: INFO/ActivityManager(76): Process
com.google.android.apps.maps:LocationFriendService (pid 15448) has
died.
04-04 08:25:21.888: INFO/NotificationService(76): enqueueToast
pkg=com.scs.haus callback=android.app.ITransientNotification$Stub
$pr...@434d3868 duration=1
04-04 08:25:21.898: INFO/ActivityManager(76): Starting activity:
Intent { cmp=com.scs.haus/.LightController (has extras) }
04-04 08:25:22.088: WARN/Resources(15436): Converting to string:
TypedValue{t=0x12/d=0x0 a=2 r=0x7f070008}
04-04 08:25:22.098: WARN/Resources(15436): Converting to string:
TypedValue{t=0x12/d=0x0 a=2 r=0x7f070009}
04-04 08:25:22.108: INFO/LightController(15436): Could not check
serviceBinder.c.connected)
04-04 08:25:22.108: WARN/System.err(15436):
java.lang.NullPointerException
04-04 08:25:22.108: WARN/System.err(15436): at
com.scs.haus.LightController.onStart(LightController.java:111)
04-04 08:25:22.108: WARN/System.err(15436): at
android.app.Instrumentation.callActivityOnStart(Instrumentation.java:
1205)
04-04 08:25:22.108: WARN/System.err(15436): at
android.app.Activity.performStart(Activity.java:3519)
04-04 08:25:22.118: WARN/System.err(15436): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2373)
04-04 08:25:22.118: WARN/System.err(15436): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2417)
04-04 08:25:22.118: WARN/System.err(15436): at
android.app.ActivityThread.access$2100(ActivityThread.java:116)
04-04 08:25:22.118: WARN/System.err(15436): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
04-04 08:25:22.118: WARN/System.err(15436): at
android.os.Handler.dispatchMessage(Handler.java:99)
04-04 08:25:22.118: WARN/System.err(15436): at
android.os.Looper.loop(Looper.java:123)
04-04 08:25:22.118: WARN/System.err(15436): at
android.app.ActivityThread.main(ActivityThread.java:4203)
04-04 08:25:22.118: WARN/System.err(15436): at
java.lang.reflect.Method.invokeNative(Native Method)
04-04 08:25:22.118: WARN/System.err(15436): at
java.lang.reflect.Method.invoke(Method.java:521)
04-04 08:25:22.118: WARN/System.err(15436): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:791)
04-04 08:25:22.118: WARN/System.err(15436): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
04-04 08:25:22.128: WARN/System.err(15436): at
dalvik.system.NativeStart.main(Native Method)
04-04 08:25:22.128: INFO/LightController(15436): Could not check
serviceBinder.c.connected)
04-04 08:25:22.128: WARN/System.err(15436):
java.lang.NullPointerException
04-04 08:25:22.128: WARN/System.err(15436): at
com.scs.haus.LightController.onResume(LightController.java:126)
04-04 08:25:22.128: WARN/System.err(15436): at
android.app.Instrumentation.callActivityOnResume(Instrumentation.java:
1225)
04-04 08:25:22.128: WARN/System.err(15436): at
android.app.Activity.performResume(Activity.java:3559)
04-04 08:25:22.128: WARN/System.err(15436): at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:
2838)
04-04 08:25:22.128: WARN/System.err(15436): at
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:
2866)
04-04 08:25:22.138: WARN/System.err(15436): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2420)
04-04 08:25:22.138: WARN/System.err(15436): at
android.app.ActivityThread.access$2100(ActivityThread.java:116)
04-04 08:25:22.138: WARN/System.err(15436): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
04-04 08:25:22.138: WARN/System.err(15436): at
android.os.Handler.dispatchMessage(Handler.java:99)
04-04 08:25:22.138: WARN/System.err(15436): at
android.os.Looper.loop(Looper.java:123)
04-04 08:25:22.138: WARN/System.err(15436): at
android.app.ActivityThread.main(ActivityThread.java:4203)
04-04 08:25:22.138: WARN/System.err(15436): at
java.lang.reflect.Method.invokeNative(Native Method)
04-04 08:25:22.138: 

Re: [android-developers] Send email in background

2010-04-05 Thread Jiri

See this:

http://groups.google.com/group/android-developers/browse_thread/thread/9c7bca0a1b6957a9

Jiri

On 05/04/2010 15:58, Mark Murphy wrote:



Is there and accepted way to send an email in the background?


You would need to integrate your own email client library (e.g.,
JavaMail), as there is no way to send email in Android natively without
user intervention.



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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
Bob, thanks for reply. i am still still very very confusedthe link
you gave me is a constant FLAG_DEBUGGABLE, indicating the
application is manifested to be debuggable. but what i need is some
info telling my apk that it was a debug or release built without
changing the debuggable attribute in manifest each time between
debug/release builds. i need it because in case i forget to change the
debuggable attribute of my release built to false my apk can still
behave correctly.

in short,
(1). i dont want to change the debuggable attribute in manifest
between debug and release builds.
(2). i need to some programmatic method in my apk so that it can know
whether  it is built by Run Run As or Run Debug As, or by
Android Tools Export Signed Application.

On Apr 5, 12:27 am, Bob Kerns r...@acm.org wrote:
 TreKing -- He doesn't understand what a debug build is. The flag
 indicates that the DEVICE, not your APPLICATION is a debug build.

 HeHe -- That's why you can't get at it with Config.DEBUG -- you'd need
 to reflash your device. You don't make this in Eclipse -- or at least
 not using the SDK.

 What you're really looking for is 
 this:http://developer.android.com/intl/de/reference/android/content/pm/App...

 Just  little misunderstanding...

 On Apr 4, 9:28 pm, ~ TreKing treking...@gmail.com wrote:



  On Sun, Apr 4, 2010 at 9:38 PM, HeHe cnm...@gmail.com wrote:
   my apk stills gets a *false* Config.DEBUG value.

  Are you being serious? Which part of Xavier's post did you not understand?

  So once again:

  On Sun, Apr 4, 2010 at 3:35 PM, Xavier Ducrohet x...@android.com wrote:
   If you are talking about
  http://d.android.com/reference/android/util/Config.html#DEBUGthenit's
   based on whether the device build is a debug build. It has nothing to do
   with your app.

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

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Activating Bluetooth

2010-04-05 Thread Ken H
Thank you! I was starting to think I only seem to ask questions no one
knows the answer to. :)

Ken

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Force Close

2010-04-05 Thread RMD
At the risk of being annoying I'll keep on sharing...


I put this catch in for when I try to send a SMS

try {
sms.sendSMS(phoneNo, v);
} catch (Exception ex)
{
Log.d(EXCEPTION 
SendSMS-} ,
ex.getMessage());
}


And got this exception
04-05 11:38:04.870: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message

There is no println in my code.



04-05 11:43:33.204: DEBUG/Camera-JNI(1353): release camera
04-05 11:43:33.204: DEBUG/CameraService(52): Client::disconnect() E
(pid 1353 client 0x12678)
04-05 11:43:33.204: DEBUG/CameraService(52): hardware teardown
04-05 11:43:33.204: DEBUG/QualcommCameraHardware(52): release E
04-05 11:43:33.375: WARN/AudioFlinger(52): write blocked for 175
msecs, 32 delayed writes, thread 0xd768
04-05 11:43:33.375: WARN/AudioFlinger(52): write blocked for 175
msecs, 32 delayed writes, thread 0xd768
04-05 11:43:33.434: DEBUG/QualcommCameraHardware(52): release X
04-05 11:43:33.434: DEBUG/QualcommCameraHardware(52):
~QualcommCameraHardware E
04-05 11:43:33.434: DEBUG/QualcommCameraHardware(52):
~QualcommCameraHardware X
04-05 11:43:33.434: DEBUG/CameraService(52): removeClient (pid 1353)
done
04-05 11:43:33.434: DEBUG/CameraService(52): Client::disconnect() X
(pid 1353)
04-05 11:43:33.434: DEBUG/QualcommCameraHardware(52): release X
04-05 11:43:33.434: DEBUG/QualcommCameraHardware(52):
~QualcommCameraHardware E
04-05 11:43:33.434: DEBUG/QualcommCameraHardware(52):
~QualcommCameraHardware X
04-05 11:43:33.434: DEBUG/CameraService(52): removeClient (pid 1353)
done
04-05 11:43:33.434: DEBUG/CameraService(52): Client::disconnect() X
(pid 1353)
04-05 11:43:33.444: DEBUG/CameraService(52): Client::~Client E (pid
52, client 0x12678)
04-05 11:43:33.444: DEBUG/CameraService(52): Client::~Client E (pid
52, client 0x12678)
04-05 11:43:33.474: DEBUG/CameraService(52): Client::disconnect() E
(pid 52 client 0x12678)
04-05 11:43:33.474: DEBUG/CameraService(52): Client::~Client X (pid
52)
04-05 11:43:33.474: DEBUG/CameraService(52): Client::disconnect() E
(pid 52 client 0x12678)
04-05 11:43:33.474: DEBUG/CameraService(52): Client::~Client X (pid
52)
04-05 11:43:33.785: INFO/ActivityManager(74): Displayed activity
com.android.vending/.SearchAssetListActivity: 341 ms (total 341 ms)
04-05 11:43:33.785: INFO/ActivityManager(74): Displayed activity
com.android.vending/.SearchAssetListActivity: 341 ms (total 341 ms)
04-05 11:43:36.425: INFO/AudioHardwareQSD(52): AudioHardware pcm
playback is going to standby.
04-05 11:43:36.425: INFO/AudioHardwareQSD(52): AudioHardware pcm
playback is going to standby.
04-05 11:43:40.601: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:43:41.284: DEBUG/dalvikvm(576): GC freed 8433 objects /
643000 bytes in 44ms
04-05 11:43:41.284: DEBUG/dalvikvm(576): GC freed 8433 objects /
643000 bytes in 44ms
04-05 11:43:46.600: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:43:55.611: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:44:07.601: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:44:12.600: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:44:19.611: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:44:21.611: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:44:26.611: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:44:31.611: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:44:34.611: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:44:41.610: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:44:53.611: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:45:04.610: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:45:08.610: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:45:08.324: DEBUG/NetworkLocationProvider(74):
onCellLocationChanged [4301,30952]
04-05 11:45:08.324: DEBUG/NetworkLocationProvider(74):
onCellLocationChanged [4301,30952]
04-05 11:45:11.611: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:45:13.611: DEBUG/EXCEPTION
SendSMS-}(443): println needs a message
04-05 11:45:16.774: DEBUG/Sync(74): Received network tickle for
rmdel...@gmail.com - https://mail.google.com/mail/g/?client=1269205294508

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 

[android-developers] Android PDF library

2010-04-05 Thread momojo
Are there any android pdf libraries that are pretty well mature? ie
show images, etc? I am workig on an app that will basically allow
reading of PDFs and I wanted to check here to see if there is an
accepted means of doing this.

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Help with contacts/numbers data to listView.

2010-04-05 Thread Jiri

Is there someone who could help me out?

Jiri

On 02/04/2010 14:25, jiri wrote:

Hello List,

I am looking for a solution to a problem where I have to query all
users and then for each user I query for her numbers. Offcourse I can
build a strcuture first, but that has proven to be quit slow. Building
a strcuture and  then placing it in a listview seems like a detour.
Now I would like to create a CustomCursor, where I want to implement
my own moveToNext() mehtod. The implementation needs to identify if it
is currently at a 'contactname' and if so, the next time it is called,
it should create a sub cursor that can go through the 'contact' s
phonenumbers.

My question, can somebody point me to some resources where I can study
how to do this, or some sample code. Advice is also welcome
offcourse .

The end result I am trying to achive is a ListActivity that show
ContactNames as a non-clickable seperator and then all the numbers of
that user. Like so:

contact name
number
number
contact name
number

Thank you,

Jiri



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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
thanks. now i understand it. Config.DEBUG is for DEVICE and not for
APK.

i need some info to tell my apk which of map api key to use.  here are
the 2 cases:

(1). build apk by selecting Eclipse Run Run As or Run Debug As
menu option. in this case, the apk is a DEBUG built and is signed by
Android Debug key. hence, the apk must use the map api key applied
with the md5 checksum of Android Debug key. no matter on which of
emulator or real handset the apk runs, it is a DEBUG built.

(2). build apk by selcting Android Tools Export Signed Application
menu option. in this case, the apk is a RELEASE built and is signed by
my key. so the apk must use the map api key applied with the md5
checksum of my key.

is there any way for my apk to programmatically know that it itself is
a DEBUG or RELEASE built without changing manifest debuggable
attribute so that my apk can choose the right map api key?

or, my question can be: is there any way for my apk to know by which
of DEBUG/RELEASE key it was signed?

On Apr 5, 7:41 am, ~ TreKing treking...@gmail.com wrote:
 On Mon, Apr 5, 2010 at 2:00 AM, HeHe cnm...@gmail.com wrote:
  why do you think i am not being serious?!

 Because you insist on asking the exact same question after an answer was
 posted (and then re-posted) about 3 times now.

 I thought Xavier's first post about the Config.DEBUG variable indicating the
 DEVICE was debug was clear that this was not something you could change or
 had anything to do with the debuggable flag.

 I hope Bob's post clears this up. And to add to that the link he posted
 refers to the debuggable flag in the manifest I mentioned earlier.

 If you're still confused, maybe explaining why you insist on using
 Config.DEBUG would help clear things up?

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

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread ~ TreKing
On Mon, Apr 5, 2010 at 10:42 AM, HeHe cnm...@gmail.com wrote:

 but what i need is some info telling my apk that it was a debug or release
 built without changing the debuggable attribute in manifest each time
 between debug/release builds.


This is not possible. You will have to make sure to remember to change that
debuggable flag. Maybe add some code that sets your primary layout's
background color to red in debug mode or something if you're so worried
about it so you always know that you have that flag set.


 i need it because in case i forget to change the debuggable attribute of my
 release built to false my apk can still behave correctly.


So you don't really NEED it ... you just have to be careful before
publishing your app. Even a rudimentary test on your release APK should
alert you that you still have the debuggable flag set (for example, by
setting your background to red in debug mode), in which case it takes about
2 seconds to switch it and rebuild.

(1). i dont want to change the debuggable attribute in manifest between
 debug and release builds.


You should.
http://developer.android.com/intl/fr/guide/publishing/preparing.html
Read section 4

In fact, as far as Android is concerned, that debuggable flag is pretty much
what defines DEBUG vs RELEASE, AFAIK.

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

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: How do I get the MD5 fingerprint of my application certificate through code?

2010-04-05 Thread Bob Kerns
Well, first, there's likely to be no MD5 hash involved at all. DSA
with SHA-1 would be the default signature type now, I believe.

Hashcode would not be secure. That is, you can construct an alternate
app+signature that would produce the same hash code. That may be good
enough for you, but I would discourage such a technique. However, you
could construct a secure SHA-1 hash of the value!

The documentation for android.content.pm.Signature states that it is
opaque. That means -- you're not supposed to know or try to figure out
what's in it.

I imagine the 979 characters include the hex or base 64 encoding of
the signing certificate. I am not sure if it actually contains the
signature! The purpose appears to be to compare WHO signed it, not the
actual individual signature. Everywhere the PackageManager
documentation refers to a signature, it is talking about seeing if two
packages have the same signature. That would imply it is ignoring
the hash, if it is even present in the datastructure. (It could ignore
the hash after verifying the application).

We could find out by comparing the Signature for two apps that have
been signed with the same key.

Unfortunately, the contract given for PackageManager does not even
guarantee that you'd get the same 979-character string consistently,
even for the same version of the same application. I'd be quite
surprised if you didn't. A more relevant question is if you get the
same value for two different versions of your app. If they include the
hash portion of the signature, and its encrypted counterpart, then the
answer is no.

I wish the semantics were better documented here.

However, you can include whatever you want in your manifest in
metadata. Why not just put your key there? Even if you are seeking to
tie it to your specific app, there's nothing that would prevent an
intruder from computing the same values with your app and then using
them from his app. There IS no secure way to guarantee that a request
comes from a specific application. A particular uncompromised device
or user, yes, but application, no. Nothing in a .apk can be regarded
as secret.


On Apr 5, 5:33 am, mendhak mend...@gmail.com wrote:
 Still struggling with this. Based on what you said, I tried playing
 with this:

 Signature[] sigs =
 getBaseContext().getPackageManager().getPackageInfo(com.whatever.blahpacka 
 ge,
 64).signatures;

 (64 = GET_SIGNATURE)

 I then had a look at

 sigs[0].toCharsString()

 which produced a 979 character long string!

 Is hashCode() of any use here?  I ignored it for now.

 I also had a look at toByteArray(), by converting it to a String.  The
 result was a string that contained some readable ASCII characters and
 some gobbledygook characters like 0 0 N      

 I'm wondering if toCharsString is what we're actually looking for, but
 that's a huge amount of text to be sending along with the request!
 Would hashCode do?

 On Mar 31, 2:46 pm, ko5tik kpriblo...@yahoo.com wrote:



  I'm also gnawing on the same problem.  At the moment
  I'm investigating following path:

  Context - Package Manager - Package info (for name, with
  signatures ) - Signatures

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
thanks for the good idea to turn debuggable apk to red. however, the
problem i am experiencing that even after i set debuggable attribute
in manifest to TRUE and build and launch my apk using Eclipse Run
Debug As, my apk still sees Config.DEBUG as FALSE. so right now i
don't know how my apk can programmatically learn that it is a debug
built. do you have a snippet teaching me how? thanks in adavance.

On Apr 5, 8:59 am, ~ TreKing treking...@gmail.com wrote:
 On Mon, Apr 5, 2010 at 10:42 AM, HeHe cnm...@gmail.com wrote:
  but what i need is some info telling my apk that it was a debug or release
  built without changing the debuggable attribute in manifest each time
  between debug/release builds.

 This is not possible. You will have to make sure to remember to change that
 debuggable flag. Maybe add some code that sets your primary layout's
 background color to red in debug mode or something if you're so worried
 about it so you always know that you have that flag set.

  i need it because in case i forget to change the debuggable attribute of my
  release built to false my apk can still behave correctly.

 So you don't really NEED it ... you just have to be careful before
 publishing your app. Even a rudimentary test on your release APK should
 alert you that you still have the debuggable flag set (for example, by
 setting your background to red in debug mode), in which case it takes about
 2 seconds to switch it and rebuild.

 (1). i dont want to change the debuggable attribute in manifest between

  debug and release builds.

 You 
 should.http://developer.android.com/intl/fr/guide/publishing/preparing.html
 Read section 4

 In fact, as far as Android is concerned, that debuggable flag is pretty much
 what defines DEBUG vs RELEASE, AFAIK.

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

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

To unsubscribe, reply using remove me as the subject.


[android-developers] ~~Hi~~

2010-04-05 Thread Abdullah Bakhach
http://sites.google.com/site/gdfh76tgfs/rulp6p

-- 
Abdullah Bakhach
FOSS Factory
President  co-founder
www.fossfactory.org/abdullah
519.505.0602

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

To unsubscribe, reply using remove me as the subject.


  1   2   3   4   >