[android-developers] Does anyone has a recommendation on a good implementation of SQLite Script Runner

2014-08-23 Thread Satya Komatineni
I have gone through StackOverflow etc. I ran into the Beryl library etc. Do you know if Beryl library is still active on google code? Does anyone have strong recommendations on this subject Appreciate your thoughts Satya -- You received this message because you are subscribed to the Google

[android-developers] Help: When will CONTEXT_INCLUDE_CODE result in a security exception while creating a package context?

2014-05-10 Thread Satya Komatineni
Is it when the target context does not share the user id with the calling context? Appreciate your insight Satya -- 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@googlegro

[android-developers] A startup weekend question on parental controls for Android

2014-02-02 Thread Satya Komatineni
is there a way to enable and disable certain features of Android based on parental or "control authority" permissions. Say a parent may want to disable certain features of the phone either during homework hours, or based on a location (like a car) say. Appreciate if one can chime in th

Re: [android-developers] How to stop or cancel Asyntask (Download image)

2013-11-30 Thread Satya Komatineni
You can call the cance(boolean) method on the asynctask. And you can pass true to forcefully remove the thread as per the docs. However it depends on what the URL and the drawable is doing and if they need to be informed of cancelling. You can also set a flag to cancel the task and check it often i

Re: [android-developers] Circular Menu

2013-02-15 Thread Satya Komatineni
Ravi, what you need is a custom view and some 2D graphics API details. Some of the material might be of some help Essential Custom View Code snippets http://satyakomatineni.com/item/4330 Also you will see here links for custom layouts research as well if you were to arrange buttons or images in

[android-developers] WindowBackground attribute for Fragments

2013-01-24 Thread satya
Hi.. Iam trying give custom theme to fragments, Actually in case of activity -- we have "android:windowBackground" is there.. but i need to apply for this attribute to fragments..(diff backgrounds for two fragments in one activity) can u give the solution for this.. thanks in advance.. --

[android-developers] Info: Research notes on using GSON for Mobile App Storage

2012-12-28 Thread Satya Komatineni
ach? How do you code such a way that you can migrate in the future to SqlLite? What Next? Thanks Satya -- 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 un

[android-developers] wondering if a value of "*" is deprecated for the metadata "android.app.default_searchable"?

2012-11-30 Thread Satya Komatineni
eturn null; } Thank you so much Satya -- 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] Principles of Custom Layouts with code snippets

2012-11-10 Thread Satya Komatineni
Here are some notes and code samples for implementing custom layouts like a flow layout http://satyakomatineni.com/item/4359 This covers *** Inherit from ViewGroup Override OnMeasure Use a pencil and paper to figure out your algorithm Use ViewGroup.measureChild(). Don't directly u

Re: [android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread Satya Komatineni
These are excellent goals. Thank you for your work and the post Satya http://satyakomatineni.com/android/training http://satyakomatineni.com http://androidbook.com http://twitter.com/SatyaKomatineni On Fri, Nov 9, 2012 at 2:29 PM, sebastian_bugiu wrote: > Why should the platform take any G

[android-developers] A quick note on the dispatchMethodX pattern in Android

2012-11-07 Thread Satya Komatineni
http://satyakomatineni.com/item/4348 Thanks Satya -- 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-

Re: [android-developers] How do I make an app that allows users to interact with each other?

2012-11-02 Thread Satya Komatineni
that is an ambitious question. :) See a little bit of research I have done http://satyakomatineni.com/item/4234 this space is coming to be known as BAAS (Back end as a service) Some players are Cocoafish - Appecelerator/Titanium now ACS Parse Applicasa Stackmob Kinvey But thats just tip of the

[android-developers] Re: How does one use fragment dialogs inside compound controls?

2012-11-01 Thread Satya Komatineni
f Compound Controls: A semi article http://satyakomatineni.com/item/4341 (principles, sample code, images, and research) Thanks Satya On Tue, Oct 30, 2012 at 3:40 PM, Satya Komatineni wrote: > Examples of fragment dialogs look like this > > SomeActivity > { > public void buttonClicked(View

[android-developers] How does one use fragment dialogs inside compound controls?

2012-10-30 Thread Satya Komatineni
erFragment extends DialogFragment(){ }; } If you have a compound control extending a layout like a linear layout how do you isolate this to the view? how do you get a "fragmentManager" from the bowels of a view? or do you pass that to the view explicitly? Thank you very much for your

