[android-developers] Re: Grab phonebook-contacts via ContactsContract-API

2011-01-21 Thread himanshu jain
Hi Dmitri ,@LordAli3n I have couple of questions please spare some time or guide me direction 1) Can we use syncAdapter to get data of a row of raw_contact table if that row has been affected (i.e added/deleted/edited). I know ContentObserver notify whenever raw_content table changes in onChange()

[android-developers] Resource missing error, but its there.

2011-01-21 Thread Brill Pappin
For some reason, I'm getting this: 01-22 07:46:15.226: ERROR/AndroidRuntime(8345): Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x7f090069 But the resource *is* there and the R class has the generated ID. Anyone have any idea how i can resolve this? (yes, I'v

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

2011-01-21 Thread Logan Masten
Hello again, Thanks for the input. I got access to the add-on's resources by using: Resources r = getPackageManager().getResourcesForApplication("com.my.app"); String[] myArray = r.getStringArray(0x7f04); But as you can see, I have to use the int for the resource and not the resource id. I

[android-developers] Shared preference from non activity class

2011-01-21 Thread Deeps
Hi , I want to get shared preference from non activity class. For example Information about user like name ,DOB etc are stored in Shared pref. I want to create a bean class to get and set the shared pref.Please help me in this. Thanks -- You received this message because you are subscribed to

[android-developers] Re: Using internal Android string resources

2011-01-21 Thread Brill Pappin
Yes, and I think thats a good strategy for graphics. However there are thousands of string in different language value resources... which is why I say it it would save a heck of a lot of time. IMO it's worth having to test with each new platform. - Brill Pappin -- You received this message bec

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

2011-01-21 Thread DanH
Plain old TT Deluxe contains all you need to handle this job, though they try to scare you into upgrading to the SB version. On Jan 21, 7:09 pm, fadden wrote: > On Jan 21, 9:17 am, TreKing wrote: > > > Thanks. You know what, I'm going back to TurboTax, going to fill out > > everything to the bes

[android-developers] Re: Battery usage measurements

2011-01-21 Thread Roger Podacter
so all i really did is figure out how to call the read and write function of the fuel gauge chip inside the nexus one battery, so that on command you can read or write to any of the 80 register addresses. lot's of interesting other things we are doing with this, but not really related. but this do

[android-developers] Re: Validity term of getProperty('am.current.package') in monkeyrunner

2011-01-21 Thread Hakbong Kim haknal...@gmail.com
I found out that getproperty() is normally executed not on an emulator but on a real phone. On 1월12일, 오후3시21분, "Hakbong Kim haknal...@gmail.com" wrote: > monkeyrunner API said that getProperty('am.current.package') returns > the Android package name of the currently running package. > > I found

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

2011-01-21 Thread Stephan Wiesner
Thanks. My current solution is still that I only display markers in a certain radius of the center. That works fine, as the markers are peaks/cabins in the swiss alps and the user knows where the peaks are anyway. If I want to expand my app, though, I need a solution that scales. By now I have foun

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

2011-01-21 Thread argongold
Hi Guys, Better to change your place so that you don't need to pay Income Tax. There is no personal income tax system prevail in Kuwait either on salaries or on income from business activities. More over there are no other taxes of any consequence, such as sales or value added taxes, property tax

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

2011-01-21 Thread Dianne Hackborn
On Fri, Jan 21, 2011 at 7:49 PM, Hari Edo wrote: > On Jan 21, 7:52 pm, Dianne Hackborn wrote: > > Further, if you are planning on publishing an app to Market, I would > *very* > > *strongly* urge you to *not* do development against a device that does > not > > itself ship with Market. You have

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

2011-01-21 Thread Hari Edo
On Jan 21, 7:52 pm, Dianne Hackborn wrote: > Further, if you are planning on publishing an app to Market, I would *very* > *strongly* urge you to *not* do development against a device that does not > itself ship with Market.  You have no idea what kinds of things may be > different in it. Thank

Re: [android-developers] AbsListView and AbsSpinner design intention versus documentation

2011-01-21 Thread argon gold
Hi Romain , Sorry for the repeated message as I guess my first message went to just one person. I have following two questions related to AbsSpinner and I expect you can clarify the situation here. 1. In my application I have extended AbsSpinner class and after compiling in eclipse and sdk . Th

