[android-developers] how to set the focus color of one listitem

2010-07-07 Thread cindy
For my list, I want to change the default focus color. However, when I set listSelector, the area of linelayout change to that color.Not the single focused listitem. Anything wrong? LinearLayout android:id=@+id/list_panel android:layout_width=fill_parent

[android-developers] Re: rtsp client?

2010-07-07 Thread hyc
On Jun 28, 6:10 pm, Andy Savage a...@bluewire.net.nz wrote: With certain types of well formed RTSP streams the mediaplayer class can play it directly. http://m.youtube.comis a great example of some well formed feeds, but most RTSP feeds from the net seem to work fine. I've also managed to

[android-developers] I can't change the checkbox state due to multiple getView call in custom adapter

2010-07-07 Thread Jeruliu
After researched in this group, I have a conclusion that the number of calling getView function in adapter is not guaranteed, normally this function will be called 3 times. It's causing issue to my app. I have a custom list view, 2 text and 1 check box in each row. I also defined my own adapter

[android-developers] Re: rtsp client?

2010-07-07 Thread hyc
On Jun 28, 3:47 am, u1663097 u1663097 u1663...@gmail.com wrote: The openCore platform in Android supports rtsp stack as a rtsp client. It is possible to support stream video. Unfortunately it only supports RTP over UDP. From android/external/opencore/protocols/rtsp_client_engine/src/

[android-developers] Re: paypal mobile payment allowed?

2010-07-07 Thread ko5tik
On Jul 6, 10:19 am, Al Sutton a...@funkyandroid.com wrote: Just to address your point on collecting information from Googles Market; I've talked to someone at Google about this and it was an absolute no-go. The request wasn't for AndAppStore, but for another project that I was working on

[android-developers] Samsung Galaxy Spica (I5700) Bluetooth SPP with Android 2.1

2010-07-07 Thread Rafał Grzybowski
Any well known issues with this? I cannot create SPP connection on that phone, many other phones work great on the same software. -- 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: Change the progress bar style dynamically

2010-07-07 Thread Serdel
But this is a Dialog object which I don't want to create. I was referring to ProgressBar - a View object... -- 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

Re: [android-developers] Google Maps App

2010-07-07 Thread Yorgos X
Hi there, I have experienced the same behaviour on my device. Have you figured out a way to overcome this issue? please let me know if you have?. cheers! On Thu, Jun 10, 2010 at 3:50 PM, zohar lerman lirazo...@gmail.com wrote: Hi, I have several Android devices and each of them has different

[android-developers] Re: Accurate sleep()\timer in Android

2010-07-07 Thread Omer Gilad
On Jul 6, 10:38 pm, Dianne Hackborn hack...@android.com wrote: 2. The operation I'm doing involves network activity - UDP\TCP packet sending. Is there good native support for networking that is device independent (like the normal libc, libz)? Or maybe I should ask this in the NDK group?

[android-developers] Like implementation with Facebook github SDK

2010-07-07 Thread ayanir
Hello, I’m using the Facebook SDK from github. Does anyone know how to implement a “Like” button using the SDK? Is there a way to invoke “Like” method same as “me” using the Graph API? If it does, it should be very simple to use the SDK. There is an alternative implementation found in:

[android-developers] Calculating Hash Value

2010-07-07 Thread perumal316
Hi All, I want to calculate the hash value of the all the folders in a particular directory. I am able to do it in a java application. Any idea how to do it in Android? Thanks in Advance, Perumal -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: paypal mobile payment allowed?

2010-07-07 Thread Michael A.
On Jul 6, 8:22 am, ko5tik kpriblo...@yahoo.com wrote: On Jul 6, 12:01 am, moneytoo m...@seznam.cz wrote: It depends on what you want to charge the user for. From 3.3: All fees received by Developers for Products distributed via the Market must be processed by the Market’s Payment

[android-developers] organizing the code

2010-07-07 Thread Pedro Teixeira
I'm having a hard time keeping my code clean... mainlly because all the try's and catches... I'm simple doing an HTTP request on which the response is then converted to JSON Array.. but now it's a mess of {}'s .. is there anyway to agregate all this try and catches? The code really looks bad and