Re: [android-developers] How to do if User focussed on Edittext, menus should be displayed?

2012-10-27 Thread Satya Komatineni
Meena, I haven't tried it. But a view seem to have a public method called "showConextMenu()". So you will set up a context menu for your control and call showContextMenu() on focus grab. (My theory but try it out) But more importantly, you may need to go in the direction of writing your own input

[android-developers] Few hunches on requestLayout() and forceLayout() (Their differences)

2012-10-26 Thread Satya Komatineni
I have been doing some research for custom components. The long thread of the research is at http://satyakomatineni.com/item/4148 Reading the internet I have got bits and pieces about requestLayout() and invalidate(). I think I kind of know what they are. However the difference between requestLay

[android-developers] Re: What is the norm these days to save the state of a custom view

2012-10-25 Thread Satya Komatineni
e for a CircleView that uses this approach and is pretty complete as to what is required to create a custom view http://satyakomatineni.com/item/4330 Thanks http://twitter.com/SatyaKomatineni http://satyakomatineni.com http://androidbook.com On Wed, Oct 24, 2012 at 9:41 AM, Satya Komatine

[android-developers] What is the norm these days to save the state of a custom view

2012-10-24 Thread Satya Komatineni
; from the VIew implementation 3. Or use the BaseSaveState pattern that is used by things like TextView etc. Appreciate your thoughts and comments. Thanks Satya -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

Re: [android-developers] How come LinearLayout doesn't seem to measure wrap_content properly

2012-10-22 Thread Satya Komatineni
? Does that come in as "EXACT", matching the size of the parent? Thank you so much for your help. It saved me hours of agony that I am about to jump into ... Satya On Mon, Oct 22, 2012 at 5:40 PM, Romain Guy wrote: > LinearLayout is doing the right thing. wrap_content results in an &g

[android-developers] How come LinearLayout doesn't seem to measure wrap_content properly

2012-10-22 Thread Satya Komatineni
ot;wrap_content" separately? why is LinearLayout not measuring the desired size? Your insights are greatly appreciated Thanks Satya -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Is it redundant to call "invalidate()" in the onSizeChanged method?

2012-10-22 Thread Satya Komatineni
SizeChanged() method. Also I don't see any difference between taking the width and height from the onSizeChanged() or from the view methods of getTop(), getLeft() etc. am I missing something here? Thanks a lot Satya -- You received this message because you are subscribed to the Google G

Re: [android-developers] Does an onDraw() get called if I don't do "invalidate()" but did the "requestLayout()"?

2012-10-21 Thread Satya Komatineni
raw pass but some views might > react to a > Layout change by calling invalidate. > > On Oct 20, 2012 12:59 PM, "Satya Komatineni" > wrote: >> >> For a UI action in the same thread: >> >> //On my view I call requestLayout() >> ViewRoot schedule

[android-developers] Does an onDraw() get called if I don't do "invalidate()" but did the "requestLayout()"?

2012-10-20 Thread Satya Komatineni
invalidate() some of the views? I suppose for those views that don't change their position or size, I am assuming onDraw() won't be called. Wondering if someone could comment on this. Thanks a lot. Satya -- You received this message because you are subscribed to the Google Groups "

Re: [android-developers] Re: optimized way to get large data from webservice(json or xml)

2012-10-09 Thread satya attili
nload-sqlite-database-from-internet-and-load-into-android-application > > -MK > > > On Tuesday, October 9, 2012 11:30:24 AM UTC-7, satyaandroid wrote: >> >> Hi Friends.. >> >> This is satya, new to android development, can anybody... >> >> fetching

[android-developers] optimized way to get large data from webservice(json or xml)

2012-10-09 Thread satya attili
Hi Friends.. This is satya, new to android development, can anybody... fetching the data from json or xml format, ok.. how can we achieve the the best optimized way to do this... thanks in advance... -- You received this message because you are subscribed to the Google Groups "An

Re: [android-developers] REQUEST

2012-10-04 Thread Satya Komatineni
May be this is a long shot. But may be you can look at 3D modelling tools like AutoDesk and see if you can export the 3D structures to be consumed by Android. Just a thought. I expect lot of work but worth doing... Tue, Oct 2, 2012 at 4:18 PM, ANDRÉS LEONARDO MOLINA Good luck http://satyakomatin

