[android-developers] how to delete all the data from listview

2013-03-09 Thread Sadhna Upadhyay
Hi friends, can some one tell me that how to automatically delete all listview data when i came out from whole application.pls guys help me if someone have any idea. Thanks: Sadhna. -- -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] callback between custom classes

2013-03-09 Thread and Dev 123
Hi, I've a need to communicate between two classes. For the moment I'm solving this just passing a reference for class A to class B. Class B then uses public methods exposed by class A and accessed by reference passed from class A to class B. I've got the feeling that this is a little old

[android-developers] Re: I have problem working with SHARED PREFERENCES, I think is project specific... i used the same before without errors but now get error

2013-03-09 Thread lselwd
public class CannonView extends SurfaceView implements SurfaceHolder.Callback { this is its class , of function On Saturday, March 9, 2013 11:43:08 AM UTC+2, lselwd wrote: I have problem working with SHARED PREFERENCES, I think is project specific... i used the same before without

Re: [android-developers] Convert a view (layout) to a Bitmap

2013-03-09 Thread Justin Buser
Thank you for proving my point, even the information *you* posted would be moderately useful to the person who had originally asked the question, v.s. the answer provided by Guy which had absolutely no bearing on the problem they were having. Perhaps you should work on your spelling and grammar

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 17 Messages in 6 Topics

2013-03-09 Thread Justin Buser
Looks like he's at it again: https://groups.google.com/forum/?fromgroups=#!msg/android-developers/Wos0Zu0IdFM/N0ua3NAgzk4J , this time he answers a question by telling the poster to do what they've already done in the code sample they included. What bothers me is that it seems like he doesn't

[android-developers] Re: I have problem working with SHARED PREFERENCES, I think is project specific... i used the same before without errors but now get error

2013-03-09 Thread lselwd
In a Canvas game if we have a class like: *public class CannonView extends SurfaceView * * implements SurfaceHolder.Callback* *{* how transfer from this a var value to this *public class CannonGame extends Activity* *{* without using static vars? -- -- You received this message because you

[android-developers] Removed apps from Play store

2013-03-09 Thread Dawid
Hi, Four days ago my apps got removed from Google Play store. These two apps were providing with cheats to GTA VC and GTA 3. I wasn't given any reminder to remove apps or something, simply both of them just got straight away removed. However, I was notified about the removal and the reason why

[android-developers] Re: Removed apps from Play store

2013-03-09 Thread John Coryat
There are many applications on the Google Play market which are using GTA's images Officer, I wasn't the only one speeding! That doesn't work either, does it? Just because there are others breaking the rules doesn't mean breaking the rules is ok. It just means you've been caught. I suggest

[android-developers] Re: sample code req.

2013-03-09 Thread srikanth
http://developer.android.com/guide/components/index.html On Wednesday, March 6, 2013 10:06:04 PM UTC+5:30, ramesh babu wrote: Hi frnds..., send me some sample source code android app for beginners... -- -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Removed apps from Play store

2013-03-09 Thread Dawid
On Saturday, March 9, 2013 3:53:50 PM UTC, John Coryat wrote: There are many applications on the Google Play market which are using GTA's images Officer, I wasn't the only one speeding! That doesn't work either, does it? Just because there are others breaking the rules doesn't mean

[android-developers] Delay on Track Playing(SoudMixter Application)

2013-03-09 Thread Dharmendra Deshmukh
This is Application Code I am Posting here.. public class MulitrackmixtureActivity extends Activity { /** Called when the activity is first created. */ public Button play, pause, rew; public MediaPlayer mediaPlayer, mediaPlayer2, mediaPlayer3, mediaPlayer4, mediaPlayer5, mediaPlayer6; SeekBar

[android-developers] improving gps lock time

2013-03-09 Thread dashman
I'd like to improve the gps lock time. my app does not require a data plan - so i have to do it w/o internet access. but i've got a pretty good idea where the user might be (very app specific). is there any way to initialize the LocationManager gps provider with a starting point for the lock -

[android-developers] Re: I have problem working with SHARED PREFERENCES, I think is project specific... i used the same before without errors but now get error

2013-03-09 Thread Jonathan S
in Shared1, Context.MODE_PRIVATE in Shared2, getContext().getSharedPreferenceshttp://developer.android.com/reference/android/content/Context.html#getSharedPreferences%28java.lang.String,%20int%29(top5, Context.MODE_PRIVATE) On Saturday, March 9, 2013 4:43:08 AM UTC-5, lselwd wrote: I have

Re: [android-developers] callback between custom classes

2013-03-09 Thread TreKing
On Sat, Mar 9, 2013 at 2:56 AM, and Dev 123 jakob.strom...@gmail.comwrote: Most of the samples I found are for classes that implements some listener. That's generally how it's done in Java. -

Re: [android-developers] Re: Removed apps from Play store

2013-03-09 Thread TreKing
On Sat, Mar 9, 2013 at 11:30 AM, Dawid gum...@gmail.com wrote: Is there any other way to contact Google to get more clearly answer of what we the actual cause of taking these two apps down? No. I would like to get fast reply from Google That's never going to happen. I want to be 100%

Re: [android-developers] improving gps lock time

2013-03-09 Thread TreKing
On Sat, Mar 9, 2013 at 12:28 PM, dashman erjdri...@gmail.com wrote: is there any way to initialize the LocationManager gps provider with a starting point for the lock - i.e. a lat/lon geo pos to start at. No, and that wouldn't speed things up anyway. There's nothing stopping you with

Re: [android-developers] how to delete all the data from listview

2013-03-09 Thread Narendra Singh Rathore
On Sat, Mar 9, 2013 at 1:35 PM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: Hi friends, can some one tell me that how to automatically delete all listview data when i came out from whole application.pls guys help me if someone have any idea. Hi Sadhna, can you explain

Re: [android-developers] improving gps lock time

2013-03-09 Thread Kristopher Micinski
Although having some idea of where the device is lowers cold start times, there's not a direct API for specifying where you think the user might be. Kris On Sat, Mar 9, 2013 at 2:29 PM, TreKing treking...@gmail.com wrote: On Sat, Mar 9, 2013 at 12:28 PM, dashman erjdri...@gmail.com wrote:

[android-developers] Re: Delay on Track Playing(SoudMixter Application)

2013-03-09 Thread Jonathan S
It is a bad idea to call System.exit(1). Do you need all songs to play at once? On Saturday, March 9, 2013 1:25:51 PM UTC-5, Dharmendra Deshmukh wrote: This is Application Code I am Posting here.. public class MulitrackmixtureActivity extends Activity { /** Called when the activity is

[android-developers] QR Code or NFC Tag: How to initiate download of a file

2013-03-09 Thread JavaSrvcs
I have my own webapp that has a URL to a .apk file. What I need is a QR code or NFC tag that will download an Android app and start the installation. I understand there is a need to have a QR code reader or a NFC tag reader running, but would like to now if it is possible to program a NFC tag

Re: [android-developers] QR Code or NFC Tag: How to initiate download of a file

2013-03-09 Thread Mark Murphy
On Sat, Mar 9, 2013 at 4:36 PM, JavaSrvcs jvsr...@gmail.com wrote: if it is possible to program a NFC tag with an out of the box Android device, tap a NFC tag and have it download, install an app and start it running. Only if you built your own edition of Android. It is entirely possible to

Re: [android-developers] improving gps lock time

2013-03-09 Thread dashman
ok - maybe there's other methods. i've seen apps decrease lock time by contacting NTP servers. Also apparently assisted gps helps - assisted gps just gets a wifi geo location - and just using that helps. i have a geo location also. i'm sure gps lock speeds can be decreased if you have an

Re: [android-developers] improving gps lock time

2013-03-09 Thread lbendlin
AGPS doesn't use WiFi. It uses precomputed Almanac/Ephemeris data so the GPS receiver has a better idea which satellites to expect, and where. That data needs to be refreshed every x days (usually 3 to 7), and is injected into the GPS receiver management software. I don't think that software is

RE: [android-developers] improving gps lock time

2013-03-09 Thread Tommy
Using the AGPS (wifi rather than Sat) will speed up the process a lot but less accurate. In most cases if going off a home wifi it is pretty accurate for me. I also notice if the user is OUTSIDE and the phone is not in the pocket the speed for SAT is pretty good (expect on my 1st gen droid and

[android-developers] Re: Delay on Track Playing(SoudMixter Application)

2013-03-09 Thread Dharmendra Deshmukh
Its a sound mixture application...so i have to play all song according to user requirment On Sunday, March 10, 2013 2:35:38 AM UTC+5:30, Jonathan S wrote: It is a bad idea to call System.exit(1). Do you need all songs to play at once? On Saturday, March 9, 2013 1:25:51 PM UTC-5,

[android-developers] How to enable and disable 3g ?

2013-03-09 Thread mohammed Nuhail
Hello people, I want to enable and disable 3g programmatically on pressing single a button.. below code only enable the 3g. data.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub