Monday, May 30, 2011

[android-developers] Re: switching from one app to another

in manifest file put intent filter as callback and browseable


On May 29, 1:02 pm, Dianne Hackborn <hack...@android.com> wrote:
> This will also cause the browser to add new windows/tabs to the single task
> it maintains.  Please don't do this kind of thing. :}
>
>
>
> On Sun, May 29, 2011 at 12:01 AM, Doug <beafd...@gmail.com> wrote:
> > On May 26, 5:06 pm, bob <b...@coolgroups.com> wrote:
> > > I have an app that opens a web browser, but after awhile I want the
> > > app to switch from the web browser back to itself.  Is there an easy
> > > way to do this?
>
> > I agree with Justin and Mark, but I don't have any ethical qualms in
> > sharing a solution that does what you want anyway!  :-)
>
> > Below, if the started Dummy class just called finish() when launched,
> > this will achieve the effect you are looking for, but the browser task
> > will still be alive and the user could return to it if they want.
>
> > By the way, don't do this unless you really understand what you're
> > getting into.
>
> > Doug
>
> > public class Main extends Activity {
> >    Handler handler;
>
> >    @Override
> >    public void onCreate(final Bundle savedInstanceState) {
> >        super.onCreate(savedInstanceState);
> >        setContentView(R.layout.main);
> >        handler = new Handler();
> >        findViewById(R.id.button).setOnClickListener(new
> > View.OnClickListener() {
> >            public void onClick(final View v) {
> >                startActivity(new Intent(Intent.ACTION_VIEW,
> > Uri.parse("http://www.google.com")));
> >                handler.postDelayed(new Runnable() {
> >                    public void run() {
> >                        final Intent intent = new Intent(Main.this,
> > Dummy.class);
>
> > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
> >                        getApplicationContext().startActivity(intent);
> >                    }
> >                }, 10000);
> >            }
> >        });
> >     }
> > }
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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

Re: [id-android] WTA: Tablet android 10" yang ada di pasaran Indonesia

Pendapat saya tablet kan bukan untuk telp/sms om hihihi , prov ada im2 , flash turbo dll yang hanya khusus internet ^_^ , saya masih make im2 om .. Tapi memang kembali ke masing2 sih.

Putra Agus

-----Original Message-----
From: Agus <nissan2k2@gmail.com>
Sender: id-android@googlegroups.com
Date: Tue, 31 May 2011 08:36:21
To: <id-android@googlegroups.com>
Reply-To: id-android@googlegroups.com
Subject: Re: [id-android] WTA: Tablet android 10" yang ada di pasaran Indonesia

nah ini saya setuju banget, kalo 3G ribet miara kartu unlimited lagi..
waktu mau isi pulsa, ambil paket internet, dll. padahal honeycomb ga
support phone/sms feature kan?
belum lagi kalo tabletnya versi CDMA / GSM. bakal terbatas/stuck di provider.
kalau wifi + tether bisa bebas mau pakai apa aja hehehe....

2011/5/31 Adi Nooranto <milisandro@gmail.com>:
> Iya, biasanya sih punya tablet android paling engga punya hh andorid. Tinggal tether aja beres :)
>
> Saya buat tether ke ipad wifi pakai dhd atau aha touch.
> Kalo punya tablet ber 3G, pusing miara kartu unlimited nya lagi...
>
>
>
>
>
> sent from Nokia 5110
>

--
"Indonesian Android Community" Join: http://forum.android.or.id

===============
Xperia arc with Mobile BRAVIA Engine
http://www.sonyericsson.com/product/xperiaarc/video/mbe
---------------------
Gunakan Paket Unlimited Data XL Mobile Broadband
http://www.xl.co.id/XLInternet/BroadbandInternet
--------------------
PING'S Mobile - Plaza Semanggi
E-mail: info@pings-mobile.com Ph. 021-96087100
--------------------
i-gadget Store - BEC Bandung
E-mail: ary@i-gadgetstore.com Ph. 0812-21111191
--------------------
Toko EceranShop - BEC Bandung
E-mail: willy@eceranshop.com Ph. 0815-56599888
===============

Aturan Jualan dan Kloteran ID-Android http://goo.gl/YBN21

--
"Indonesian Android Community" Join: http://forum.android.or.id

