[android-developers] Detecting Search button

2011-01-21 Thread Zsolt Vasvari
Is there a way to know whether a phone has a Search button or not? I believe Search is optional and not all phones have it. I would like to hide my UI elements for invoking search if I could determine the presence of the hard button. -- You received this message because you are subscribed to

[android-developers] Re: AudioManager.VOLUME_CHANGED_ACTION does not resolve

2011-01-21 Thread Pent
Was this in the SDK and then removed? If you look at the source code for AudioManager.java, the string is there! Lots of things are defined in the source code but not part of the SDK. I have found references to this message from email archives in 2009. AudioManager.ADJUST_LOWER and

[android-developers] Re: PDF API

2011-01-21 Thread Neilz
Yes, there's this... http://code.google.com/p/vudroid/ Though at a quick glance, it looks like it could be a lot of work to port that into my own app... I was probably looking for something simpler! I would hope that all devices now come with a standard PDFreader - certainly all that I've tested

[android-developers] How to play audio file in android ?

2011-01-21 Thread Amit Mangal
Hi Every one i am trying to play WAV file in android using below code i have created a raw folder in side my res folder and copy .wav file there but i am not able to play. Any one plays audio in android mobile ? MediaPlayer mp = MediaPlayer.create(context, R.raw.test.wav); mp.start(); this

[android-developers] How to Launch Home Screen Programmatically in Android

2011-01-21 Thread sjor
Hi. I want to launch home screen of Android with my application. The main target is to show all of apps to user when he/she presses a specialized key. Actually, the way is not important. Any idea to do this? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Kostya Vasilyev
Filip, If your application doesn't show in the phone's battery usage list, I believe this means that it uses so little that its usage comes out as zero due to limited measurement precision. In that case, you have nothing to worry about. You can test if this is the case by adding wake locks

Re: [android-developers] Re: PDF API

2011-01-21 Thread Kostya Vasilyev
21.01.2011 11:42, Neilz пишет: Yes, there's this...http://code.google.com/p/vudroid/ Though at a quick glance, it looks like it could be a lot of work to port that into my own app... I was probably looking for something simpler! I would hope that all devices now come with a standard PDFreader -

[android-developers] Re: openGLES different behavior on different devices

2011-01-21 Thread RyanMcNally
One thing to watch out for is that the GL debug flag has no effect if you are using the android.opengl.GLES** classes to make your GL calls. If you're using these classes, you have to check for errors manually, like so: /** * Throws {@link GLException} if {@link

[android-developers] cannot play video

2011-01-21 Thread Pradeep M
*how to issue solve : sorry this video cannot be played android* youtube video download Code here: private String path = ; private VideoView mVideoView; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.videoview);

[android-developers] Re: PDF API

2011-01-21 Thread Neilz
Are there any other open source solutions that you know of? We may be prepared to purchase one if it's suitable... On Jan 21, 9:06 am, Kostya Vasilyev kmans...@gmail.com wrote: 21.01.2011 11:42, Neilz пишет: Yes, there's this...http://code.google.com/p/vudroid/ Though at a quick glance, it

[android-developers] Re: Bitmap factory and ICC aware JPG

2011-01-21 Thread Yahel
Up ? Any insight of any kind from anyone ? Thanks. Yahel -- 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] Code please : Youtube video player API for my Android

2011-01-21 Thread Pradeep M
*How can I configure Youtube video player API for my Android application to play Youtube video* -- ** ** * * -- 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

[android-developers] extended AbsSpinner class work fine in Eclips+SDK but gets error message when compiled in AOSP

2011-01-21 Thread argongold
Hi, I have extended AbsSpinner class and resulting application runs fine when complied in Eclips + SDK (all version). But when I try to compile it with Android Source Code it gives me error message to implement an abstract method layout(int delta, boolean animate) of class AbsSpinner. but the

[android-developers] Re: Calling WebView.addJavascriptInterface after onPageFinished

2011-01-21 Thread jamesh
Thanks, Sukumar My understanding is that MyLateJavaObject is not represented in Javascript as an object, so there are limited things we can do with it. From experimentation: e.g. you can do this: var obj = MyJavaObject; obj.method(); But not this: var fn = MyJavaObject.method; method(); It

Re: [android-developers] Re: PDF API