[android-developers] Re: paypal mobile payment allowed?

2010-07-07 Thread Michael A.
My answers based on what I've gathered from the mailing lists/forums over the past 6 months + my reading of the DDA. On Jul 6, 8:51 am, Chister Nordvik cnord...@gmail.com wrote: Well, if we only could get Google to confirm this... Spotify - free in the market, but you have to be a subscriber

[android-developers] Re: App Not Visible On Donut

2010-07-07 Thread Pent
If you use suggested techniques like reflection to determine what functionality is available to you at runtime, you only need one version of your app. Or keep going the way your going and enjoy your maintenance nightmare. It's not much fun adding text-to-speech via reflection, lot of

[android-developers] Re: paypal mobile payment allowed?

2010-07-07 Thread Michael A.
Apologies for the formatting on those posts. On Jul 7, 12:03 pm, Michael A. michael.aki...@gmail.com wrote: My answers based on what I've gathered from the mailing lists/forums over the past 6 months + my reading of the DDA. On Jul 6, 8:51 am, Chister Nordvik cnord...@gmail.com wrote:

[android-developers]

2010-07-07 Thread 안준엽
-- 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 For more options, visit

[android-developers] Re: paypal mobile payment allowed?

2010-07-07 Thread tobias429
1. Publish a paid app on the market, you get 70% of the revenue, Google (or the OHA) gets 30% 2. Only serious alternative to generate revenue: publish a free app and put advertising on. The percentage of the advertising revenue that you get is typically at the advertising-company's discretion.

[android-developers] Re: App Not Visible On Donut

2010-07-07 Thread Lance Nanek
Have you tried the aapt dump badging command on the APK to see if any uses-feature are getting added? Good thinking but only the camera is getting added. Weird, I just bought Tasker on the market on my Nexus One, pulled the APK, and ran the badging dump on it. I'm seeing the bluetooth uses-

Re: [android-developers] Re: Problem using android services

2010-07-07 Thread Mark Murphy
On Wed, Jul 7, 2010 at 1:46 AM, Abhi abishe...@gmail.com wrote: 07-07 10:58:01.442: ERROR/AndroidRuntime(273): Caused by: java.lang.NullPointerException 07-07 10:58:01.442: ERROR/AndroidRuntime(273):     at android.content.ContextWrapper.getApplicationContext(ContextWrapper.java: 100) 07-07

Re: [android-developers] How to clear miss call notification

2010-07-07 Thread Mark Murphy
On Wed, Jul 7, 2010 at 12:30 AM, mike hasitharand...@gmail.com wrote: i want to clear miss call notification from NotificationBar. Did you write the application that put this Notification in the status bar? If not, then you cannot cancel it. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Re: How to make a imageview at right of linearlayout

2010-07-07 Thread Levi
Why not using RelativeLayout ?You can set a property android:layout_alignParentRight=true ,then what you want will be show good luck! 2010/7/7 cindy ypu01...@yahoo.com Have tried all those, none of them works. Does it mean we can't put a imageview to right? LinearLayout

Re: [android-developers] Re: How to make a imageview at right of linearlayout

2010-07-07 Thread Levi
If you put one view in the layout then the result will be the same 在 2010年7月7日 下午8:07,Levi limingwei...@gmail.com写道: Why not using RelativeLayout ?You can set a property android:layout_alignParentRight=true ,then what you want will be show good luck! 2010/7/7 cindy ypu01...@yahoo.com

[android-developers] Re: How to detect presence of camera on an Android device.

2010-07-07 Thread Daman
Thanks for confirming the reliability of these APIs. I have few related questions - 1. Are there plans to support pluggable USB webcams (e.g. on netbooks)? In such a case, would the same Android APIs work for them too? 2. Would hasSystemFeature(PackageManager.FEATURE_CAMERA) return true if a USB

Re: [android-developers] organizing the code

