[android-developers] Re: android TOAST?

2011-03-10 Thread kiros88
Okay so the issue im having witht this method is that now with a seekbar i push the button down like the original way has it where u can push the volume button down and then the seekbar goes down and if u keep pushing it the seekbar will continue to go down but i cant seem to get the bar moving

[android-developers] Re: Dynamically including a custom view defined in another app

2011-03-10 Thread Shri
You can use Context.createPackageContext to load the other apk, and then use reflection to load the class. See http://www-jo.se/f.pfleger/apk-piracy. Also take a look at DexClassLoader and PathClassLoader. On Mar 10, 10:08 am, Justin Anderson magouyaw...@gmail.com wrote: And TabActivity

Re: [android-developers] Alarm Issue

2011-03-10 Thread Brad Stintson
I tried that but still it is not working. On Fri, Mar 11, 2011 at 12:04 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 10 March 2011 19:27, Brad Stintson geek.bin...@gmail.com wrote: cal.setTimeInMillis(System.currentTimeMillis()); cal.clear(); These two does

[android-developers] android toast alert?

2011-03-10 Thread kiros88
Is there any way programmically to tell if the toast is still appearing on the droid like there doesnt seem to be a getStatusFunction on the toast class that would do it. Is the only approach to doing this is having a timer that setsoff the same time the duration goes on so i can be sure the droid

Re: [android-developers] DTD Handlers aren't supported.

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 12:32 PM, Adam adamash...@gmail.com wrote: I can't use the in-built java API as I am trying to develop my app on Andoid on 1.5 so I'm using JDOM. What does 1.5 have to do with it? All the XML stuff, AFAICT, has been available since the beginning. Anyone know how I

[android-developers] Re: ProgressDialog persisting after screen rotation inspite of call to dismissDialog

2011-03-10 Thread Shri
I had taken a look at onSaveInstanceState, but it is called before the activity is destroyed. Note that I also tried to call dismissDialog in onPause *before* the call to super.onPause in case the default implementation of onPause was saving the state of managed dialogs. I can certainly switch

Re: [android-developers] Re: Dynamically including a custom view defined in another app

2011-03-10 Thread Mark Murphy
On Thu, Mar 10, 2011 at 1:42 PM, Shri shri.bo...@gmail.com wrote: You can use Context.createPackageContext to load the other apk, and then use reflection to load the class. See http://www-jo.se/f.pfleger/apk-piracy. I stand corrected. However, anyone loading code indiscriminately from

Re: [android-developers] Re: ProgressDialog persisting after screen rotation inspite of call to dismissDialog

2011-03-10 Thread Kostya Vasilyev
Managed dialogs are not saved in the base class's onPause or onSaveInstanceState. That's why I wrote around the time of, not in onSaveInstanceState. What this means - a managed dialog is a managed dialog, and you can't have a semi managed dialog where you first use showDialog() and then

[android-developers] Re: android toast alert?

2011-03-10 Thread Jake Wharton
I'm not aware of a status query method. However, be wary of firing off a timer with your Toast. Just because you call .show() on it does not mean it will be displayed right away. It is put into the toast queue (my term) and only displayed when the items in the queue before it, if any, have been

[android-developers] Re: Dynamically including a custom view defined in another app

2011-03-10 Thread Shri
With Context.createPackageContext, you can use the CONTEXT_IGNORE_SECURITY flag along with CONTEXT_INCLUDE_CODE to load the code in the apk. You will then need to do your own security checks, which is probably making sure that the .apk you are loading is signed with the same certificate as your

Re: [android-developers] DTD Handlers aren't supported.

2011-03-10 Thread Adam Ashton
It's the xpath that wasn't put in until level 8. On 10 March 2011 18:51, TreKing treking...@gmail.com wrote: On Thu, Mar 10, 2011 at 12:32 PM, Adam adamash...@gmail.com wrote: I can't use the in-built java API as I am trying to develop my app on Andoid on 1.5 so I'm using JDOM. What does

[android-developers] Joins vs. Content provider

2011-03-10 Thread Jay Bloodworth
Is there a standard or recommended idiom for doing the equivalent of a join of data in a local database versus a content provider? is there anything more efficient than explicitly looping on the result set from the local database query and doing individual queries of the content provider to grab