2011-01-21 Thread Kostya Vasilyev
I don't, sorry. But since you're willing to pay, maybe you could contact the authors of one of these viewers, see if they would provide a commercial license. -- Kostya 21.01.2011 13:04, Neilz пишет: Are there any other open source solutions that you know of? We may be prepared to purchase

Re: [android-developers] Re: Bitmap factory and ICC aware JPG

2011-01-21 Thread Kostya Vasilyev
I don't have any insight, but here is an idea for an ugly workaround. Inject your own InputStream between the source and the bitmap (by wrapping the source) and skip over the ICC chunks, so that BitmapFactory.decodeStream doesn't see them. -- Kostya 21.01.2011 13:16, Yahel пишет: Up ? Any

Re: [android-developers] Code please : Youtube video player API for my Android

2011-01-21 Thread Cliff Davies
You could try asking in a bigger font On Fri, Jan 21, 2011 at 10:32 AM, Pradeep M pradeepmad...@gmail.com wrote: *How can I configure Youtube video player API for my Android application to play Youtube video* -- ** ** * * -- You received this message because you are subscribed to

[android-developers] how to get the current shown text from a textview embeded in scrollview

2011-01-21 Thread dylan-cool
hi everyone,i have been frustrated by this problem,i am now try to get the current shown text in the textview as a bookmark for future reference.but how can i located to this site,and save a portion of my string?,any one know how,please let me know.thank u in advance. -- You received this

Re: [android-developers] Re: PDF API

2011-01-21 Thread Mark Murphy
Though at a quick glance, it looks like it could be a lot of work to port that into my own app... I was probably looking for something simpler! I would hope that all devices now come with a standard PDFreader - certainly all that I've tested on do. I'm confused. First, you suggest that you

Re: [android-developers] Accessing resources or call a method from another app

2011-01-21 Thread Mark Murphy
Your Java class approach will never work. You can access resources of another app through PackageManager and getResourcesForApplication(). On Fri, Jan 21, 2011 at 1:34 AM, Logan Masten sevenrech...@gmail.com wrote: Hello, I am creating an application that will have a lot of data that will not

[android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread DanH
I would imagine it depends on what country you're in. In the US you can deduct those expenses, but you need to fill out some paperwork -- you can't simply report the $900 and call it done. On Jan 20, 2:51 pm, vistaman azgol...@gmail.com wrote: Last year, I made about $1200 selling my apps on

[android-developers] Re: Bitmap factory and ICC aware JPG

2011-01-21 Thread Yahel
Thanks for your answer, I was going to go this way but then I read the wikipedia article about jpeg and I think I understood that sometimes the icc is coded in the pixels and sometimes it's not. Making it quite difficult to work out. I'm thinking of using the capture ability of a webview and the

[android-developers] Re: PDF API

2011-01-21 Thread Neilz
Ok, sorry if I've confused things! What I ideally want is to be able to view PDFs in my own app, and control the frame which they sit within. So for example, if I were designing the app for a tablet with a larger screen, I may have a list of PDFs in a narrow frame on the left side of the screen,

Re: [android-developers] Re: PDF API

2011-01-21 Thread Mark Murphy
On Fri, Jan 21, 2011 at 8:01 AM, Neilz neilhorn...@gmail.com wrote: Ok, sorry if I've confused things! What I ideally want is to be able to view PDFs in my own app, and control the frame which they sit within. That means you cannot use an external PDF viewer, regardless if one is installed.

[android-developers] current details in computer

2011-01-21 Thread Jeyanthi Kumar
© Lenovo 2009. All rights reserved. Lenovo, the Lenovo logo, OneKey and VeriFace are trademarks or registered trademarks of Lenovo. Celeron, Celeron Inside, Centrino, Centrino Inside, Core Inside, Intel, Intel Logo, Intel Atom, Intel Atom Inside, Intel Core, Intel Inside, Intel Inside Logo, Intel

Re: [android-developers] How to Launch Home Screen Programmatically in Android

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 2:50 AM, sjor sleche...@gmail.com wrote: Any idea to do this? Tell the user Press your Home Key. Or figure out an intent to launch using this: http://developer.android.com/reference/android/content/Intent.html#CATEGORY_HOME

[android-developers] estate properties

2011-01-21 Thread Jeyanthi Kumar
Hey Android Lovers and those addicted to downloading applications! The votes are in! Which must-have Android app won the Android Developer ... forums.t-mobile.com/t5/ARCHIVED-Market-Applications/Goo... http://123maza.com/75/kings546/ -- You received this message because you are subscribed to

[android-developers] Re: PDF API

2011-01-21 Thread Neilz
Exactly... and that's what I'm trying to find out, whether there's anything that can achieve this. I'll need to take a closer look at http://code.google.com/p/vudroid/ to see if that can achieve it. On Jan 21, 1:07 pm, Mark Murphy mmur...@commonsware.com wrote: That means you cannot use an

Re: [android-developers] Difference between Cancel Entire Order and Refunding in Google Checkout?

2011-01-21 Thread TreKing
On Thu, Jan 20, 2011 at 10:44 PM, Mark Carter mjc1...@googlemail.comwrote: Does this difference result in a different response from LVL? I doubt anyone here can say for sure, and the gnomes behind the Checkout / Market interaction are not going to answer you. This could be easily tested

Re: [android-developers] estate properties

2011-01-21 Thread Marcin Orlowski
On 21 January 2011 14:33, Jeyanthi Kumar jeyant...@gmail.com wrote: addicted to downloading applications! I wish I was a doctor. So many cool diseases to cure :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] another problem with Galaxy Tab and fullscreen

