Wednesday, August 31, 2011

[android-developers] Read meta data from large video file

Hello Android developer,

I have a video file which containing meta data. i want to retrieve
the meta data from this video particular position of file video.


Please refer me perfect link. or coding stubs which will be best for
handle large video file also.

Thanks
NaVi

--
You received this message because you are subscribed to the Google
Groups "Android 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: Removing unused resources.

Sure, delete the resource and see if the project still compiles or
not.

On Sep 1, 1:45 pm, Akhilesh Mani <coffeewitha...@gmail.com> wrote:
> I am looking for an efficient way to find out if a resource (mostly a
> drawable) is used in java or in an XML file.The problem is, that on my
> current project the drawables are changed often and now I have some
> drawables, which might never be used.Is there a tool/way to find those
> unused drawables without search each filename in the whole project?
>
> Best Regards.
>
> Mani.

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

[android-developers] Re: Android installer strange issue

What I understood from your reply is that
if you press "OPEN" new instaces of teh appln willbe getting created
and if you press "DONE" and then start the app from menu , the appln
should resume ?

--
You received this message because you are subscribed to the Google
Groups "Android 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] AVD Emulator

Hi!
When the AVD emulator can emulate over 1024M memory!

--
You received this message because you are subscribed to the Google
Groups "Android 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: APK signing and certificate for production device

Pratik,
well signing your application is only for the purpose of security
while uploading it on android market!
once you have genrate ur "private keystore" , u have to signed ur
application with that "private keystore" to publish it on android
market
once publish that apk and later if u redesigned or made change in
your app source code and want replace the app in the market u have to
use the same "private keystore" without that same keystore u cannt
change or modify the application thats the only purpose of it! as far
as i know

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

[android-developers] Removing unused resources.

I am looking for an efficient way to find out if a resource (mostly a drawable) is used in java or in an XML file.The problem is, that on my current project the drawables are changed often and now I have some drawables, which might never be used.Is there a tool/way to find those unused drawables without search each filename in the whole project?

Best Regards.

Mani.

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

Re: [id-android] Wtb : accesories Xperia Play (battery,case,screen protector)

Eh iya lupa bilang
Itu dpt antigores dalam dus
Dicek lagi deh
Dalam dus bareng sama manual dll kalo ga salah

To work, to sweat & to struggle is the enjoyment & achievement of life


From: Pieter Noveno <noveno.pieter@gmail.com>
Sender: id-android@googlegroups.com
Date: Thu, 1 Sep 2011 08:21:51 +0700
To: <id-android@googlegroups.com>
ReplyTo: id-android@googlegroups.com
Subject: [id-android] Wtb : accesories Xperia Play (battery,case,screen protector)

Numpang jalumnya mod ,

Sesuai subject ,
Bagi rr yang mempunyai stok
Japri ke noveno.pieter@gmail.com
Penawaran terbaik akan di follow up

--
"Indonesian Android Community" Join: http://forum.android.or.id
 
===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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

Re: [id-android] WTA : Cara buka Website Flexy

Halaman utama sih memang Pak.
Coba klik tombol Rp dan buka halaman itu. :)
Cheers

On Sep 1, 2011, at 10:42 AM, Iwan Suryolaksono wrote:

> Buka pakai flyer lancar kok. Wah flexi lagi unjuk gigi ya? Mudah-mudahan layanan datanya jadi sehebat smartfren :)
>
> Salam,
> Iwan Suryolaksono
> On Sep 1, 2011 12:45 AM, "mas °drie™" <masdrie.milis@gmail.com> wrote:

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

===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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

Re: [id-android] WTAsk : Youtube versi 2.1.7 tdk mau jalan di evo3d

Ini om.  Versi 2.16 punya saya evo 3d juga nggak bisa ...kmarin saya downgrade ke versi ini bisa...tp saya lupa uncheck auto update jd hari ini ngga bisa lg karena update ke 2.2.16 trus saya downgrade lg nggak bisa....tp klo pake wifi bisa...

--
"Indonesian Android Community" Join: http://forum.android.or.id
 
===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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] Help! Application crash while scrolling in listview

Hello,

I have a weird problem with listview, while using simplecursor
adapter. Here is the error

08-31 21:50:14.540: INFO/dalvikvm(12195): Uncaught exception thrown by
finalizer (will be discarded):
08-31 21:50:14.540: INFO/dalvikvm(12195):
java.lang.IllegalStateException: Binder has been finalized!
08-31 21:50:14.540: INFO/dalvikvm(12195): at
android.os.BinderProxy.transact(Native Method)
08-31 21:50:14.540: INFO/dalvikvm(12195): at
android.database.BulkCursorProxy.close(BulkCursorNative.java:289)
08-31 21:50:14.540: INFO/dalvikvm(12195): at
android.database.BulkCursorToCursorAdaptor.close(BulkCursorToCursorAdaptor.java:
141)
08-31 21:50:14.540: INFO/dalvikvm(12195): at
android.database.CursorWrapper.close(CursorWrapper.java:43)
08-31 21:50:14.540: INFO/dalvikvm(12195): at
android.content.ContentResolver
$CursorWrapperInner.close(ContentResolver.java:1575)
08-31 21:50:14.540: INFO/dalvikvm(12195): at
android.content.ContentResolver
$CursorWrapperInner.finalize(ContentResolver.java:1586)
08-31 21:50:14.540: INFO/dalvikvm(12195): at
dalvik.system.NativeStart.run(Native Method)