[android-developers] override back button

2011-03-10 Thread Colin
Can someone help me understand how to stop the back button from exiting out of my program? I want it to just return to my main menu or exit if pressed on the main menu but when I override the method it still exits. Here is what I currently have: @Override public

Re: [android-developers] Re: android toast alert?

2011-03-10 Thread Kostya Vasilyev
In order to track state in a toast-like thing, one could: - Create a transparent activity (using @android:theme/Translucent); - Model a toast-like thing in the middle of it (using @android:drawable/toast_frame); - Handle key events, update the UI; - Dismiss based on elapsed time; - Include

Re: [android-developers] Re: android TOAST?

2011-03-10 Thread Justin Anderson
Sounds like you have a bug. What are you doing differently between the two buttons? What does your code look like? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 10, 2011 at 11:40 AM, kiros88 ghui...@gmail.com wrote: Okay so the issue im

Re: [android-developers] Joins vs. Content provider

2011-03-10 Thread Kostya Vasilyev
Not sure I understand the question: the implementation of a ContentProvider doesn't have to map data URIs to one particular table each. It's probably the most obvious thing to do, but it doesn't have to be this way. You can map URIs to DB queries any way you like, and include JOIN's if needed

Re: [android-developers] override back button

2011-03-10 Thread Dia
Hello, Does your Back Button exit the application in both cases? When animation.state!=1 it should not do anything. In the other case it should exit. From documentation: - If you handled the event, return true. If you want to allow the event to be handled by the next receiver, return

Re: [android-developers] DTD Handlers aren't supported.

2011-03-10 Thread Robin Talwar
i had the same problem In my parser i replaced the qName with localName parameter and boom i got it working. Hope that works :) On Fri, Mar 11, 2011 at 1:02 AM, Adam Ashton adamash...@gmail.com wrote: It's the xpath that wasn't put in until level 8. On 10 March 2011 18:51, TreKing

[android-developers] Re: Geocoder IOException

2011-03-10 Thread Droid
One way is to capture the geocoder responses into a collection (over time) then write an algoritm to determine the which contents of that collection are usable. The geocode throws bad results and nulls all thge time. Most of the good algorithms are propietary (skyhook), but there is room for

Re: [android-developers] Re: Geocoder IOException

2011-03-10 Thread Greg Donald
On Thu, Mar 10, 2011 at 2:31 PM, Droid rod...@gmail.com wrote: One way is to capture the geocoder responses into a collection (over time) then write an algoritm to determine the which contents of that collection are usable. The geocode throws bad results and nulls all thge time. Most of the

[android-developers] Re: Android manifest no longer can be found on any of my packages

2011-03-10 Thread Droid
1) I get this too in WIndows Vista. I think its from Oracles JDK updates, so lowering the build in preferences for a project seems to work (sometimes!) 2) You can always take the res src and manifest files only to a folder of its own - on your c drive and then create a new project using them as

[android-developers] Re: Joins vs. Content provider

2011-03-10 Thread dirk
Another option is to expose a View which includes the joined results. On Mar 10, 11:40 am, Jay Bloodworth johnabloodwor...@gmail.com wrote: Is there a standard or recommended idiom for doing the equivalent of a join of data in a local database versus a content provider?  is there anything more

[android-developers] Re: override back button

2011-03-10 Thread Colin
That is what I understood and was my intention, but it exits in all cases. On Mar 10, 3:16 pm, Dia lorydi3...@gmail.com wrote: Hello, Does your Back Button exit the application in both cases? When animation.state!=1 it should not do anything.  In the other case it should exit. From

[android-developers] Re: ACR122 USB NFC Reader with Android Mobile

2011-03-10 Thread FrankG
IMHO this smard card reader uses usb Chip Card Interface Device class and I'm in doubt that even if you find a device with usb host support, that this devise can use this u ccid usb mode. But maybe I'm wrong. Good luck ! Frank On 9 Mrz., 10:26, ramakrishna rkreddy@gmail.com wrote: Hi, My

[android-developers] Re: C2DM for production. Please sort this out Google!