Re: [android-developers] Remote TextView setTag

2011-01-21 Thread Mark Murphy
Nope, sorry. On Fri, Jan 21, 2011 at 8:49 PM, Pedro Duque wrote: > Hi, > > I need to store a persistent string in a remote TextView and I was thinking > about using the Tag attribute to do it, but then I realised that RemoveViews > don't support a method setObject... > > Is there any way to make

[android-developers] Remote TextView setTag

2011-01-21 Thread Pedro Duque
Hi, I need to store a persistent string in a remote TextView and I was thinking about using the Tag attribute to do it, but then I realised that RemoveViews don't support a method setObject... Is there any way to make a setTag in a TextView in a RemoteView? Regards, Pedro Duque -- You received

[android-developers] Re: Traceview + performance problem

2011-01-21 Thread fadden
On Jan 20, 12:56 pm, Roger Podacter wrote: > honestly i've found that scrolling around most any view, app, > wherever, spikes the CPU pretty much to the same levels your traceview > is showing.  perhaps you just never noticed it before?  or have you > specifically compared it against anything to s

Re: [android-developers] open local html in browser

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 6:17 PM, Prajakta Shitole wrote: > So is there any way of pointing the browser to local html files. Copy the file to the SD card and launch from there? > In some forums i read that for security reasons it is not possible to load > html files, but i could load a local ht

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

2011-01-21 Thread fadden
On Jan 21, 9:17 am, TreKing wrote: > 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. Get the Turbo Tax Home & Small Business edition (the one for sole props and single-member LLCs, not the one for corporations). It'

[android-developers] Re: Problem running Android JUnit Test on eclipse

2011-01-21 Thread gaurav
Here are the answers: 1. I have put my application inside the system apps myfroyoDir/ packages/apps folder and built it using command line. And running the emulator and app from command prompt. 2. Yes both app and test package works fine from command prompt. 3. Yes I am running my test package w

[android-developers] Re: Best, easiest, cleanest, way to make a game and cross platfrom.

2011-01-21 Thread Eric Wong (hdmp4.com)
While we are on this topic, what are developer's view on using such cross platform tools/SDK vs the OS's native SDK. E.g. using Corona SDK vs Iphone/Android SDK. What are its advantages and disadvantages? If one wants to develop an application for both Android and Iphone, isn't it better to develo

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

2011-01-21 Thread Dianne Hackborn
On Fri, Jan 21, 2011 at 3:45 PM, Hari Edo wrote: > Dianne, I generally value your feedback on this group, it's always > very > informative. However, I'd have to ask what you consider to be the > definition of "compatible" here. What part of the CDD does the > NOOKcolor > device miss? If a dev

[android-developers] Re: Problem running Android JUnit Test on eclipse

2011-01-21 Thread A. Elk
Can you please confirm the following: - The application under test (not the test package) works fine in Eclipse? - Both the application under test and the test package work fine from the command line? - You've followed the directions for setting up a test package in Eclipse? See Dev Guide > Develop

[android-developers] Problem running Android JUnit Test on eclipse

2011-01-21 Thread gaurav
I have configured the Froyo source code in eclipse. I am trying to run android junit test "Run as-> Android JUnit Test", a error pop-up comes. When i try to run the already existing Android Junit Test cases or my own test case (compiled with froyo source), I get following error. Test runs fine when

[android-developers] open local html in browser

2011-01-21 Thread Prajakta Shitole
Hi, I am trying to open a local html file in my application. I cannot use the webview due to some reasons so need to open it in the browser. So is there any way of pointing the browser to local html files. In some forums i read that for security reasons it is not possible to load html files, but i

Re: [android-developers] Re: convert a C++ game to Android

2011-01-21 Thread Marcin Orlowski
On 22 January 2011 01:03, DanH wrote: > Converting the code is the easy part.  The hard part is mapping the > UI. That depends on what game's UI really is. If it's custom, say GL based, then may not be that hard -- You received this message because you are subscribed to the Google Groups "Andro

[android-developers] Re: convert a C++ game to Android

2011-01-21 Thread DanH
Converting the code is the easy part. The hard part is mapping the UI. On Jan 21, 5:52 pm, bob wrote: > What is the best way to convert a C++ game to Android?  Should I port > it to Java? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. T