Re: [android-developers] My AVD is super slow

2012-09-15 Thread Satya Komatineni
what is your computer and OS? if it is windows it helps to have 4G or more. It could still be slow but much better exprience. It further helps if you have a solid state drive. It also helps to keep the AVD running once it has started. http://satyakomatineni.com/android/training http://satyakomati

Re: [android-developers] GL_POINTS not drawing points

2012-09-02 Thread Satya Komatineni
rtant On Sun, Sep 2, 2012 at 10:39 AM, Satya Komatineni < satya.komatin...@gmail.com> wrote: > Sorry this line > > Finally to get your gl_position = mvp * gl_position; and not the other way. > > > should read > > Finally to get your gl_position = mvp * positionAt

Re: [android-developers] GL_POINTS not drawing points

2012-09-02 Thread Satya Komatineni
Sorry this line Finally to get your gl_position = mvp * gl_position; and not the other way. should read Finally to get your gl_position = mvp * positionAttributeVariable; and not the other way. On Sat, Sep 1, 2012 at 11:10 PM, Satya Komatineni < satya.komatin...@gmail.com> wrote: &

Re: [android-developers] GL_POINTS not drawing points

2012-09-01 Thread Satya Komatineni
Guich, Given a number of ways how to do the same thing in OpenGL it will be quite hard to debug. On Sat, Sep 1, 2012 at 9:11 AM, guich wrote: > Hi, > > I've spent a full day trying to draw a series of points using GL_POINTS. I > know i could use a texture, but i want to learn how to draw points.

Re: [android-developers] Are there any official Google sponsored training seminars/classes, etc?

2012-08-28 Thread Satya Komatineni
See if something like this helps http://androidbook.com/training Also if you have a set number of folks (about 10) I don't mind travelling with in the US for a week to teach. http://androidbook.com/training http://androidbook.com http://satyakomatineni.com http://twitter.com/SatyaKomatineni On

Re: [android-developers] Android custom view (very basic)

2012-08-28 Thread Satya Komatineni
4169 This goes into how attrs.xml and declare styleables work. Also let me know what you find. Thanks Satya http://satyakomatineni.com/android/training http://satyakomatineni.com http://androidbook.com http://twitter.com/SatyaKomatineni On Mon, Aug 27, 2012 at 2:09 PM, Victor Reboucas wrote: > H

Re: [android-developers] How do I read an XML Data in Android?

