Re: [android-developers] A scrollable widget

2010-02-02 Thread Romain Guy
You cannot make scrollable widgets, HTC is not using the regular app widget framework. On Mon, Feb 1, 2010 at 11:59 PM, Kumar Bibek coomar@gmail.com wrote: Hello All, Is it possible to make a Scrollable widget ? I have seen HTC has some widgets which are scrollable, but I am guessing that

[android-developers] Re: A scrollable widget

2010-02-02 Thread Kumar Bibek
Thanks Romain, Any update when we will be able to see this feature ? This looks cool by the way, and is really useful. Kumar Bibek On Feb 2, 1:01 pm, Romain Guy romain...@android.com wrote: You cannot make scrollable widgets, HTC is not using the regular app widget framework. On Mon, Feb

[android-developers] Help about Alarm Clock

2010-02-02 Thread Ali Murtaza
Hi I want to make an application in which i want to set the alarm, so that my application set the alarm directly... for example I am creating a reminder applicatioin in which i want to set the alarm on a specific time and specific date... please help me to tell me the class use in this case.

Re: [android-developers] Re: A scrollable widget

2010-02-02 Thread Romain Guy
This is not planned for now. On Tue, Feb 2, 2010 at 12:07 AM, Kumar Bibek coomar@gmail.com wrote: Thanks Romain, Any update when we will be able to see this feature ? This looks cool by the way, and is really useful. Kumar Bibek On Feb 2, 1:01 pm, Romain Guy romain...@android.com

[android-developers] Voice to TExt

2010-02-02 Thread Ali Murtaza
Hi i want to convert voice into text.. is there any API which will help me? -- Ali Murtaza BCSF06M021 Research Assistant Data Virtulization Ware House PUCIT, Lahore, Pakistan ali.murt...@pucit.edu.pk -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Young French Dev need help

2010-02-02 Thread Rubixcube
No one can help me ? -- 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

Re: [android-developers] Market flood prevention

2010-02-02 Thread Kevin Duffey
Based on your previous post about floods, I would strongly urge you to rework your app into a single app, remove ALL the 120+ apps you have on the market and republish a single app that makes use of server side data for the location issue you are facing. As several said in your other post, your

[android-developers] activity cannot be resolved

2010-02-02 Thread rakesh
int mainBackGroundColor = activity .getResources.getColor (R.color.main_back_ground_color); when iam trying to access a color resource iam getting activity cannot be resolved error in eclipse. how can this be resolved. thanks in advance -- You received this message because you are

Re: [android-developers] Re: Unable to get map overly to show

2010-02-02 Thread Kevin Duffey
Oddly enough, I copied/pasted your code and I am getting a class not found issue.. for some reason I can't get the Launcher to start. Can you paste your layout xml and string resources as well? On Mon, Feb 1, 2010 at 8:32 PM, andrew android andygoldm...@gmail.comwrote: Any example of what I

Re: [android-developers] Re: Young French Dev need help

2010-02-02 Thread Kevin Duffey
Have you tried the SDK docs for the objects you are working with? Perhaps some code that you are using? On Tue, Feb 2, 2010 at 12:28 AM, Rubixcube tristanyoun...@gmail.com wrote: No one can help me ? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Suspicious TCP RST packets while device is sleeping.

2010-02-02 Thread Dan Sherman
Hey guys, trying to track down a rather elusive problem here... I've been playing around with long-standing TCP connections to a server. The client opens a TCP connection to the server, sets a timeout at a reasonably long period (30 minutes), and adds an AlarmManager task to ping the server

[android-developers] Re: About calling feature in android

2010-02-02 Thread saru
look there is already dialing software in market.So Please tell me if dialing feature(API) is unavailable to developer how people out there developed such dialing software in android. On Feb 2, 1:20 pm, XC He schosnab...@gmail.com wrote: you might reference this  Why it is impossible to

Re: [android-developers] Re: Particular Tag Parsing

2010-02-02 Thread Sasikumar.S
How to parse the tag by my order. Ex:- sample iphonenice/iphone Androidsuper/Android ipad excellent/ipad /sample In this XML file i need to get order as, android, iphone ipad. But i'm getting as iphone , android ipad. How to get like android, iphone ipad. On Tue, Feb 2, 2010 at