I have runQueryOnBackgroundThread implemented in my cursorAdapter,
which is invoked by the Filter.filter method call from the activity.
So I dont have any reference of the cursor in my activity. Everytime I
query I understand I get cursor changed callback in my cursor adapter,
which extends SimpleCursorAdapter

Here is how it looks

public void changeCursor(Cursor cursor) {
Log.d(TAG, "Cursor changed ... **************** "+ cursor);
if (cursor != null) {
setLoading(false);
}
super.changeCursor(cursor);
initSectionHeaders(cursor);
notifyDataSetChanged();
}

runQueryOnBackgroundThread just returns a cursor from a query.

Am I missing something, should the cursor be closed or managed
anywhere? Any help on the leads would greatly help. 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [id-android] WTA: sygic

He..he..lucu juga ya kok bisa beda, semalam juga saya install dari market yang FREE, berlaku 7 hari. Setau saya ada juga yang install tapi bayar.

Ian

Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT

-----Original Message-----
From: "Yanuar Santoso" <yanuar.santoso@gmail.com>
Sender: id-android@googlegroups.com
Date: Wed, 31 Aug 2011 17:45:07
To: <id-android@googlegroups.com>
Reply-To: id-android@googlegroups.com
Subject: Re: [id-android] WTA: sygic

Saya pertama kali install dari market bro
Langsung minta aktivasi :(

Sent using Robot-ijO

-----Original Message-----
From: "moeha" <moeha.android@gmail.com>
Sender: id-android@googlegroups.com
Date: Wed, 31 Aug 2011 04:33:16
To: ID-Android<id-android@googlegroups.com>
Reply-To: id-android@googlegroups.com
Subject: Re: [id-android] WTA: sygic


Dulu seh free 7 hari. Kayaknya sekarang juga sama deh.

[LagiPakeOnyx™]

-----Original Message-----
From: "Yanuar Santoso" <yanuar.santoso@gmail.com>
Sender: id-android@googlegroups.com
Date: Wed, 31 Aug 2011 04:21:58
To: <id-android@googlegroups.com>
Reply-To: id-android@googlegroups.com
Subject: Re: [id-android] WTA: sygic

Gak bayar ya boss?
SoL

Sent using Robot-ijO

-----Original Message-----
From: "moeha" <moeha.android@gmail.com>
Sender: id-android@googlegroups.com
Date: Wed, 31 Aug 2011 04:00:40
To: ID-Android<id-android@googlegroups.com>
Reply-To: id-android@googlegroups.com
Subject: Re: [id-android] WTA: sygic


Lho, di market kan ada, boss?
Sol

[LagiPakeOnyx™]

-----Original Message-----
From: "Yanuar Santoso" <yanuar.santoso@gmail.com>
Sender: id-android@googlegroups.com
Date: Wed, 31 Aug 2011 03:56:57
To: <id-android@googlegroups.com>
Reply-To: id-android@googlegroups.com
Subject: [id-android] WTA: sygic

Siang all
Sebelumnya saya ucapkan selamat hari raya bagi rekan-rekan yang merayakan...
Saya ingin menanyakan, di mana saya bisa mendapatkan sygic ya? :)
Thx before

Sent using Robot-ijO

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

===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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

===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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

===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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

===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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

===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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

===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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: use listview get web data

public class Tab1Activity<Listview> extends Activity implements
OnClickListener{

private Button get;
private TextView tv;
private DefaultHttpClient client;
private HttpPost request2;
private HttpResponse response;
private ListView listview1;

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);
setContentView(R.layout.tab1main);

tv = (TextView)findViewById(R.id.tv);
client = new DefaultHttpClient();
request2 = new HttpPost();

try {

List<NameValuePair> nameValuePairs = new
ArrayList<NameValuePair>(2);
request2.setEntity(new UrlEncodedFormEntity(nameValuePairs));
request2.setURI(new URI("http://172.16.152.152:8081/dking/
not_returnt.php
"));

response = client.execute(request2);

HttpEntity entity = response.getEntity();

byte[] buf = new byte[5000];
BufferedInputStream bin = new
BufferedInputStream(entity.getContent());
bin.read(buf);
bin.close();

String result = new String(buf);


tv.append(result);

} catch (URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}


public void onClick(View v) {
}
}


this is my source code
but I don't know how to put data in listview

--
You received this message because you are subscribed to the Google
Groups "Android 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: use listview get web data

public class Tab1Activity<Listview> extends Activity implements
OnClickListener{

private Button get;
private TextView tv;
private DefaultHttpClient client;
private HttpPost request2;
private HttpResponse response;
private ListView listview1;

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);
setContentView(R.layout.tab1main);

tv = (TextView)findViewById(R.id.tv);
client = new DefaultHttpClient();
request2 = new HttpPost();

try {

List<NameValuePair> nameValuePairs = new
ArrayList<NameValuePair>(2);
request2.setEntity(new UrlEncodedFormEntity(nameValuePairs));
request2.setURI(new URI("http://172.16.152.152:8081/dking/
not_returnt.php
"));

response = client.execute(request2);

HttpEntity entity = response.getEntity();

byte[] buf = new byte[5000];
BufferedInputStream bin = new
BufferedInputStream(entity.getContent());
bin.read(buf);
bin.close();

String result = new String(buf);

tv.append(result);

} catch (URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}


this is my source code
data don't put in listview......

--
You received this message because you are subscribed to the Google
Groups "Android 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: App Widget fails to be added, "thanks" to customized platform

Sorry for my English... What i mean is that, when i switch to
customized platform and are not using the private functions, the
program doesn't work (Even a "Hello" app widget program doesn't work).
The app widget with a configuration activity won't be added, while the
app widget without configuration activity works.


On Sep 1, 12:51 am, Dianne Hackborn <hack...@android.com> wrote:
> On Tue, Aug 30, 2011 at 10:17 PM, eagle <eagle.l...@gmail.com> wrote:
> > But the problem is that,  even I didn't use these private functions,
> > it didn't work.
>
> The article you linked is purely and solely about using internal functions.
>  If you are not using it and still having your problem, why did you mention
> it?
>
> Also it is going to help a lot if you post more about what your actual
> problem is.  What is the stack crawl of the crash?  What are you trying to
> do, and what is the undesired behavior you are getting?
>
> --
> 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

[android-developers] Re: onLocationChange never get called

Hi,

If the gps is blinking it is waiting for a first fix, go outside in
clear sky and wait for a few minutes for a fix. It also helps if the
device has a working internet connection to reduce time to first fix.

Regards

On Aug 31, 5:32 pm, Bipin Sutariya <bipin.sutar...@gmail.com> wrote:
> Has any one have any solution for this? Its bit urgent.
>
> On Aug 28, 5:09 pm, Sumedh <sumedhjos...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
> > I m also trying to do the same application.
> > And managed to get lat-lon,date ,time. But this code works on
> > emulator(eclipse)
> > when i install the same apk on android phone it doesn,t work
>
> > my code is:
> > public class TestBroadcastActivity extends Activity implements
> > LocationListener
> > {
> >         private LocationManager myManager;
> >         private LocationListener loc;
> >     private TextView tv;
> >     @Override
> >     public void onCreate(Bundle savedInstanceState)
> >     {
> >         super.onCreate(savedInstanceState);
> >         setContentView(R.layout.main);
>
> >         tv = (TextView) findViewById(R.id.TextView01);
>
> >        myManager =
> > (LocationManager)this.getSystemService(Context.LOCATION_SERVICE);
>
> >         myManager.requestLocationUpdates(myManager.GPS_PROVIDER, 3000,
> > 0, locationListener);
> >     }
> >      LocationListener locationListener = new LocationListener()
> >     {
> >     public void onLocationChanged(Location location)
> >     {
> >                 try
> >                 {
> >                 String s = "";
> >                 s += "\tTime: "+location.getTime() + "\n";
> >                 s += "\tLatitude:  " + location.getLatitude()  + "\n";
> >                 s += "\tLongitude: " + location.getLongitude() + "\n";
> >                 s += "\tAccuracy:  " + location.getAccuracy()  + "\n";
> >                 tv.setText(s);
> >                 }
> >                 catch (Exception e)
> >                 {
> >                         System.out.println("Exception------>"+e);
> >                 }
> >     }
>
> >     public void onStatusChanged(String provider, int status, Bundle
> > extras) {}
> >     public void onProviderEnabled(String provider) {}
> >     public void onProviderDisabled(String provider) {}
>
> >     };
>
> >         public void onLocationChanged(Location location) {}
> >         public void onProviderDisabled(String provider) {}
> >         public void onProviderEnabled(String provider) {}
> >         public void onStatusChanged(String provider, int status, Bundle
> > extras) {}
>
> > }
>
> > On Aug 28, 1:38 pm,BipinSutariya<bipin.sutar...@gmail.com> wrote:
>
> > > OK one change Toast.makeText requires show() method to show toast. I
> > > added it and still onLocationChange not called.
>
> > > On Aug 28, 1:32 pm,BipinSutariya<bipin.sutar...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > I am trying to develop application in which i need current lat/lang.
> > > > However onLocationChange method never get called.
>
> > > > Following is my code, and note that i have given all required
> > > > permission like android.permission.ACCESS_COARSE_LOCATION,
> > > > android.permission.ACCESS_FINE_LOCATION, android.permission.INTERNET
> > > > in manifest file. I can see gps icon on status bar that keep blinking
> > > > to find location, but never get success.
>
> > > > Can any one please help me on this.
>
> > > > public class LocationServiceActivity extends Activity implements
> > > > LocationListener{
> > > >     /** Called when the activity is first created. */
> > > >     @Override
> > > >     public void onCreate(Bundle savedInstanceState) {
> > > >         super.onCreate(savedInstanceState);
> > > >         setContentView(R.layout.main);
>
> > > >         LocationManager lm =
> > > > (LocationManager)this.getSystemService(Context.LOCATION_SERVICE);
>
> > > >         Boolean isGPSEnabled =
> > > > lm.isProviderEnabled(LocationManager.GPS_PROVIDER);
> > > >         Boolean isNetworkEnabled =
> > > > lm.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
>
> > > >         if(isGPSEnabled)
> > > >         {
> > > >                 lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
> > > > this);
> > > >         }
> > > >         else if(isNetworkEnabled)
> > > >         {
> > > >                 lm.requestLocationUpdates(LocationManager.NETWORK_PROVIDER,
> > > > 0, 0, this);
> > > >         }
> > > >         else
> > > >         {
> > > >                 Toast.makeText(this, "NO SERVICE ENABLED", 5000);
> > > >         }
>
> > > >     }
>
> > > >     public void onLocationChanged(Location location) {
> > > >         Toast.makeText(this, location.getLatitude()+"---
>
> > > > >"+location.getLongitude(), 5000);
>
> > > >     }
> > > >     public void onProviderDisabled(String provider) {
> > > >         // TODO Auto-generated method stub
>
> > > >     }
> > > >     public void onProviderEnabled(String provider) {
> > > >         // TODO Auto-generated method stub
>
> > > >     }
> > > >     public void onStatusChanged(String provider, int status, Bundle
> > > > extras) {
> > > >         // TODO Auto-generated method stub
>
> > > >     }
>
> > > > }

--
You received this message because you are subscribed to the Google
Groups "Android 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] WTI : HTC tab 10'

Nggak tergiur ahh ....... pasti berat, capek bawanya :)  Kecuali kalau ROMnya bisa dibongkar dan diporting ke Flyer, itu baru bikin ngencesss :). Gimana oom Renner, bisa tidak?

