Re: [android-developers] Re: Refresh previous activity on Back Button Press

2011-03-22 Thread Laxmi Verma
Hi Nick, If I am only clicking back button it does not go to oncreate method and hence not updating the content of the view. Can you please provide some sample code for it. Thanks & Regards On Wed, Mar 23, 2011 at 2:40 AM, Nick Kulikaev wrote: > Hi, > Gotcha, I misunderstood your problem init

Re: [android-developers] how to stop a progressbar which is runs using a thread?

2011-03-22 Thread Laxmi Verma
Hi Gaurav, Just set the property progressBar.setCanceleable(true) and call the method progressBar.cancel() while stopping the thread. It will stop the progress bar. Hope it helps Thanks!! On Wed, Mar 23, 2011 at 11:39 AM, gaurav gupta wrote: > hi guys, > in my application, m using a progr

[android-developers] how to stop a progressbar which is runs using a thread?

2011-03-22 Thread gaurav gupta
hi guys, in my application, m using a progrssbar that show the current progress of a song.i need to stop the song as well as progressbar too. progressbar should be reach at starting point and song should be stop. * class* myThread *extends* Thread *implements* Runnable{ *private* *volatile* *boo

[android-developers] Re: app freezes "on slow connection" waiting for response from mysql server

2011-03-22 Thread acr
thanks for the replies I ended up going the AsyncTask rout and it worked like a charm On Mar 23, 1:52 am, "j.s. mammen" wrote: > Is the connection to the server in seperate thread than the UI? If > not, one of the way to do is described > herehttp://developer.android.com/reference/android/os/Asy

Re: [android-developers] Bounty for a SoftKeyboard Example

2011-03-22 Thread Justin Anderson
*> I find it almost unfathomable that anyone would want to write apps for Android.* Really? All because you can't do one thing? So writing a keyboard app isn't your thing... Write some other kind of app. *> But I'll wager $20 that no one can show me a Softkeyboard example that allows one to alte

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread Justin Anderson
*> **I have not asked for **the impossible* When no one seems to have understood the question... you have asked for the impossible. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 22, 2011 at 7:50 PM, jaafar zbeiba wrote: > > I have not asked

[android-developers] Re: app freezes "on slow connection" waiting for response from mysql server

2011-03-22 Thread j.s. mammen
Is the connection to the server in seperate thread than the UI? If not, one of the way to do is described here http://developer.android.com/reference/android/os/AsyncTask.html On Mar 22, 9:34 pm, acr wrote: > Hi all, > I have an app that I set up to connect/parse json data/HttpPost to a > mysql s

[android-developers] Re: Atrix fast video switch failure

2011-03-22 Thread Shao
Actually one thing to point out is, it only happens after I take a picture. If I don't take a picture the switch works fine. On Mar 22, 10:15 pm, Shao wrote: > Hi all, > > I'm seeing a failure with the fast switch from still camera to video > camera on the Atrix using the method described in the

[android-developers] Re: SQLiteDatabase or XML(saving)?

2011-03-22 Thread harsh chandel
database if security is invloved if on xml on internet On Mar 22, 2:46 pm, -Ernest wrote: > Hello guys, > Thanks for making android a wonderful platform. > Me and my mate are writing a project and its an android app. > Yesterday i finish my third book about programing for > the android platform "

[android-developers] Re: How to Create a Media Player

2011-03-22 Thread harsh chandel
you want to create your own media player or use the media player supported by android On Mar 23, 7:55 am, cibin wrote: > I am beginner in Android; I know only the basics...Please help me to > create a Media Player in Android -- You received this message because you are subscribed to the Google

Re: [android-developers] Edit Incoming Call Activity

2011-03-22 Thread Ash Pat
Thank you! I'll look around how to do it. On Tue, Mar 22, 2011 at 6:51 PM, TreKing wrote: > On Tue, Mar 22, 2011 at 6:39 PM, Ash wrote: > >> Is it possible to add a new button to the existing incoming call screen? >> > > Sure. Build your own version of the firmware. Wrong list for that though.

[android-developers] Atrix fast video switch failure

2011-03-22 Thread Shao
Hi all, I'm seeing a failure with the fast switch from still camera to video camera on the Atrix using the method described in the Android SDK: "To quickly switch to video recording mode, use these steps: 1. Obtain and initialize a Camera and start preview as described above. 2. Call unlock() to

[android-developers] Re: Install % drop again?

2011-03-22 Thread Zsolt Vasvari
Today I suddenly recovered 10% of the "lost" users and 3 places in the rankiings. So we are halfway there. Still not a peep from Google as far as my e-mails to them are concerned. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Re: How to increase the amount of time to consider input complete, in android voice recognition?

2011-03-22 Thread vamsi
Thanks Filip Havlicek, I found those string constants in android documentation previously. And tried to use those elements in my app. Following is my code, public static final String EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS = "android.speech.extras.SPEECH_INPUT_POSSIBLY_COMPLETE

Re: [android-developers] Re: Hi... Flocks

2011-03-22 Thread Narendra Padala
Sorry Friends, I want say " Hi Folks" by mistake i wrote wrong please excuse, give some suggestions to learn android. On Tue, Mar 22, 2011 at 4:11 PM, lbendlin wrote: > Namatse, I guess. > > On Mar 21, 7:34 am, Narendra Padala wrote: > > Hi..Flocks, > > > > I am new to android, up to now

[android-developers] Bounty for a SoftKeyboard Example

2011-03-22 Thread trans
Well, my attempt at creating a Keyboard app has come to a disappointing end. After three weeks utilizing the SoftKeyboard example code as a template to create my own keyboard, I have now come to a hard wall with no reasonable notion for overcoming it. I simply can not find a way to the change

Re: [android-developers] Re: parse json response containing html tags

2011-03-22 Thread Hitendrasinh Gohil
hi danh, thankx the problem is with data. -- Regards, Hitendrasinh Gohil -- 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

[android-developers] Re: Call back to an Activity in the bottom of the stack from a global Activity.

2011-03-22 Thread Diego Tori
That actually sounds like a winner right here, since it bypasses the whole starting of activities with a result. I mean, it's just checking for a flag that gets set by this one activity, and the overhead is pretty small anyways to pull it off. I'll see if I can try it first thing tomorrow morning.

[android-developers] does NFC in gingerbread support card simulate?

2011-03-22 Thread Zhihong GUO
Hi all, about NFC in Gingerbread, is it possible to simulate a tag by the SDK? I have found the support for tag read/write and P2P push message, but haven't found any support on card simulate. thanks James -- You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Re: getbyname() on LAN

2011-03-22 Thread Bob Kerns
By setting up your LAN properly. You will need: 1. Your LAN's DHCP server to know the proper location of your DNS server. This is the DNS server your phone will use. 2. Your DNS server to know the names addresses of your MS machines. DNS is how your phone (and anything else even rem

[android-developers] How to get the user's nickname not username

2011-03-22 Thread ArcDroid
I see lots of code which can get the username, but I don't see any code how to get the nickname. I would like to use the nickname for posting scores similar to the comments posted for apps. Any help is appreciated. Regards, ArcDroid http://www.arcdroid.com -- You received this message because

[android-developers] How to Create a Media Player

2011-03-22 Thread cibin
I am beginner in Android; I know only the basics...Please help me to create a Media Player in Android -- 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 fr

Re: [android-developers] android market application

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 4:20 AM, jean.michel.78 wrote: > is android a real good sytem ? Android is. The Android *Market* ... not so much. - TreKing

[android-developers] android developer site not working

2011-03-22 Thread AddrulZ
http://developer.android.com not loading ? is it down ? can not open for days -- 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 em

[android-developers] ListView.setChoiceMode with Custom Designed ListView rows Options

2011-03-22 Thread handlez36
Hi, Hopefully this is a simple question. I have an Activity that extends ListActivity in which I populate ListView items from a database. Each row in that list view has a custom defined XML layout, in which there is content consuming the entire width of the row. If I wanted to allow users to act

[android-developers] database and maps

2011-03-22 Thread sunny
in my project i need to take entries frm Db and show location on map is der any simpler approach den puttin latitude and longitude in table -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

Re: [android-developers] Re: Fragment transactions, transitions and the back stack

2011-03-22 Thread Dianne Hackborn
Sorry custom animations are broken when popping the back stack. This will be fixed in a future release. Until then, you just won't be able to do this -- you will need to either stick with the standard transitions, or manually add/remove the fragments yourself. On Tue, Mar 22, 2011 at 3:32 PM, Ke

[android-developers] Looking for Feedback - Instinctiv for Android

2011-03-22 Thread jakeinstinctiv
Instinctiv is looking for beta testers for our upcoming Android product. Instinctiv is a clean and easy way to manage your music on your Android mobile device - with wireless sync, smart shuffle and over the air song ID. We've made our APK available at http://bit.ly/instinctivapk (just visit that

[android-developers]

2011-03-22 Thread roger isaac navarro perez
Hi, i need to create an application for my corp, my question is can i create a OTA like blackberry for download, i want to write url for my application in browser and download the application. Thanks for answer -- Ing. Roger Isaac Navarro Pérez, Desarrollador Skype: roger.isaac.navarro.perez PIN

[android-developers] Hide soft keyboard

2011-03-22 Thread Dirk Bruere at NeoPax
I am using InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(editBox.getWindowToken(), 0); To hide the soft keyboard when I have finished using an edittext box. However, it won't come back again! What do I need to do to cancel

Re: [android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Dianne Hackborn
Canvas is not hardware accelerated at all prior to 3.0. As of 3.0 hardware acceleration can optionally be turned on. This is not however available currently to live wallpapers. Live wallpapers *really* should use OpenGL. In fact, as of 3.0 they would be even better off using RenderScript, which

Re: [android-developers] Registering file extensions for sharing

2011-03-22 Thread Dianne Hackborn
Android uses MIME types for this. Do not use extensions. Use MIME types. On Sun, Mar 20, 2011 at 3:17 AM, Akshay Goel wrote: > Hello, > > I am trying to register file extensions with my application, so that > the app menu-item appears when the file is shared (not opened). Also, > I want to reg

[android-developers] Re: ScrollView inside Gallery does not scroll

2011-03-22 Thread Shawn Holland
In your activity, override onTouchEvent and pass the event to the gallery before you pass it on to the super class. On Mar 22, 5:13 pm, jotobjects wrote: > There is still an intermittent problem with scrolling.  Sometimes the > ScrollView will not move.  Swiping it several times it will then move

Re: [android-developers] Re: Scope of Singletons

2011-03-22 Thread Dianne Hackborn
On Tue, Mar 22, 2011 at 4:32 PM, Jake Colman wrote: > Do I have to assume that my application might get killed? If my > appwidget is sitting on the homescreen and displaying it's data might it > still be killed even though it's active? I recognize that my service is > killed the moment it is do

[android-developers] Change the textcolor of a listview item in onCreate method.

2011-03-22 Thread bosscoder
Hi everyone. I'm writing an app that loads several itens in a listview. This itens will have a status which I'll control by text color, i.e. red itens was ordered, green itens was delivered and so on... If I try to set the color by using ((TextView)listview.getChildAt(position)).setTextColor(Colo

[android-developers] Re: ScrollView inside Gallery does not scroll

2011-03-22 Thread Shawn Holland
In your activity, override dispatchTouchEvent and pass the event to the gallery before passing it on to the super class. On Mar 22, 5:13 pm, jotobjects wrote: > There is still an intermittent problem with scrolling.  Sometimes the > ScrollView will not move.  Swiping it several times it will then

Re: [android-developers] MotionEvent.getEdgeFlags() never reports non-zero value

2011-03-22 Thread Dianne Hackborn
Why do you want this? It is used for some subtle event dispatching in the view hierarchy to better select target views when touching near the edge of the screen. I strongly recommend you not rely on it yourself. On Tue, Mar 22, 2011 at 5:59 AM, Paul wrote: > Looking over older posts, I found t

[android-developers] Re: ScrollView inside Gallery does not scroll

2011-03-22 Thread Shawn Holland
In your activity, override onTouchEvent and pass the event to the gallery before passing it to the super class. On Mar 22, 5:13 pm, jotobjects wrote: > There is still an intermittent problem with scrolling.  Sometimes the > ScrollView will not move.  Swiping it several times it will then move, >

Re: [android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Dianne Hackborn
On Tue, Mar 22, 2011 at 6:44 PM, Jeffrey wrote: > Also, the entire animation loop is almost instantly, the problem comes > from the Handler.postDelayed() not calling on time, no matter what I > set the desired FPS at, I can't get above 6 FPS, and I no longer think > it has anything to do my drawi

[android-developers] moving imageviews around in a tableLayout.

2011-03-22 Thread capiono
I have a list a imageviews, that I displayed on a tableLayout as a 5 x 5 grid. if one of this imageviews are clicked it should be moved to the nearest free position within the view. I have tried a gridview, but it adds too much space between the imageviews, which I didn't want. tableLayout solves t

Re: [android-developers] Re: ideal system configuration for developing Android 3 apps

2011-03-22 Thread David A. O. Lozano
I'm new on android dev, so how much had changed 3.0 from previous version? (I guess you can develop in 2.x an debug normally then test 3 specific functionality on device Chris Stewart wrote: >Honestly, if you have any serious intention of developing for Android 3.0, >you need to forget about t

[android-developers] getbyname() on LAN

2011-03-22 Thread Dirk Bruere at NeoPax
I have tried using InetAddress address = InetAddress.getByName(Constants.serverNameStr); but this goes off to my ISP and gets a page not found reply Tried using JCIFS try{ NbtAddress addr = NbtAddress.getByName(Constants.serverNameStr); }catch (UnknownHostException

[android-developers] SMS Intent, dealing with fragmentation

2011-03-22 Thread abp_dk
Hi I am having trouble writing a Intent that launches the SMS editor and that works on all devices across all OS version from 1.5 and up. The specific problem I am having relates to pre-filling in the adress and body of the SMS as these do not seem to work uniformly on all platforms. I have tried

[android-developers] new learner

2011-03-22 Thread Mark.Chai
i'm glade to join this group,and want to learn more and help more -- 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

[android-developers] Scrolling a plain textview as output appears, and why would you prefer a textview in a scrollview over a scrolling textview?

2011-03-22 Thread brasshopper
So I got a copy of the 25 hour android book and I started trying to port a program that was written in D and ran on the command line into a simple android program. First I ported it to command line Java and put it into a single class. Then I "extended" the class so as to port it to Android. The

[android-developers] MPEG-4 SP Encoder Support

2011-03-22 Thread artsylar
Hi, According to the following site, MPEG-4 SP Encoder is not supported. http://developer.android.com/guide/appendix/media-formats.html However, when I checked MediaRecorder.VideoEncoder page, MPEG-4 SP can be set as video encoder. May I know if android does support encoding of MPEG-4 SP? Than

[android-developers] Re: Android Beginner Having Problems

2011-03-22 Thread Anay Tamhankar
Is there a typo in "res/meno"? Regards, Anay On Mar 20, 9:46 am, Matt Clark wrote: > I tried using the MenuInflation off of the android developers site: > > @Override > public boolean onCreateOptionsMenu(Menu menu) { >     MenuInflater inflater = getMenuInflater(); >     inflater.inflate(R.menu.

[android-developers] How to change the font style for particular selected text in text view

2011-03-22 Thread narava
Hi guys, I want to change the selected text in a text view and change it to different font styles stc something like text editor. How can I implement this in android. I was able to change the background color etc but I want to select a text and chnage the selected text to different font styles. R

[android-developers] android market application

2011-03-22 Thread jean.michel.78
hello , i find this application very strange each i search something i find hundred of responses which have nothing to do with the application i search strange ,strange is android a real good sytem ? -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] "Too many contacts deletes" rules

2011-03-22 Thread Mark
I have an app that does bulk deletes of contacts (Contact Remover). Many people seem to find this useful. Some people get confused about the Google notification message that says "Too many contacts deletes" (yes, that's how it's worded), or they just don't see it because it appears as a status not

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 16 Topics

2011-03-22 Thread ananya sundar
i am getting failed to install error everytime i am loading in emulator. i tried reinstalling entire SDK but it's not working.. Plzz help me On Tue, Mar 22, 2011 at 10:33 AM, wrote: >   Today's Topic Summary > > Group: http://groups.google.com/group/android-developers/topics > > How to install ma

[android-developers] INSTALL_FAILED_MISSING_SHARED_LIBRARY on Galaxy tab with SprintTwinCamDevice Library

2011-03-22 Thread john_rambo
Hi everybody, I'm new in Android development, And I have to develop a video tchat for The Galaxy Tab. So, I have to display the front facing camera. I develop with FlashBuilder 4, and I found on the internet that it was possible with the SprintAndroidForwardFacingCamera library. So I followed the t

RE: [android-developers] Re: Help using custom Preference types - for pity or money

2011-03-22 Thread Şeyma Kılıç
Thank you for your reply. As I said I'm not goot at this subject. So it's hard to understand for me. But this example is coded with java I think. Am I rigth? I use visual studio 2010 and monodroid. If I use this code how does it work? I'm sorry abour my English.Thanks again. > From: mmur...@co

[android-developers] Android Source code build error "Permission error"

2011-03-22 Thread Dinesh Shan
Hi all , I am running UBUNTU 10.10 server, I downloaded the Android source code from the GIT and tried to compile it . When i run "lunch" command from inside the source folder : You're building on Linux Lunch menu... pick a combo: 1. full-eng 2. full_x86-eng 3. simulator I select

[android-developers] Re: How to create a Media player?

2011-03-22 Thread Anay Tamhankar
Please look at the "ApiDemos" application in sample applications provided along with the android sdk. For example for API level 7, the application can be found in /samples/android-7/ApiDemos Regards, Anay On Mar 21, 10:18 am, cibin p oommen wrote: > I'm new to android and Now i got a work  to c

[android-developers] Auto sync for local DB with sync adapters.

2011-03-22 Thread shunty
Hi All I am writing a sync application using sync adapter,and try to sync local db automatically, First time when i create account it works fine but when i make changes in the local db, it is not syncing automatically even if i set ContentResolver.setSyncAutomatically(account, AUTHORITY, true). Th

[android-developers] why is the account managed by AccountManager is delete automatically ?

2011-03-22 Thread 琅琅
My little App creates an account in AccountManager. But if i move the App from internal storage to SD card, the account is automatically delete by AccountManagerService if i unmounted the SD card or reboot the machine. does anyone have any idea about this ? does this mean we cannot move the App to

[android-developers] webview in tabs

2011-03-22 Thread seyma
Hi! I've just started to create monodroid applications. So I'm in trouble about my project. I want to create 2 tabs and when clicks each open a web site. Is it possible ? Here is my code. Tabs already work but when I click nothing happens. [Activity(MainLauncher = true, Label = "@string/app_name"

[android-developers] SQLiteDatabase or XML(saving)?

2011-03-22 Thread -Ernest
Hello guys, Thanks for making android a wonderful platform. Me and my mate are writing a project and its an android app. Yesterday i finish my third book about programing for the android platform "Hello, Android". He comes my questions: What is the best option for saving a well formatted document(

[android-developers] Picture Transfer Protocol in Honeycomb

2011-03-22 Thread Neil
Hi Guys, Honeycomb includes build-in support for Picutre Transfer Protocol. What exactly does this mean? Does this mean I can connect my digital camera to the tablet and import pictures from the camera to the tablet? I guess this requires the tablet to have the USB Host support? Or does it mean I

[android-developers] HeapWorker has a wedgie when using https

2011-03-22 Thread Justin
HeapWorker is wedged: 108792ms spent inside Lorg/apache/harmony/xnet/ provider/jsse/OpenSSLSessionImpl;.finalize() (followed by a long segfault dump) That is a random error that one of my apps is suffering from. There seems to be bug discussion referenced here: http://code.google.com/p/android/is

Re: [android-developers] Something I said?

2011-03-22 Thread rich friedel
Also, if you haven't already done so, try asking on StackOverflow. -- 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 androi

[android-developers] Re: Emulator doesn't recognize -audio-in option

2011-03-22 Thread Keith Wiley
Admittedly, running the emulator with -help suggested that the flag had been changed from -audio-in to -audio. Implementing that change seems to have fixed the problem. Are these kinds of version-dependent changes documented? I'm sure I missed something obvious, but it didn't show up on the rele

Re: [android-developers] Call back to an Activity in the bottom of the stack from a global Activity.

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 7:17 PM, Diego Tori wrote: > From either Home (ActivityA), or any other activity (Activity B, C, etc...) > that can open out my global activity (ActivityX), it should find a way to > call back to ActivityA without bringing it to the front. > When Activity X does something,

Re: [android-developers] Using view.invalidate

2011-03-22 Thread B Lyon
I could be wrong, but I thought Chris Pruett discussed this in his talk about developing Replica Island (it's one of the google io talks). I can't remember what he did, but it seems like he mentioned something along the same lines and he dealt with it somehow. On Tue, Mar 22, 2011 at 10:04 PM, Jo

[android-developers] Emulator doesn't recognize -audio-in option

2011-03-22 Thread Keith Wiley
I've been using "-audio-in core-audio" two years without any trouble. I just bought a new computer, install eclipse and the SDK, and now I can't run the emulator anymore. It says: .. Emulator] unknown option: -audio-in I haven't found any obvious documents online saying this setting is depre

[android-developers] Using view.invalidate

2011-03-22 Thread John Gaby
I have a custom view that changes when the use moves his finger over it. Each time I receive a move event, I call invalidate to invalidate the view, and then it is redrawn on a subsequent onDraw. I have a relatively slow device, where it takes about 0.2 seconds to paint the view. I am finding, o

[android-developers] Re: Service stops after 10 minutes of standby

2011-03-22 Thread Doug
Android may be killing your Service in order to run something else. Try using setForeground() on the service so that it retains priority in the face of pressure from other apps. Doug On Monday, March 21, 2011 1:56:52 AM UTC-7, stefan jakober wrote: > > Hey there, > > I've got a wired problem

Re: [android-developers] Edit Incoming Call Activity

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 6:39 PM, Ash wrote: > Is it possible to add a new button to the existing incoming call screen? > Sure. Build your own version of the firmware. Wrong list for that though. - Tr

[android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread lbendlin
Instead of int Speed = 50; double speedScale = (float) ((0.001*2*Math.PI)/Speed); double Dist = SystemClock.elapsedRealtime() * speedScale; you can write double Dist = SystemClock.elapsedRealtime() * 0.001256637; There - much quicker. -- You received this

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread jaafar zbeiba
I have not asked for the impossible -- 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...@google

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread Miguel Morales
Well, we can't really help you if we can't understand you. Anyway, good luck on your issue. On Tue, Mar 22, 2011 at 6:43 PM, jaafar zbeiba wrote: > > thank you for your advice but I ask you for help and not a council > > -- > You received this message because you are subscribed to the Google >

[android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Jeffrey
Also, the entire animation loop is almost instantly, the problem comes from the Handler.postDelayed() not calling on time, no matter what I set the desired FPS at, I can't get above 6 FPS, and I no longer think it has anything to do my drawing code but maybe the way something else is handled. I str

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread jaafar zbeiba
thank you for your advice but I ask you for help and not a council -- 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 androi

[android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Jeffrey
I only have one image rendered (the background image) and I get the exact same results from canvas.translate() vs .drawbitmap. The problem seems to be either the time it takes for it to draw the bitmap, or the time it takes to run through the sin/cos formulas for the placement. The image is only a

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread Miguel Morales
I think that if you have extra time, you use it to practice or learn more English. All the Android functions are written from a western/US perspective and so is the documentation. Your English needs to be up to par to be able to read through it and any other official documentation. It seems that

[android-developers] Re: No camera changes in 2.3.3 but camera apps break going from 2.3 to 2.3.3.

2011-03-22 Thread Zsolt Vasvari
So I suppose it's a driver issue then. On Mar 23, 4:08 am, Zach wrote: > I can now confirm that this problem only exists on the Nexus One on 2.3.3. >  I've updated our Nexus S to 2.3.3 and it does not have these problems. -- You received this message because you are subscribed to the Google Gro

Re: [android-developers] Something I said?

2011-03-22 Thread Miguel Morales
Well I saw your thread, personally I haven't ever played with what you are talking about I can't help you there. It seems that it's a pretty specific question, and perhaps that's the problem. On Tue, Mar 22, 2011 at 5:04 PM, slipp3ry wrote: > > Thanks for the reply Miguel, I was starting to feel

[android-developers] Re: Why can't draw a picture on canvas

2011-03-22 Thread a a
2011/3/22 Nicholas Johnson : > It appears, by your code, that you are drawing on the bitmap through the > canvas. However, I'm guessing your real question is: why is my bitmap not > being displayed on the screen? Well, that's because your bitmap or canvas is > not associated at all with any buffers

Re: [android-developers] Re: Scope of Singletons

2011-03-22 Thread Mark Murphy
On Tue, Mar 22, 2011 at 7:32 PM, Jake Colman wrote: > If my > appwidget is sitting on the homescreen and displaying it's data might it > still be killed even though it's active? Your app widget is not "sitting on the homescreen". It is never "sitting on the homescreen". Your app widget, from the

Re: [android-developers] Re: Scope of Singletons

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 6:32 PM, Jake Colman wrote: > Do I have to assume that my application might get killed? > Yes. Not "might". "Will" ... eventually. > If my appwidget is sitting on the homescreen and displaying it's data might > it still be killed even though it's active? > Unlikely but

Re: [android-developers] Re: android.R.styleable can't be resolved?

2011-03-22 Thread trans
My bad. mKeyBackground is private. So I don't see how that can work either. Back to re-implementing. -- 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 f

[android-developers] Re: Device Not Recognized

2011-03-22 Thread JoeSchmoe
I did the download of Google USB Driver package, revision 4 Now I get the error ( I pointed the installer to the directory (/usb_drivers caused a not found error) "Windows found driver software for your device but encountered an error while attempting to install it" "Android Composite ADB Interf

Re: [android-developers] Any Android Test Prep application open source

2011-03-22 Thread Nicholas Johnson
This is not open source, but it's free: Pop Quiz Unlike other apps that only allow you to make flash cards, Pop Quiz allows you to make multiple choice questions *and* flash cards. You can upload, download, and share the question banks from its website.

[android-developers] Call back to an Activity in the bottom of the stack from a global Activity.

2011-03-22 Thread Diego Tori
I already know that I can pass Bundled data through setResult from one Activity back to another. However, suppose I have an global Activity that can be launched from anywhere in my app since it is mapped to a button that appears in my title bar in almost all of my activities. Long story short, aft

[android-developers] Re: BubbleTextView.java from launcher package

2011-03-22 Thread argongold
Thanks for the reply and where should I find methods for mLeft, mRight, mBottom and mTop? regards, argon On Mar 23, 12:42 am, Paul Turchenko wrote: > getScrollX() and getScrollY() methods should work for you (they have > other methods to access mLeft, mRight, etc.) > > On Mar 22, 11:13 am, argo

Re: [android-developers] Re: android.R.styleable can't be resolved?

2011-03-22 Thread trans
"If all you are wanting to do is change the color of one key, why don't you just subclass KeyboardView and override the following methods:" Hmm... that's a possibility. If I can change mKeyBackground. I tried: @Override public void invalidateKey(int keyIndex) { mKeyBackground = g

[android-developers] BG colored Rectangles on Drawable Action Bar

2011-03-22 Thread Jay Bloodworth
I'm experimenting with using a custom background for an action bar. I've tried both a gradient-colored Shape and a Nine Patch and in both cases I get ugly rectangles in the overall BG color behind all the View-y things on the action bar - icon, title, menu items. Seems to be the same basic issue de

Re: [android-developers] Something I said?

2011-03-22 Thread slipp3ry
Thanks for the reply Miguel, I was starting to feel like the invisible man :) Title was "Best way to start a frame animation in an adapter" Anything offensive or horribly newbie? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread jaafar zbeiba
no its not working that can help me I have more time for my project and frankly I am not of this but still try dommaine -- 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

[android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread John
On Mar 22, 4:01 pm, Justin Anderson wrote: > Your description said that you rotate the phone 30 times without displaying > the dialog.  After that, you rotate the phone 9 times while the dialog was > displayed. Ah. I see I was being unclear in my original message. Actually I meant that I test my

[android-developers] Edit Incoming Call Activity

2011-03-22 Thread Ash
Is it possible to add a new button to the existing incoming call screen? I want to add a button to the existing incoming call screen (along with Answer and Reject buttons) that will launch my application. Should I create a new activity or can I modify the existing incoming call activity? -- You r

[android-developers] Re: Scope of Singletons

2011-03-22 Thread Jake Colman
> "T" == TreKing writes: T> On Tue, Mar 22, 2011 at 5:58 PM, Jake Colman wrote: >> But does that mean that my singleton can be taken out of scope as >> well? >> T> "Scope" is not the appropriate term. But if your process gets T> killed, it takes everything (Services, Act

Re: [android-developers] Scope of Singletons

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 5:58 PM, Jake Colman wrote: > But does that mean that my singleton can be taken out of scope as well? > "Scope" is not the appropriate term. But if your process gets killed, it takes everything (Services, Activities, statics, and your singleton) with it.

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-22 Thread TreKing
On Tue, Mar 22, 2011 at 5:47 PM, Tobiah wrote: > Logging shows me that the onPause() method is being called, yet the > AsyncTask is still running while I'm viewing the other activity. > http://developer.android.com/reference/android/os/AsyncTask.html

[android-developers] How to get current item in StackView?

2011-03-22 Thread jotobjects
How can you detect when the top item on a StackView changes? We tried using OnItemSelectedListener but it seems like our listener is not being called. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Scope of Singletons

2011-03-22 Thread Jake Colman
My application consists, for the most part, of an appwidget and a service. The service is triggered by an alarm which kicks it to update the widget's remote views. I use a singleton class to track the phone's location. The service accesses the singleton's instance to get the current location wh

[android-developers] onPause() Why u no do the things I want?

2011-03-22 Thread Tobiah
I saved a handle to an AsyncTask() like so: AsyncTask up_check = new update_checker().execute(); I start it up in onStart() and my logging tells me that it's running. Then I start another activity with this in the onPause(): up_check.cancel(true); up_check is a member of the Activities class.

[android-developers] Re: Fragment transactions, transitions and the back stack

2011-03-22 Thread Kelly Merrell
Related bug report here: http://code.google.com/p/android/issues/detail?id=15623&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars On Mar 16, 9:54 am, Kelly Merrell wrote: > Hi All, > I am having trouble using or understanding how popping > FragmentTransactions off of the back stack handles th

Re: [android-developers] Re: Can somebody suggest the best book or online resource for beginning android apps development?

2011-03-22 Thread Justin Anderson
I forgot to mention, that one is also available online through Safari Books, which can come in handy... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 22, 2011 at 4:21 PM, Justin Anderson wrote: > I've heard Mark Murphy's books are really good

  1   2   3   4   >