2010-07-07 Thread Adriano B. Godinho
If the catch for all your exceptions is the same (you always print the stacktrace), you can create only one try block and a catch block with a superclass of your exceptions. try{ //All your code. } catch(Exception e){ e.printStackTrace(); } You can also create only one try block with

[android-developers] Re: organizing the code

2010-07-07 Thread Andriy Zakharchuk
Hello Pedro, from my point of view it doesn't make sense to wrap each statement into a try..catch. In you sample if httpclient.execute() fails, then I'm not sure that response.getEntity().getContent() makes sense, since there was no response. I would rewrite your sample as: try {

[android-developers] Android library project custom build

2010-07-07 Thread Andriy Zakharchuk
Hello all, I have a legacy application and need to split it into a library project (common code) and two application projects (paid and free applications). I don't use Eclipse for development, and also don't use Ant builds provided (generated) by Android SDK (there are several reasons for that),

[android-developers] Re: paypal mobile payment allowed?

2010-07-07 Thread Al Sutton
It's using an unofficial API and could be cut off at any point. It also doesn't allow you to actually download the apps, only display the app listing information. Al. On Jul 7, 8:00 am, ko5tik kpriblo...@yahoo.com wrote: On Jul 6, 10:19 am, Al Sutton a...@funkyandroid.com wrote: Just to

[android-developers] Re: Problem using android services

2010-07-07 Thread Abhi
Thanks a lot Mark. I managed to solve the problem based on your pointers. I was doing a global initialization of Application Context using getApplicationContext. Thanks and Regards, Abhijeeth On Jul 7, 5:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 7, 2010 at 1:46 AM, Abhi

[android-developers] Re: Having the actual devices is critical!

2010-07-07 Thread JP
In theory. In reality, there's that customer/user who wants to use an app, like now, and that developer who wants to support this, and a slew of other users who just walked out of that fill in carrier store with that fill in device. Lab days, loaners are all just compromises to actually having a

[android-developers] Problem with map overlay

2010-07-07 Thread RS.Giridaran
Hi All, i want to create map oveylays with information window(when user tap overlay) which is clickable and stick with overlay when user panning the map. i am added the map in a tab view, created overlays using itamizedoverlays and information window using Popupwindow, when user panning the map i

[android-developers] Re: How to detect presence of camera on an Android device.

2010-07-07 Thread blindfold
1. Are there plans to support pluggable USB webcams (e.g. on netbooks)? In such a case, would the same Android APIs work for them too? I don't expect an answer from Google on this (because they never tell in advance what they will come up with), but just want to say that I am very interested

[android-developers] JetCreator Errors

2010-07-07 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Hello and Good Morning, I am getting errors in my attempts to use JetCreator, such as: Traceback (most recent call last): File JetCreator.py, line 1429, in module au = JetCreator(None, -1, openFile) File JetCreator.py, line 86, in __init__ self.initLayout() File JetCreator.py, line

[android-developers] dir.delete issue

2010-07-07 Thread guru
Hi All I am facing some while deleting the non-empty directory. it is getting success. But it should not. Scenario: try { File dir = new File(System.getProperty(java.io.tmpdir), platformId + filechk); dir.mkdir();

[android-developers] Re: App Not Visible On Donut

2010-07-07 Thread Pent
Have you tried the aapt dump badging command on the APK to see if any uses-feature are getting added? Good thinking but only the camera is getting added. Weird, I just bought Tasker on the market on my Nexus One, pulled the APK, and ran the badging dump on it. I'm seeing the bluetooth

[android-developers] Twitter App Source Code

2010-07-07 Thread zachariahyoung
Where can I find the source code for the Android Twitter App? Thanks Zach -- 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

[android-developers] Re: Maintaining Aspect Ratio of Background Image

2010-07-07 Thread Daniel Lew
I hadn't considered that, but then you can't reference the image in the theme (which allows the background to load faster). I might give that a shot, though. -Daniel On Jul 6, 9:17 pm, Frank Weiss fewe...@gmail.com wrote: No worries. 16x9 (a la Droid) is probably the most extreme screen

Re: [android-developers] Twitter App Source Code

2010-07-07 Thread Mark Murphy
On Wed, Jul 7, 2010 at 10:14 AM, zachariahyoung zpyo...@gmail.com wrote: Where can I find the source code for the Android Twitter App? AFAIK, it has not yet been released. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

[android-developers] Re: Twitter App Source Code

2010-07-07 Thread zachariahyoung
Does anybody know when it will be released? On Jul 7, 9:16 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 7, 2010 at 10:14 AM, zachariahyoung zpyo...@gmail.com wrote: Where can I find the source code for the Android Twitter App? AFAIK, it has not yet been released. -- Mark

Re: [android-developers] Problem with map overlay

2010-07-07 Thread TreKing
On Wed, Jul 7, 2010 at 8:54 AM, RS.Giridaran rsgirida...@gmail.com wrote: i want it to be like the same in directions popups in google maps application. please advise me. Don't use a PopupWindow, use a regular view that get's added to the MapView as a child.

[android-developers] Compile Sip Stack

2010-07-07 Thread André Barbosa
hi, anyone could compile some SIP Stack in C/C++ along with Android source code? Note: i am referring not to compile the Sip Stack with ndk, but compile with all the code of the Android plataform. best Regards. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to detect presence of camera on an Android device.

2010-07-07 Thread Al Sutton
Google currently require an in-built camera to pass the compatibility tests, so devices without cameras are unlikely to get much attention from them (see 8.9 in http://source.android.com/compatibility/android-2.1-cdd.pdf) Al. On Jul 7, 1:22 pm, Daman damanji...@gmail.com wrote: Thanks for

Re: [android-developers] Re: Change the progress bar style dynamically

2010-07-07 Thread TreKing
On Wed, Jul 7, 2010 at 2:19 AM, Serdel adam.lichwierow...@gmail.com wrote: But this is a Dialog object which I don't want to create. I was referring to ProgressBar - a View object... I'm sure you've tried this already:

Re: [android-developers] double tap zoom on Google maps

2010-07-07 Thread TreKing
On Tue, Jul 6, 2010 at 8:07 PM, zeeshan mirza zeeshan.nabeel.mi...@gmail.com wrote: LEt me know where is the problem ? Why don't YOU let US know what the problem your having is? and if possible please add the correct code for double tap zoom in function. NO.

[android-developers] how do I create an executable file from a working android project with eclipse?

2010-07-07 Thread gabri
I've been trying to export it to a jar file but as there is no main method in my app this doesen't work. Can someone tell me how to create this executable? the executable is tu run the emulator and app both in computer not at phone!! -- You received this message because you are subscribed to the

[android-developers] Re: Compile Sip Stack

2010-07-07 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
You would not use C/C++ for the sip stack for obvious reasons of cost of moving objects over the JNI On Jul 7, 9:40 am, André Barbosa afilipebarb...@gmail.com wrote: hi, anyone could compile some SIP Stack in C/C++ along with Android source code? Note: i am referring not to compile the Sip

Re: [android-developers] double tap zoom on Google maps

2010-07-07 Thread zeeshan mirza
I just want to implement onDoubleTap() zoom in. There is just a default zoom in (+) and zoom out (-) button on screen i want to add the functionality that when i double click on map (phone screen) the map should zoom in. Regards, Zeeshan On Wed, Jul 7, 2010 at 4:51 PM, TreKing

Re: [android-developers] double tap zoom on Google maps

2010-07-07 Thread TreKing
On Wed, Jul 7, 2010 at 9:56 AM, zeeshan mirza zeeshan.nabeel.mi...@gmail.com wrote: I just want to implement onDoubleTap() zoom in. And the PROBLEM you're having is ... ?? -

Re: [android-developers] double tap zoom on Google maps

2010-07-07 Thread zeeshan mirza
I am not unable to handle onDoubleTap() zoom in event. I got some help from a webpage and i am working on it since 1 week but unable to write the correct code. Regards, Zeeshan On Wed, Jul 7, 2010 at 5:00 PM, TreKing treking...@gmail.com wrote: On Wed, Jul 7, 2010 at 9:56 AM, zeeshan mirza

[android-developers] Re: Problems with audio playback on froyo

2010-07-07 Thread Rich
I'm bumping this because a fundamental component of the Android system is broken, there have been numerous reports and not a single person from the Android dev team have spoken about this after weeks. Please reply soon! There are hundreds of broken apps on the market. R On Jun 18, 4:45 pm, Rich

[android-developers] Re: Compile Sip Stack

2010-07-07 Thread HeHe
imho, movng sip-related objects over jni should be fine in most of case, because they are just signaling stuff, are sparse and usually small in size (compared to media packets). On Jul 7, 7:56 am, Fred Grott(Android Expert, http://mobilebytes.wordpress.com) fred.gr...@gmail.com wrote: You would

Re: [android-developers] double tap zoom on Google maps

2010-07-07 Thread zeeshan mirza
I am unable to handle onDoubleTap() zoom in event. I got some help from a webpage and i am working on it since 1 week but unable to write the correct code. Regards, Zeeshan On Wed, Jul 7, 2010 at 5:04 PM, zeeshan mirza zeeshan.nabeel.mi...@gmail.com wrote: On Wed, Jul 7, 2010 at 5:00 PM,

Re: [android-developers] Re: Twitter App Source Code

2010-07-07 Thread Sean Hodges
It hasn't been announced yet. On Wed, Jul 7, 2010 at 3:31 PM, zachariahyoung zpyo...@gmail.com wrote: Does anybody know when it will be released? On Jul 7, 9:16 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 7, 2010 at 10:14 AM, zachariahyoung zpyo...@gmail.com wrote: Where can

Re: [android-developers] how do I create an executable file from a working android project with eclipse?

2010-07-07 Thread Kostya Vasilyev
Exporting Android app to a .jar will never work, since .jars run in a different environment. The emulator is just like a phone - it runs Android, which runs your app packaged as an .apk. If you just use run or debug commands in Eclipse, it will run your app in the emulator, if there is no

[android-developers] Re: Problems with audio playback on froyo

2010-07-07 Thread Rich
Okay! Sorry I got all uppity. Here's the solution: http://code.google.com/p/npr-android-app/source/diff?spec=svn77r=77format=sidepath=/trunk/Npr/src/org/npr/android/news/PlaybackService.java Rich On Jul 7, 11:04 am, Rich miser...@gmail.com wrote: I'm bumping this because a fundamental

Re: [android-developers] Re: Alarms after an update ?

2010-07-07 Thread Robert Macaulay
The eclipse plugin denies the existence of the authority attribute. No resource identifier found for attribute 'authority' in package 'android' receiver android:name=.OnPackageChangeStarter intent-filter action android:name=android.intent.action.PACKAGE_REPLACED / data

Re: [android-developers] how do I create an executable file from a working android project with eclipse?

2010-07-07 Thread Michael MacDonald
On 07/07/10 10:52, gabri wrote: I've been trying to export it to a jar file but as there is no main method in my app this doesen't work. Can someone tell me how to create this executable? the executable is tu run the emulator and app both in computer not at phone!! Android apps will only

Re: [android-developers] double tap zoom on Google maps

2010-07-07 Thread Michael MacDonald
Maybe the problem is you are not forwarding touch events to the GestureDetector I would expect to see something like @Override public boolean onTouchEvent(MotionEvent evt) { return detector.onTouchEvent(evt); } On 07/06/10 21:07, zeeshan mirza wrote: Here is my own code

Re: [android-developers] Geocoder not working on emulator

2010-07-07 Thread TreKing
On Sun, Jul 4, 2010 at 11:50 PM, pranay streetfi...@gmail.com wrote: i am getting the same output, i.e. No address. Did you supply a valid location to get an address for? Also can anyone please tell me that here i have to manually supply the lat and longitude , so it is it possible that

Re: [android-developers] Copy protection invisible app

2010-07-07 Thread TreKing
On Mon, Jul 5, 2010 at 1:38 AM, sandscorpio amit.aggarwa...@gmail.comwrote: So, my question is this, if I turn off copy protection, will all users have to reinstall the app? Will only 1.5 users have to reinstall (30%)? There's one way to find out ...

[android-developers] Custom ListView complex item does not appear correctly

2010-07-07 Thread Tudor Tihan
Hi guys and gals, I am having a very difficult time with making complex listview items show properly. I am using the following layout xml for the item: codesource ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android

Re: [android-developers] Modify Browser Default Search Functionality on Pressing ENTER Key!!

2010-07-07 Thread TreKing
On Mon, Jul 5, 2010 at 1:55 AM, Prince pranjal.andr...@gmail.com wrote: I want to modify default Search Functionality of Browser on Pressing Enter Key. I want that on Pressing Enter Key on the Browser Application(different views), it will enter a New Line instead of loading a new view and go

Re: [android-developers] Custom ListView complex item does not appear correctly

2010-07-07 Thread Kostya Vasilyev
Tudor, You can use RelativeLayout, and set android:layout_alignParentRight=true in the image. -- Kostya 07.07.2010 20:05, Tudor Tihan пишет: Hi guys and gals, I am having a very difficult time with making complex listview items show properly. I am using the following layout xml for the

[android-developers] timeout on wakelock causes WakeLock under-locked error

2010-07-07 Thread jdeslip
Hi, I have a service that acts a download manager, downloading files in the background. I have aquired a partial wake lock while the downloads are going. When the downloads finish, I manually release the wakelock. Because I am paranoid, I acquired the wakelock also with a timeout. The problem

[android-developers] Re: how do I create an executable file from a working android project with eclipse?

2010-07-07 Thread gabri
What I would like to do is to launch de emulator together with my app in it.. is this possible? i've read around I would need a script to do that can someone pass me the code On 7 jul, 17:17, Michael MacDonald googlec...@antlersoft.com wrote: On 07/07/10 10:52, gabri wrote: I've been trying to

Re: [android-developers] timeout on wakelock causes WakeLock under-locked error

2010-07-07 Thread Mark Murphy
On Wed, Jul 7, 2010 at 12:26 PM, jdeslip jdes...@gmail.com wrote: Is there any way to use a timeout (as backup wakelock release in case the app force closes for some reason) without getting this error? Check isHeld() before release()-ing it. -- Mark Murphy (a Commons Guy)

[android-developers] Re: file size limit on sdcard in emulator

2010-07-07 Thread Ralf Baumbach
Update: I found that it indeed works. It is just taking long long time to do so. Since there is no progress visible I deduced that it doesn't work. Sorry for that. But it takes something like an hour to upload that file. On 19 Jun., 13:53, berliner myberli...@gmail.com wrote: I uploaded the text

[android-developers] Re: Change the progress bar style dynamically

2010-07-07 Thread Serdel
Yes I have but this class does not have any method to change the style of a progressBar, like the ProgressDialog class. The style of a progressBar is defined in the xml file by special attributes but there are no methods related to them... -- You received this message because you are subscribed

Re: [android-developers] Send MMS without any GUI

2010-07-07 Thread TreKing
On Mon, Jul 5, 2010 at 2:40 AM, mickael le trocquer letrocquermickael-...@yahoo.com wrote: Is there other action / intent for send a MMS ? None that won't involve user interaction, for good reason. I really don't need apps sending MMS messages from my phone without my knowledge - I don't care

[android-developers] Re: Geocoder not working on emulator

2010-07-07 Thread HeHe
afaik, from ddmsemulator control panel, you may feed any gps data that is resolvable to human-readable address so that you can test your app. On Jul 4, 9:50 pm, pranay streetfi...@gmail.com wrote: hi, i am trying to run the example as given in the book Professional Android  Development by Reto

[android-developers] Re: Custom ListView complex item does not appear correctly

2010-07-07 Thread Tudor Tihan
That partly works. I made the inner layout a relative one and put the alignment of the image as suggested. If I fix the max width of the text item to 285dip then it will look nice in the portrait view. But that means I'd have to make a ton of adjustments for each screen aspect/size. Any way to

Re: [android-developers] Oriented Overlay

2010-07-07 Thread TreKing
On Mon, Jul 5, 2010 at 4:42 AM, Pedro Teixeira pedroteixeir...@gmail.comwrote: Any suggestions ? Should I override the draw method on the userOverlay class? You're doing custom drawing right? So you should probably override the default draw call to do what you want ... so yes.

[android-developers] Re: Focus problem in GridView inside Dialog

2010-07-07 Thread Piotr Buła
Sorry, your question slipped under my radar, but here goes the (late) answer. First, let me explain what I wanted to achieve. The list I was going to present in the dialog could potentially contain a lot of images, so loading them all and keeping in memory was not a good idea. So I decided that

Re: [android-developers] Login form implementation options

2010-07-07 Thread TreKing
On Mon, Jul 5, 2010 at 4:53 AM, Tudor Tihan tudorti...@gmail.com wrote: So, what other options are there for the implementation of a screen such as a login form? I really like a separate activity / screen is an obvious choice here ...

[android-developers] How would I include non-class files in my apk?

2010-07-07 Thread Connick
I'm looking to load some JS and CSS into a webview (via content provider) which is all well and good ...but how should these files be packaged in the APK such that I can reference them from the provider impl at runtime? i.e. com.domain.myprovider/foo.js Thanks! Stace -- You received this

[android-developers] Re: timeout on wakelock causes WakeLock under-locked error

2010-07-07 Thread jdeslip
Ya, I am checking isHeld() before I release it when I do it manually... But, apparently when you set a timeout, whatever part of android releases the wakelock does not check if it is held. That is my problem. If I manually release it before the timeout, when the timeout comes, I get an

Re: [android-developers] Re: Custom ListView complex item does not appear correctly

2010-07-07 Thread Kostya Vasilyev
Tudor, You should try using a RelativeLayout as the only Layout tag in the list item. It's certainly powerful enough to arrange both text and image the way you intend. Off top of my head: For the TextView - layout_alignParentLeft=true layout_width=wrap_content and margins, if any For the

[android-developers] Re: How would I include non-class files in my apk?

2010-07-07 Thread Connick
More specifically ...have the files show up: /data/data/com.mydomain.foo/media/foo.js Is this something I would have to provision programatically at runtime? On Wed, Jul 7, 2010 at 1:35 PM, Connick oconn...@gmail.com wrote: I'm looking to load some JS and CSS into a webview (via content

[android-developers] Re: How would I include non-class files in my apk?

2010-07-07 Thread Connick
Part of the answer. res/raw Now just need to figure out where those end up. :) On Wed, Jul 7, 2010 at 1:51 PM, Connick oconn...@gmail.com wrote: More specifically ...have the files show up: /data/data/com.mydomain.foo/media/foo.js Is this something I would have to provision programatically

[android-developers] Re: How would I include non-class files in my apk?

2010-07-07 Thread Connick
R.raw Case closed. :) On Wed, Jul 7, 2010 at 1:56 PM, Connick oconn...@gmail.com wrote: Part of the answer. res/raw Now just need to figure out where those end up. :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: How would I include non-class files in my apk?

2010-07-07 Thread Mark Murphy
Usually, for stuff to load into a WebView, assets/ is a better answer than res/raw/. Here is a sample project: http://github.com/commonsguy/cw-advandroid/tree/master/WebView/GeoWeb1/ On Wed, Jul 7, 2010 at 1:56 PM, Connick oconn...@gmail.com wrote: Part of the answer. res/raw Now just need to

Re: [android-developers] Re: How would I include non-class files in my apk?

2010-07-07 Thread Connick
Beauty. Thanks Mark. On Wed, Jul 7, 2010 at 2:01 PM, Mark Murphy mmur...@commonsware.com wrote: Usually, for stuff to load into a WebView, assets/ is a better answer than res/raw/. Here is a sample project: http://github.com/commonsguy/cw-advandroid/tree/master/WebView/GeoWeb1/ On Wed,

[android-developers] Do threads cache instance variables?

2010-07-07 Thread burtoogle
Hi, I am starting to develop an Android App and have noticed the following behaviour in my test code (not yet designed the real app): A thread that loops around doing Bluetooth IO accesses an instance variable that is declared in the enclosing class. That instance variable gets set to null by

[android-developers] How to realize TextView control has wordwrap functionallity.

2010-07-07 Thread bobo123
Hi, I am a beginner of Android, I have a question need to resovlve. String s = aaa; TextView textView = new TextView(this); textView.setText(s); The above code only show part of s on the screen in a line. I wish the textview control can automatically wrap it in

[android-developers] android.text.format.Time.parse3339

2010-07-07 Thread Tom
the following code: Time t = new Time(GMT); t.parse3339(2010-06-25T11:30:00-07:00); produces the following error: android.util.TimeFormatException: Unexpected 0 at position 19. Expected + or - my understanding is that the format of the timestamp meets the requirements:

[android-developers] How to get Memory Usage in android?

2010-07-07 Thread Badal
Hello guys ! I am trying to develop a widget which can shows current memory cpu usage of a mobile. to get Memory usage, I am using: /proc/meminfo command. I have parsed the response for the both command, however it shows that MemTotal:94348 kB MemFree: 5784 kB Is this the

[android-developers] problem with my browser

2010-07-07 Thread anil007
yesterday I got my android 2.2 update. I was very happy that I got my updates,but after updating my browser is not working.please guide me how to solve this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] IMAP TLS (accept all certificated) error on Android 2.2 (Froyo)

2010-07-07 Thread AA
Hello, just got update to FRF91 on Nexus One this morning. Issue: the email account, which was working perfectly on former Android 2.1, is not working. Account is configured as IMAP, TLS (accept all certificate). Error I got is: Cannot verify hostname: mydomain.com. I tried to both specify name

[android-developers] how to detect whether android device supports audio video recording

2010-07-07 Thread vinay
hi, Is there any api that can let me know whether android device supports audio video recording. Thanks, -- 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] hi

2010-07-07 Thread Ranjith
what can i do netbeans with sql database connection? -- 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] System-wide touch events OR User activity