[android-developers] Re: Young French Dev need help

2010-02-02 Thread Rubixcube
yeah , i've read docs for many times , but i haven't found any thing helping me. that's why i'm writing here ;P On Feb 2, 9:58 am, Kevin Duffey andjar...@gmail.com wrote: Have you tried the SDK docs for the objects you are working with? Perhaps some code that you are using? On Tue, Feb 2,

Re: [android-developers] Re: About calling feature in android

2010-02-02 Thread XC He
sorry about I misunderstand your request 2010/2/2 saru sarucs...@gmail.com: look there is already dialing software in market.So Please tell me if dialing feature(API) is unavailable to developer how people out there developed such dialing software in android. On Feb 2, 1:20 pm, XC He

[android-developers] Regarding Tv out in Android

2010-02-02 Thread Dilip Dilip
Hi All, Is there any TV out feature in Android. Is anyone working on it ? Thanks and Regards, Dileep -- 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

Re: [android-developers] Re: About calling feature in android

2010-02-02 Thread XC He
you can describe more detail and in which level you want to intercept Using Intent may solve your problem 2010/2/2 XC He schosnab...@gmail.com: sorry about I misunderstand your request 2010/2/2 saru sarucs...@gmail.com: look there is already dialing software in market.So Please tell me if

[android-developers] Re: How to achieve ultra smooth OpenGL/ES animation

2010-02-02 Thread Mario Zechner
I also had to fight this problem for a racing game. As Robert suggested, average your delta times, it's the only way you can smooth things out. I use a window of 5 frames per second for which i sum up the delta times and divide by the number of frames. An example 15ms, 15ms, 33ms, 15ms, 15ms will

Re: [android-developers] Re: System Settings

2010-02-02 Thread android beginner
Thanks Bob. On Tue, Feb 2, 2010 at 5:31 PM, Bob Kerns r...@acm.org wrote: The ones you're not allowed to change are defined here: http://developer.android.com/intl/de/reference/android/provider/Settings.Secure.html The ones you ARE allowed to change (with android.permission.WRITE_SETTINGS

Re: [android-developers] executing a shell script from Android application

2010-02-02 Thread android beginner
first thought that came to my mind is permission. ofcourse you can confirm that with logcat. On Tue, Feb 2, 2010 at 6:58 PM, Asif k asifk1...@gmail.com wrote: Hi all, I am configuring wifi on my android based board using shell script. Now I want to execute the same script from android

[android-developers] Re: Young French Dev need help

2010-02-02 Thread Kumar Bibek
Query the SMS content provider for all the info you need about the SMS Search for it, and you will get a few examples. Thanks and Regards Kumar Bibek On Feb 2, 2:36 pm, Rubixcube tristanyoun...@gmail.com wrote: yeah , i've read docs for many times , but i haven't found any thing helping me.

[android-developers] Re: executing a shell script from Android application

2010-02-02 Thread Asif k
which permission?? Can you please elaborate on this? In the logcat, I am not getting much specific information. Thanks, Asif On Feb 2, 3:10 pm, android beginner android.beginne...@gmail.com wrote: first thought that came to my mind is permission. ofcourse you can confirm that with logcat. On

[android-developers] forming xml and posting it ...

2010-02-02 Thread vidya
Hi, I want to form an xml and post it. Can anybody tell me how to form an xml in android.. I m a newbie.. Please help Thanks in advance... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] size limit of shared preferences

2010-02-02 Thread Nemat
Hi friends I want to save all the contacts into shared preferences.Is it possible? I mean.. is there any upper size limit of shared preferences??How much data it can save?? Thanks in advance Nemat -- You received this message because you are subscribed to the Google Groups Android

[android-developers] forming xml and posting it ...

2010-02-02 Thread vidya
Hi , Can anybody tell me how to form an xml file.. means i m taking some data from user through GUI and then form the xml of that data and post it to some api... please help thanx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Young French Dev need help

2010-02-02 Thread Nemat
This link will help you: http://blog.chinaunix.net/u/9577/showart_1850111.html cheers!!! Regards Nemat On Feb 2, 3:26 pm, Kumar Bibek coomar@gmail.com wrote: Query the SMS content provider for all the info you need about the SMS Search for it, and you will get a few examples. Thanks

