[android-developers] Market Intent Suggestion

2010-03-03 Thread Atif Gulzar
When we search for an application by its fully qualified Java package name
using

http://market.android.com/search?q=pname: or
market://search?q=pname:

It displays a single result in a list.

Since it a single result it should display the detailed application view
instead of showing it in a list view.


Just a suggestion





--
Best Regards,
Atif Gulzar

I  Unicode, ɹɐzlnƃ ɟıʇɐ

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Yin
guys, try 2 check this:
http://sites.google.com/site/developermarketandroidgiveaway/faq

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

2010-03-03 Thread Beena
second thing how can I use it?

It showing me all the packages.

Then how can I parse it?
Any sample code will help a lot.

Thanks.

On Mar 4, 12:06 pm, Beena  wrote:
> Thanks Jens,
>
> I have to parse HTML in my project.
>
> I have set the tagsoup-1.2.jar file using eclips.
> Now when I build it gives warning as
> warning: Ignoring InnerClasses attribute for an anonymous inner class
> that doesn't come with an associated EnclosingMethod attribute. (This
> class was probably produced by a broken compiler.)
>
> All the parser giving same warning.
>
> Please reply.
>
> Its urgent.
>
> On Feb 24, 1:23 pm, Jens  wrote:
>
> > Tagsoup. You can add the lib to your project or (ab)use reflection to
> > obtain it from your platform - Google is using themselves.
>
> >http://home.ccil.org/~cowan/XML/tagsoup/
>
> > On 22 Feb, 06:54, Alisha  wrote:
>
> > > Hi All,
>
> > > I have to parse a html file using java. I have gone through a lot of
> > > html parsers, but seem to understand none of them. So please help me
> > > out with the type of parser that should be used for an android app and
> > > how to parse a  html file.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Join
Very helpful.

On Mar 4, 3:20 pm, Yin  wrote:
> guys, try 2 check 
> this:http://sites.google.com/site/developermarketandroidgiveaway/faq

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

2010-03-03 Thread REvolver
> - Are these fields static or are they instance-fields?
 Yes, they're static.

> - When do you call loadAlphaBlinkingBitmaps or loadProxyBitmaps
 All the load Bitmaps methods are called in the gamescreen
constructor.

> - When do you clear out the mBitmap and mProxy caches? (in onPause,
> onDestroy, ...?)
 I clear my bitmaps in the gamescreen onDetachedFormWindow



On Mar 3, 8:26 pm, Streets Of Boston  wrote:
> The fields mProxy and mBitmap are a bit suspect here. You cache
> bitmaps in them.
>
> - Are these fields static or are they instance-fields?
> - When do you call loadAlphaBlinkingBitmaps or loadProxyBitmaps
> (during onCreate, during onPause, ...)
> - When do you clear out the mBitmap and mProxy caches? (in onPause,
> onDestroy, ...?)
>
> On Mar 3, 6:05 am, REvolver  wrote:
>
> > Ok,
>
> > Actually I load several Bitmaps using Bitmap.createBitmap(..) or
> > BitmapFactory.decodeResource(...).
> > In this snippet I use the first way
>
> >         static public void  loadProxyBitmpas(){
> >                 //load the sprites
> >                 BitmapFactory.Options op= new BitmapFactory.Options();
> >                 op.inPreferredConfig=Config.RGB_565;
> >                 int diceSize;
> >                 switch(Main.device){
> >                 case FWVGA:{
> >                         op.inScaled=false;
> >                         break;
> >                 }
> >                 case WVGA:{
> >                         op.inScaled=false;
> >                         break;
> >                 }
> >                 case QVGA:{
> > //                      diceSize=29;
> >                         break;
> >                 }
> >                 case HVGA:{
> >                         break;
> >                 }
> >                 }
> > //              if(Main.runningOnX10){
> > //                      op.inScaled=false;
> > //              }
> >                 int rsId=0;
> >                 Bitmap diceSide=null;
> >                 for (int j = 0; j < 3; j++) {
> >                         switch(j){
> >                                 case 0:{
> >                                         rsId=R.drawable.dice_white;
> >                                         break;
> >                                 }
> >                                 case 1:{
> >                                         rsId=R.drawable.dice_red;
> >                                         break;
> >                                 }
> >                                 case 2:{
> >                                         rsId=R.drawable.dice_black;
> >                                         break;
> >                                 }
> >                         }
> >                         Bitmap
> > tempBitmap=BitmapFactory.decodeResource(Main.instance.getResources(),rsId,o­p);
> >                         
> > diceSize=tempBitmap.getWidth()/NUMBER_OF_DICE_SPRITES;
> >                         Log.d("diceSize", " " + diceSize);
> >                         for (int i = 0; i < DiceBody.SPRITE_COUNT; i++) {
> >                                 Matrix matrix=null;
> >                                 if(Main.device==Device.QVGA){
> >                                         matrix=new Matrix();
> >                                         matrix.setScale(0.9f,0.9f);
> >                                 }
> >                                 diceSide = Bitmap.createBitmap(tempBitmap, 
> > i * diceSize, 0,
> > diceSize, diceSize,matrix,false);
>
> >                                 mProxy[i+(DiceBody.SPRITE_COUNT*j)] = 
> > diceSide;
> >                         }
> >                         tempBitmap.recycle();
> >                         tempBitmap=null;
>
> >                 }
> >     }
>
> > In the next snippet I use the BitmapFactory:
>
> >         static public void loadAlphaBlinkingBitmaps() {
> >                 BitmapFactory.Options op = new BitmapFactory.Options();
> >                 op.inPreferredConfig = Config.ARGB_;
> >                 switch(Main.device){
> >                 case FWVGA:{
> >                         op.inScaled=false;
> >                         break;
> >                 }
> >                 case WVGA:{
> >                         op.inScaled=false;
> >                         break;
> >                 }
> >                 case QVGA:{
> >                         break;
> >                 }
> >                 case HVGA:{
> >                         break;
> >                 }
> >                 }
> > //              if(Main.runningOnX10){
> > //                      op.inScaled=false;
> > //              }
> >                 mBitmap[0] =
> > BitmapFactory.decodeResource(Main.instance.getResources(),
> > R.drawable.nomove, op);
> >                 mBitmap[1] =
> > BitmapFactory.decodeResource(Main.instance.getResources(),
> > R.drawable.icon_fight_small,op);
> >                 mAnimation=new AlphaAnimation(0, 1);
> >                 mAnimation.setInterpolator(new SinInterpolator());
> 

<    1   2   3   4