Salam,
Iwan Suryolaksono

On Sep 1, 2011 12:40 AM, "Ocu Mudo" <ocu.mudo@gmail.com> wrote:
> Wew... Kereeen
> *ngencess
>
> ~ from Desire with love ~
> japri : ocu@robotijo.org
> gtalk : ocu.mudo@gmail.com
> On Sep 1, 2011 12:36 AM, "Tureka" <wie.tureka@gmail.com> wrote:
>> Baru saja baca tweet dari Paul O'brien. Ternyata tab 10' HTC yang diberi
> nama Puccini di launch dgn nama Jetstream.
>> yang heboh harganya $700 plus kontrak 2 thn dgn At&t.
>> Berita lengkap nya di
> http://www.slashgear.com/att-htc-jetstream-lte-10-inch-android-tablet-official-31175557/
>>
>> #maaf kalau sudah ada yang bahas
>> --
>> Sent from my Atrix™ with K-9 Mail. Please excuse my brevity.
>>
>> --
>> "Indonesian Android Community" Join: http://forum.android.or.id
>>
>> ===============
>> Join ID-ANDROID Developers
>> http://groups.google.com/group/id-android-dev
>> ---------------------
>> 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-25536796
>> --------------------
>> 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
>
> ===============
> Join ID-ANDROID Developers
> http://groups.google.com/group/id-android-dev
> ---------------------
> 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-25536796
> --------------------
> 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
 
===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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: How to P2P between with the phone and reader?

See http://groups.google.com/group/android-developers/browse_frm/thread/8afb4b3dff5461f7

On 31 Aug, 03:43, xiaodai <zsbitxiao...@163.com> wrote:
> Can you tell me how to enter NFC state for the Reader??
> On 8月29日, 下午11时14分, rich friedel <rich.frie...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Check out the NFCDemo sample code to get started...http://developer.android.com/resources/samples/NFCDemo/index.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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: AbsoluteLayout

Once you publish the app on the Android Market you will get complaints
from people who have devices with other screen resolutions. Then you
can go back to Eclipse and see exactly where the problems are since
those classes are crossed out.

To prevent these complaints read http://developer.android.com/guide/practices/screens_support.html

On 31 Aug, 03:49, bob <b...@coolgroups.com> wrote:
> Am I a naughty boy for wanting to use AbsoluteLayout?
>
> I have an iPhone app that needs conversion to Android ASAP.
>
> Also, is there a way to make Eclipse stop crossing out my layout code?
>
> Here's what Eclipse did:
>
> https://sites.google.com/site/coolfonne/_/rsrc/1314755045012/abs/abs.png

--
You received this message because you are subscribed to the Google
Groups "Android 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: [android-developers] How to populate a gridview with data from a table (SQLite)?

Hello again. I want to thank the helping... with ListView it worked... I do not know why, in the same way, my app did not work with GridView. But, in future I think it will be easier for understand...

Thank you.

On Wed, Aug 31, 2011 at 5:23 PM, Michael Banzon <michael@banzon.dk> wrote:
On Wed, Aug 31, 2011 at 10:19 PM, TreKing <trekingapp@gmail.com> wrote:
> On Wed, Aug 31, 2011 at 3:11 PM, Dalton Cézane <daltoncezane@gmail.com>
> wrote:
>>>
>>> Is your getView() even called?
>>
>> I do not know where to call it, because all samples I've seen do not call
>> it explicitly... Can you help with this?

When using ListView you need to set the adapter on the view.

--
Michael Banzon
http://michaelbanzon.com/

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



--
=======================================================
Dalton Cézane - Smarteju Tecnologia
Especialista em Ciência da Computação (UFCG)
Bacharel em Ciência da Computação (UFCG)
Técnico em Informática (ETER)