2012-08-27 Thread Satya Komatineni
See if this SDK doc helps http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html Here is some earlier research I have done on XML treatment on Android (This may be a bit outdated as I haven't revisited it in a year) What XML libraries are available for Android http://satyakomat

Re: [android-developers] First android app

2012-08-22 Thread Satya Komatineni
If you are still looking for advice I have created a note a while ago called How I have learned Android SDK: An authors note http://www.satyakomatineni.com/item/3784 See if this is of some help (Disclosure: Yes I do have a book on the subject) http://satyakomatineni.com/android/training http://

Re: [android-developers] Re: Back face culling

2012-08-20 Thread Satya Komatineni
No difference at all where you start. On Mon, Aug 20, 2012 at 4:27 PM, Braindrool wrote: > Your fix didn't work, but something I am getting confused about. Does it > matter what vertex is the starting point in a counter clockwise winding? > Example: > > > > Would i

Re: [android-developers] Back face culling

2012-08-20 Thread Satya Komatineni
i.com/item/4192 Here are my notes on as I have been working through OpenGL http://satyakomatineni.com/item/opengl If it helps here is a free chapter on OpenGL 1.1 and a bit on ES 2.0 http://www.satyakomatineni.com/akc/display?url=DisplayNoteIMPURL&reportId=4060&downerUserId=satya Hop

Re: [android-developers] Error in an XML file: aborting build.

2012-08-16 Thread Satya Komatineni
You typically install the ".apk" file on the emulator or the device and then locate the icon for your application and use that icon to click on it to run. If you are using eclipse, you can use eclipse to run the project automatically on the emulator or the device. (Eclipse will compile and make th

Re: [android-developers] App Not Installed

2012-08-16 Thread Satya Komatineni
Where are you installing the app? are you doing it on the emulator or a real device? If it is a real device you can do that with out creating an unsigned package directly through eclipse. Otherwise you will need to sign it to install on the device as a proper app. And the image you have included s

Re: [android-developers] Can't make new Android project in Eclipse.

2012-08-16 Thread Satya Komatineni
Johannes, Your tools may be more recent. Otherwise an "android application project" is similar to "android project" in earlier tool versions. There should be enough parallels to extrapolate. http://satyakomatineni.com/android/training http://satyakomatineni.com http://androidbook.com http://twitte

Re: [android-developers] OpenGL using multiple classes

2012-08-16 Thread Satya Komatineni
Hopefully you have a good reason to structure your classes they way you have done. To start BlaRenderer is a proper derived class that will get called. So this is a concrete class by itself. Number 2, the player class looks more like a utilitiy class and hence doesn't need to derive from BlaRend

[android-developers] Kudos: Android Team, You have done a fantastic job on OpenGL documentation

2012-07-24 Thread Satya Komatineni
http://developer.android.com/guide/topics/graphics/opengl.html The lessons and tutorials here are excellent! http://developer.android.com/training/graphics/opengl/index.html Real thanks http://satyakomatineni.com/android/training http://satyakomatineni.com http://androidbook.com http://twitter.co

[android-developers] A free article on Android custom attributes

2012-06-15 Thread Satya Komatineni
It turns out there is a little bit of depth to android custom attributes. These are the XML attributes that you can use for your own custom views in layout files. I have collected my research notes into a proper article and posted it at http://satyakomatineni.com/item/4169 This article will answ

[android-developers] what are the restrictions on the declare-styleable name attribute? (Does it allow sub packages?)

2012-05-22 Thread Satya Komatineni
what happens if I have two custom views com.mycompany.projectname.CustomView com.mycompany.projectname.subpkg.CustomView How do I declare styleable resoruce for these classes? (of course I can name them differently, but is that the only way?) Here is an example . wou

Re: [android-developers] ImageView.getWidth() at the start of my App

2012-05-12 Thread satya attili
hi... how to implement payment gate way in android application... -- 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: Selection and Highlight text in Webview

2012-04-05 Thread Satya
Hi All, Can any one knows how could this possible? Please help me. Thanks Satya -- 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 g

[android-developers] Selection and Highlight text in Webview

2012-04-01 Thread Satya
Hi All, I need to select and highlight text in webview. I already used clipboard manager and javascript solutions but i need to select any paragraph and highlight it permanently can any one help me for this.. Thanks Satya -- You received this message because you are subscribed to the Google

[android-developers] 5 free chapters from the previous editions of Pro Android

2012-03-29 Thread Satya Komatineni
I have made available some valuable published content from the previous editions of Pro Android for free. we had to remove these chapters from our latest edition ProAndroid 4 (http://androidbook.com/proandroid4) due to size and other reasons. The chapters are OpenGL Search API Live Folders Text

[android-developers] Re: Highlight Text in Webview

2012-03-26 Thread Satya
Guys please respond need help... Thanx -- 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...@g

[android-developers] Highlight Text in Webview

2012-03-26 Thread Satya
Hi All, I need to highlight the text in webview can any one give me the solution. Thanks Satya -- 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 unsubs

Re: [android-developers] onUpdate function is never being called from widget

2012-01-02 Thread Satya Komatineni
e rest of the widget callbacks. Good luck with your debugging Satya On Fri, Dec 30, 2011 at 12:31 PM, Eyal T wrote: > Hi all > > I try create a clickable widget. > I saw that the clickable notification is not configured because > onUpdate function is never being called (so I cannot se

Re: [android-developers] Emulator takes 15 minutes to start an app, something wrong ?

2011-12-13 Thread Satya Komatineni
group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Satya Komatineni http:/

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Satya Komatineni
(such as base.git) are quite large. If you are using a laptop, plug it in. thanks again folks, perhaps now I will be able to see some internals of how personal profile in ics is integrated with the rest of the contacts Thanks again Happy Thanksgiving Satya On Wed, Nov 23, 2011 at 8:38 AM, Mark

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Satya Komatineni
missing something on code search. Also I am glad to know, if that is going to be really true, that the online browsing may be coming back soon. again thanks a bunch Satya On Wed, Nov 23, 2011 at 8:13 AM, Mark Murphy wrote: > On Wed, Nov 23, 2011 at 7:59 AM, Satya Komatineni > wrote: >

[android-developers] Re: Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Satya Komatineni
Ok, I may be getting somewhere, the following seem to work git clone https://android.googlesource.com/platform/manifest.git and git clone https://android.googlesource.com/platform/frameworks/base.git will keep you posted On Wed, Nov 23, 2011 at 7:59 AM, Satya Komatineni wrote: > This

[android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Satya Komatineni
? Thank you so very much (Yes I did read about 50 messages on stackoverflow and here...) (I am really not prepared to install a linux to get a repository out..How may operating systems does it take to change a light bulb!!) -- Satya Komatineni http://www.satyakomatineni.com http://www.androidbook.com

[android-developers] Re: How come there is no PROFILE specific URI for raw contact data in the contact api?

2011-11-22 Thread Satya Komatineni
w contact id is from. Anyways temporarily I understand a little m ore. (Ali, thanks for the link as well) On Mon, Nov 21, 2011 at 3:48 PM, Satya Komatineni wrote: > I see that there is a URI for inserting/contributing a raw contact to > the new (4.0) personal profile > > ContactsContract.

[android-developers] How come there is no PROFILE specific URI for raw contact data in the contact api?

2011-11-21 Thread Satya Komatineni
ofile raw contact. Appreciate if someone can clarify Thanks Satya -- 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

Re: [android-developers] Widget refresh rate

2011-10-08 Thread Satya Komatineni
s group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Satya Komatineni http://www

[android-developers] my_activity -> brower-activity (How can I go back to my activity)??

2011-09-11 Thread Satya Komatineni
browser honor the activity that is invoking it? Appreciate your help Satya -- 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, sen

Re: [android-developers] XML parsing in android

2011-09-04 Thread Satya Komatineni
oups.google.com/group/android-developers?hl=en -- Satya Komatineni http://www.satyakomatineni.com http://www.androidbook.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-develope

Re: [android-developers] Updating a database without freezing

2011-09-04 Thread Satya Komatineni
rs" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -

[android-developers] purpose of R.java file

2011-08-04 Thread satya
h Iam interested to know what is the purpose of R.java file.How the id's are created.why the id's are created and what is the use of generating the id's. plz send the reply..thanks -- You received this message because you are subscribed to the Google

[android-developers] purpose of R.java file

2011-08-04 Thread satya
h Iam interested to know what is the purpose of R.java file.How the id's are created.why the id's are created and what is the use of generating the id's. plz send the reply..thanks -- You received this message because you are subscribed to the Google

[android-developers] Re: Alarm list

2011-07-13 Thread Satya
thanks for replying yes am referring to AlarmManager is there any way where i can stored this in my app? On Jul 13, 10:03 am, TreKing wrote: > On Tue, Jul 12, 2011 at 10:51 PM, Satya wrote: > > Can any one tell me how to get all previously set alarm list. > > If you're ref

[android-developers] Alarm list

2011-07-12 Thread Satya
Can any one tell me how to get all previously set alarm list. Thanks Satya -- 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 g

[android-developers] Multiple image on single image.

2011-07-01 Thread Satya
ion and re-size image. so what can be the way to do this ? any sort of help / example will be helpful. Thanks Satya -- 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@google

Re: [android-developers] Re: Java book (like C K&R and C++ Programming Language)

2011-06-11 Thread Satya Komatineni
up, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Satya Komatineni http://www.sa

Re: [android-developers] Re: Are dialogs supposed to be modal?

2011-06-02 Thread Satya Komatineni
Common guys. Give him a bit of credit. Yes. I agree it is a GOOD recommendation to not use private APIs. It is especially good recommendation to not use them for a general purpose facility. Other than that it is a good effort. Someone thinks differently let him experiment. Satya On Thu, Jun 2

Re: [android-developers] Trying to get a ProgressDialog to display.

2011-05-28 Thread Satya Komatineni
o unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google >

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-23 Thread Satya Komatineni
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

Re: [android-developers] Access instance variables from an activity inside a AsyncTask

2011-05-16 Thread Satya Komatineni
age because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, v

Re: [android-developers] Recommendations for 'specialization'.

2011-05-14 Thread Satya Komatineni
post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Satya Komatin

Re: [android-developers] putExtra not working for a pending intent

2011-05-10 Thread Satya Komatineni
intents are unique and what happens extras etc. You will also see links to a number of useful posts on pending intents. On Tue, May 10, 2011 at 1:36 PM, Satya Komatineni wrote: > There is enough material on this forum if you search with 'pending > intent' especially around its uni

Re: [android-developers] putExtra not working for a pending intent

2011-05-10 Thread Satya Komatineni
s group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Satya Komatineni http://www.satyakomatineni.com http://www.androidbook.com -- You received this message because yo

Re: [android-developers] Re: Long process before a dialog is opened

2011-05-10 Thread Satya Komatineni
Or (if I understand your context right) better yet, show a progress dialog when the menu is clicked and when the progress dialog finishes show your special dialog thereby fulfilling both requirements of visibility and long running process. On Tue, May 10, 2011 at 10:41 AM, Satya Komatineni

Re: [android-developers] Re: Long process before a dialog is opened

2011-05-10 Thread Satya Komatineni
sual cue 5. OnPostExecute enable a button on the dialog to do the desired action by the user I think this will work...(if it suits your intent) On Fri, May 6, 2011 at 5:14 PM, venkata raidu wrote: > Thank you Satya. Using Activity would solve the problem. But, I > thought, by using a dialog, the us

Re: [android-developers] Re: Async Task or Spawn a Thread?

2011-05-10 Thread Satya Komatineni
ay 7, 2011 8:53:29 AM UTC-7, Droid wrote: >> > >> > > Seems I can use an async task OR roll my own thread to do a background >> > > task. >> > >> > > Is one better than the other? > > -- > You received this message because you are subscr

Re: [android-developers] Does android supports modal dialog box ?

2011-05-10 Thread Satya Komatineni
com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Satya Komatineni http://www.satyakomatineni.com http://www.androidbook.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group

Re: [android-developers] Long process before a dialog is opened

2011-05-06 Thread Satya Komatineni
age because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, vis

Re: [android-developers] help for oops concept in android?

2011-05-04 Thread Satya Komatineni
ved this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For mo

Re: [android-developers] Multiple Threads

2011-05-04 Thread Satya Komatineni
back to the main thread much like the async task. Satya On Wed, May 4, 2011 at 10:03 AM, Stefan wrote: > I'm making a app which got it's data from parsing a website, and I > have to download around 100 webpages. > This is a time consuming task, so I created a AsyncTask for >

Re: [android-developers] Keytool and Jarsigner - where are they?

2011-04-27 Thread Satya Komatineni
droid Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/andro

Re: [android-developers] Android Widget Design.

2011-04-26 Thread Satya Komatineni
f you are looking for a tutorial the book is much more helpful Thanks Satya Komatineni http://www.satyakomatineni.com http://www.androidbook.com On Mon, Apr 25, 2011 at 3:49 PM, Chris Ruskai wrote: > Hi, I've been programming apps for a while now and want to branch out > into the realm

Re: [android-developers] Are dialogs supposed to be modal?

2011-04-14 Thread Satya Komatineni
the queue to be served by the main thread. msg1: show msg2: button2 I guess it is possible to quick fast enough to beat the system. May be you need to set a variable to detect this. Just thinking aloud... Satya On Thu, Apr 14, 2011 at 4:13 PM, Satya Komatineni wrote: > For what it is wor

Re: [android-developers] Are dialogs supposed to be modal?

2011-04-14 Thread Satya Komatineni
UI from receivign UI input except for the modal dialog. You have to accordingly code your logic to take this into account. -- Satya Komatineni http://www.satyakomatineni.com http://www.androidbook.com On Thu, Apr 14, 2011 at 3:58 PM, Markus Junginger wrote: > After years of using dialogs, to

[android-developers] when will the source code for Android 3.0 released?

2011-03-07 Thread Satya Komatineni
I am trying to find out nuances with the new features of home screen widgets. I am wondering when will the source code for Android 3.0 be availabe in git repositories. Thanks Satya -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Help: RemoteViewsFactory: what is the difference between its constructor and its "onCreate()" callback?

2011-03-02 Thread Satya Komatineni
example and also teh weather widget example. this aspect is not clear. Thanks Satya -- 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 unsubscrib

[android-developers] Re: what does this code segment do in weatherwidgetprovider: intent.setData(Uri.parse(sameintent.toUri()))

2011-02-26 Thread Satya Komatineni
count the "data" portion. And hence the following code simulating this uniqueness by converting an intent with extras first to a string (which will include the extras as appended string) and then set that unique string as data URI. :) I get it. Hope this helps another **easily baffled**. Satya

[android-developers] what does this code segment do in weatherwidgetprovider: intent.setData(Uri.parse(sameintent.toUri()))

2011-02-25 Thread Satya Komatineni
so why set the "data" to itself??? Appeciate if you can throw some light on this Thanks Satya -- 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 uns

Re: [android-developers]

2011-02-23 Thread Satya Komatineni
Saurabh, I am curious to here what your difficulties are with Android and what aspects of J2ME that you come to like Satya On Wed, Feb 23, 2011 at 8:12 AM, saurabh sinha wrote: > I am fed up with android application I prefer j2me is much better than android > > somoebody tell

Re: [android-developers] Is it possible to hold onto a DialogFragment pointer in its parent activity?

2011-02-21 Thread Satya Komatineni
them and probably there are stronger reasons to tie them strongly to the UI Thanks again for your tireless support on this forum and elsewhere. Satya On Mon, Feb 21, 2011 at 2:30 PM, Dianne Hackborn wrote: > You can only maintain a fragment pointer if it is actually added to the > fragmen

[android-developers] Is it possible to hold onto a DialogFragment pointer in its parent activity?

2011-02-21 Thread Satya Komatineni
The reason I am not able to do this is because 1. To hold on to this fragment pointer I need to save/restore the pointer through the save bundle 2. I am using putFragment() method to do this (via the activity onsaveinstancestate) 3. putFragment() seem to require that the fragment is added to the f

Re: [android-developers] Direct pointers to fragments

2011-02-18 Thread Satya Komatineni
(or view ID) for > the fragment and later re-retrieve it when being created though > findFragmentByTag() and findFragmentById(). > > On Fri, Feb 18, 2011 at 9:22 AM, Satya Komatineni > wrote: >> >> You say one can hold direct pointers (not just their references such

[android-developers] Direct pointers to fragments

2011-02-18 Thread Satya Komatineni
ents. (Ofcourse there is the find by tag or id of those in the current stack) I suspect these local pointers to other fragments may need to be explicitly managed through save/restore states?? Thanks for helping us demystify a few things... Satya On Fri, Feb 18, 2011 at 1:13 AM, Dianne Hackbo

[android-developers] Can a fragment hold on to local variables?

2011-02-17 Thread Satya Komatineni
variables? Or does one need to reset local variables based on lifecycle methods and valid only for the current life of the fragment? Appreciate your coments and help Satya -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] what is the diff between dismissing a dialogfragment or explicitly removing it from the fragment manager?

2011-02-17 Thread Satya Komatineni
when would one call dismiss() and when would one call remove(fragment). Thanks Satya -- 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 thi

[android-developers] How does one set title for a DialogFragment

2011-02-15 Thread Satya Komatineni
et titles. The supplied view from "onCreateView" may not do this, I suspect. Any insight is greatly appreciated Satya -- 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@g

Re: [android-developers] Re: Fragment question on the use of the arguments bundle

2011-02-14 Thread Satya Komatineni
undle(); args.add("index", index); this.setArguments(args); } Notice the commented out instantiation and uses the "this.setArguments()". Satya On Mon, Feb 14, 2011 at 9:47 AM, Kostya Vasilyev wrote: > The code fragment below creates two instances of MyFragm

[android-developers] Re: Will this action bar navigation mode be there: NAVIGATION MODE DROPDOWNLIST

2011-02-05 Thread Satya Komatineni
Here is some sample code, images of various actionbar modes, and a downloadable sample project. http://www.satyakomatineni.com/item/3624 On Sat, Feb 5, 2011 at 1:21 PM, Satya Komatineni wrote: > Looks like the value for both > > NAVIGATION_MODE_LIST > NAVIGATION_MODE_DROPDOWN_LIST

[android-developers] Re: Will this action bar navigation mode be there: NAVIGATION MODE DROPDOWNLIST

2011-02-05 Thread Satya Komatineni
Looks like the value for both NAVIGATION_MODE_LIST NAVIGATION_MODE_DROPDOWN_LIST appears to be the same. The only affect of setting one mode or vs the other, (betweent these two modes), is wether to show the titles or not. I suppose those can be done through display options setting. Satya On

  1   2   3   >