[android-developers] is there any htc & mototola specific emulator to test apps?

2010-12-31 Thread manas
Hello We test our apps on usual emulator & samsung galaxy 3. What we have observed that - our apps work fine on both of these. But got review from some users that the apps don't work on HTC evo/desire & in some cases Droid X. Question - 1. If app works perfectly on one phone, why does it not work

[android-developers] Reusing BitmapDrawable objects

2010-12-31 Thread John Gaby
I have custom skinned buttons. I set the bitmaps for the button backgrounds using the addState method of the StateListDrawable class and pass in a BitmapDrawable which is loaded from a file on the SD card. Now I am having out of memory issues, so I thought that I would try and cache the BitmapDra

[android-developers] Re: Which Intent flag should I use?

2010-12-31 Thread Zsolt Vasvari
Ok, thanks. On Jan 1, 2:33 pm, Dianne Hackborn wrote: > Do you really want this to be deep in your app?  If you want finishing to go > back to the launcher, it sounds like this should be done as a separate task > than the main app task.  If that is the case, don't use special Intent > flags, just

Re: [android-developers] Re: Virtual screen size

2010-12-31 Thread Dianne Hackborn
It is up to the launcher to decide how much parallax scrolling to do. The sizes and offsets come from whatever the last launcher app set them to be. On Fri, Dec 31, 2010 at 9:42 PM, Pedro Duque wrote: > Let me develop on this subject: > > I've develop a Live Wallpaper that was working perfectly

Re: [android-developers] Which Intent flag should I use?

2010-12-31 Thread Dianne Hackborn
Do you really want this to be deep in your app? If you want finishing to go back to the launcher, it sounds like this should be done as a separate task than the main app task. If that is the case, don't use special Intent flags, just set android:taskAffinity="" for this activity. (Or give it a s

[android-developers] Which Intent flag should I use?

2010-12-31 Thread Zsolt Vasvari
This is part of my ongoing effort to tidy up my AppWidget code: When a user clicks on my Widget, it goes to an Activity "deep" in my app. When the user finishes this activity, I'd like to exit back to the Launcher as opposed to whatever the last Activity on the stack is for my app. Is there an I

[android-developers] Database Database Database

2010-12-31 Thread Abhishek Talwar
Hey guys I have simple 2 button screen which are "Create Item" and "List' These two have been linked to other activities with intent. Now in create.java class i have 2 fields name and description and a save button. So that when the user clicks save button the data must get saved but it is giving me

Re: [android-developers] Re: Virtual screen size

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 11:42 PM, Pedro Duque wrote: > Is this a problem with Samsung Galaxy S implementation or is this a > standard behaviour? Did you test it on the emulator? - TreKing

Re: [android-developers] Licensing Verification Library and Demo versions

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 9:01 PM, John Lussmyer wrote: > hould I make my entire app an Android Library? and just have 2 nearly > empty skeleton projects to build it? (Free and Paid versions) Pretty much. ---

[android-developers] Re: Virtual screen size

2010-12-31 Thread Pedro Duque
Let me develop on this subject: I've develop a Live Wallpaper that was working perfectly in Android 2.1. It emulate the standard Android wallpaper by having a bitmap scrolling when a user changes screen. To achieve that effect I use the event "onOffsetsChanged" to detect screen changes when the u

Re: [android-developers] Re: How to do this kind of screen alignment?

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 6:24 PM, Mystique wrote: > Happy New Year TreKing :) > An a happy one to you :) > Right, I did try using table but the column will be stretch if the text is > longer than the image. > Is it suppose to work this way? > By default, yes. It will just try to expand the col

[android-developers] Licensing Verification Library and Demo versions

2010-12-31 Thread John Lussmyer
Is there a relatively easy/good way to have an app that uses LVL, also have a Demo version? It appears that I have to change the Package Name to do this - which changes the Resource file name - so nothing compiles unless I go change the import statement in all my files. Note that I am working from

[android-developers] Re: app security