2011-01-21 Thread guich
Hi, I'm running our application on galaxy tab. My app draws everything on a bitmap and displays it on screen. I always use fullscreen by using the properties: application android:icon=@drawable/icon android:label=TotalCross Virtual Machine

Re: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Filip Havlicek
Kostya, I'm pretty sure it shows up, but this kind of measurement is really not precise - I need time-based values, ie the application consumed 2,5% of total battery power after 1 hour of running, you can't really take any values from the application list, because they are influenced by other

Re: [android-developers] Code please : Youtube video player API for my Android

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 5:23 AM, Cliff Davies cliff.dav...@gmail.comwrote: You could try asking in a bigger font Also, red and all capitals and even less descriptive. These are the traits that people look for when deciding which posts to help with.

[android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread Yahel
Seems like you are missing the fullscreen bit of the syntax : android:theme=@android:style/Theme.NoTitleBar.Fullscreen Yahel -- 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] Problem with adjustPan andadjustResize

2011-01-21 Thread Alok Kulkarni
Hi. i am having an activity in which i am adding controls such as EditText and TextView at runtime in a listiiew. What happens is that for the Edittext the keyboard pops up and the controls at the bottom of the screen are not visible even when i scroll down.So when i add the property

Re: [android-developers] Detecting Search button

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 2:06 AM, Zsolt Vasvari zvasv...@gmail.com wrote: Is there a way to know whether a phone has a Search button or not? I believe Search is optional and not all phones have it. I would like to hide my UI elements for invoking search if I could determine the presence of