===============
Xperia arc with Mobile BRAVIA Engine
http://www.sonyericsson.com/product/xperiaarc/video/mbe
---------------------
Gunakan Paket Unlimited Data XL Mobile Broadband
http://www.xl.co.id/XLInternet/BroadbandInternet
--------------------
PING'S Mobile - Plaza Semanggi
E-mail: info@pings-mobile.com Ph. 021-96087100
--------------------
i-gadget Store - BEC Bandung
E-mail: ary@i-gadgetstore.com Ph. 0812-21111191
--------------------
Toko EceranShop - BEC Bandung
E-mail: willy@eceranshop.com Ph. 0815-56599888
===============

Aturan Jualan dan Kloteran ID-Android http://goo.gl/YBN21

[id-android] WTA: Testi untuk Petra Immanuel

Mohon testi dari rekan-rekan karena akan bertransaksi dengan beliau.

--
Regards,
Ariston Hendro S.

--
"Indonesian Android Community" Join: http://forum.android.or.id

===============
Xperia arc with Mobile BRAVIA Engine
http://www.sonyericsson.com/product/xperiaarc/video/mbe
---------------------
Gunakan Paket Unlimited Data XL Mobile Broadband
http://www.xl.co.id/XLInternet/BroadbandInternet
--------------------
PING'S Mobile - Plaza Semanggi
E-mail: info@pings-mobile.com Ph. 021-96087100
--------------------
i-gadget Store - BEC Bandung
E-mail: ary@i-gadgetstore.com Ph. 0812-21111191
--------------------
Toko EceranShop - BEC Bandung
E-mail: willy@eceranshop.com Ph. 0815-56599888
===============

Aturan Jualan dan Kloteran ID-Android http://goo.gl/YBN21

[android-developers] Re: Context Menu

thanks for your help

On May 30, 6:17 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> On Mon, May 30, 2011 at 3:37 AM, OktaEndy <oktae...@gmail.com> wrote:
> > i want to make a context menu which is depend on selected listview
> > item, for example :
>
> > list view item :
> > a
> > b
> > c
> > d
>
> > if i press longclick on item :
> > - a,b, context menu will show menu x, y
> > - c, context menu will show menu z
> > - d, doesn't show context menu
>
> Your last scenario may not be possible and would be lousy UX even if it were.
>
> The first two are simply a matter of examining the
> ContextMenu.ContextMenuInfo object passed to onCreateContextMenu().
> For a context menu on a ListView, that object will really be an
> instance of AdapterView.AdapterContextMenuInfo. Once you cast the
> object to be a AdapterView.AdapterContextMenuInfo, you can access the
> position of the list item that was long-clicked (also it's _id value,
> if this is backed by a CursorAdapter).
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training in Oslo:http://bit.ly/fjBo24

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

[android-developers] XLIFF for changing text value in TextView

Hello everyone,

I am trying to change the text value in TextView using the src file
(.java). By default I set the value to

android:text="TEST" in main.xml file under TextView

what I want is to change the value using the java so I can change the
text value anytime I want. I look for resources and found the XLIFF in
a sample xml file which I suspect I need to add in my code. It looks
like this

<string name="title_connected_to">connected to <xliff:g
id="device_name">%1$s</xliff:g></string>

I tried to understand the source codes of "BluetoothChat" sample to
further understand the above code but I don't get it.

If someone knows what I am talking about could you please help me?
basically I only want to change the default text value in TextView
that I set in the xml file through the src file (.java)

Thanks a lot,

JR

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

[android-developers] Re: Admob requests jump when running just house ads

When I run 100% house ads (ie. admob doesn't pay me to display ads)
the number of requests double. How do I know the true number of
requests being made by my app users? This makes absolutely no sense.
anyone have an answer?

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

[id-android] Android yg dipakai di iklan Indosat


as subject.. kira2 itu Android apa-an ya?

ada yg tau ga?

--
"Indonesian Android Community" Join: http://forum.android.or.id
 
===============
Xperia arc with Mobile BRAVIA Engine
http://www.sonyericsson.com/product/xperiaarc/video/mbe
---------------------
Gunakan Paket Unlimited Data XL Mobile Broadband
http://www.xl.co.id/XLInternet/BroadbandInternet
--------------------
PING'S Mobile - Plaza Semanggi
E-mail: info@pings-mobile.com Ph. 021-96087100
--------------------
i-gadget Store - BEC Bandung
E-mail: ary@i-gadgetstore.com Ph. 0812-21111191
--------------------
Toko EceranShop - BEC Bandung
E-mail: willy@eceranshop.com Ph. 0815-56599888
===============
 
Aturan Jualan dan Kloteran ID-Android http://goo.gl/YBN21