2010-12-31 Thread Bob Kerns
This isn't really an Android issue. Anyone who gives out credentials for any purpose needs to consider that they may be compromised. The usual ways of dealing with it are to time-limit them, and to allow them to be revoked. But what I think REALLY should be done, is to issue credentials with two

[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread Bob Kerns
Excellent! There's no question it's hard work, and there's no doubt it does compete with this or that feature. But I'm confident it will pay off in quality -- and quality, in the end, saves you time. On Dec 31, 12:16 pm, Dianne Hackborn wrote: > On Fri, Dec 31, 2010 at 12:14 PM, Dianne Hackborn

[android-developers] Re: the new eclipse UI design - absolute frustration and waste of time

2010-12-31 Thread Bob Kerns
Then check out the ADT 9.0 Preview 2, which has improvements to drag and drop, and up and down arrows: http://tools.android.com/recent On Dec 31, 1:29 pm, Julian wrote: > I think the adt is going backwards, the GUI designer is a waste of time, > drag and drop  just does not work properly, we jus

[android-developers] Re: Issue with messages in this group?

2010-12-31 Thread Bob Kerns
HOW do you know you're not crazy? I'm missing a step in the logic here... :=) Seriously, it's really a shame Google uses what I'd argue is their worst product to support Android this way. It's too bad this isn't a Wave, perhaps Wave would have gained some traction. (Though I suspect it wouldn't h

[android-developers] Virtual screen size

2010-12-31 Thread Pedro Duque
When developing a live wallpaper how can I get the virtual screen size? How can I know in which virtual screen the user is in? Thanks, PMD -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Re: How to do this kind of screen alignment?

2010-12-31 Thread Mystique
Happy New Year TreKing :) Right, I did try using table but the column will be stretch if the text is longer than the image. Is it suppose to work this way? or it is possible to wrap the longer text to 2nd line? I am now thinking whether there are ways to dynamically take the screen measurement an

[android-developers] using getSurfaceFrame to get display width/height?