2011-03-10 Thread Eurig Jones
Anyone? PLEASE? On Mar 10, 1:55 pm, TreKing treking...@gmail.com wrote: On Thu, Mar 10, 2011 at 3:12 AM, Eurig Jones eurigjo...@gmail.com wrote: What is the hold-up? It's Google. Customer service is not something they're exactly known for.

Re: [android-developers] back button for new canvas

2011-03-10 Thread TreKing
On Tue, Mar 8, 2011 at 5:36 AM, graffiti catalanopi...@gmail.com wrote: Is there a code snippet for using the back button for a new paint surface. Probably not. Particularly since that does not make much sense. I am using finger paint and after painting there is no way to create a new

Re: [android-developers] override back button

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 1:54 PM, Colin colin...@gmail.com wrote: return super.onKeyDown(keyCode, event); The super method likely executes the default action for the given key press. The default action on the back key is to call finish() on the activity.

Re: [android-developers] override back button

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 3:36 PM, TreKing treking...@gmail.com wrote: On Thu, Mar 10, 2011 at 1:54 PM, Colin colin...@gmail.com wrote: return super.onKeyDown(keyCode, event); The super method likely executes the default action for the given key press. The default action on the back key is

[android-developers] Re: C2DM for production. Please sort this out Google!

2011-03-10 Thread Trevor Johns
Eurig, Sorry about that, there's a slight backlog in approving C2DM production quota requests at the moment. I've been working to clear it out. I just approved your request, you should be getting a reply in about 5 minutes from our ticket system saying your'e good to go. Let me know if there's

Re: [android-developers] Compare MonkeyImage

2011-03-10 Thread aniruddha dhamal
Thanks Bill, That really helps a lot. On Mon, Mar 7, 2011 at 4:09 PM, Bill Napier nap...@google.com wrote: Yes. Our tests are written on top of pyunit (which runs inside monkeyrunner). We use sameAs and an asset. For the test cases we are developing, sameAs (with a percentage) is

Re: [android-developers] override back button

2011-03-10 Thread Justin Anderson
Starting with Android 2.0 you also need to implement onBackPressed() in order to achieve this... http://developer.android.com/reference/android/app/Activity.html#onBackPressed%28%29 Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 10, 2011 at

[android-developers] Best practices for tablet-centric development

2011-03-10 Thread Chris Stewart
I'm beginning to investigate bringing an application to the tablet form factor, the idea being the tablet is the primary platform of focus. I understand that Fragments are the way we should be developing applications moving forward to accommodate both phones and tablets, but perhaps my knowledge

[android-developers] SJXP 2.0 Released - Simple XML Parsing in Android

2011-03-10 Thread Riyad
Simple Java XML Parser (SJXP) 2.0 is released. SJXP is a very light weight (4 class) abstraction to XML Pull Parsing on Android (and Java in general) that allows you to use XPath-like expressions in parsing without needing to worry about while loops, event handling, try-catch blocks, etc. A

Re: [android-developers] Best practices for tablet-centric development

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 3:59 PM, Chris Stewart cstewart...@gmail.comwrote: You'd then need to maintain two sets of Activities in your code base (one for each view, for each Activity), but at least you're simply implementing functionality from your service layer in those instead of duplicating

[android-developers] Re: NDEF intent filters

2011-03-10 Thread hansamann
I don't think you can filter by well known type, you'll probably have to filter by tech and then the user would get a intent chooser. I am also experimenting with Android NFC and was able to write a NFC Tag with a NdefMessage including a TNF of TNF_MIME_MEDIA, a type of application/json and some

[android-developers] Re: Which Mobile Advertising Site?

2011-03-10 Thread LAM_Creations
You do not get paid per impression and CPM varies a lot daily from a few cents - $100+ just depends. -- 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

[android-developers] Re: SJXP 2.0 Released - Simple XML Parsing in Android

2011-03-10 Thread Joseph Earl
What's this like in terms of speed/memory compared to say a SaxParser ? On Mar 10, 10:02 pm, Riyad rka...@gmail.com wrote: Simple Java XML Parser (SJXP) 2.0 is released. SJXP is a very light weight (4 class) abstraction to XML Pull Parsing on Android (and Java in general) that allows you to

Re: [android-developers] DTD Handlers aren't supported.

2011-03-10 Thread Adam
Thanks for your reply. qName? local name?? How would I go about doing this with the SAXBuilder? I can't see any documentation on changing my URL to use qualified names and such. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Joins vs. Content provider

2011-03-10 Thread Jay
Thank you for your reply. I do know that there is no requirement for ContentProviders to map URIs one-to-one to tables. To clarify, I am asking about the case where the ContentProvider and the joined DB are in separate applications, so the join can't be done within the SQLite engine. The

[android-developers] ProgressDialog not showing

2011-03-10 Thread David Williams
All, I have my main class GolfCaddie.java which is called when the app is launched. GolfCaddie.java extends the TabActivity. I have 3 other classes, one for each tab, and at the moment these 3 classes just display text or graphics. In GolfCaddie.java the code is broken down as follows.

[android-developers] Aapt.exe keeps crashing with ADT 10.

2011-03-10 Thread Nathan
Since ADT 10, I have been trying to get a build to work with Eclipse for a week now. It is getting extremely frustrating. I installed Eclipse 3.6.2 as instructed. I installed ADT 10. I recreated a library project from existing source. I got that to build. Now I tried creating a project that

Re: [android-developers] Aapt.exe keeps crashing with ADT 10.

2011-03-10 Thread Xavier Ducrohet
The NPE indicates that your project is configured with some source folders that don't actually exist. Do you have a gen folder? Eclipse should create it if it's not there, but it could not be there maybe? I'll guard against the NPE (https://review.source.android.com/21721 ) but if it's gen that

[android-developers] Recent Changes text not sticking

2011-03-10 Thread Doug
I updated my app today and noticed that it did not publish or save the recent changes text I entered into the form. One user was actually noticed and asked me about it. Anyone else see the same thing? Doug -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: java.lang.VerifyError error at the time of using gson library on HTC desire

2011-03-10 Thread fadden
On Mar 10, 3:49 am, Manish Garg mannishga...@gmail.com wrote: I am getting java.lang.VerifyError error at the time of parsing one json response on HTC desire. My application is running fine on other device, only on HTC desire I am getting this error. What versions of Android are they running?

[android-developers] Re: Request a webpage and display in app

2011-03-10 Thread netlander
Try using WebView in your activity. http://developer.android.com/reference/android/webkit/WebView.html Llies On Mar 10, 2:24 pm, Raghav Sood raghavs...@gmail.com wrote: Hi everyone, I am trying to create an app that take an URl as a user input and displays the webpage below the textbox. I

[android-developers] Re: Aapt.exe keeps crashing with ADT 10.

2011-03-10 Thread Nathan
I did have an extra virtual source folder that was an artifact of all the tweaking I had done to try to get it to work. I wished I'd taken more notes on what worked. New Eclipse-New Workspace - Import existing projects got me the farthest. After multiple iterations, I might have a build. New

[android-developers] Re: Fragment Support forward compatibility?

2011-03-10 Thread davemac
There are some subtle differences between the Fragment compatability library and the native Fragment support in Android 3.0. For example, the setCustomAnimations() method on FragmentTransaction can use the new ObjectAnimator in Android 3.0 (see android.R.animator), but must use the older anim

[android-developers] Re: override back button

2011-03-10 Thread Colin
Thanks, but how do I implement onBackPressed? My thread extending activity says there is no method to override. On Mar 10, 4:50 pm, Justin Anderson magouyaw...@gmail.com wrote: Starting with Android 2.0 you also need to implement onBackPressed() in order to achieve

Re: [android-developers] Re: Fragment Support forward compatibility?

2011-03-10 Thread Miguel Morales
They just released the static library for 1.6+ devices so that they can use fragments too. This is freaking awesome, I can't wait to start playing with it. There is just so much new stuff there's no time to play with it all. On Thu, Mar 10, 2011 at 4:57 PM, davemac davemac...@gmail.com wrote:

Re: [android-developers] Re: override back button