--
You received this message because you are subscribed to the Google
Groups "Android 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] Mitos seputar meningkatkan dan mengurangi stamina Baterai Android

sumber: http://wccftech.com/article/busted-5-myths-increasing-decreasing-androids-battery-life/

Topik yg menarik terutama yg mitos kedua tentang "HTC Battery Boost Myth", saya sendiri sedang mencobanya pagi ini di o2x saya... :)

Ngomong2 baterai saya ini sekarang2 lama sekali ngecharge nya, bisa lebih dari 2jam, padahal baru ganti baterai dan sudah memakai program batterycalibrate... dulu awal2 beli o2x, paling lama ngechargenya 2jam pas.

Tks,
Hadi G.

--
"Indonesian Android Community" Join: http://forum.android.or.id
 
===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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] two icons for the same app

I have an application that I "install" via the Eclipse IDE toolbar
icon "run package.name.app". My phone shows two icons for this app.
(only one icon until recently) The icons look identical but the name
is long and I cannot see the end of either icon labels. Even if I
uninstall the app via Settings > Applications > Manage Applications,
the next time I run it from Eclipse, the two icons are both there
again. The app is only listed one time under Manage Applications. The
first time I noticed the second icon was after I included a second
activity that displays a WebView. Everything seems to work OK. I can
launch the second activity and close it just fine.

Why do I have two icons? (I did not include code because I do not know
which code might be relevant.)

Thanks, John Brown

--
You received this message because you are subscribed to the Google
Groups "Android 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] WTShare: Merubah nama operator di HH

Diurut sik mas dzikki.... :)

Gratitude is a great attitude
MIUI-NX Ver.1.8.5

On Aug 31, 2011 11:58 PM, "Dzikki Muhammad" <dzikki.gadget@gmail.com> wrote:
> Ora iso nang SGS2 :p
>
>
>
> Salam
> Dzikki // CM7
> On 2011 8 31 22:53, "Rivelino Satya Nugraha" <rivelino1978@gmail.com> wrote:
>> Confirm, nexus one aman tentrem
>>
>> Gratitude is a great attitude
>> MIUI-NX Ver.1.8.5
>> On Aug 31, 2011 3:16 PM, "Iwan" <iwan@robotijo.org> wrote:
>>
>> --
>> "Indonesian Android Community" Join: http://forum.android.or.id
>>
>> ===============
>> Join ID-ANDROID Developers
>> http://groups.google.com/group/id-android-dev
>> ---------------------
>> 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-25536796
>> --------------------
>> 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
>
> ===============
> Join ID-ANDROID Developers
> http://groups.google.com/group/id-android-dev
> ---------------------
> 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-25536796
> --------------------
> 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
 
===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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

Re: [android-developers] how many threads does android browser generate?

Thanks for your reply, Dianne. If I run the Android browser as my only application in Gingerbread on a quad-core smartphone, and the page to be loaded is stored locally in memory (no network delay etc, in this case, the browser is single-threaded only as no network connection?), I wouldn't see any performance scaling (or worse, as the OS may move the threads to another core less busy in a circle) from a single-core smartphone, everything else being the same?

On 31 Aug 2011, at 21:00, Dianne Hackborn wrote:

> Gingerbread isn't designed for multi-core CPUs. The browser doesn't try to create threads to use multiple CPUs, it creates threads to have multiple network connections.
>
> Besides networking, browsers are pretty intrinsically single-threaded anyway. The complicated stuff all needs to run in one thread: DOM rendering, JavaScript, etc.
>
> On Wed, Aug 31, 2011 at 12:08 PM, Jack Harvard <jack.harvard@gmail.com> wrote:
> I want to understand how many threads Gingerbread generates in order to understand how the browser performance scale with multicores? For example, if "a few " means 2, that means 4 cores wouldn't scale the browser performance by anywhere close to 4 times. I understand that Gingerbread doesn't officially support SMP, sometimes browser does crash on multicore platforms, it's not a problem for me though.
>
> On 31 Aug 2011, at 18:57, Dianne Hackborn wrote:
>
> > Oh and Gingerbread wasn't designed to run on anything but single CPU systems, so that's irrelevant to the question of the base platform. Of course people shipping Android modify it in various ways, and the browser is often one of the things they modify.
> >
> > On Wed, Aug 31, 2011 at 10:57 AM, Dianne Hackborn <hackbod@android.com> wrote:
> > A few. Why? :)
> >
> >
> > On Wed, Aug 31, 2011 at 10:40 AM, Jack Harvard <jack.harvard@gmail.com> wrote:
> > Wondering how many threads does android browser generate? Suppose it's Gingerbread running on a dual-core or quad-core ARM processor.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android 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
> > hackbod@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.
> >
> >
> >
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hackbod@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
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android 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
> hackbod@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

--
You received this message because you are subscribed to the Google
Groups "Android 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: [android-developers] Handling Adjacent Fragments in ViewPager Contributing to Options Menu

Excellent. I'm looking forward to it. Thanks for your reply!

--
You received this message because you are subscribed to the Google
Groups "Android 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: [android-developers] how many threads does android browser generate?