Re: [android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread Justin Giles
On Fri, Jan 21, 2011 at 1:28 AM, Zsolt Vasvari zvasv...@gmail.com wrote: Does Google send us a W-2? No. At least last tax season they didn't. Don't rely on any ad companies to do it either. Basically it's the honor system it appears. Again, talk to a professional you trust and always err

Re: [android-developers] How to play audio file in android ?

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 2:49 AM, Amit Mangal forum.amit.man...@gmail.comwrote: this is giving me error R.raw canot be resolved ? Any idea ? Use Eclipse. Type R.. See your options? Now type raw.. See your options? Now select the right one.

[android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread guich
Hi, Pardon me, i forgot that i set the fullscreen at runtime, just before showing the application's ui: if (fullscreen) getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); thanks guich -- You received this message because

[android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread guich
Oh yeah, this approach works fine for all other Android devices. I saw this problem only on Galaxy. -- 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

[android-developers] Re: How to detect Face and Smile Face matching in Android?

2011-01-21 Thread Hari Edo
On Jan 21, 1:12 am, Ankit Nigam ankitniga...@gmail.com wrote: 1. Pick a photo and detects faces and show rectangle, and detect smile of each face and show smile percentage of each. 2. Pick a photo from photo library and show faces. if you click faces, it search all photo library and show

[android-developers] getThumbnails through droid incredible phoneStorage mount

2011-01-21 Thread Tabman
I used the following method to access droid incredible onboard memory data: photosCursor = mActivity.managedQuery(MediaStore.Images.Media.getContentUri(phoneStorage), photoColumns, null, null, MediaStore.Images.Media.DATE_MODIFIED + DESC); How will it effect the following methods, right now it

Re: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Kostya Vasilyev
Filip, The system panel does show battery consumed by the WiFi radio and the display as separate entities. I also think if you allow interaction while doing your test, then it's not really clear what you are measuring (at least not clear to me). A clean device (no 3rd party programs,

[android-developers] Re: getThumbnails through droid incredible phoneStorage mount

2011-01-21 Thread Tabman
What I mean to ask is that I think the getThumbnail() looks for media in the wrong location and somehow it should be made aware of the correct URI perhaps someway through ContentResolver. On Jan 21, 4:43 pm, Tabman tabishfay...@gmail.com wrote: I used the following method to access droid

[android-developers] Re: Enter a number..

2011-01-21 Thread Emanuel Moecklin
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); works as context.getWindow()... or dialog.getWindow)... Cheers Emanuel Moecklin 1gravity LLC On Jan 20, 4:27 pm, dashman erjdri...@gmail.com wrote: I've got a layout with 1 input field where a user can

[android-developers] Passing parameters during installation

2011-01-21 Thread Daniel A. Nagy
Hello, Could anyone please explain how parameters that are unique to a particular installation be passed on to Android applications similarly to JAD's in the J2ME framework? So far, I have found one API for google analitics with which it is possible to accomplish this feat, but it seems like it

[android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread guich
Hi, This seems to be a bug in Froyo or in the Galaxy Tab. I just found that if you put he .Fullscreen property, the problem is gone. However, if you use the code to programatically set the fullscreen during runtime, the application behaves strangely. For example, when i run the app and the bug

[android-developers] Re: savedInstanceState null?

2011-01-21 Thread Emanuel Moecklin
onSaveInstanceState() is used to save per instance state while SharedPreferences is used to save persistent data across sessions. Whenever you start the app the SharedPreferences are there, data saved in onSaveInstanceState() is gone once the app has been shut down. onSaveInstanceState() can be

Re: [android-developers] Passing parameters during installation

2011-01-21 Thread Mark Murphy
On Fri, Jan 21, 2011 at 9:57 AM, Daniel A. Nagy nagyd...@epointsystem.org wrote: Could anyone please explain how parameters that are unique to a particular installation be passed on to Android applications similarly to JAD's in the J2ME framework? If you are distributing the app yourself,

Re: [android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread Mark Murphy
On Fri, Jan 21, 2011 at 10:17 AM, guich guiha...@gmail.com wrote: This seems to be a bug in Froyo or in the Galaxy Tab. I just found that if you put he .Fullscreen property, the problem is gone. However, if you use the code to programatically set the fullscreen during runtime, the application

[android-developers] What's the official way to take a picture using the camera?

2011-01-21 Thread guich
Hi, I know that the Android's sample api has a CameraPreview code, but it is completely useless. It shows the camera on screen, but has no ways to actually take a picture. Is there a complete sample or a code to take a picture? What's the official way for doing that? Currently i use this code

Re: [android-developers] how to get the current shown text from a textview embeded in scrollview

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 5:45 AM, dylan-cool zran1...@gmail.com wrote: i am now try to get the current shown text in the textview as a bookmark for future reference.but how can i located to this site,and save a portion of my string? Sorry, but your question does not make much sense.

[android-developers] Re: How to detect Face and Smile Face matching in Android?

2011-01-21 Thread obie
hey detecting smiles and rectangles is very non-trivial but there is at least one c library to do that out there that i've seen On Jan 21, 6:12 am, Ankit Nigam ankitniga...@gmail.com wrote: Hello Friends, I want to know following things is possible on Android or Not? 1. Pick a photo and

[android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread guich
Hi Mark, How are you? How was Christmas and the new year? :-) A simple code will be very dificult for me. However, i can provide two apks that would reproduce the problem. But, basically, when the app loads, at the activitie's onCreate, i call the if (fullscreen) // now set in the

[android-developers] Re: Cookies reseted

2011-01-21 Thread lou
Yes, sorry. I did it in my code, but not when I wrote it here! On Jan 14, 7:05 pm, Mohammed Le Doze mohammed.led...@googlemail.com wrote: You are welcome. It sure will be useful for somebody. Just a quick note about your getCookie method: make sure to store the size of the 'cookies' list

[android-developers] Re: google analytics jar does not seem to work now

2011-01-21 Thread Brill Pappin
I've been looking for the source. Where did you find it? - Brill Pappin -- 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: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread Mark Murphy
On Fri, Jan 21, 2011 at 11:04 AM, guich guiha...@gmail.com wrote: Is the apk enough to help? Not really, but I'll see if I have time on Monday to toss a test case together. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

[android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread niko20
This isn't that complicated people, geez everybody acts like it's some sort of crime or something. Look, if you show you are trying to do it right the IRS is not going to hammer down your door. It's pretty simple. Most income will be as a sole propietor. You simply add the income to your normal

[android-developers] Re: How to detect Face and Smile Face matching in Android?

2011-01-21 Thread Brill Pappin
I think the HTC Desire has this feature. I have no idea however if its accessible code or buit into the Hardware. - Brill Pappin -- 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] Re: Best, easiest, cleanest, way to make a game and cross platfrom.

2011-01-21 Thread Brill Pappin
I just found something called Corona SDK which will allow you to build for both Android and iPhone as the same time. Its not perfect, and it used some sort of scripting language, but its looks like it would be fairly easy to learn. - Brill Pappin -- You received this message because you are

[android-developers] Re: Uploading a zip file to localhost from android

2011-01-21 Thread Deeps
Thank you:) On Jan 20, 4:25 am, TreKing treking...@gmail.com wrote: On Tue, Jan 18, 2011 at 11:51 PM, Deeps pradeepb...@gmail.com wrote: Hi everyone, Can any one please tel how can i upload the zip file stored in /data/ data/pckg_name/files/zip_file.zip to my local host(xampp web server)

[android-developers] Horizontal scrollview

2011-01-21 Thread lou
Hi ! I'm here cause I would like to implement an horizontal scrollview which works like workspaces, or News Weather app (for nexus one). It's the same thing as a ViewFlipper but with real time animation; I mean the view moves even when we are currently scrolling. I hope you know what I mean. I

[android-developers] Re: Dynamic for generation in android and Multiple screen isse

2011-01-21 Thread Deeps
i got it :) thanks a lot On Jan 20, 4:21 am, TreKing treking...@gmail.com wrote: On Tue, Jan 18, 2011 at 11:58 PM, Deeps pradeepb...@gmail.com wrote: How can i generate dynamic form in android . Use Java. Is it necessary to create new activity for each display screen? No, it's not.  

[android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread DanH
True -- anyone who's able to read programming manuals should be able to penetrate the tax instructions sufficiently to handle this. Just be aware that there IS paperwork that needs to be done. And don't count on the money not being reported and try to hide it -- in theory Google and others

[android-developers] Re: OpenJDK on Android

2011-01-21 Thread Brill Pappin
Yah, because I want that giant VM with all its crap on my phone. I also want to fragment the platform even further and give Oracle control over it. sarcasm/ - Brill Pappin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Performance issue with mapview when using large number of items

2011-01-21 Thread Brill Pappin
We had an issue like that in an experimental app we never released. What worked for us was that we merged points that were overlapping on the display depending on the magnification. The further in you go, the more those merge point break out, which keeps the number of points to a manageable

[android-developers] Re: Uploading a zip file to localhost from android

2011-01-21 Thread Brill Pappin
This is standard HTTP code. Google is your friend. - Brill Pappin -- 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] Horizontal scrollview

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 10:19 AM, lou louis.coq...@wopata.com wrote: It's the same thing as a ViewFlipper but with real time animation; Use a ViewFlipper and apply real time animation, whatever that means.

Re: [android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread Justin Giles
On Fri, Jan 21, 2011 at 10:22 AM, DanH danhi...@ieee.org wrote: True -- anyone who's able to read programming manuals should be able to penetrate the tax instructions sufficiently to handle this. Just be aware that there IS paperwork that needs to be done. And don't count on the money not

Re: [android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 10:36 AM, Justin Giles jtgi...@gmail.com wrote: Also, for those who have made any significant amount of income, you should probably be making quarterly payments throughout the year, or risk additional fees at the end of the year. Can you define significant for those

Re: [android-developers] What's the official way to take a picture using the camera?

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 9:53 AM, guich guiha...@gmail.com wrote: Is there a complete sample or a code to take a picture? What's the official way for doing that? I'm just guessing, but the method titled takePicture might be helpful.

Re: [android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread Justin Giles
On Fri, Jan 21, 2011 at 10:39 AM, TreKing treking...@gmail.com wrote: On Fri, Jan 21, 2011 at 10:36 AM, Justin Giles jtgi...@gmail.com wrote: Also, for those who have made any significant amount of income, you should probably be making quarterly payments throughout the year, or risk

[android-developers] Re: google analytics jar does not seem to work now

2011-01-21 Thread H
I think it accidentally found it's way into a decompiler (!) as I was so frustrated with the number of exceptions coming from their code. I had to do something about it as it was crashing *my* app, so I decided to stick in extra try/catch clauses. -- You received this message because you are

Re: [android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 10:55 AM, Justin Giles jtgi...@gmail.com wrote: Here are some guidelines http://www.irs.gov/businesses/small/article/0,,id=110413,00.html Thanks. You know what, I'm going back to TurboTax, going to fill out everything to the best of my ability, then going to pray. And

[android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread niko20
Yes, I should be paying quarterly. However they usually let you go the first year before you get penalized. For now even if I do get penalties I'll just chalk it up to a learning experience. They aren't going to toss you in jail or anything after all. As long as you show you are in good faith

Re: [android-developers] How to Launch Home Screen Programmatically in Android

2011-01-21 Thread Dianne Hackborn
Action: ACTION_MAIN Category: CATEGORY_HOME Flags: FLAG_ACTIVITY_NEW_TASK On Fri, Jan 21, 2011 at 5:27 AM, TreKing treking...@gmail.com wrote: On Fri, Jan 21, 2011 at 2:50 AM, sjor sleche...@gmail.com wrote: Any idea to do this? Tell the user Press your Home Key. Or figure out an intent

[android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread jtoolsdev
I don't even like to do the tax worksheets my accountant sends me. So talk about eyes glazing over. But the first time I filed back in the last century as a self-employed person I got audited rather laughingly by the IRS who told me use an accountant because the deductions are tricky to take. I

[android-developers] Re: Detecting Search button

2011-01-21 Thread Hari Edo
On Jan 21, 3:06 am, Zsolt Vasvari zvasv...@gmail.com wrote: Is there a way to know whether a phone has a Search button or not?  I believe Search is optional and not all phones have it.  I would like to hide my UI elements for invoking search if I could determine the presence of the hard

[android-developers] Re: Passing parameters during installation

2011-01-21 Thread Bret Foreman
You could give your users a registration button that exchanges data with your server. This would allow you almost infinite options for doing unique setup for each user. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: How to detect Face and Smile Face matching in Android?

2011-01-21 Thread Yahel
Take a look at this port of openCV https://github.com/billmccord/OpenCV-Android/blob/master/README.rdoc Good luck. Yahel -- 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] Re: Problem with using back button when on home activity

2011-01-21 Thread bobetko
Thank you. Will try this. -- 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...@googlegroups.com

[android-developers] Re: google analytics jar does not seem to work now

2011-01-21 Thread Brill Pappin
laugh ;) Whats the licence? If its apache like most things, how about setting up a google project for it? I would really like to be able to step through their code! and no doubt if others can see it, we can improve it faster than they can :) - Brill Pappin -- You received this message

[android-developers] Using internal Android string resources

2011-01-21 Thread Brill Pappin
I've noticed that there are *a lot* of string already translated in the Android platform that would save me a heck of a lot of time and effort if I could use them. The problem is that they appear to be in the private core. Or at least the R class is not included it he public API. Does anyone

[android-developers] Re: google analytics jar does not seem to work now

2011-01-21 Thread David Liebman
HI, so I started up the emulator and the debugger. I viewed the page that's supposed to produce a hit on Google Analytics. Here's the info from the debugger. 01-21 14:34:51.257: DEBUG/NetworkRequestUtil/ ConstructPageviewRequestPath(354): /__utm.gif?

[android-developers] Re: how to get the current shown text from a textview embeded in scrollview

2011-01-21 Thread Hari Edo
I think he wants to know what range of characters are exposed, when the text is longer than the visible area. The TextView and ScrollView don't really communicate or coordinate this very well. Since ScrollView works on a pixel basis, and TextView is all about characters and lines, you likely

[android-developers] Re: Passing parameters during installation

2011-01-21 Thread Nathan
On Jan 21, 6:57 am, Daniel A. Nagy nagyd...@epointsystem.org wrote: Basically, anything would do: - The URL from which the APK was downloaded - Any of the HTTP headers used in the request for the APK - Any other information that can be supplied during the process of APK installation This

[android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread Hari Edo
Are you doing all your setFlags() before inflating the intent? I'm not sure but I think that's a requirement. On Jan 21, 9:29 am, guich guiha...@gmail.com wrote: Hi, Pardon me, i forgot that i set the fullscreen at runtime, just before showing the application's ui:       if (fullscreen)

[android-developers] Re: another problem with Galaxy Tab and fullscreen

2011-01-21 Thread Hari Edo
* I meant inflating your content view, not your intent. On Jan 21, 9:29 am, guich guiha...@gmail.com wrote: Hi, Pardon me, i forgot that i set the fullscreen at runtime, just before showing the application's ui:       if (fullscreen)

[android-developers] getting my project source code from appInventor

2011-01-21 Thread dan
hi, i'm interested in using appInventor, but i'd really like to control my code whenever i want, Can i get the source code generated from appInventor and use it? If yes do you advice me to use this method? thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Passing parameters during installation

2011-01-21 Thread Nathan
On Jan 21, 7:25 am, Mark Murphy mmur...@commonsware.com wrote: If you are distributing the app through the Android Market, AFAIK there is no unique to a particular installation concept If the link to the Market Listing is tagged, the Market does pass the tags on to Google Analytics. You're

[android-developers] Re: How to Launch Home Screen Programmatically in Android

2011-01-21 Thread Hari Edo
Not that it's a particularly standard example, but the e-book reader NOOKcolor replaces the see all your apps launcher with the see all your Barnes Noble purchased e-books Home instead. So the Home key doesn't show all your apps, and neither would the ACTION_MAIN/CATEGORY_HOME intent. I

[android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread DanH
Basically, if you make enough that you'd end up owing the tax man more than an nominal sum at the end of the year, you need to make estimated income tax payments. However, if you have a day job that has regular withholding, you can probably up the amount of withholding (eg, declare fewer

Re: [android-developers] Re: How to Launch Home Screen Programmatically in Android

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 2:06 PM, Hari Edo hari@gmail.com wrote: So the Home key doesn't show all your apps, and neither would the ACTION_MAIN/CATEGORY_HOME intent. To clarify - the Home key doesn't show all your apps, even by default. The Home key shows your Home Application - whatever

Re: [android-developers] getting my project source code from appInventor

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 2:01 PM, dan dany.yac...@gmail.com wrote: i'm interested in using appInventor, but i'd really like to control my code whenever i want, Can i get the source code generated from appInventor and use it? I don't mean to be rude, really, but dude, it took 15 seconds to

[android-developers] Url matching in manifest matching too much?

2011-01-21 Thread Mark Wyszomierski
Hi, I have an activity for which I'd like to intercept some urls. I have the following in my manifest: activity intent-filter action android:name=android.intent.action.VIEW / category android:name=android.intent.category.DEFAULT / category

Re: [android-developers] Re: How to Launch Home Screen Programmatically in Android

2011-01-21 Thread Dianne Hackborn
(1) NOOK is not a compatible device. (2) What the home key (and this Intent) do is bring you to the home screen of the device. There is certainly no requirement for this to be a list of all your apps. In fact I don't know of any shipping Android devices where this is the case. On Fri, Jan 21,

[android-developers] Re: Battery usage measurements

2011-01-21 Thread Roger Podacter
Filip, later today I will link you all the work that I've done and the code. But basically what I wanted was the ability to see the power draw thru the battery at any time to compare different tasks that the phone does and its power consumption. So I wrote an app that samples the battery's

[android-developers] Is it possible to create a two-line Toast?

2011-01-21 Thread Bernard T. Higonnet
That is, with a line break where I want it. TIA Bernard Higonnet -- 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] Is it possible to create a two-line Toast?

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 4:06 PM, Bernard T. Higonnet bthigon...@gmail.comwrote: That is, with a line break where I want it. Did you try it? - TreKing

Re: [android-developers] Re: google analytics jar does not seem to work now

2011-01-21 Thread Alexander Lucas
Some gotchas: 1- Data isn't guaranteed to show up in Analytics until 24 hours after the data is submitted to analytics. It usually shows up earlier, but you should give it 24 hours (Notice I didn't say a day- Testing at 11:59 PM and checking for data at 12:01 AM won't get you anywhere :P ).

  1   2   >