2011-03-10 Thread Miguel Morales
Well, I *think* you're using it wrong. Basically, onKeyDown allows you to override the default key behavior for whatever key is pressed. So, if you return 'true' it means that you have handled the behavior. So, you have to provide your own code to navigate your activities/view if you are

Re: [android-developers] Re: Fragment Support forward compatibility?

2011-03-10 Thread Dianne Hackborn
Note that in the current static library animations are broken. I have a fix for this that will be available in a later update. On Thu, Mar 10, 2011 at 4:57 PM, davemac davemac...@gmail.com wrote: There are some subtle differences between the Fragment compatability library and the native

Re: [android-developers] Re: Joins vs. Content provider

2011-03-10 Thread Dianne Hackborn
The important thing is to have the results returned in a way that the data doesn't need to all be loaded up-front in order to do the join, like CursorJoiner does. This has significant limitations on how you can do the joins. On Thu, Mar 10, 2011 at 4:04 PM, Jay johnabloodwor...@gmail.com wrote:

[android-developers] Re: SJXP 2.0 Released - Simple XML Parsing in Android

2011-03-10 Thread Riyad
Joseph, It is almost identical in performance metrics (CPU and memory) to bare XML pull parsing on Android. About 6 months ago I was looking at different parsing techniques, assuming that SAX was the fastest, but I actually found pull-parsing to be the fastest. Here are some STAX-spec compliant

[android-developers] Re: Best practices for tablet-centric development