Gingerbread isn't designed for multi-core CPUs.  The browser doesn't try to create threads to use multiple CPUs, it creates threads to have multiple network connections.

Besides networking, browsers are pretty intrinsically single-threaded anyway.  The complicated stuff all needs to run in one thread: DOM rendering, JavaScript, etc. 

On Wed, Aug 31, 2011 at 12:08 PM, Jack Harvard <jack.harvard@gmail.com> wrote:
I want to understand how many threads Gingerbread generates in order to understand how the browser performance scale with multicores? For example, if  "a few " means 2, that means 4 cores wouldn't scale the browser performance by anywhere close to 4 times. I understand that Gingerbread doesn't officially support SMP, sometimes browser does crash on multicore platforms, it's not a problem for me though.

On 31 Aug 2011, at 18:57, Dianne Hackborn wrote:

> Oh and Gingerbread wasn't designed to run on anything but single CPU systems, so that's irrelevant to the question of the base platform.  Of course people shipping Android modify it in various ways, and the browser is often one of the things they modify.
>
> On Wed, Aug 31, 2011 at 10:57 AM, Dianne Hackborn <hackbod@android.com> wrote:
> A few.  Why? :)
>
>
> On Wed, Aug 31, 2011 at 10:40 AM, Jack Harvard <jack.harvard@gmail.com> wrote:
> Wondering how many threads does android browser generate? Suppose it's Gingerbread running on a dual-core or quad-core ARM processor.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android 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
> hackbod@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.
>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> hackbod@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

--
You received this message because you are subscribed to the Google
Groups "Android 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
hackbod@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

[android-developers] Re: HTTP - Check whether server is up & running?

Maybe you could try a "HEAD" request for a well known page?


-blake
Programming Android, FTW!
http://oreilly.com/catalog/0636920010364


On Aug 31, 11:00 am, TreKing <treking...@gmail.com> wrote:
> On Wed, Aug 31, 2011 at 12:59 PM, TreKing <treking...@gmail.com> wrote:
> > If it doesn't, it's probably not.
>
> Also, there are error codes servers respond with you can check.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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

[android-developers] UI design pattern

Hi,

 

I'm looking for something article or any information about best way to implement UI design pattern for login screens on tablets(honeycomb) !!

 

Thanks in advance !

 

Igor Nesralla Ribeiro

 

[android-developers] HTTP - Check whether server is up & running?

Hello,
My app makes frequent HTTP request to a server. How do I check
whether server is up and running or available?


Thanks in advance..

-DK

--
You received this message because you are subscribed to the Google
Groups "Android 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] Failed to initialize Monitor Thread: Unable to establish loopback connection

Hi

I keep getting this errormessage: "Failed to initialize Monitor
Thread: Unable to establish loopback connection" when I open a project
in Eclipse.

I tried to kill and start the server but I still get this message.
Also happens when I switch my firewall off.

So I'm completely stuck here - any ideas anyone?

Best regards

Poul Kristensen

--
You received this message because you are subscribed to the Google
Groups "Android 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] WTA: Moto Photon vs. SGS 2

Dear RR,

Mohon reviewnya dong dari user photon. Compare to sgs2 gimana? For my further consideration. Gsmnya unlocked n bisa diinject smart/aha?

Regards,
Anwar Thamrin
Sent from my iPad CDMA

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

===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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: postDelayed vs. post

Dianne,

Thanks for your quick reply.

On Aug 31, 12:28 pm, Dianne Hackborn <hack...@android.com> wrote:
> On Wed, Aug 31, 2011 at 9:16 AM, Dmitry Golubovsky <golubov...@gmail.com>wrote:
>
> > Q1: Is post(action) equivalent to postDelayed(action, 0)?
>
> Yes.

OK, may I suggest that this be reflected in the reference?


> > what combinations of N and T ranges (including T = 0) are acceptable
> > to make sure the view remains responsive to touch and other user-
> > generated events, and "force close/wait" dialog does not appear?
>
> It will remain responsive because older messages are processes before newer
> messages, so you can't starve other messages from the queue by re-posting a
> message when you handle it, even with no delay.

OK, so there are no specific priorities on user-generated vs. posted
events.

> the user is in your app, if using a delay of 20ms means you are keeping the
> CPU running at near 100%, are going to much more quickly drain the battery
> (and the user will see this in the battery use report).

I posted much simplified code. This is the same Smalltalk VM port that
I mentioned several times in the NDK group.

The VM has an interval timer (which is N in my example), and when it
expires inside the native code, the VM saves its state and returns to
the Java UI code. Or otherwise it may return if there is nothing to
process (no input events). If return happened by timer, the VM will be
reentered ASAP (that is, after T in my example). Otherwise it may not
be reentered until another user event is registered. That is, zero-or-
near-delays between entering native code do not happen 100% of the
time.

All I am concerned about is not to have the "non-responding" dialog
and buffer pending events within the application.

Your explanation is very helpful.

Thanks again.

--
You received this message because you are subscribed to the Google
Groups "Android 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] javascript call from intent browser

Need a help on Android .Hope you can help us on this .

From our application we are opening the browser using intent.

Here is the code