Re: [android-developers] convert a C++ game to Android

2011-01-21 Thread Marcin Orlowski
On 22 January 2011 00:52, bob wrote: > What is the best way to convert a C++ game to Android?  Should I port > it to Java? Depends of type of game and how portable your current code is. If it is portable, so just platform specific elements have to be written, take a look at NDK - it may save your

[android-developers] Problem running Android JUnit Test on eclipse

2011-01-21 Thread gaurav
I have configured the Froyo source code in eclipse. I am trying to run android junit test "Run as-> Android JUnit Test", a error pop-up comes. When i try to run the already existing Android Junit Test cases or my own test case (compiled with froyo source), I get following error. Test runs fine when

[android-developers] NFC P2P Mode

2011-01-21 Thread Ben Dodson
I was looking through the git repository history and found some code relating to P2P mode in Android. I understand it's not ready for use by users and typical Android developers, but I was hoping to play around with it myself. I was wondering if anyone else was playing with this or had some experie

[android-developers] convert a C++ game to Android

2011-01-21 Thread bob
What is the best way to convert a C++ game to Android? Should I port it to Java? -- 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

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

2011-01-21 Thread Emre A. Yavuz
Hi Roger, Could you also send it to the list ? Cheers, Emre > Date: Fri, 21 Jan 2011 12:59:57 -0800 > Subject: [android-developers] Re: Battery usage measurements > From: rogerpodac...@gmail.com > To: android-developers@googlegroups.com > > Filip, later today I will link you all the work tha

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

2011-01-21 Thread Hari Edo
> On Fri, Jan 21, 2011 at 12:06 PM, Hari Edo wrote: > > Not that it's a particularly standard example, but the e-book reader > > NOOKcolor... On Jan 21, 3:35 pm, Dianne Hackborn wrote: > (1) NOOK is not a compatible device. Dianne, I generally value your feedback on this group, it's always ver

[android-developers] Using internal Android string resources

2011-01-21 Thread String
For graphic resources, the advice is generally to copy them into your own project, because then you can rely on what they'll be in the future. IOW, you won't get surprised if they change in a future update to the platform. I don't see any reason not to do the same with string resources - they ma

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

2011-01-21 Thread Kostya Vasilyev
Have you tried "\n"? Oh, and you can use your own layouts for toasts, with separate caption/message areas, if you like. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 22.01.2011 1:04 пользователь "Bernard T. Higonnet" написал: > TreKing wrote: >> On Fri, Jan 21, 2011 at 4:06 PM, Bernard T.

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

2011-01-21 Thread Bernard T. Higonnet
TreKing wrote: On Fri, Jan 21, 2011 at 4:06 PM, Bernard T. Higonnet mailto:bthigon...@gmail.com>> wrote: That is, with a line break where I want it. Did you try it? I should indeed have indicated that I have tried all manner of x0D, x0D0A, \r, ... Bernard Higonnet -- You received th

[android-developers] Re: InetAddress.isReachable

2011-01-21 Thread Kaloian Doganov
I guess you have forgotten to add the declaration to your AndroidManifest.xml. That's why just the localhost is reachable. On Dec 25 2010, 10:30 pm, bc wrote: > Has anybody else had any problems using isReachable? > > boolean _blnStatus = > InetAddress.getByName("localhost").isReachable(55

Re: [android-developers] Problem with adjustPan andadjustResize

2011-01-21 Thread Dianne Hackborn
You can not mix adjustPan and adjustResize. It is one or the other. If your window can resize to accommodate the IME, you should use adjustResize. That said, these would have nothing to do with whether a text view would actually receive input. On Fri, Jan 21, 2011 at 6:09 AM, Alok Kulkarni wro

[android-developers] how to preview MediaRecorder on 1.6 devices?

2011-01-21 Thread guich
Hi, MediaRecorder.unlock only appears in api level 5. However, i must make it work on level 4. What would be the equivalent for it on L4? My user would not like to NOT see the video it is recording. thanks guich -- You received this message because you are subscribed to the Google Groups "

[android-developers] Re: PDF API

2011-01-21 Thread JAlexoid (Aleksandr Panzin)
Note: VUDroid is GPL, therefore if your app is not GPL licensed and you try to distribute it on the market, you will be served with a takedown notice. On 21 янв, 15:34, Neilz wrote: > Exactly... and that's what I'm trying to find out, whether there's > anything that can achieve this. > > I'll nee