2010-12-31 Thread Daniel Quach
So I'm trying out making a live wallpaper and I'm using the sample code provided in the SDK for the cube live wallpaper I wanted to use this code to get the height/width of the display @Override public void onCreate(SurfaceHolder surfaceHolder) { super.onCreate(surfaceHolder);

[android-developers] Re: Issue with messages in this group?

2010-12-31 Thread Gus
Hi: Yes, I 'm using the Web Browser, and I noticed some posts showed up, and dissapeared after a while. Thanks for confirming this..Now I know I'm not crazy! Gus On Dec 31, 9:30 am, TreKing wrote: > On Wed, Dec 29, 2010 at 7:13 AM, Gus wrote: > > Are some messages deleted or they just dissape

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2010-12-31 Thread Jay
I started reading that, but it still doesn't complete sense. Are there any other more descriptive documents on this out there? On Dec 30, 7:33 pm, jotobjects wrote: > You get an InputStream from the Process returned by the exec call. > Read and study the javadoc for java.lang.Runtime an java.lang

[android-developers] Re: making Toast like notification?

2010-12-31 Thread Karim B
Yeah I have got that far which is not bad but the ability to change animation, duration is what I'm really after... but yeah thanks guys I guess I will just have to avoid this and using the notification bar then... -- You received this message because you are subscribed to the Google Groups "An

Re: [android-developers] Re: the new eclipse UI design - absolute frustration and waste of time

2010-12-31 Thread Julian
I think the adt is going backwards, the GUI designer is a waste of time, drag and drop just does not work properly, we just need the up and down arrows back! 2010/12/31 Bob Kerns > Actually, I find the huge properties menu to be an improvement over > the old properties view (which is still avai

[android-developers] Re: Small, Normal, Large and xlarge. How to handle application?

2010-12-31 Thread Moto
Thanks! I'll look over that blog. -Moto On Dec 18, 10:41 am, pk Lam wrote: > have a look at the following blog post, you might get some > idea:http://blog.alsutton.com/2010/12/07/android-tablet-phone-uis-in-one-a... -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: the new eclipse UI design - absolute frustration and waste of time

2010-12-31 Thread Bob Kerns
Actually, I find the huge properties menu to be an improvement over the old properties view (which is still available, BTW). The "Attributes you can't seem to control" thing is definitely a problem. For example, with a relative layout, depositing an item to be "below" another, you can't just get

Re: [android-developers] getting a click event on an activity

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 1:40 PM, dashman wrote: > i'm displaying a splash screen Activity and want to wait for the user the > click/press on the screen before proceeding. > > how can i do this. > http://developer.android.com/reference/android/app/Activity.html --

[android-developers] Re: Screen Rotation

2010-12-31 Thread Robert
Yes, I agree and even said in my original post that I was working to understand how to make that work correctly. Still would be interested to know why the manifest entry doesn't seem to be working as documented. On Dec 31, 12:55 pm, TreKing wrote: > On Fri, Dec 31, 2010 at 11:48 AM, Robert wrot

Re: [android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread Dianne Hackborn
On Fri, Dec 31, 2010 at 12:14 PM, Dianne Hackborn wrote: > Calculator, Camera, DeskClock, Gallery3D, Mms, Music, Protips, > QuickSearchBox, Tag, and LatinIME. > (And it looks like Email may be joining this illustrious list for Honeycomb.) -- Dianne Hackborn Android framework engineer hack...@an

Re: [android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread Dianne Hackborn
On Mon, Dec 27, 2010 at 3:40 AM, Bob Kerns wrote: > Indeed. This is called "eating your own dogfood", and it's a highly > valuable part of creating a high-quality product. > Crappy Android has been improving over the last year as work has been done to update the various apps to use various final

[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread longingtoadopt.com
Alright, I created an ubuntu partition, installed git, repo, eclipse, downloaded the eclair branch of android and built it. Created a Java project using 'existing src' with the android root directory. Was wondering how I should run/step through the Desk Clock application. Since there is no ADT plu

Re: [android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread Anil Philip
Alright, I created an ubuntu partition, installed git, repo, eclipse, downloaded the eclair branch of android and built it. Created a Java project using 'existing src' with the android root directory. Was wondering how I should run/step through the Desk Clock application. Since there is no ADT plug

[android-developers] getting a click event on an activity

2010-12-31 Thread dashman
i'm displaying a splash screen Activity and want to wait for the user the click/press on the screen before proceeding. how can i do 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-develope

[android-developers] Memory Leak in 1.6

2010-12-31 Thread John Gaby
I seem to have a memory leak when running under version 1.6 of the OS. I have a custom view group which contains some controls and I set it to be the current view via a call to setContentView(vg). If I then create a second view group and set it as the active view via setContentView(newVg), the fi

Re: [android-developers] Re: making Toast like notification?

2010-12-31 Thread Kostya Vasilyev
Re: hiding a toast, I believe it's possible if you keep a reference to it and call hide (or dismiss?). -- Kostya Vasilyev -- http://kmansoft.wordpress.com 31.12.2010 22:07 пользователь "Emmanuel" написал: > I did make a blog entry on the toast customisation subject : > http://androidblogger.blogs

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 12:59 PM, Nikola wrote: > Never said that you have to save file with image extension. Why would you > have to do that? Does system checks file extensions? > I don't know, but if you're trying to save an image to a file, you might as well make sure you have a reasonable ex

[android-developers] Re: making Toast like notification?

2010-12-31 Thread Emmanuel
I did make a blog entry on the toast customisation subject : http://androidblogger.blogspot.com/2009/10/tutorial-how-to-customize-your-toasts.html So you can modify the look of the toast ! But I do agree with you that the toast is not fulfilling all of our needs, I also though about reimplementing

Re: [android-developers] moving InputMethod to the top

2010-12-31 Thread Dianne Hackborn
On Wed, Dec 29, 2010 at 5:20 AM, guich wrote: > I saw some applications that moves the InputMethod to the top. > I very much doubt you did. The IME currently can only be on the bottom. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread Nikola
On Fri, Dec 31, 2010 at 7:49 PM, TreKing wrote: > On Fri, Dec 31, 2010 at 12:42 PM, Nikola wrote: > >> Giving your file that should hold an image a ".tmp" extension is >>> questionable. >> >> Why? I would like to store it in database. >> > > Because ".tmp" is not an image format I'm aware of. >

Re: [android-developers] Re: How to read file from assets dir?

2010-12-31 Thread Dianne Hackborn
I regularly put work into the API demos each release. See for example the evolution of the Service class. There is just a large amount of stuff there, and not a lot of time to work on it. If you have a particular part you would like to see improved, I'd be happy to review contributions. On Fri,

Re: [android-developers] Re: app security

2010-12-31 Thread Dianne Hackborn
On Fri, Dec 31, 2010 at 6:15 AM, jacek wrote: > So -- how about getting credentials from the Cloud (over SSL) > and hiding in AccountManager's Account? > Though again, this hasn't protected you, just made it harder. Your data is still there on the device, for someone with root access to find an

[android-developers] Re: Edit Bitmap Channels?

2010-12-31 Thread John Oliver
Bump? Anyone? On Dec 30, 7:40 pm, John Oliver wrote: > It's possible to access the alpha channel of a given bitmap with > extractAlpha(), but I haven't been able to find any way to actually > set the alpha channel (or any other channel) of a bitmap. > > How can multiple greyscale images be recomb

Re: [android-developers] Screen Rotation

2010-12-31 Thread Kostya Vasilyev
AsyncTask can be carried through configuration changes by using getLastNonConfigurationData (or some such, I writing this from my phone). The technique was discussed on this list within the last month or two, hopefully you can find it. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 31.12.2010

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 12:42 PM, Nikola wrote: > Giving your file that should hold an image a ".tmp" extension is >> questionable. > > Why? I would like to store it in database. > Because ".tmp" is not an image format I'm aware of. > Besides that, a Google Search for "ACTION_IMAGE_CAPTURE" sh

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread Nikola
On Fri, Dec 31, 2010 at 7:32 PM, TreKing wrote: > On Fri, Dec 31, 2010 at 12:05 PM, Nikola wrote: > >> Anybody willing to take a look at it? > > > Giving your file that should hold an image a ".tmp" extension is > questionable. Why? I would like to store it in database. > Besides that, a Go

Re: [android-developers] Captured image FileNotFound

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 12:05 PM, Nikola wrote: > Anybody willing to take a look at it? Giving your file that should hold an image a ".tmp" extension is questionable. Besides that, a Google Search for "ACTION_IMAGE_CAPTURE" shows some promise ... ---

Re: [android-developers] Set Android WIFI Ip address from my own application

2010-12-31 Thread Faheem Khatri
but there is no function which takes argument to set the settings, as *public static final String WIFI_STATIC_DNS1* it only return the value , not set the value, i ll get syntax error if i try to set the values from this. 2010/12/30 Kostya Vasilyev > > You can change these settings from an appli

[android-developers] Re: disappearing USB functionality with Nexus S and Vista

2010-12-31 Thread greg
Thanks for the reply. Yes, I tried the same cable. I just discovered that removing the Nexus S battery for about a minute is enough to restore the USB functionality. (Compared to swapping phones at BestBuy, removing the battery is a great convenience. :*) - Greg On Dec 31, 12:46 pm, Sarwar Erf

[android-developers] Captured image FileNotFound

2010-12-31 Thread Nikola
Hi, trying to capture image and display it but getting FileNotFound for following code. Anybody willing to take a look at it? public class HelloAndroid extends Activity { /** Called when the activity is first created. */ private static final int CAMERA_PIC_REQUEST = 1337; Button btn

Re: [android-developers] Screen Rotation

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 11:48 AM, Robert wrote: > The reason I want to do this is that the app is accessing a webserver via > an AsyncTask and I'd like to stop the restart until I can figure out how to > link the background task to the new pid that is created. I've read some > pages on it but not

[android-developers] Re: Screen Rotation

2010-12-31 Thread Sarwar Erfan
http://stackoverflow.com/questions/2730855/prevent-screen-rotation-android -- 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 t

[android-developers] Screen Rotation

2010-12-31 Thread Robert
I have an application that I am trying to stop the automatic restart when the screen is rotated. I put android:configChanges="orientation| keyboardHidden" into the Manifest (copied below) but the screen still rotates and the OnCreate is called (verified by writing to the log in OnCreate). Have I

[android-developers] Re: disappearing USB functionality with Nexus S and Vista

2010-12-31 Thread Sarwar Erfan
On Friday, December 31, 2010 11:38:57 PM UTC+6, greg wrote: > > My Nexus One USB connection continues to work with the same laptop. > > And with the same USB cable? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: disappearing USB functionality with Nexus S and Vista

2010-12-31 Thread greg
Thanks for the reply. Once the Nexus S USB connection stopped working, I have not been able to revive it. I have tried - rebooting my laptop (running Vista), - performing a Factory reset on the Nexus S, - uninstalling and installing the Google USB driver (version 4.0), and - fiddling with Nexus

RE: [android-developers] SMS sending through HTC Desire

2010-12-31 Thread XiaoXiong Weng
Wouldn't that just goto the voicemail? Erh, when I send text to myself it works J From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of TreKing Sent: Friday, December 31, 2010 11:06 AM To: android-developers@googlegroups.com Subject: Re: [android-d

Re: [android-developers] Need Info

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 12:50 AM, yogi wrote: > Can any buddy provide me some info regarding the use of CachedNode and > CacheFrame in webkit native code. > http://www.catb.org/~esr/faqs/smart-questions.html --

[android-developers] Re: disappearing USB functionality with Nexus S and Vista

2010-12-31 Thread Pent
Does a reboot not fix it BTW ? Works every time here, real pain though. Annoyingly, as soon as I select reboot from the normal dialog, the USB notification appears. Pent -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] Re: disappearing USB functionality with Nexus S and Vista

2010-12-31 Thread Pent
I've had the same with N1 since 2.2.1 (hard to say if it was that update that broke it). Pent On Dec 31, 4:51 am, greg wrote: > After a couple days of Nexus S USB functionality with USB debugging > and USB drive mode, the functionality seemingly disappeared: when I > connect the Nexus S and my l

Re: [android-developers] Augmented Reality

2010-12-31 Thread TreKing
On Thu, Dec 30, 2010 at 10:05 AM, bgkarthikeyan wrote: > Will that be possible? Nope, sorry. - TreKing - Chicago transit tracking app for Android-

Re: [android-developers] Re: How to add labels above this table layout

2010-12-31 Thread TreKing
On Thu, Dec 30, 2010 at 4:16 AM, pramod.deore wrote: > I had still facing this problem. Can anyone please solve this one? Mark already gave you two options. If you were trying the first, you did not follow what he said. ---

Re: [android-developers] Re: the new eclipse UI design - absolute frustration and waste of time

2010-12-31 Thread John Lussmyer
I've used the NetBeans and MyEclipse GUI editors extensively. They are very nice. The Android thing in Eclipse is pretty much a waste of time. Bizarre things happen when you try to drag controls or layouts in. Items end up in totally unexpected places, with attributes that you can't seem to cont

[android-developers] when paid apps will be available to buy in greece ?

2010-12-31 Thread wolf
when paid apps will be available to buy in greece ? if i live in greece can i make paid apps and sell them (via android marketplace) ? -thanks!!! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] Large Icon not showing up in Market Display

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 10:09 AM, JRock wrote: > From the Developer console I have uploaded the new entry for a high > resolution icon of 512 X 512 dimensions, and I assume that this is the > icon that is supposed to be showing, yet, as I mentioned, it is not. > I have no idea what the 512 X 512

Re: [android-developers] How to do this kind of screen alignment?

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 2:52 AM, Mystique wrote: > Any code example to do this layout for both portrait and > landscape orientation? > The likelihood of finding code examples that perfectly solve the particular layout problem you are having at any given time is pretty much zero. However, this

[android-developers] Large Icon not showing up in Market Display

2010-12-31 Thread JRock
The recent market application changes now show a large icon for your app in the upper left hand side of the screen when viewing the app's listingfor my app, however, it is still showing the tiny icon in the middle of a huge white rectangle. >From the Developer console I have uploaded the new e

Re: [android-developers] SMS sending through HTC Desire

2010-12-31 Thread TreKing
On Thu, Dec 30, 2010 at 2:22 AM, Jawwad Farooq wrote: > I make a call to my number and got the busy tone". Please tell me you mean you used a different phone to call your development phone ... because if you're calling your development phone with your development phone ... well ...

[android-developers] Re: how to avoid cut off of words in TextView

2010-12-31 Thread Byron Penner
U sure he's not just looking for the input type of textmultiline On Dec 29, 5:47 pm, gato chlr wrote: > Hi list! > > for example : > > TextView a = new TextView(this); > a.setText("I'm a set of words, some ones larger than others, no matter"); > > it is posible to have painted the next : > >

[android-developers] Re: uninstall TTS data from Android >= 1.6 ?

2010-12-31 Thread DulcetTone
I am not keen on testing 1.5 and such "sort of" tests usually are a waste of time on Android. Certainly there must be a means of finding and deleting this data? I've been told it goes onto the SD card, but I see it nowhere for manual deletion. tone On Dec 21, 2:39 pm, JP wrote: > I was able to

Re: [android-developers] how to avoid cut off of words in TextView

2010-12-31 Thread TreKing
On Wed, Dec 29, 2010 at 4:47 PM, gato chlr wrote: > some advice? I have many TextViews with a lot of text that causes them to wrap and they always wrap around the words (as in your second example). Is that all you're doing? Just setting text and it shows up that way? Weirdness. ---

[android-developers] Re: How to get screen density in pixels-per-inch or equivalent

2010-12-31 Thread Phil Endecott
Thanks Kostya, this is just what I needed. On Dec 31, 12:42 pm, Kostya Vasilyev wrote: > Phil, > > This has both rounded (mdpi, ldpi, etc.) values and actual resolution, > that you'd want to use for a ruler: > > http://developer.android.com/reference/android/util/DisplayMetrics.html > > Note that

[android-developers] Re: How to read file from assets dir?

2010-12-31 Thread Bob Kerns
Can I suggest adding links (perhaps not real hyperlinks, but conceptual links at least) from the API documentation to the relevant API examples? I think you'd get a lot more value from the work you put into the API demos this way. Also, I'd concur with the recent comment, but not the tone, that a

[android-developers] Re: Google analytics crash

2010-12-31 Thread blindfold
Hmm, I have only one global tracker object that I create in the onCreate() of my main activity, and with a regular dispatch interval through the format tracker.start("UA-12345-0", nseconds, this), so I'd say that it all works from one alive thread. However, in one pair of crash logs the first Googl

[android-developers] Re: the new eclipse UI design - absolute frustration and waste of time

2010-12-31 Thread Bob Kerns
Just to clarify -- I'm NOT saying the current state doesn't have huge usability problems! (And so did the previous state). I'm only disagreeing with the sentiment that "real programmers only want to use the XML, and ignore the GUI". Even now, when it works right (and I can figure out how to use it

[android-developers] Re: Virtual Keyboard covers EditText

2010-12-31 Thread Federico Paolinelli
Having your view wrapped into a scroll view should make the trick. http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" android:fillViewport="true"> To be honest, I never tried it with a listview, but it worked quite wel

Re: [android-developers] Android SDK and AVD Manager - permission denied: connect

2010-12-31 Thread TreKing
On Wed, Dec 29, 2010 at 12:18 PM, Bret Foreman wrote: > Any ideas what might be wrong? Did you try http*s*? - TreKing - Chicago transit tracking a

[android-developers] Re: Google analytics crash

2010-12-31 Thread H
Looking in the analytics source after you've called trackEvent(), I suspect that error is coming out when it is using a database transaction to insert the event into the database. Once inserted, it calls endTransaction as well as setTransactionSuccessful. Both of these do this check: if (!mLock

[android-developers] Re: app security

2010-12-31 Thread jacek
I know that everybody can get their Twitter etc. api_key (+ secret). The same goes for Google Storage, Amazon S3 credentials, etc. My issue is that I do not want *my* credentials stolen and the bad guy pretending to be me with all the dire consequences. So -- how about getting credentials from the

[android-developers] Re: Google analytics crash

2010-12-31 Thread blindfold
You may be right, although the crash reports that I have all suggest that they were triggered from direct calls to GoogleAnalyticsTracker.trackEvent() in my code leading to "java.lang.IllegalStateException: no transaction pending". Judiciously sprinkling try-catch blocks is a great way to further "

[android-developers] Virtual Keyboard covers EditText

2010-12-31 Thread Nasir
Hey guys, I've stuck in a BIG problem in my Android application. I've an ListActivity and at bottom of ListView I've and EditBox. Whenever user clicks on EditBox, Virtual keyboard appears covering EditBox and user is not able to view what he is typing. I've read lots of posts to resolve this prob

Re: [android-developers] Writing a Date/Time Service

2010-12-31 Thread Kostya Vasilyev
31.12.2010 16:35, asinha пишет: I am trying to write a service which runs as background process and invoke my task (in application) at 9am everyday. My service is: [snip] Is this the right way to write my service? How would I verify my service? This is error-prone, since a service can get ki

[android-developers] JNI to access GPS HAL layer function.

2010-12-31 Thread bharath
Hi All, Is it possible to write a JNI to access GPS / Wifi / USB HAL layer function? If possible, please post the sample code. Thanks Bharath -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Best way to resize photo

2010-12-31 Thread Doug Gordon
Among other things, my app displays photos in an ImageView in a popup Dialog. These images come out of a database that is created on the user's PC. Before storing them in the database, I resize them for max dimensions of 320x320 pixels. So, in almost all cases, on the Android device I simply d

Re: [android-developers] Writing a Date/Time Service

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 7:35 AM, asinha wrote: > Is this the right way to write my service? > No. Use AlarmManager. > How would I verify my service? > Test it? - TreKing

[android-developers] Re: disappearing USB functionality with Nexus S and Vista

2010-12-31 Thread greg
I submitted this as an issue at http://code.google.com/p/android/issues/detail?id=13553 On Dec 30, 11:51 pm, greg wrote: > After a couple days of Nexus S USB functionality with USB debugging > and USB drive mode, the functionality seemingly disappeared: when I > connect the Nexus S and my laptop

[android-developers] Writing a Date/Time Service

2010-12-31 Thread asinha
I am trying to write a service which runs as background process and invoke my task (in application) at 9am everyday. My service is: public class DateService extends Service { //expressed in milliseconds private final long ONCE_PER_DAY = 1000 * 60 * 60 * 24; private final

Re: [android-developers] invoke my application at given Date/Time

2010-12-31 Thread TreKing
On Mon, Dec 27, 2010 at 7:38 AM, asinha wrote: > How can I invoke my android application at given Date/Time, say daily at > 9am? > http://developer.android.com/reference/android/app/AlarmManager.html ---

[android-developers] Re: moving InputMethod to the top

2010-12-31 Thread Sarwar Erfan
On Wednesday, December 29, 2010 7:20:42 PM UTC+6, guich wrote: > > I saw some applications that moves the InputMethod to the top. > > I will appreciate very much if you can give me link/name of *at least one*Android application that makes Soft Input Panel to appear from top. Thanks in advance.

[android-developers] Re: Google analytics crash

2010-12-31 Thread H
You could stick a try/catch block in, but I doubt it would catch *most* of the bugs. Remember that your request for a track simply gets added to the database at that point and then some time later the dispatcher picks requests up from the database and sends them (although if you ask it to dispa

Re: [android-developers] Taking pictures

2010-12-31 Thread Nikola
On Fri, Dec 31, 2010 at 2:17 PM, TreKing wrote: > On Fri, Dec 31, 2010 at 6:54 AM, Nikola wrote: > >> Do I need to implement all of the camera code in my app, or can I call >> some default camera app and have data from it? >> > > > http://developer.android.com/reference/android/provider/MediaSt

Re: [android-developers] Yahoo API in android

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 7:11 AM, Ramesh Solanki wrote: > I need some help regarding Use Of Yahoo API in android If the crux of your problem is using the Yahoo API, you should ask your question on a forum dedicated to the Yahoo API. If the crux of your problem is specifically related to Android,

[android-developers] Re: Yahoo API in android

2010-12-31 Thread Sarwar Erfan
Its a webservcie which uses OAuth. For OAuth in Anroid, use this: http://code.google.com/p/oauth-signpost/ Here is an article on using OAuth in Android. http://donpark.org/blog/2009/01/24/android-client-side-oauth Read Yahoo contacts API documentation: http://developer.yahoo.com/social/rest_api_

Re: [android-developers] Taking pictures

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 6:54 AM, Nikola wrote: > Do I need to implement all of the camera code in my app, or can I call > some default camera app and have data from it? > http://developer.android.com/reference/android/provider/MediaStore.html#ACTION_IMAGE_CAPTURE

[android-developers] Yahoo API in android

2010-12-31 Thread Ramesh Solanki
Hi , I need some help regarding Use Of Yahoo API in android can any body help me how i can fetch all the contacts from yahoo contact list from android thanks in advance -- Thanks & regards Ramesh Solanki Dignizant technology Surat India Email: rkindia1...@gmail.com rkindia1...@yahoo.co.in -- Y

[android-developers] Taking pictures

2010-12-31 Thread Nikola
Hi, could anyone propose good approach for following: I would need to have feature in my (simple) app of taking pictures and tagging them with some values. Do I need to implement all of the camera code in my app, or can I call some default camera app and have data from it? What would be best a

Re: [android-developers] How to read file from assets dir?

2010-12-31 Thread Ramesh Solanki
InputStream myInput =contextname.getAssets().open("filename"); -- Thanks & regards Ramesh Solanki Dignizant technology Surat India Email: rkindia1...@gmail.com rkindia1...@yahoo.co.in -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

Re: [android-developers] fromHtml doesn't work for textview font size, any help?

2010-12-31 Thread TreKing
On Wed, Dec 29, 2010 at 7:41 AM, genxsol wrote: > color does work but no font size, any help plz http://commonsware.com/blog/Android/2010/05/26/html-tags-supported-by-textview.html - TreKing

Re: [android-developers] How to get screen density in pixels-per-inch or equivalent

2010-12-31 Thread Kostya Vasilyev
Phil, This has both rounded (mdpi, ldpi, etc.) values and actual resolution, that you'd want to use for a ruler: http://developer.android.com/reference/android/util/DisplayMetrics.html Note that some devices don't correctly report actual resolution (xdpi / ydpi). Canvas also has density av

Re: [android-developers] moving InputMethod to the top

2010-12-31 Thread TreKing
On Wed, Dec 29, 2010 at 7:20 AM, guich wrote: > How can i do the same? Open the input method at the top? Not sure, but this should make for good reading: http://developer.android.com/resources/articles/on-screen-inputs.html --

[android-developers] How to get screen density in pixels-per-inch or equivalent

2010-12-31 Thread Phil Endecott
Hi All, Imagine trying to display an accurate ruler on the screen, or something like that. I'd like to know the screen's pixel density in pixels-per-inch, or equivalently its dimensions in mm and resolution in pixels, so that I know the accurate physical size of the thing that I'm drawing. Is th

Re: [android-developers] Issue with messages in this group?

2010-12-31 Thread TreKing
On Wed, Dec 29, 2010 at 7:13 AM, Gus wrote: > Are some messages deleted or they just dissapear? Are you using the web interface? Because it sucks and randomly eats posts.I've not been able to find some posts even when searching by exact title. Use Gmail. ---

Re: [android-developers] help with ColorStateList

2010-12-31 Thread TreKing
On Wed, Dec 29, 2010 at 7:06 AM, dashman wrote: > every time, i try to display the List child row - it craps out in a android > inflator code. > As informative as "it craps out" is, you might want to provide a little more information - like a stack trace and relevant code for starters.

  1   2   >