2010-07-07 Thread bmjones2
I have been searching for some time for a method to solve my problem. I am pretty sure this isn't possible, but thought I would ask anyway. The problem that exists for me is I need a way to recognize when the user is currently on their phone. Not specifically on my application but on any

[android-developers] android emulator

2010-07-07 Thread dmbinbc
I cant get the emulator to work. It starts up but hangs forever. When I look at the logCat I see many errors and warnings. -- 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: is there an easier way?

2010-07-07 Thread Lucas
I am using Motodev Studio for Android. (develper.motorola.com) It is an Eclipse with ADT already installed and with a lot of cool stuff, that helps me in development, databases manipulation... internationalization.. It is for free and, even being made by Motorola, it works for devices of all

[android-developers] Problem with PhoneStateListener.onSignalStrengthsChanged

2010-07-07 Thread TheArchedOne
I have written an android app which listens to the phone signal strength. The app works perfectly with Android 1.6 and lower using PhoneStateListener.SignalStrengthChanged(int asu), but I can't get it to work on Android 2.1. I know that I have to use onSignalStrengthsChanged(SignalStrength

[android-developers] URGENT: Opening for BSP/ Driver Engineers

2010-07-07 Thread Sakura Technologies
No of Openings: 12 Position:Software Engineer/ Senior Software Engineer, Project Leader Company: Leading Semiconductor/ Software Company Location: Bangalore (may have to travel out of India for long durations) Experience Level:

[android-developers] develop an application windows - android

2010-07-07 Thread iceman_82
Hi, I'm searching how develop a program that run on windows machine but manage my android phone. Are there anyone who could help me? Are there API for this activity? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] How to find if the device is connected via USB.

2010-07-07 Thread DPK
Hi All, How can i find out if my device is already connected via USB.Is there a way i can do it in code just the way i can check network connectivity using ConnectivityManager. ?? I was able to broadcast my USB connected intent and receive it,but was struggling to check if the device is already

[android-developers] build android sdk from git on ubuntu 10.04 fail

2010-07-07 Thread zyanho
i getting start with http://source.android.com/source/download.html. i use ubuntu 10.04 ,i install android step by step. i type make at last,i get an error host C: libneo_util = external/clearsilver/util/neo_hash.c host SharedLib: libneo_util (out/host/linux-x86/obj/lib/ libneo_util.so) host

[android-developers] Problem with Intents (I think)

2010-07-07 Thread CMWiii
New to Android so experimenting with some areas that are probably way over my head. Nevertheless, I will plow on. Top Level Description: I have an activity (call it ActA) that is started via 'startActivity' and is passed some data through a bundle. The data is an unflattened componentname

[android-developers] How to access modem in a native C libs

2010-07-07 Thread Rover
Hi there, May I ask a question here? I am porting a OS independent C library to Android (Libraries layer - to be exact). The library needs to access SIM and mobile networking. I think this needs to go through RILD interface (socket). But it is found that the RILD is dedicated to the telephony.

  1   2   3   >