2011-03-10 Thread Nathan
On Mar 10, 1:59 pm, Chris Stewart cstewart...@gmail.com wrote: I've always thought that simply maintaining two views for each Activity, one for a phone and one for a tablet, would be a good way to go.  You'd then need to maintain two sets of Activities in your code base (one for each view, for

[android-developers] Re: override back button

2011-03-10 Thread Colin
The super return would only be for a key besides down. I believe Justin is right with the onBackPressed(), I'm just not sure where or how to do that. On Mar 10, 8:10 pm, Miguel Morales therevolti...@gmail.com wrote: Well, I *think* you're using it wrong. Basically, onKeyDown allows you to

Re: [android-developers] drop down list with id/value pair

2011-03-10 Thread TreKing
On Tue, Mar 8, 2011 at 1:19 AM, Saurabh Goyal sggo...@gmail.com wrote: it show id is 0 when Select Mercury But I want it show 1 as set in id. Please help me out. Well if it's just going to be sequential like that, just use the item's position.

Re: [android-developers] Re: override back button

2011-03-10 Thread Miguel Morales
Well like he said you must be using 2.0+ what's your target sdk set to? Other than that, you're probably returning false which means your conditions aren't being met and you're not returning true. You might want to add some logging or a breakpoint to make sure you even get to that statement. On

Re: [android-developers] Creating app to fetch data from internet and customizing display for mobile device

2011-03-10 Thread TreKing
On Tue, Mar 8, 2011 at 12:31 PM, Steve ranjith2...@gmail.com wrote: Could any one of you share any tips or any other ways to implement this? http://developer.android.com/guide/webapps/index.html ?

Re: [android-developers] Re: May i join the group?

2011-03-10 Thread yy xuye
Yes, i've joined it. Tks! BR. On Fri, Mar 11, 2011 at 1:59 AM, Indicator Veritatis mej1...@yahoo.comwrote: For which he has my condolences;) But seriously now: we should welcome newcomers to the group with a generous invitation to become familiar with

[android-developers] Re: override back button

2011-03-10 Thread Colin
My target is 2.1, can anyone direct me to an example implementation of onBackPressed? On Mar 10, 8:30 pm, Miguel Morales therevolti...@gmail.com wrote: Well like he said you must be using 2.0+  what's your target sdk set to? Other than that, you're probably returning false which means your

Re: [android-developers] Parser avec Gson des objets de classe qui extends OverlayItem

2011-03-10 Thread TreKing
My French is rusty, but: Nous parlons Englais ici. Oui? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this

[android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-10 Thread Ed Burnette
Sometimes I have to edit something innocuous in the xml file and in a .java file and save it (with build automatically set) to get a clean build. Project Clean usually works but when it doesn't, the modify- and-save trick usually works. Changing the Android build target temporarily might jostle

Re: [android-developers] lost the password of the keystore

2011-03-10 Thread Nikolay Elenkov
On Fri, Mar 11, 2011 at 12:19 AM, Justin Anderson magouyaw...@gmail.com wrote: Just another proof that the current scheme is broken. The current scheme is not broken.  It was intentionally designed the way it is for security purposes. Blessed are they who believe without seeing. -- You

Re: [android-developers] Re: override back button

2011-03-10 Thread Miguel Morales
Ah, yeah then seems that onBackPressed needs to be called. I've never used it myself so I can't be of much help there. On Thu, Mar 10, 2011 at 5:44 PM, Colin colin...@gmail.com wrote: My target is 2.1, can anyone direct me to an example implementation of onBackPressed? On Mar 10, 8:30 pm,

[android-developers] Re: Fragment Support forward compatibility?

2011-03-10 Thread Ed Burnette
Do you think this compatibility library could be used for more than just fragments? For example, action bars, touch event changes, and so on? It would be nice to cut down on the use of reflection and version checks when new APIs are added that you'd like to use but still want to run on older

[android-developers] Force close after adding resources and textview

2011-03-10 Thread Mark Sharpley
I was playing around with the galleryview and image switcher, and I decided to implement a textview that describes my images as I scroll through them. I created a string array, and added a text view in my layout xml. I then added the string and textview to my code. I thought I could reuse the

Re: [android-developers] Re: Fragment Support forward compatibility?

2011-03-10 Thread Dianne Hackborn
It already has Loader, a version of CursorAdapter from HC with newer features that work better with loaders, some small helpers for using new menu features when running on HC, etc. Yes it will be a place for these kinds of helpers for dealing with different platform versions, where we have

Re: [android-developers] Force close after adding resources and textview

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 8:25 PM, Mark Sharpley m.c.sharp...@gmail.comwrote: However, this addition causes my app to force close when I try to run it. 03-11 02:00:59.288: ERROR/AndroidRuntime(12636): Caused by: java.lang.NullPointerException 03-11 02:00:59.288: ERROR/AndroidRuntime(12636):

Re: [android-developers] ProgressDialog not showing

2011-03-10 Thread TreKing
On Thu, Mar 10, 2011 at 6:12 PM, David Williams dwilli...@dtw-consulting.com wrote: initApp ProgressDialog dialog = ProgressDialog.show(GolfCaddie.this, ,Initializing. Please wait..., true); Set up some variables You're not running a background thread, are you?

[android-developers] Force close after adding resources and textview

2011-03-10 Thread Mark Sharpley
Line 36: Resources res = getResources(); -- 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] Binding to a service from within a ContentProvider - when to unbind?

2011-03-10 Thread Mark Carter
ContentProviders are instantiated at system startup and remain alive until the system shuts down. I have a ContentProvider that binds to one of my (local) services (which is most likely not already running) and so would like to unbind at some appropriate time. If unbindService is not called

Re: [android-developers] Force close after adding resources and textview

2011-03-10 Thread TreKing
Line 36: Resources res = getResources(); (Copying from the new thread - not sure why that happened). Did you mean to call getResources(); *outside* of onCreate? - TreKing

[android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-10 Thread Zsolt Vasvari
Yes, this is exactly what I have to do. I don't think it's anything on our side of things, but who knows. On Mar 11, 9:51 am, Ed Burnette ed.burne...@gmail.com wrote: Sometimes I have to edit something innocuous in the xml file and in a .java file and save it (with build automatically set) to

Re: [android-developers] Re: override back button

2011-03-10 Thread Justin Anderson
@Override public void onBackPressed() { //Do whatever you need to in here... //To quit call super.onBackPressed() or call finish() } Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 10, 2011 at 7:11 PM, Miguel Morales

[android-developers] Re: override back button

2011-03-10 Thread Colin
Thanks. I tried this but my class extending activity but it doesn't have a method to Override. Not sure what I am doing wrong or where this would go. The setup of my project came from this (http:// mobile.dzone.com/articles/beginning-android-game) if anyone can look. On Mar 10, 11:12 pm,

Re: [android-developers] Re: override back button

2011-03-10 Thread Justin Anderson
So you put the onBackPressed() method in the AndroidTutorial class? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 10, 2011 at 9:49 PM, Colin colin...@gmail.com wrote: Thanks. I tried this but my class extending activity but it doesn't

[android-developers] Re: override back button

2011-03-10 Thread Colin
Yep, doesn't know what method to Override. On Mar 10, 11:57 pm, Justin Anderson magouyaw...@gmail.com wrote: So you put the onBackPressed() method in the AndroidTutorial class? Thanks, Justin Anderson MagouyaWare Developerhttp://sites.google.com/site/magouyaware On Thu, Mar 10, 2011 at

[android-developers] Sync SQLite database with mdb

2011-03-10 Thread Rohith Nandakumar
Hello, I have an existing desktop application in vb that is using .mdb file as database. I have created an android app to use some of the features of the app. Since android doesn't support mdb, I've converted the important tables to sqlite database. I wish to transfer the data in the sqlite

Re: [android-developers] Re: Gettting data from web page

2011-03-10 Thread Kunju Vava
hi all i think u r not get my qstion correctly, in my app i send the url of a sites using httppost method and attach my keyvalupair as from and to city (total 20 sites) my question after sending the url , how we get json data or data of that site , sometimes we want some data that is in any

Re: [android-developers] Re: username and password for sample sync adapter

2011-03-10 Thread bhagii
Hi, I am very new to android. I wanna see my app in account manager. How to do that I just added sample code in android. Where do i keep samplesyncadapter_server files? In apache Pls assist me... Thanks. -- You received this message because you are subscribed to the Google

[android-developers] Quick Search Box - Getting results in All

2011-03-10 Thread ClarkBattle
I can get search results in my app's search area (selecting the app icon in the 2.3 quick search box to restrict the search to my app). However, i dont see any of my results when All is selected. Does android just deprioritize them? What determines what search results show up in the All

[android-developers] Re: lost the password of the keystore

2011-03-10 Thread Indicator Veritatis
Some time? If the password was strong, it could take many years! On Mar 9, 10:48 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Wed, Mar 9, 2011 at 11:32 AM, Pure J purej1...@gmail.com wrote: I am doing an update on my application. I would like to sign it and publish However, when

[android-developers] Re: lost the password of the keystore

2011-03-10 Thread Indicator Veritatis
Well, yes, of course it was intentionally designed the way it is for security purposes. But sometimes, just sometimes, when people intentionally design the way it is for security purposes, they have a backup protocol for establishing your identity when the key is lost. Not here. On Mar 10, 7:19 

Re: [android-developers] Re: Status Bar Notifications

2011-03-10 Thread Brad Stintson
*My application is not triggering notification at specified alarm time. Please see below classes and tell me how to do that.* * * * * *This is my notification class.* public class Notificaition extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent)

Re: [android-developers] Re: override back button

2011-03-10 Thread Dianne Hackborn
The code in my blog post does work: http://android-developers.blogspot.com/2009/12/back-and-other-hard-keys-three-stories.html http://android-developers.blogspot.com/2009/12/back-and-other-hard-keys-three-stories.htmlIf it is not working, I think your problem is elsewhere, not in this code. You

Re: [android-developers] Binding to a service from within a ContentProvider - when to unbind?

2011-03-10 Thread Dianne Hackborn
It doesn't remain alive until the system shuts down, it is until your process is killed to reclaim memory for others. At this point the binding will be removed. On Thu, Mar 10, 2011 at 6:56 PM, Mark Carter mjc1...@googlemail.com wrote: ContentProviders are instantiated at system startup and

Re: [android-developers] Force close after adding resources and textview

2011-03-10 Thread Dianne Hackborn
Don't implement a constructor and do stuff in it. Implement your initialization in onCreate(). On Thu, Mar 10, 2011 at 6:25 PM, Mark Sharpley m.c.sharp...@gmail.comwrote: I was playing around with the galleryview and image switcher, and I decided to implement a textview that describes my

[android-developers] Re: Gettting data from web page

2011-03-10 Thread Indicator Veritatis
If they don't publish the API, then you probably don't have rights to use the data this way in the first place. If they do publish it, then you should read that. On Mar 10, 9:30 pm, Kunju Vava android...@gmail.com wrote: hi all i think u r not get my qstion correctly, in my app i send the

[android-developers] Problem with GridView

2011-03-10 Thread leela
Hi all, i am working on gridView which will show images.. initially the gridView will show all thumbniles images.. once click on any thumbnile i need to show that gridVeiw in full screen. here the problem is if user clicks on 5th image i need to show 5th image of gridView in full screen But,i

Re: [android-developers] Re: lost the password of the keystore

2011-03-10 Thread Nikolay Elenkov
On Fri, Mar 11, 2011 at 3:04 PM, Indicator Veritatis mej1...@yahoo.com wrote: Some time? If the password was strong, it could take many years! Surely. But: * most people use a dictionary word or a word + '123'/whatever * it is unlikely to be too long * with a single multicore machine you can

[android-developers] Re: Toggle button with more states that two

2011-03-10 Thread mort
I think this would also break the user experience. Better use a spinner. You can show different foreground images if you use proper layouts and adapter. For both button and spinner you could simply set a new button background when the item has changed, i.e. in the OnClick- or

Re: [android-developers] HI

2011-03-10 Thread Kristopher Micinski
P.s., Bluetooth API support seems to be not that amazingly great, and you have to pair the phones first, which is annoying. (People always have to pair before playing your game!). Can you fake it using TCP/IP? Kris On Thu, Mar 10, 2011 at 1:47 AM, Marcin Orlowski webnet.andr...@gmail.comwrote:

Re: [android-developers] DTD Handlers aren't supported.

2011-03-10 Thread Robin Talwar
Ok following is the peice of code how it should be. qName and localName are the arguments which you place in startElement and endElement. Code :- public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { // reset

Re: [android-developers] HI

2011-03-10 Thread Kristopher Micinski
(But of course, having to pair isn't the Android platform's fault, it's just 802.15.1 in general :-). Kris On Fri, Mar 11, 2011 at 2:00 AM, Kristopher Micinski krismicin...@gmail.com wrote: P.s., Bluetooth API support seems to be not that amazingly great, and you have to pair the phones

[android-developers] Re: Status Bar Notifications

2011-03-10 Thread Jonathan Foley
Is the device going to sleep? If so you'll need to acquire a WakeLock otherwise it will wake up for the alarm and may fall back asleep before the notification ever gets fired. Jonathan On Mar 10, 10:06 pm, Brad Stintson geek.bin...@gmail.com wrote: *My application is not triggering

[android-developers] Spinner like drop-down on button

2011-03-10 Thread Brad Stintson
How to implement spinner like array adapter on button? -- 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

Re: [android-developers] Re: Android AVD 3.0 Problem

2011-03-10 Thread Marcin Orlowski
On 10 March 2011 16:18, Chrystian Vieyra chrys.vie...@gmail.com wrote: I don't quite understand your problem, are you trying to do Android development using Visual Studio?? I think he got VS installed and starting AVD 3.0 is unsucessful and something crashes, which causes VS's to catch it and

[android-developers] GridView.scrollTo(int,int) is not working

2011-03-10 Thread leela
Hi all, while populating my GridView/listView i want to show 20th item first.. i was tried to scroll up to that position by calling gridView.scrollTO(20,20); this is not working.. means it's always showing first item.. any suggestions Thanks in Advance... -- You received this message

[android-developers] Re: Gettting data from web page

2011-03-10 Thread Jonathan Foley
I am assuming you are emulating a form by posting the parameters as a query string. If that's the case, the data you're getting back is simply whatever webpage would normally be returned in response to a user query of the website. So to get your data, you'd have to parse that HTML. There is no

Re: [android-developers] GridView.scrollTo(int,int) is not working

2011-03-10 Thread Romain Guy
GridView doesn't support the use of scrollTo(). Also, scrollTo() takes distances in pixels. Use setSelectedPosition(20) instead. On Thu, Mar 10, 2011 at 11:28 PM, leela morampudile...@gmail.com wrote: Hi all, while populating my GridView/listView i want to show 20th item first.. i was

<    1   2   3   >