[android-developers] How to determine size of a custom view

2010-02-02 Thread xeagle
Hi, I create a custom view MyExpandedView. The size of this view should not be fixed, its size should be calculated at runtime. Shall I use View.measure() and View.onMeasure()? Or other method? Thank for your help! Note this custome view is in a ViewGroup. My layout file is below: LinearLayout

[android-developers] Move the virtual keyboard to the top of the screen (SIP - IME)

2010-02-02 Thread flsobral
Hello. I'm looking for a way to move the virtual keyboard to the top of the screen, rather than the bottom. Is it possible? Thanks in advance. Fabio. -- 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: Young French Dev need help

2010-02-02 Thread Rubixcube
thx nemat, i'll take a look to your link. On Feb 2, 11:45 am, Nemat nemate...@gmail.com wrote:  This link will help you:http://blog.chinaunix.net/u/9577/showart_1850111.html cheers!!! Regards Nemat On Feb 2, 3:26 pm, Kumar Bibek coomar@gmail.com wrote: Query the SMS content

[android-developers] Problem with invalidate

2010-02-02 Thread Keean Schupke
If I have two views in a linear layout, and invalidate one of them, it causes the other view to redraw needlessly. Im my application on view is animated, and the other takes a long time to draw, this is causing problems with the animation. From experimentation it seems that putting the slow

[android-developers] Re: Dynamic TableLayout problem