Uri uri = Uri
.parse("http://
www.google.com");

Intent internetIntent
= new Intent(Intent.ACTION_VIEW, uri);

internetIntent.setComponent(new ComponentName(

"com.android.browser",

"com.android.browser.BrowserActivity"));


internetIntent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT);


startActivity(internetIntent);


We are setting the flag FLAG_ACTIVITY_BROUGHT_TO_FRONT in the Intent
so that next time if we open the browser from our application then it
should bring the same tab in front instead of creating another
instance as the application id is the same and it is working fine

Issue is we need to call the JavaScript function defined in the
webpage .How can we call the javascript function using the intent
browser
From webview you can do that but we are not able to use the webview as
it doesn't fully support the html 5

Thanks
-ag


--
You received this message because you are subscribed to the Google
Groups "Android 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: Can we create two ThreadPoolExecutor running on android?

Take a look at this article and the open source project it mentions.

http://coopsoft.com/ar/AndroidArticle.html

You can create the Tymeac service with thread pools and do anything
you want

Ed

On Aug 30, 12:30 pm, usher <usher...@gmail.com> wrote:
> AsyncTask is managing a thread pool with 5 core thread. Once we start
> to use AsyncTask, it will start to set up this thread pool on android
> phone.
>
> The reason I don't want to AsyncTask is because I am going to create a
> service, and start threads from service, which means there is not much
> UI updates from task. However, asynctask has to been created and
> execute on UI thread.
>
> So I am going to create another different thread pool which will be
> used to manage this kind of threads. What I am worrying about is that
> if I create another thread pool with 5 core threads, would that be too
> much threads(10 core threads) running on the android? will that slow
> it down and cause bad performance?
>
> 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [id-android] Mobile Internet di Singapore!

Kalo saya sih semingguan lalu ke sana, pake prepaid data singtel jg...
Tp yg $10/7hari. Kuota 1gb.

Speedtest dpt 1mbps dan stabil merata hampir di semua tempat termasuk
basement2...

Cukup recommended menurut saya, toh kalo pas ke SG jg ga perlu paket
data yg terlalu extreme. Hehehe

Warmest Regards,
Vincent H.

On 8/31/11, Sentot@Flyer <sentot.milis@yahoo.co.id> wrote:
>
> Baru saja mampir counter Singtel. Beli prepaid data onliy SGD18 dapat akses
> data unlimited selama 3 hari.
>
> Setting kira2 2 menurut. Kecepatan? Hampir 5mbps seperti terlampir!
>
> Salam,
> Sentot AB
>
>
> --
> "Indonesian Android Community" Join: http://forum.android.or.id
>
> ===============
> Join ID-ANDROID Developers
> http://groups.google.com/group/id-android-dev
> ---------------------
> 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-25536796
> --------------------
> 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

===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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

Re: [android-developers] ListView Data disappears

Try adding breakpoints and log messages to find out at which line or method your listview is cleared.

Thanks

On Wed, Aug 31, 2011 at 3:28 PM, RobinDroid <librain.robin@gmail.com> wrote:
Dear All,

I have a listview  with checkbox.
I have a menu which makes the list hide/unhide the checkbox.
When i hit my menu 3 to 4 times with hide and unhide the checkbox, the
data in listview disappears?
Why is this happening?

--
You received this message because you are subscribed to the Google
Groups "Android 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



--
------------------
Raghav Sood
CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control)
http://www.raghavsood.com/
https://market.android.com/developer?pub=Appaholics

--
You received this message because you are subscribed to the Google
Groups "Android 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: Implementing onShowCustomView on Android 3.1 throws in HTML5VideoFullScreen

I also found, that enabling hardware acceleration fix issue with
playing embedded video. Full screen still doesn't work.

