[android-developers] How to improve Honeycomb emulator performance?

2011-03-01 Thread RobGThai
I'm running this from Eclipse SDK on 32-bit version of Windows 7 2.27 GHz i5 with 3 GB DDR3 memory (In fact its 4 but Windows can only use 3 GB). I can run Android 2.3 emulator with about 20-40% performance compares to the real device (Nexus One) but with 3.0 I can hardly get it to response. The

[android-developers] Re: Can I read .pdf From assert folder?

2011-03-01 Thread Stephan Wiesner
YOU can, but Acrobat reader does not have the permission. Had the same problem and decided to save the pdfs on the SD card... Greetings from Zurich, Stephan On Feb 28, 9:29 pm, Sunil Lakhiyani slakhiyaniandr...@gmail.com wrote: Hi Developers, I have .pdf in assert folder, also i have pdf

Re: [android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread Justin Anderson
What is clip_model? On Tue, Mar 1, 2011 at 12:32 AM, monty neilm30s...@gmail.com wrote: Hi, Following is part of code from the Activity.Hope the code will be clear enough for you to understand.Please let me know how to resolve this issue.It would be really helpful.

[android-developers] Re: ListView with custom items

2011-03-01 Thread Richard Sámela
On 1. Mar., 01:59 h., TreKing treking...@gmail.com wrote: On Mon, Feb 28, 2011 at 5:53 PM, Richard Sámela feromak...@gmail.comwrote: Have you confirmed that: 1 - your array list actually has items and 2 - your getView function is being called I sure that my ListArray contains items of

[android-developers] install apk from SD card to phone

2011-03-01 Thread parag
hi all, How can I install an apk file from my sd card to the the android phone memory or SD card? thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

Re: [android-developers] install apk from SD card to phone

2011-03-01 Thread Justin Anderson
What have you tried so far? On Tue, Mar 1, 2011 at 2:00 AM, parag parag.shetgaon...@gmail.com wrote: hi all, How can I install an apk file from my sd card to the the android phone memory or SD card? thanks in advance. -- You received this message because you are subscribed to the Google

[android-developers] Status Bar appears again

2011-03-01 Thread argongold
Hi, I am developing a Home Screen and I have set the following attributes in AndroidManifest.xml android:theme=@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen as well as in onCreate() function as // programatically setting the No Status Bar and Fullscreen for this application

[android-developers] Regarding C2DM Registration

2011-03-01 Thread Kiran
Hi, I have following test case for C2DM. I want to sign up my application on Google C2DM server AND also want to register multiple users for same application. so that multiple user having their own account id's can receive my notifications. Is it supported by Google C2DM flow? If yes,

Re: [android-developers] Toast not disappearing

2011-03-01 Thread Kostya Vasilyev
Julius, You mentioned IntentService, which runs your code on a background thread. Even though Toast can supposedly be shown from any thread, I'd try changing the code so that you show the toast from the UI thread. That's easy to do with a Handler and a small Runnable subclass. -- Kostya

[android-developers] Re: install apk from SD card to phone

2011-03-01 Thread Amit
Dear Parag, In general, you can browse to the .apk file using any file browser and click thereit should install the apk. If not, please check if your adb shell is working fine? Even after that as well if its not installing, try putting the apk on to some web server and do an OTA to verify

Re: [android-developers] Re: Clear calling activity on finish

2011-03-01 Thread Kostya Vasilyev
Manish, I would guess that in the case where login is needed, after the user logs in, you launch the real activity for doing whatever requires login. When you do that, call finish() on the login activity, so it's not there. For the opposite activity flow - when the user comes back to the

Re: [android-developers] install apk from SD card to phone

2011-03-01 Thread sogan xie
copy the apk to sd card from PC then tap the apk install it. That's all. On Tue, Mar 1, 2011 at 5:00 PM, parag parag.shetgaon...@gmail.com wrote: hi all, How can I install an apk file from my sd card to the the android phone memory or SD card? thanks in advance. -- You received this

Re: [android-developers] Re: IllegalStateException: database not open

2011-03-01 Thread Kostya Vasilyev
Yes, it's very strange - unless you subclassed SQLiteOpenHelper, the database files for both applications should be in their respective private data directories, not on the memory card. Those directories are only accessible by the application they belong to, and you can't browse them (from the

Re: [android-developers] install apk from SD card to phone

2011-03-01 Thread Justin Anderson
What happened when you tapped the apk? On Tue, Mar 1, 2011 at 2:19 AM, sogan xie soga...@gmail.com wrote: copy the apk to sd card from PC then tap the apk install it. That's all. On Tue, Mar 1, 2011 at 5:00 PM, parag parag.shetgaon...@gmail.com wrote: hi all, How can I install an apk

[android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread monty
Hi Here clip_model is an arraylist that will hold the data of xml we parse.And here i am getting the data for from that arraylist using the position variable. Also i went thru your app ,thats exactly what i want for my app. On Mar 1, 1:33 pm, Justin Anderson magouyaw...@gmail.com wrote: What is

[android-developers] Re: install apk from SD card to phone

2011-03-01 Thread parag
THANKS, i tried the third option.. On Mar 1, 2:16 pm, Amit amitmishr...@gmail.com wrote: Dear Parag, In general, you can browse to the .apk file using any file browser and click thereit should install the apk. If not, please check if your adb shell is working fine? Even after that

Re: [android-developers] Re: ListView with custom items

2011-03-01 Thread Kostya Vasilyev
Richard, You are missing getCount in your adapter, and the base class's version (ArrayAdapter) returns 0 because you didn't pass your data array to super() in the constructor. So the list view thinks there are zero items in the adapter, and does not create any views. The way you have things

Re: [android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread Justin Anderson
Well... I didn't notice anything that wrong with your code (but I may have missed something). Have you checked your parsing code to make sure that the data is accurate once you've parsed the xml? On Tue, Mar 1, 2011 at 2:23 AM, monty neilm30s...@gmail.com wrote: Hi Here clip_model is an

Re: [android-developers] Re: How to open email in app with address

2011-03-01 Thread Kostya Vasilyev
Intent filtering does not consider extras when matching, EXTRA_EMAIL is only useful for specifying the recipient once you're in the target application. Using a mailto:; URI with with ACTION_VIEW or ACTION_SENDTO works well for me, and encoding various email parameters right in the URI seems

[android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread monty
Yes the data displaying is correct.The parsing is fine.The only issue is its not working like your app where you are highlighting the centre item of the Gallery and displaying it.Could u then please give a brief view of yourcode.Are you also using getView() and implementing the code? On Mar 1,

[android-developers] Re: How can we get handle of GUI controls in Android?

2011-03-01 Thread raki
Hi Romain Guy, Thanks for the clarification. If not getting handles of UI elements through UISpy, what is the approach we need to follow to automate the GUI operations? Best regards, Rakesh On Feb 28, 4:43 pm, Romain Guy romain...@android.com wrote: Unfortunately, there is no equivalent.

[android-developers] Re: Clear calling activity on finish

2011-03-01 Thread Manish Garg
Kostya, For the opposite activity flow - when the user comes back to the real activity and your code discovers that the session expired, start the login activity and call finish() on the real one. There are more than one activity other than login, so if i am on after login i go to activity A

[android-developers] Need Help in Android developement

2011-03-01 Thread onkar dhane
hey...hi...thanks but please tell me if i want to show pop-up message after completing my progress bar which is on 1st activity. now i have created progress bar its runs but remaining part i want to show pop-message as progress bar reached the max. limitplease help me ou -- Best Regards--

Re: [android-developers] Re: ProgressDialog Theme - TextColor or Background but not both

2011-03-01 Thread Kostya Vasilyev
There is a style for Progress *Bar*, in fact, a lot of variations on the progress bar (large / small, inverse or not, etc.) However, there is no style for progress *dialog*. A quick inspection of progress_dialog.xml from the sources shows that the TextView with the message: - Does not use

Re: [android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread Gergely Juhász
what do you think about this: http://www.inter-fuser.com/2010/02/android-coverflow-widget-v2.html it's a nice cover flow using the gallery On 1 March 2011 10:41, monty neilm30s...@gmail.com wrote: Yes the data displaying is correct.The parsing is fine.The only issue is its not working like

[android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread monty
yes.. i have checked that code.But here he is not displaying any text when the Gallery is scrolled.So any solution?Am i missing some API or something in the code i sent you.? On Mar 1, 2:59 pm, Gergely Juhász jg.sv...@gmail.com wrote: what do you think about

Re: [android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread Gergely Juhász
What is you use TextView instead of using image views. TexView has an attribute android:drawableTop. With that you can simple draw an image above the text. Or you can use a vertical linear layout as the view element (wtih an image and a text). On 1 March 2011 11:13, monty neilm30s...@gmail.com

Re: [android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread Gergely Juhász
sorry for the syntax: What if you use TextViews instead of using ImageViews? On 1 March 2011 11:28, Gergely Juhász jg.sv...@gmail.com wrote: What is you use TextView instead of using image views. TexView has an attribute android:drawableTop. With that you can simple draw an image above the

[android-developers] Re: Regarding C2DM Registration

2011-03-01 Thread Kiran
I want to use Multiple Sender IDs for same application and my client can use any of this id to get registered. Is this possible? On Mar 1, 2:12 pm, Kiran kiranchowke...@gmail.com wrote: Hi, I have following test case for C2DM.     I want to sign up my application on Google C2DM server AND

[android-developers] Android Maps API get key

2011-03-01 Thread vegetable
Hello. Im trying to get key to use google maps, but having some problems. valts@valts-P43-ES3G:/work/SDK`s/android-sdk-linux_x86$ keytool -list - keystore ~/.android/debug.keystore Enter keystore password: keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect

[android-developers] Re: Regarding C2DM Registration

2011-03-01 Thread Kiran
I want to use Multiple Sender IDs for same application and my client can use any of this id to get registered. Is this possible? On Mar 1, 2:12 pm, Kiran kiranchowke...@gmail.com wrote: Hi, I have following test case for C2DM.     I want to sign up my application on Google C2DM server AND

[android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread monty
Actually my requirement is that when when the gallery is scrolled there will be a TextView at bottom of Gallery that will display the name of the image or some information related to that image.Now i want that when i scroll and stop the Gallery the image in the middle of Gallery should have its

[android-developers] Re: Backup and Restore service not working

2011-03-01 Thread Raj
Hi Again, I am still trying to get the solution. I changed the transport through $adb shell bmgr transport to google backup transport. When I do back up of my data on google server $adb shell bmgr run, it throws error: === W/BackupTransportService( 241): Not ready for backup request right

[android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread monty
Sorry the apps name is AppSwipe On Mar 1, 3:53 pm, monty neilm30s...@gmail.com wrote: Actually my requirement is that when when the gallery is scrolled there will be a TextView at bottom of Gallery that will display the name of the image or some information related to that image.Now i want

[android-developers] how to change the version of android application

2011-03-01 Thread gaurav gupta
hi guys. my application bulid on android 2.1 , but it dont run on android 2.1 emulator and gives error 03-01 16:47:10.675: WARN/ExpatReader(355): DTD handlers aren't supported. my application runs sucessfully on android 2.2 . please help me , its urgent, thanks in advance -- You received this

Re: [android-developers] Re: how to show a progressbar in a canvas

2011-03-01 Thread Marcin Orlowski
On 1 March 2011 08:01, Shashidhar shashi.zep...@gmail.com wrote: To add to the above question, I have seen some progress bar examples in API demos. but they are using xml to represent the progress bar. Is there a way to access the xml specified progress bar to show on canvas?? If you saw

[android-developers] Google Maps Source Code

2011-03-01 Thread NewUser
Is it possible to see the source of some of the GM classes? I posted this question a few weeks ago: https://groups.google.com/group/android-developers/browse_thread/thread/887845c31c22a26c?hl=is# and here

Re: [android-developers] Google Maps Source Code

2011-03-01 Thread Marcin Orlowski
On 1 March 2011 12:50, NewUser new_open_cl...@yahoo.com wrote: Is it possible to see the source of some of the GM classes?  I posted this question a few weeks ago: Don't think any google apps source is available (GMail, GM etc) -- Regards, Marcin -- You received this message because you are

[android-developers] Activity touch event leading to EPIPE in ginger bread !!

2011-03-01 Thread Pink
Hi, I am working on ginger bread. Some times i am getting error no 32 for touch event. I did as follows. Started activty A. From activity A i am trying launch activity B bad finishing A. After B is displayed i am closing B also. This i am repeating for multiple times and

[android-developers] Re: ListView with custom items

2011-03-01 Thread Richard Sámela
On 1. Mar., 10:30 h., Kostya Vasilyev kmans...@gmail.com wrote: Two ways to fix it: - Get rid of al in your subclass, pass the data array to ArrayAdapter, get data items from it as needed (using getItem()); - Continue using al in your subclass, but then don't use ArrayAdapter, extend

[android-developers] Re: reflection

2011-03-01 Thread FrankG
Hi Zsolt, IMHO this is the wrong group, as you question is related to the platform, not to the sdk. ( use android-platform instead) Beside this I think you have to change the framework code too otherwise you could break the whole security architecture and incooperate your own things even

[android-developers] Android Apps with HTML5

2011-03-01 Thread Diego N.
Hello I wonder if anyone here has developed applications for Android using Sencha Touch, PhoneGap, or Appcelerator Titanium? If yes, what I suggest? Thanks. -- Diêgo Nunes Assunção Give Peace a Chance -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Renderscript, YouTube example

2011-03-01 Thread Christer Nordvik
The 3D carousel should be open sourced with the platform. That's amazing news. I had hoped the source-code would be out already since the Xoom has launched, but I guess it will be out in 1-2 weeks? If the carousel is as good as it looks then it will work wonders for a lot of apps :-) -Christer

[android-developers] Re: Activity touch event leading to EPIPE in ginger bread !!

2011-03-01 Thread Pink
In activity A i have one surface view. After EPIPE in activity it is leading to IlegalArgumentException. 3-01 17:51:01.107 W/PowerManagerService( 127): Timer 0x7-0x3|0x3 03-01 17:51:01.107 I/PowerManagerService( 127): Ulight 7-3|0 03-01 17:51:01.107 D/LightsService( 127): BUTTON : 0 03-01

[android-developers] How to detect walking

2011-03-01 Thread havanakoda
Hi to all, I would like to use the accelerometer to detect is a user is walking or standing. I'm using a kalman filter and now I'm able to detect it but if a user is standing and moves or shake the phone it seems like he is moving. Can anyone help me ? Have I to use another kind of filter ?

Re: [android-developers] how to change the version of android application

2011-03-01 Thread Justin Anderson
So you need to build your application against Android 2.2? If you are using Eclipse that will be in the Android section of the project's properties... On Tue, Mar 1, 2011 at 4:35 AM, gaurav gupta gaurav.gupta...@gmail.comwrote: hi guys. my application bulid on android 2.1 , but it dont run on

[android-developers] Enhancing, Not Replacing, Stock Apps

2011-03-01 Thread Jake Colman
Is there a way to tap into the functionality of a stock app so as to enhance it with a new feature but so that you don't have to completely reinvent the wheel? Here are two examples that illustrate what I mean: 1) An app that grabs all outgoing SMS messages and encrypts them by adding one to

Re: [android-developers] Lazy Loading in custom View

2011-03-01 Thread TreKing
On Tue, Mar 1, 2011 at 1:45 AM, Abhishek Talwar r.o.b.i.n.abhis...@gmail.com wrote: Any help will be appreciated It will be very difficult to help you with such generic, limited information. Post a screenshot of the problem, clarify what the issue is, and show some relevant code.

[android-developers] Help figure out why im getting one star rattings

2011-03-01 Thread brian purgert
I think my game is having some problem on some phones because some people give my app 1 star where most are 5 stars, which is odd because i put a link to my email in the app so that they can tell me if there is a bug or something. But my game is spacebike, check it out on your phone and tell me if

Re: [android-developers] Re: How to open email in app with address

2011-03-01 Thread brian purgert
Platamus on anddev had a short tutorial on it if you want to check it out. On Mar 1, 2011 4:40 AM, Kostya Vasilyev kmans...@gmail.com wrote: Intent filtering does not consider extras when matching, EXTRA_EMAIL is only useful for specifying the recipient once you're in the target application.

Re: [android-developers] How to detect walking

2011-03-01 Thread Marcin Orlowski
On 1 March 2011 15:06, havanakoda andreaviane...@gmail.com wrote: I would like to use the accelerometer to detect is a user is walking or standing. I'm using a kalman filter and now I'm able to detect it but if a user is standing and moves or shake the phone it seems like he is moving.

[android-developers] Re: Custom Drawable in OverlayItem in wrong location

2011-03-01 Thread NewUser
The answer was posted on Stack Overflow, thought I should also put it here. You don't need to use the Projection class when drawer the marker (in GM). -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Try to implement coverflow animation using Gallery

2011-03-01 Thread Justin Anderson
The way I implemented mine in AppSwipe! is a little complex... Here is a quick overview of what I did: - I subclassed RelativeLayout and created a new class called TitledGallery that holds the Gallery and two TextViews (for reusability reasons because I have up to 5 of these in the main display)

[android-developers] Re: How to detect walking

2011-03-01 Thread havanakoda
Yes, you're right, I'm using Kalman filter to remove the gravity from the accelerometer data. Then I calculate the magnitude vector and then I check if it is above or below a fixed thresold. It works, but I need to isolate shakes and other movements. I can't rely on GPS data, because when a user

Re: [android-developers] Re: How to detect walking

2011-03-01 Thread Marcin Orlowski
On 1 March 2011 15:31, havanakoda andreaviane...@gmail.com wrote: Yes, you're right, I'm using Kalman filter to remove the gravity from the accelerometer data. Then I calculate the magnitude vector and then I check if it is above or below a fixed thresold. It works, but I need to isolate

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-03-01 Thread Jake Basile
Thanks Dianne, I'm glad we finally found the root cause here. This along with your suggestion of using onCreate instead has effectively solved this problem in my app, for all version of Android I support. For anyone who would like to see how I worked around this issue, you can see the change

Re: [android-developers] Enhancing, Not Replacing, Stock Apps

2011-03-01 Thread Marcin Orlowski
On 1 March 2011 15:17, Jake Colman col...@ppllc.com wrote: 1) An app that grabs all outgoing SMS messages and encrypts them by   adding one to every letter (A=B, B=C, etc). Do not call this encryption, for god sake! Without writing an entirely new Messaging or Phone app, can the existing

[android-developers] Error

2011-03-01 Thread SuperCop
Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first What does this error mean? I get this very frequently. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: How can we get handle of GUI controls in Android?

2011-03-01 Thread Justin Anderson
* what is the approach we need to follow to automate the GUI operations?* You can't. On Tue, Mar 1, 2011 at 2:48 AM, raki rakeshkart...@gmail.com wrote: Hi Romain Guy, Thanks for the clarification. If not getting handles of UI elements through UISpy, what is the approach we need to follow

Re: [android-developers] Need Help in Android developement

2011-03-01 Thread Justin Anderson
* please help me* http://www.catb.org/~esr/faqs/smart-questions.html On Tue, Mar 1, 2011 at 2:55 AM, onkar dhane dhane.on...@gmail.com wrote: hey...hi...thanks but please tell me if i want to show pop-up message after completing my progress bar which is on 1st activity. now i have created

[android-developers] Re: Help figure out why im getting one star rattings

2011-03-01 Thread Rutton
After failing the first platform (Platforms, Easy) a couple of times, my phone (Milestone one) hangs. Seems to be an endless loop/physics problem or something. Android wants to force close it. Another thing is, that failing at a plattform and falling to the ground doesn't stop the level. And

[android-developers] Re: Status Bar appears again

2011-03-01 Thread argongold
Will any one give response from google android team? On Mar 1, 5:09 pm, argongold argongol...@gmail.com wrote: Hi, I am developing a Home Screen and I have set the following attributes in AndroidManifest.xml android:theme=@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen as well as in

Re: [android-developers] Help figure out why im getting one star rattings

2011-03-01 Thread TreKing
On Tue, Mar 1, 2011 at 8:20 AM, brian purgert brianpurge...@gmail.comwrote: some people give my app 1 star where most are 5 stars, which is odd because i put a link to my email in the app so that they can tell me if there is a bug or something. It doesn't matter what you do or how easy you

Re: [android-developers] Re: Status Bar appears again

2011-03-01 Thread TreKing
On Tue, Mar 1, 2011 at 9:14 AM, argongold argongol...@gmail.com wrote: Will any one give response from google android team? Please wait at least a few days for a response - particularly when you post in the middle of the night U.S. time.

[android-developers] From the Bottom of My Heart

2011-03-01 Thread Tony Gonzalez
Check what I've found http://suitoree.com/info.html It's a nice offer. -- 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] Context differences

2011-03-01 Thread dashman
What are the differences between any of these calls - all called from within my Activity sub-class instance. getApplicationContext() getBaseContext() this I need to get the context primarily for prefs for my apps - there are multiple Activities but i'd like to reference the same common prefs

Re: [android-developers] Re: Status Bar appears again

2011-03-01 Thread Justin Anderson
You should wait AT LEAST a day before bumping your post... On Tue, Mar 1, 2011 at 8:14 AM, argongold argongol...@gmail.com wrote: Will any one give response from google android team? On Mar 1, 5:09 pm, argongold argongol...@gmail.com wrote: Hi, I am developing a Home Screen and I have

Re: [android-developers] Context differences

2011-03-01 Thread TreKing
On Tue, Mar 1, 2011 at 10:17 AM, dashman erjdri...@gmail.com wrote: I need to get the context primarily for prefs for my apps It really shouldn't matter for this, but generally stick with the most local context - usually this. If you can call the other two functions, you already have a

[android-developers] Bundling two apps in the Marketplace

2011-03-01 Thread Bret Foreman
I've built a ContentProvider app that wraps up a set of web services and presents them for use by other apps. If other developers decide to use my ContentProvider app, what is the simplest business model for selling it? I'd like to avoid complex licensing and reselling agreements with the

Re: [android-developers] Context differences

2011-03-01 Thread Kostya Vasilyev
Use [this.] getSharedPreferences(String name, int mode) from any of your components, provided that you use the same name parameter. http://developer.android.com/reference/android/content/Context.html#getSharedPreferences(java.lang.String, int) Retrieve and hold the contents of the

Re: [android-developers] Re: Help figure out why im getting one star rattings

2011-03-01 Thread brian purgert
Is it when you get past the platforms because when the level ends i have it play a short song, and it might be a memory error. But i will make sure i make the platforms easier and show people the restart button, also when they fall there i will have the restart show up. Treking I totally agree

[android-developers] Re: Android Apps with HTML5

2011-03-01 Thread Stephan Wiesner
Hi, we have evaluated PhoneGap and JQTouch for my current project, as we are developing the app for IPhone and Android. We found the tools somewhat lacking on Android, though. I am sure that they will be great tools in the future but at the moment we prefere to go native. We do try to put as much

Re: [android-developers] Android Maps API get key

2011-03-01 Thread TreKing
On Tue, Mar 1, 2011 at 4:37 AM, vegetable vdarzni...@gmail.com wrote: What is this password it asks from me, its not mentioned in tutorials. Yes it is. http://code.google.com/android/add-ons/google-apis/mapkey.html

[android-developers] Re: IllegalStateException: database not open

2011-03-01 Thread Indicator Veritatis
I can answer only your smaller question: if you want to delete the database file by hand (using adb shell) you will have to 'root' your phone. Otherwise, as you already mentioned, you do not even have the permissions to even cd to that directory. On Feb 28, 7:35 pm, javaxmlsoapdev

[android-developers] Exception using ScrollView in landscape orientation

2011-03-01 Thread xoggoth
From various threads I gather that Android should just use layout-land automatically, I don't add to the java. I have a minimal layout main.xml in layout-land but when I use Numeric-key 9 or start the application while it is already in landscape it stops unexpectedly and displays a window

[android-developers] Re: Market package name on Xoom?

2011-03-01 Thread Indicator Veritatis
Ah, so you have a history of saying impolitic things! Now we understand you much better;) On Feb 28, 5:44 pm, Shane Isbell shane.isb...@gmail.com wrote: On Mon, Feb 28, 2011 at 3:03 PM, Justin Anderson magouyaw...@gmail.comwrote: None of that matters... It's just a simple matter of etiquette.

[android-developers] Re: Market package name on Xoom?

2011-03-01 Thread Indicator Veritatis
The way you reach your conclusion from your premises is so illogical, you are casting doubt on your own ability to think logically enough to be a competent programmer. The real reason Dianne has quite a following is because she really does know Android extremely well, having been at the center of

[android-developers] Re: Market package name on Xoom?

2011-03-01 Thread Indicator Veritatis
You are misinterpreting the tag line. It is not because she only answers when convenient, it is because both the question and the answer belong in a public forum, best of all this one, so that it becomes part of the public knowledge base. This is SUCH a common meme in open source software, I am

Re: [android-developers] Re: Market package name on Xoom?

2011-03-01 Thread Shane Isbell
On Tue, Mar 1, 2011 at 9:15 AM, Indicator Veritatis mej1...@yahoo.comwrote: The way you reach your conclusion from your premises is so illogical, you are casting doubt on your own ability to think logically enough to be a competent programmer. The real reason Dianne has quite a following is

[android-developers] Re: Exception using ScrollView in landscape orientation

2011-03-01 Thread xoggoth
Logcat when started when already in landscape and not in debug. Don't think it adds much. 03-01 17:21:36.053: INFO/ActivityManager(52): Start proc com.inverts.uk for activity com.inverts.uk/.InvertsUK: pid=243 uid=10025 gids={1015} 03-01 17:21:36.243: DEBUG/ddm-heap(243): Got feature list request

Re: [android-developers] Exception using ScrollView in landscape orientation

2011-03-01 Thread Kostya Vasilyev
If that's your whole main.xml, then a few things are missing, notably, there is no button with id=helpbutt, or any other buttons implied by another similar button comment in the code. You are probably getting a NullPointerException when calling help.setOnClickListener. Post logcat output

[android-developers] Re: Market package name on Xoom?

2011-03-01 Thread Indicator Veritatis
As I read your reply, I somehow remember the saying of Ben Franklin from his Wit and Wisdom, Quarrels would be neither bitter nor long, if on one side -only-, lay the wrong. This is because, yes, Shane did not need to be rude. But even after having defended Dianne's answer in another post, I now

Re: [android-developers] Re: Exception using ScrollView in landscape orientation

2011-03-01 Thread Kostya Vasilyev
01.03.2011 20:26, xoggoth пишет: 03-01 17:21:36.933: WARN/dalvikvm(243): threadid=3: thread exiting with uncaught exception (group=0x4001b188) 03-01 17:21:36.943: ERROR/AndroidRuntime(243): Uncaught handler: thread main exiting due to uncaught exception 03-01 17:21:36.963:

Re: [android-developers] Re: Market package name on Xoom?

2011-03-01 Thread Justin Anderson
* I don't know how many times I have to say but the client has complete control of the environment. Why is this so difficult to understand?* Because obviously is not true... otherwise you would not have had this problem in the first place. :-) On Tue, Mar 1, 2011 at 10:25 AM, Shane Isbell

Re: [android-developers] Re: Exception using ScrollView in landscape orientation

2011-03-01 Thread Justin Anderson
* ..lots more E 243* Do you see the java.lang.NullPointerException? That is the problem causing the crash. Look for a caused by clause in the stack trace after this point. That usually references one of your files and gives a line number where the NullPointerException happened. On Tue, Mar 1,

[android-developers] Re: SDcard mount point in portable way?

2011-03-01 Thread Indicator Veritatis
Your frank admission that the API is poorly named is valuable. And your wording of it here is much, much better than the wording in the doc (at the link you gave). For the wording in the doc suffers from trying to cover up the embarrassment they should feel at such a divergence between name and

Re: [android-developers] Re: SDcard mount point in portable way?

2011-03-01 Thread Dianne Hackborn
There will be a new API, but it is part of larger ongoing work for managing storage which is starting to appear here: http://developer.android.com/reference/android/os/storage/StorageManager.html We want this one to be right, though, so it will be a bit for it to be available. I do agree that

[android-developers] Re: Enhancing, Not Replacing, Stock Apps

2011-03-01 Thread Jake Colman
MO == Marcin Orlowski webnet.andr...@gmail.com writes: MO On 1 March 2011 15:17, Jake Colman col...@ppllc.com wrote: 1) An app that grabs all outgoing SMS messages and encrypts them by   adding one to every letter (A=B, B=C, etc). MO Do not call this encryption, for god sake!

Re: [android-developers] Re: Market package name on Xoom?

2011-03-01 Thread Dianne Hackborn
Hi all, I appreciate people jumping to me defense, but this is really not necessary. To be honest, Shane's reply was so tame compared to other discussions I've had that it didn't even register to me as rude. (And to be clear, I am not telling people absolutely to not do something, I just try

[android-developers] Re: Help figure out why im getting one star rattings

2011-03-01 Thread Emanuel Moecklin
I'm using https://www.perfectomobile.com/ to test my apps on different real devices. It costs a bit of money ($140/10 hours) but it's definitely worth it. And no I'm not related to that company in any way (except as a customer). Emanuel Moecklin -- You received this message because you are

Re: [android-developers] Re: Enhancing, Not Replacing, Stock Apps

2011-03-01 Thread Marcin Orlowski
On 1 March 2011 19:14, Jake Colman col...@ppllc.com wrote:   MO Do not call this encryption, for god sake! Geez.  :-) How about obfuscating? Better :) And it all recalls me one of early (very, very early :) version of PGP manual, containing author's background recap. He invented couple of

Re: [android-developers] Lazy Loading in custom View

2011-03-01 Thread Robin Talwar
Sorry couldnt manage to get the screenshot some problem in my sdk i guess. Though i can share the code of my list item package com.hungama.myplay.utils; import java.io.IOException; import java.net.URL; import android.app.Activity; import android.graphics.Bitmap; import

[android-developers] Re: How to resize an icon at run time to achieve specific size

2011-03-01 Thread Doug
ImageView will do all this scaling for you if the only thing you need is to put an image in a view to participate in a layout. Doug On Feb 27, 10:26 pm, argongold argongol...@gmail.com wrote: Hello, I am working on an android application for which I need to get specific size of icons as I am

Re: [android-developers] Lazy Loading in custom View

2011-03-01 Thread Kostya Vasilyev
Robin, This blog post describes something pretty close to what I think you are trying to do: http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html -- Kostya 01.03.2011 21:34, Robin Talwar ?: Sorry couldnt manage to get the screenshot some problem in my sdk

RE: [android-developers] Re: Android Apps with HTML5

2011-03-01 Thread Igor Nesralla Ribeiro
My question is about a create greats UIwich better ? Native App can do the same that Hybrid Applications ? on Android Market how the most popular !? Att Igor Nesralla Ribeiro -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On

[android-developers] Re: SoundPool play() fails with no indication

2011-03-01 Thread BJP
Bump. Is SoundPool just broken? On Feb 27, 11:30 pm, BJP bjpcalt...@gmail.com wrote: I'm having a problem where SoundPool crashes, but gives no programmatic indication that is has crashed.  After it crashes, it will not play any more sounds until the application is reloaded (exiting via back

[android-developers] Re: MediaPlayer issues in certain devices

2011-03-01 Thread DanielleM
Hello...again. I have discovered a bit more information about my issue. It seems that streams coming from shoutcast servers are not supported. Which is exactly the kind of server that is serving the streams I'm trying to play through my app. I would really love to hear some feedback on whether

Re: [android-developers] Re: Can I read .pdf From assert folder?

2011-03-01 Thread Sunil Lakhiyani
Same here I also store the pdfs in SD card and reading from there only. So it seems do not waste time find another way. Thank you so much. On Tue, Mar 1, 2011 at 12:30 AM, Stephan Wiesner testexpe...@googlemail.com wrote: YOU can, but Acrobat reader does not have the permission. Had the same

[android-developers] Error in build.xml using hudson

2011-03-01 Thread Sunil Lakhiyani
Hello all, I am building app using hudson, but it throws me an error : *Smartphone/Project1/android/project1/build.xml:49: taskdef class com.android.ant.SetupTask cannot be found* * * Can any one tell me how to solve this error? Thanks -- You received this message because you are

Re: [android-developers] Toast not disappearing

2011-03-01 Thread Julius Spencer
Hi Kostya, I'm not sure how to access the UI thread from within an IntentService. (If in an Activity I would use runOnUiThread) So far I have: private void showToastOnUIThread(final Toast toast) { handler.post(new Runnable() {

  1   2   3   >