[android-developers] Re: Problem with adjustPan andadjustResize

2011-01-21 Thread Matty
If you're currently supporting API 3, I'd try to bump it to API 4, and see if that helps. I had some similar issues, and while I lost a small percentage of device support, it was worth it for the simplicity of the fix. On Jan 21, 9:09 am, Alok Kulkarni wrote: > Hi. >  i am having an activity in

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

2011-01-21 Thread Michael Murphy
My understanding is that you cannot retrieve the source code. On Jan 21, 12:01 pm, dan wrote: > 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

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

2011-01-21 Thread Nathan
On Jan 21, 8:39 am, TreKing wrote: > On Fri, Jan 21, 2011 at 10:36 AM, Justin Giles 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

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

2011-01-21 Thread Brad Gies
The IRS will ALWAYS give you the benefit of the doubt the FIRST YEAR ONLY. In fact, according to the rules the need to file quarterly only kicks in IF you owed more than $1,000 the previous year... You generally won't be penalized if you fail to file at the end of the first quarter if you hav

[android-developers] Re: Do Androids dream of rule engines?

2011-01-21 Thread Pavel Vlasov
> Do you support any form of retraction -- > reversing an action (un-asserting a fact) when the condition that led > to it is no longer true? Release 2011/01/20 of Hammurapi Event Bus supports retraction (remove) handlers as well as listening for changes in mutable events - http://doc.hammurapi.co

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 ). 2-

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 wrote: > That is, with a line break where I want it. Did you try it? - TreKing - Chicago tran

[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 android

[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 current

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, 20

[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: However, it seems like any url I click is getting caught by the above pattern: www.example.com // matched www.example.com/foo //

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 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 Google "App Inventor"

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 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 that may be.

[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 exempti

[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.

[android-developers] Re: Passing parameters during installation

2011-01-21 Thread Nathan
On Jan 21, 7:25 am, Mark Murphy 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 right that it doesn'

[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 "And

[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 wrote: > 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_FULLSCRE

[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 wrote: > Hi, > > Pardon me, i forgot that i set the fullscreen at runtime, just before > showing the application's ui: > >       if (fullscreen) > > getWindow(

[android-developers] Re: Passing parameters during installation

2011-01-21 Thread Nathan
On Jan 21, 6:57 am, "Daniel A. Nagy" 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 section might be

[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 hav

[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? utmwv=4.5ma&utmn=1958648861&utmcs=UTF-8&utmsr=

[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 k

[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 because

[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: 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@googlegroups

[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: Detecting Search button

2011-01-21 Thread Hari Edo
On Jan 21, 3:06 am, Zsolt Vasvari 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 button. Search butt

[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.

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 wrote: > On Fri, Jan 21, 2011 at 2:50 AM, sjor wrote: > >> Any idea to do this? >> > > Tell the user "Press your Home Key". > > Or figure out an intent to launch using this: > http

[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 tryin

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 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 if the IRS come

[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 s

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 wrote: > On Fri, Jan 21, 2011 at 10:36 AM, Justin Giles 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

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 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. http://developer.android.com/reference/android/hardware/Camera.html#takePic

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 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 of us whose ey

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 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 being reported

Re: [android-developers] Horizontal scrollview

2011-01-21 Thread TreKing
On Fri, Jan 21, 2011 at 10:19 AM, lou 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. - TreKing

[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 androi

[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 lev

[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. - Brill Pappin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[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 should

[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 wrote: > On Tue, Jan 18, 2011 at 11:58 PM, Deeps 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. > > >  I want to display some conten

[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

[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 wrote: > On Tue, Jan 18, 2011 at 11:51 PM, Deeps 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) > > Use Java networking classes. Goo

[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 s

[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@google

[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

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 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 | http://twitter.com/commo

[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

[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 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 before the for loop. Not doing so

[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

[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 wrote: > Hello Friends, > > I want to know following things is possible on Android or Not? > > 1. Pick a photo and detects faces and s

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 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] 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 th

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 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 behaves stran

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 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, outside of the Market, y

[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 us

[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 ha

[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 r

[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 wrote: > I've got a layout with 1 input field where a user can > enter a numeric cod

  1   2   >