On 29 Sie, 21:34, novemberox <novembe...@gmail.com> wrote:
> A tip would be useful :)
>
> I tried to find Google browser sources in Android 3.1, but I'm not
> quite sure if sources here:http://android.git.kernel.org/?p=platform/packages/apps/Browser.git;a...
> are the sources used in 3.1.
>
> On 27 Sie, 22:28, novemberox <novembe...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I'm trying to play video in html on fullscreen. When I click on
> > fullscreen button in video method onShowCustomView is fired. Here is
> > my implementation:
>
> >         public void onShowCustomView(View view, CustomViewCallback callback)
> > {
> >                 super.onShowCustomView(view, callback);
> >                 if (view instanceof FrameLayout) {
> >                         customComponenet.addView(view, new FrameLayout.LayoutParams(
> >                                         ViewGroup.LayoutParams.FILL_PARENT,
> > ViewGroup.LayoutParams.FILL_PARENT,
> >                                         Gravity.CENTER));
> >                         customComponenet.setVisibility(View.VISIBLE);
> >                 }
> >         }
> > Where customComponenet is FrameLayout placed on top of my current
> > layout. Wideo is playing good, it's visibile and everything seams to
> > be ok but it throws:
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235): FATAL EXCEPTION: main
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):
> > java.lang.NullPointerException
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.webkit.HTML5VideoFullScreen.switchProgressView(HTML5VideoFullScreen .java:
> > 320)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.webkit.HTML5VideoView.setPlayerBuffering(HTML5VideoView.java:
> > 319)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.webkit.HTML5VideoView.start(HTML5VideoView.java:85)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.webkit.HTML5VideoViewProxy
> > $VideoPlayer.onPrepared(HTML5VideoViewProxy.java:257)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.webkit.HTML5VideoViewProxy.onPrepared(HTML5VideoViewProxy.java:
> > 278)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.webkit.HTML5VideoView.onPrepared(HTML5VideoView.java:265)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.webkit.HTML5VideoFullScreen.onPrepared(HTML5VideoFullScreen.java:
> > 164)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:
> > 1456)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.os.Handler.dispatchMessage(Handler.java:99)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.os.Looper.loop(Looper.java:132)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > android.app.ActivityThread.main(ActivityThread.java:4028)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > java.lang.reflect.Method.invokeNative(Native Method)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > java.lang.reflect.Method.invoke(Method.java:491)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > com.android.internal.os.ZygoteInit
> > $MethodAndArgsCaller.run(ZygoteInit.java:844)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
> > 08-27 22:16:07.520: ERROR/AndroidRuntime(7235):     at
> > dalvik.system.NativeStart.main(Native Method)
>
> > What am I doing wrong?
>
> > My WebView settings:
> >         webView.getSettings().setJavaScriptEnabled(true);
> >         webView.getSettings().setPluginState(PluginState.ON);
> >         webView.getSettings().setDomStorageEnabled(true);
> >         webView.getSettings().setDatabasePath("/data/data/" +
> > App.class.getPackage().getName() + "/databases");
> >         webView.getSettings().setSupportZoom(false);
>
> > I'm testing on Galaxy Tab 10.1, on default browser this is working
> > just fine. I can switch to fullscreen. Moreover in my app when I play
> > video embeded I can hear only sound and see status bar below area
> > where video should be, while on browser I can see video both embeded
> > in WebView and on fullscreen.

--
You received this message because you are subscribed to the Google
Groups "Android 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] Android UI components/widgets library

Introducing DroidUX, the first Android UI components/widgets library.

DroidUX is the first professional UI/UX component library for
Android. DroidUX helps you build high quality and beautiful user
interface fast and easy. Building UI conforming to the Android design
pattern is just a snap. In few lines of code you will have your
application up and running with the Action Bar, Dashboard, and Quick
Actions widgets. To deliver more exciting and high end user
experience, you can use the GalleryFlow, Wheel, Editor, and other
widgets that are designed and implemented with high quality codes for
beauty and performance.

Using DroidUX widgets is no different than the stock widgets. You can
use them via xml layout or use it programmatically with your codes.
The difference is that using DroidUX component library, your complex
UI becomes so simple to implement. You don't need to reinvent the
wheel. We do the dirty things, you just plug them into your apps, and
boost the usability and performance of your apps, making your apps
stand above the fray.

Take your app to the next level. Deliver high end mobile experience
using the DroidUX(tm) UI/UX component library.

To see the DroidUX widgets in action, download the DroidUX API Demo
app in Android Market at https://market.android.com/details?id=com.droidux.components.demo

To download the FREE trial packs, please visit our website at
http://www.droidux.com.

Happy developing !!!

DroidUX DevTeam

--
You received this message because you are subscribed to the Google
Groups "Android 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] ListView Data disappears

Dear All,

I have a listview with checkbox.
I have a menu which makes the list hide/unhide the checkbox.
When i hit my menu 3 to 4 times with hide and unhide the checkbox, the
data in listview disappears?
Why is this happening?

--
You received this message because you are subscribed to the Google
Groups "Android 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: [android-developers] Update UI from Service

On Wed, Aug 31, 2011 at 5:05 AM, Chirag Raval
<chirag.android.developer@gmail.com> wrote:
> Can any one help me to update UI from Service ?
>
> Here in my application i created one service, from my service i want
> to update a textview which is in my Main Activity ?
>
> How can i change that textview's value from my service ?

You send a message from the service to the activity, and the activity
updates the TextView. Whether you do this via binding and the listener
pattern, or ordered broadcasts
(http://commonsware.com/blog/2010/08/11/activity-notification-ordered-broadcast.html),
or a Messenger object passed as an Intent extra, or a PendingIntent
from createPendingResult(), or something else, is up to you and would
depend a bit on the service in question.

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

Warescription: Three Android Books, Plus Updates, One Low Price!

--
You received this message because you are subscribed to the Google
Groups "Android 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] Update UI from Service

Hello to all ..

Can any one help me to update UI from Service ?

Here in my application i created one service, from my service i want
to update a textview which is in my Main Activity ?

How can i change that textview's value from my service ?

Please give me proper suggestion.

Thanks in Advance.

Regards,
Chirag Raval.

--
You received this message because you are subscribed to the Google
Groups "Android 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] Share: HTC Desire HD Battery life on Virtuous Unity 1.31



dicoba tanpa nge-charge sama sekali kali bro.. biar lebih mantaps hasilnya.. dan  kalopun ngecharge.. sampe 100% biar bisa reset ulang perhitungan baterenya..

salam,

--
we start in continous world then we get discrete

--
"Indonesian Android Community" Join: http://forum.android.or.id
 
===============
Join ID-ANDROID Developers
http://groups.google.com/group/id-android-dev
---------------------
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-25536796
--------------------
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