2010-02-02 Thread David Arm
No idea? :s On 1 feb, 22:09, David Arm zash...@gmail.com wrote: Sorry, double post. On 1 feb, 18:37, David Arm zash...@gmail.com wrote: Hi! Im having a problem with a tablelayout. Im trying to add rows dinamically and display the content of these rows (there are not content problems as

[android-developers] Re: [TransitionDrawable ImageView] Bug fix on android 2.1 ?

2010-02-02 Thread Worgle
Hi Romain, Thanks for taking the time to answer this yourself. You're probably right : the fix was probably made on ListView rather that on TransitionDrawable. The reason I need to know where the fix was is that I have to maintain backward compatibility with Android 1.5, thus I would be happy to

[android-developers] Re: Help about Alarm Clock

2010-02-02 Thread Retrodis
I don't think you can access the phones default alarms in the Alarms app but you could build your own with AlarmManager http://d.android.com/reference/android/app/AlarmManager.html That should help On Feb 2, 8:09 am, Ali Murtaza mralimurt...@gmail.com wrote: Hi I want to make an application

[android-developers] Re: Droid Video Recorder

2010-02-02 Thread Abhi
Hi Kevin You sure can record videos at that resolution but only with the in- built camcorder app in Droid. Try writing your own recorder app and you will see the difference. Abhi On Feb 1, 7:20 pm, Kevin Duffey andjar...@gmail.com wrote: I believe the video can be taken up to 640 x 480 at

[android-developers] How to test sample Bluetooth application in Android emulator?

2010-02-02 Thread Raj
Hi to All, I wanted to test a sample Bluetooth application in android emulator, then i come to know that the android emulator does not have bluetooth support.I read some thing connect external USB Bluetooth dongle to the Mechine and bridge that dongle to android emulator.But they didn't

[android-developers] Re: executing a shell script from Android application

2010-02-02 Thread Asif k
same script I kept in the ubuntu desktop file system and executed with the normal java code and work nicely... with same APIs In the android application with same APIs when executing same script by putting it in /data/busybox/board_script.sh it does not work and gives following log

[android-developers] reg AttributeSet

2010-02-02 Thread priyanka
Hello, I'd like to use a non-compiled file (that I get dynamically from my server) in order to fetch the AttributeSet for a component. To put it another way - I'd like to create an AttributeSet at runtime. Is that possible? If the only way to do this is by implementing the AttributeSet

[android-developers] Re: Move the virtual keyboard to the top of the screen (SIP - IME)

2010-02-02 Thread flsobral
It would also be helpful to make the virtual keyboard always be shown in fullscreen. I tried to extend the class InputMethodService overriding onEvaluateFullscreenMode to always return true, but I had the following problems: - My application UI is still shown above the keyboard, even after setting

[android-developers] Re: Temperature Sensors

2010-02-02 Thread JFrog
If I was to make an assumption, I would guess that the temperature reading is up to the hardware device itself if there were one there. Anything in the API that the Android SDK provides would confine the hardware to follow a particular format for sharing the data with people, but it would not

[android-developers] Re: soft keyboard does not show when creating EditText inside a TableRow dynamically (programmatically )

2010-02-02 Thread Justin Matthews
If a EditText is created not within the TableLayout, this dynamically created EditText works as expected. The soft keyboard pops up when first clicking into the newly created EditText. This must have something to do with the way the EditText is created inside a new row. Any ideas? Thanks.

[android-developers] Re: Binding list views to large data sets

2010-02-02 Thread THill
Hehe, that was my reply when I started the project sigh. A crude use case example is where the records are like short log entries, and you want to scroll through them to watch events over a time span. You need a big window, since in some time frames, there may be few records; in others, there

[android-developers] OpenGL App crashes on Nexus One

2010-02-02 Thread Toothy Bunny
Hi All, Do not know anybody could give a hint for the problem I have. Our OpenGL games are built based on SDK 1.2 and runs almost all Android devices (from OS 1.2 ~ 2.0) except Google Nexus One (OS 2.1). On Nexus One, it generates the following exception: 02-01 09:26:28.319: DEBUG/libEGL(2340):

[android-developers] onKeyUp not getting called after EditText regains focus

2010-02-02 Thread Adam Olsen
I've got a subclass of EditText text that stops receiving KeyEvents after losing and then regaining focus. Here is an example class: class MyEditText extends EditText { public MyEditText(Context context, AttributeSet attrs) { super(context, attrs); } @Override public

[android-developers] Help needed with parsing some XML data !

2010-02-02 Thread MobDev
Hi, I am downloading a xml-type file from a webserver which starts out with : ?xml version=1.0 encoding=iso-8859-1 ? afterwards I get a list with loads of countries, some countries do contain some letters like é and á. I have tried to extract the data of the xml in two ways : 1 - simply

[android-developers] Moving the cursor to the beginning of an EditText

2010-02-02 Thread Adam Olsen
Using the following code, I am able to move the cursor after the first character on the left in an EditText: EditText editText = new EditText(this); Editable etext = editText.getText(); Selection.setSelection(etext, 1); However, if I change it to Selection.setSelection(etext, 0) with the goal of

[android-developers] Re: size limit of shared preferences

2010-02-02 Thread JP
I've tried to dump some user data into SharedPreferences. Not a good idea, doesn't perform. If you need to store records-based data, the answer is SQLite On Feb 2, 2:35 am, Nemat nemate...@gmail.com wrote: Hi friends I want to save all the contacts into shared preferences.Is it

[android-developers] Segfault in Bitmap.getPixel()

2010-02-02 Thread Mario Zechner
Hi, I have a larger 512x512 32-bit ARGB Bitmap loaded from a PNG in my application. I traverse each pixel in this bitmap as follows: int height = bitmap.getHeight()-1; for( int y = 0; y bitmap.getHeight(); y++ ) { for( int x = 0; x bitmap.getWidth(); x++ ) { int pixel =

Re: [android-developers] Re: Binding list views to large data sets

2010-02-02 Thread Mark Murphy
A crude use case example is where the records are like short log entries, and you want to scroll through them to watch events over a time span. You need a big window, since in some time frames, there may be few records; in others, there may be thousands -- the data density varies you can't

[android-developers] Re: TableLayout will not draw new row addition

2010-02-02 Thread Justin Matthews
Try changing the class type when supplying the LayoutParams, see: http://caguilartech.blogspot.com/2009/08/notes-on-android-tablelayouts-and.html. private TableRow createNewTableRow(TableRow newRow){ newRow.setLayoutParams(new TableLayout.LayoutParams

[android-developers] Re: how to use style

2010-02-02 Thread NoraBora
selector ... is a StateListDrawable. This may help http://developer.android.com/intl/fr/reference/android/graphics/drawable/StateListDrawable.html On Jan 29, 5:32 pm, saad bouchehboun bsaad1...@gmail.com wrote: yes , but no explicite speking about selectors !! whiche alow custuming list views

[android-developers] Re: TableLayout will not draw new row addition

2010-02-02 Thread Justin Matthews
Try changing the class type when supplying the LayoutParams, see: http://caguilartech.blogspot.com/2009/08/notes-on-android-tablelayouts-and.html private TableRow createNewTableRow(TableRow newRow){ newRow.setLayoutParams(new TableLayout.LayoutParams

[android-developers] Re: docs for shape xml syntax

2010-02-02 Thread NoraBora
a little info here. http://developer.android.com/intl/fr/reference/android/graphics/drawable/ShapeDrawable.html On Jan 30, 1:22 am, jotobjects jotobje...@gmail.com wrote: I did find a handful of examples in samples/ApiDemos/res/drawable. The xml files in that directory are all examples of

[android-developers] Querying the contacts content provider for values with accent

2010-02-02 Thread Florent Chauveau
Hello, I'm trying to search contacts in addressbook with the 1.5 API : c = managedQuery(People.CONTENT_URI, new String[] { People._ID, People.NAME }, People.NAME+ LIKE ?, new String[] { %+filter+% }, People.DEFAULT_SORT_ORDER); Where filter is a String. When I search for fred I find :

[android-developers] Re: Problem with expandable list view

2010-02-02 Thread NoraBora
I had a cannot-click-item problem with ListView. In my case the android:inputType in TextView was the problem. You should try removing attributes in text2. Maybe start with 'android:numeric=integer'? On Jan 30, 4:33 am, tikky tiku...@gmail.com wrote: I have an expandable list view, where the

[android-developers] How to implement the long click event for the ExpandableListView

2010-02-02 Thread manoj
Hi, can any one please suggest me how to implement the long click (onItemLongClick()) for the Expandable list view? Thanks, Manoj. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Droid Video Recorder

2010-02-02 Thread Kevin Duffey
Ahh..interesting. That would REALLY suck if Google/Android is allowed to access that resolution but our own apps can't. That wouldn't make much sense to me. On Tue, Feb 2, 2010 at 4:26 AM, Abhi abhishek.r.sha...@gmail.com wrote: Hi Kevin You sure can record videos at that resolution but only

[android-developers] getChildAt sometimes giving wrong child at particular position?

2010-02-02 Thread pink 444
Hi, I have a listactivity in which i am displaying list of items more than 8 items.Thus there is scroll bar eneabled. When i click on list items some times getChildAt returing wrong View from the list. Why is it happening like that and how can i prevent from happening? Thanks in

[android-developers] Re: Segfault in Bitmap.getPixel()

2010-02-02 Thread Mario Zechner
Well, there seems to be a bug when specifying a different Format in the Options of BitmapFactory.decodeStream(). I specified ARGB and it didn't complain. On 2.0 it worked, on the G1/MyTouch it didn't. Maybe i'll file a bug about this. On 2 Feb., 15:46, Mario Zechner badlogicga...@gmail.com

[android-developers] How to close one task in special

2010-02-02 Thread DAVIDT
Hi All How to close one task in special. I can see the task with ActivityManager manager = (ActivityManager)this.getSystemService (ACTIVITY_SERVICE ); ; ListRunningTaskInfo list = manager.getRunningTasks(10); if (list.get(1).baseActivity.getShortClassName().equalsIgnoreCase (.)) thanks

Re: [android-developers] How to close one task in special

2010-02-02 Thread Mark Murphy
How to close one task in special. Please don't. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] How to close one task in special

2010-02-02 Thread David Toledo
How does made the Advanced Task Killer or other app in the market? Thanks 2010/2/2 Mark Murphy mmur...@commonsware.com How to close one task in special. Please don't. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: Wakelock and phone restarts

2010-02-02 Thread nikhil
What can cause the phone to restart ? On Jan 28, 11:18 am, nikhil nik...@gmail.com wrote: Hello Friends, I have a service which holds on to a wakelock and the code is similar to this, public class WakeLockService extends Service { PowerManager.WakeLock wl;         @Override        

[android-developers] Re: BitmapFactory.decodeByteArray gives pixelated bitmap

2010-02-02 Thread michael
Hi again, So I finally figured out that the problem is due to my mobile network operator doing image compression to save bandwidth. I discussed the problem further at the following URL, in case it could be of help to anybody:

[android-developers] Problem with TabActivity and ListActivity

2010-02-02 Thread RamaMohan
Hi all, I am having a problem.I want to explain in detail. 1)I am Having an TabActivity with 5 tabs. I loaded content as follows. class MainScreen extends TabActivity{ public static TabHost mTabHost; public void onCreate(Bundle savedInstanceState) {

[android-developers] Re: soft keyboard does not show when creating EditText inside a TableRow dynamically (programmatically )

2010-02-02 Thread Justin Matthews
Looks like this is being caused by the call to txt.requestFocus(). Changing to txt.requestFocusFromTouch() solves this problem. -justin -- 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: Wakelock and phone restarts

2010-02-02 Thread nikhil
It seems there is some conflict between my service and call forwarding. Whenever I have my service running in the background, after I enable call forwarding the phone restarts and the keeps restarting. Has anyone experienced this? On Feb 2, 10:26 am, nikhil nik...@gmail.com wrote: What can

[android-developers] Re: device shaked? accelerometer once more

2010-02-02 Thread kretes
yes, my device wasn't entirely horizontal or vertical. However what I am looking for is function that will give me the same value when the device is not in movement, but in any position, it can be on a slant, it can be almost vertically, or in unknown position in some pocket, but without

[android-developers] Nexus 1 Vendor id?

2010-02-02 Thread Achanta
Hello, I am trying to test my app on Nexus 1 but do not have the Vendor Id and could not find it. Can anyone tell what the Vendor ID for nexus one is. thank you. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Dynamic TableLayout problem

2010-02-02 Thread Beth
David, The output shows you have a null pointer at line 93 of your activity. Look there for a solution. Also, I noticed you have System.out.println. Where are you expecting the println output to appear? You might want to replace that with Android.util.log. Regards, Beth On Feb 2, 3:41 am, David

[android-developers] Re: ANDROID_ID always null on devices

2010-02-02 Thread Rampanda
Found the cause: The android_id is not available unless you have logged onto the android market at least once from a device. Once you've done that, the ID is populated and returned by the device. Using the android_id does raise a couple of privacy questions though, but that's food for another

[android-developers] Re: docs for shape xml syntax

2010-02-02 Thread jotobjects
On Feb 2, 7:24 am, NoraBora noranb...@gmail.com wrote: a little info here. http://developer.android.com/intl/fr/reference/android/graphics/drawa... Yes, as mentioned in my post above most of the classes in android.graphics.drawable provide some information. You can get a long way with that

Re: [android-developers] Re: Particular Tag Parsing

2010-02-02 Thread Frank Weiss
SAX Parsers, both push and pull, follow document order. Your problem is what makes programming fun. It takes creativity. There are many ways you could solve it, for example, by using java.util.SortedMap. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: executing a shell script from Android application

2010-02-02 Thread jotobjects
My guess is that adb is a development tool and probably not present on the device or available on the emulator at runtime. On Feb 2, 5:35 am, Asif k asifk1...@gmail.com wrote: same script I kept in the ubuntu desktop file system and executed with the normal java code and work nicely... with

[android-developers] Re: activity cannot be resolved

2010-02-02 Thread jotobjects
Do you have a res/values/color.xml file with main_back_ground_color defined? Are you cleaning and rebuilding your project? It is necessary that bin and gen directories are recreated any time there is a change to resources such as colors.xml On Feb 2, 12:55 am, rakesh rakeshrap...@gmail.com

Re: [android-developers] Problem with TabActivity and ListActivity

2010-02-02 Thread Mark Murphy
And the Problem is If i want to start activity which is not specified in tabhost in above Java code,it is going out of tabactivity. ie.,It is not coming in tabactivity. 2)But i want to have all the activities under tabActivity. That is not possible, AFAIK. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Market flood prevention

2010-02-02 Thread Frank Weiss
On Mon, Feb 1, 2010 at 11:23 PM, Bus Brothers busbroth...@gmail.com wrote: Hello We would like to be able to update our apps, but there are a large number of them and we are getting negative responses from other developers regarding market flooding. I think the other comments about

[android-developers] Re: TextView scrollHorizontally doesn't work

2010-02-02 Thread jotobjects
Actually I have tried both marquee and scrollHorizontally. There was a previous topic that I responded to a couple of days ago with the marquee layout code (that also doesn't work). http://groups.google.com/group/android-developers/msg/5f466bd386877029 I was suspecting that some of the TextView

[android-developers] Splitting connections?

2010-02-02 Thread Eric Crump
I have an app that runs on a closed network with no internet access. I connect to it through wifi. My app also uses Google Maps. Is there a way to make the MapView still pull from my 3G connection while the rest of the app uses the wifi? The issue is once connected to the wifi, maps tries to

[android-developers] Re: ANDROID_ID always null on devices

2010-02-02 Thread guich
Hi, Is there a way to populate the id without having to get into the market? This sounds a very strange policy. Seems that google only thinks that the consumer will use Android, and they forgot about the companies that will just install their applications and nothing else (example: Sales Force

Re: [android-developers] Re: device shaked? accelerometer once more

2010-02-02 Thread Frank Weiss
Try a band-pass filter. Remove the low frequencies (such as the constant 1 g falling) and the high frequencies (such as bumping and vibrating). Look up digitial filters. Chances are some simple 24 line algorithm will do the trick. I'm going to try myself using the accelerometer demo app when I get

[android-developers] Re: ANDROID_ID always null on devices

2010-02-02 Thread jotobjects
That's interesting. Is ANDROID_ID only null on the emulator because the market application is not available on the emulator? On Feb 2, 9:42 am, guich guiha...@gmail.com wrote: Hi, Is there a way to populate the id without having to get into the market? This sounds a very strange policy.

[android-developers] Play Mp3 while on Camera Vie

2010-02-02 Thread Jose Gomez
Hey guys and gals, I am trying to add a bit of a narration in the form of augmented reality to the application I am building. In essence the user will be looking through his/her handset to a location X and I want an MP3 file or WAV or whatever format to play while the camera view finder is up

[android-developers] Re: Aligning webview and buttons...

2010-02-02 Thread Breezy
Anyone have anything? On Feb 1, 8:37 pm, Breezy mbre...@gmail.com wrote: I want to put two buttons (not HTML) at the top of my view and the webview below it...  Almost like frames in HTML, except the top frame is android XML code, not an HTML frame.  I can get it somewhat like I want, but

Re: [android-developers] Play Mp3 while on Camera Vie

2010-02-02 Thread Mark Murphy
Hey guys and gals, I am trying to add a bit of a narration in the form of augmented reality to the application I am building. In essence the user will be looking through his/her handset to a location X and I want an MP3 file or WAV or whatever format to play while the camera view finder is

[android-developers] Writing files SDCard on Emulator

2010-02-02 Thread Acer
Hello, I'm a beginner in Android and request any help on the following. I'm trying to use an SDCard loaded on to the Emulator and store files programmatically. The code snippet is as below public class Downloader { public Downloader(String path) { this.path=sanitize(path); Log.d(DEBUG,The File

Re: [android-developers] Writing files SDCard on Emulator

2010-02-02 Thread Mark Murphy
1. Are there additional permissions to be included? No. 2. The Downloader.java is a helper class whose object is being used in a Receiver. Does giving the receiver the WRITE_EXTERNAL_STORAGE would also enable Downloader.java to access the SDCard The permission should be for your

[android-developers] Re: Droid Video Recorder

2010-02-02 Thread Abhi
that is what it is. It doesn't make sense to me either. There has to be a way around this from Google (if you guys are hearing). Abhi On Feb 2, 10:41 am, Kevin Duffey andjar...@gmail.com wrote: Ahh..interesting. That would REALLY suck if Google/Android is allowed to access that resolution but

Re: [android-developers] Writing files SDCard on Emulator

2010-02-02 Thread Ace
Hello Mark, Thank You for your reply. Regarding your question .Are you sure your emulator has an SD card image? They don't by default Yes I think it has SD card image as I'm able to see the same through DDMS File Explorer when I startup the emulator. However, when I try and access it

[android-developers] Re: device shaked? accelerometer once more

2010-02-02 Thread ko5tik
Print out a sensor name and google up the datasheet ( it's bosh sensortec BM 150 or like it ) - as you may guess it's not the best and finest chip out there. Resolution is pretty low, and it is noisy ( +- 8g is pressed into 8 bit ) -- You received this message because you are subscribed to the

[android-developers] Re: BitmapFactory.decodeByteArray gives pixelated bitmap

2010-02-02 Thread Streets Of Boston
But that restriction is only for your mobile network. Chances are it works well for your customers who are not bound to such a restriction. Maybe your network tries to have you sign up for a better data-package plan, that does not have this restriction... ? :-) On Feb 2, 11:32 am, michael

[android-developers] Re: getChildAt sometimes giving wrong child at particular position?

2010-02-02 Thread Streets Of Boston
The getChildAt(x) method of a list-view does not return the view of item number 'x'. It returns, more or less, the 'x'th visible child- view of your list-view. If you want to access an item amongst all your possible items that can be shown in your list-view, you have to access it throug the list-

[android-developers] Re: APK not visible in market for HTC Tattoo Android Phone ?

2010-02-02 Thread Pablo Szyrko
Hi, I'm having the same issue. Is it needed any additional configuration? thanks in advance, Pablo On 7 ene, 13:25, Mark Wyszomierski mar...@gmail.com wrote: Hi, I'm trying to verify this - my app has the following in its manifest:  supports-screens   android:smallScreens=true  

[android-developers] Re: What does a good app review look like?

2010-02-02 Thread dadical
I'm biased since you guys actually have reviewed my app, but I think you have some interesting ideas. Here are some of my observations with respect to reviews. 1. Reviews always result in a significant bump up in sales/downloads. It actually doesn't matter whether the review was positive or

Re: [android-developers] Writing files SDCard on Emulator

2010-02-02 Thread Mark Murphy
Regarding your question .Are you sure your emulator has an SD card image? They don't by default Yes I think it has SD card image as I'm able to see the same through DDMS File Explorer when I startup the emulator. However, when I try and access it through Downloader.java I get Card Not

[android-developers] Re: Speech Recognition Problem

2010-02-02 Thread Petar K.
Hello Sai, I tested it using wifi and I tested for only english. I tried changing the default to be french and I tested it in Toronto and it worked fine. So I don't think the default language is the reason. The issue, I believe, is the communication with the google server. Once I start the speech

[android-developers] 3 dots at the end of the string in strings.xml

2010-02-02 Thread Rohit
I saw a strings.xml file and one of the entries in the xml was as follows string name=testStringthis is a long string to test .../string Why is there a space followed by 3 dots in the entry? Is that a shortcut for ellipsizing the string? -- You received this message because you are subscribed

[android-developers] Re: 3 dots at the end of the string in strings.xml

2010-02-02 Thread Streets Of Boston
I think it's just three dots (periods). As far as i know, these mean nothing special. On Feb 2, 2:37 pm, Rohit mord...@gmail.com wrote: I saw a strings.xml file and one of the entries in the xml was as follows string name=testStringthis is a long string to test .../string Why is there a

[android-developers] Re: Wakelock and phone restarts

2010-02-02 Thread nikhil
It seems there is a conflict between call forwarding and wakelock... Can someone test this out please? If you have a service which implements a wakelock (partial for my case), try enabling the call forward option in the settings when the service is running in the background... and please let me

[android-developers] Re: scrollHorizontal problem on TextView

2010-02-02 Thread Rohit
I also want to know how to scroll a textview without it getting the focus. I was just thinking - what if there is a purely touch device that has no trackball - how will a user be able to focus on anything then? Rohit On Jan 31, 4:18 pm, jotobjects jotobje...@gmail.com wrote: I have run into a

[android-developers] How to Start Call Log Activity Using Intent

2010-02-02 Thread jaydip makadia
Hi, Please help me, can we start Call Log Activity using the Intent. Below is the my code i try to start Call Log Activity using the Intent but not able to success. Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW);

  1   2   3   >