[android-developers] Re: Chargeback fees have been waived since June 2010

2010-10-29 Thread Craigo
A big thank you to Google for removing this fee! Just saved me another $3. :-) On Sep 16, 4:08 am, Streets Of Boston flyingdutc...@gmail.com wrote: I didn't know this until just now, when i got a chargeback request from Google. Chargeback fees (that were $3) for purchases from the Android

[android-developers] Re: Resource not found

2010-10-29 Thread Surfer
Tnx for your answer. I have checked this and i am using 'drawable' and 'values' folder for resources. I am not building with latest sdk, i built it agains android 1.6. I would also like to mention i am using uses-sdk android:minSdkVersion=3 android:targetSdkVersion=4/ for my app to work on 1.5 but

[android-developers] Drawing circle in MapView

2010-10-29 Thread Hendrik Greving
Trying to draw a circle at a longitude/latitude position. The circle below doesn't show up, does anybody know why? latitude, longitude is known here ListOverlay mapOverlays = mapView.getOverlays(); ColorDrawable myCircle = new ColorDrawable(); mCirc = new Canvas(); mPaint = new Paint();

[android-developers] Re: List of all Android Phones: Found !

2010-10-29 Thread Pent
I just found this:http://www.google.com/phone/#manufacturer=allcategory=allcarrier=al... Good find, but from a developer point of view the missing model numbers are a deal breaker since I can't differentiate between them in code otherwise. Pent -- You received this message because you are

[android-developers] bring task to front

2010-10-29 Thread sleith
Hi, i know this question has been ask many times, but i still don't find a solution... need helps :) I tried to handle about the hold screen button that makes screen off. Somehow the game is exit because of this. Then i try using broadcast listener for screen on/off and when detecting off the

[android-developers] Re: When is the 3.0 SDK Coming?

2010-10-29 Thread Pent
Anyone have idea when the 3.0 SDK is coming out? Sure, November 7th. Pent -- 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: OpenGL ES 2D and 3D mixed graphics?

2010-10-29 Thread noriato
well you can create an orthoview with the dimensions of the screen. ie glOrtho(0,0,320,480,0,20); then you can use pixel coords to draw your stuff.. it would be non perspective though. Peter On 29 Okt., 04:40, Matt Quigley matthew.quig...@gmail.com wrote: I'm making a 2D game, with sprites

Re: [android-developers] Re: sqlite

2010-10-29 Thread Thierry Legras
That certainly works, but that might double the processing time, doesn't it? 2010/10/28 Bret Foreman bret.fore...@gmail.com Do an update and check how many rows got updated. If 0, then insert a new row. If 1, do nothing. If more than 1, throw an exception. -- You received this message

Re: [android-developers] bring task to front

2010-10-29 Thread XC He
How do you start the intent ?? 2010/10/29 sleith raysle...@gmail.com: Hi, i know this question has been ask many times, but i still don't find a solution...  need helps :) I tried to handle about the hold screen button that makes screen off. Somehow the game is exit because of this. Then i

[android-developers] Re: bring task to front

2010-10-29 Thread sleith
Hi, thanks for responding :) I tried couple times. Latest : Intent intent = pm.getLaunchIntentForPackage(packagename); intent.setClassName(mContext, MainActivity.class.getName()); intent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT | Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY|

[android-developers] Re: Application still Running After Exit

2010-10-29 Thread mort
On 29 Okt., 04:49, Eric F ericfrie...@gmail.com wrote: I think there are two problems here, both of them psychological and a problem adapting from the desktop. Regarding the problem when the hell is an app doing something when I don't see it, it's not just psychological... My recommended

[android-developers] Re: How to catch android.intent.action.MEDIA_MOUNTED

2010-10-29 Thread karteek
Thank u i understand On Oct 28, 8:53 pm, Streets Of Boston flyingdutc...@gmail.com wrote: You'd have to register your broadcaster in your code:http://groups.google.com/group/android-developers/browse_frm/thread/c... On Oct 28, 4:53 am, Karteek N kartee...@gmail.com wrote: How to cath

[android-developers] Re: KSOAP2 Stub Generator tool for android

2010-10-29 Thread Auth Gábor
Hi, As I've wrote about it, I've started an another SOAP client project: http://wiki.javaforum.hu/display/ANDROIDSOAP/Home It is based on 'wsimport' generated interface classes, and it is very early stage, only a proof-of-concept, not for production, but... it will be... :) -- Gábor Auth On

[android-developers] Re: Application still Running After Exit

2010-10-29 Thread mort
On 28 Okt., 06:36, Syner idesignsgr...@aol.com wrote: (...) most of the time i am using back or home to exit the app which sounds like it is not exiting the app. Depends on your definition of exiting ;) By default, the foreground stuff is suspended until you resume to the app, while a running

[android-developers] Re: Turn screen OFF/ON or change brightness screen

2010-10-29 Thread mot12
For some reason, if you set the brightness to 0f, it really turns the screen off rather than just making it as dark as possible. Worse, after you do that, you can't turn the screen on again. To change the brightness, stay with a value from 0.05 to 1.0. That seems to work as expected. There's no

[android-developers] to call only a single activity on different button clicks

2010-10-29 Thread Alok Upadhyay
i have three imagebuttons.and on clicking each buttons a new image with new screen opens.means three imagebuttons calls three different activities. it means if you have ten buttons we have to call 10 activities. i want to call the common activity on each button clicked using if else construct

[android-developers] New for android...

2010-10-29 Thread Vaibhav Singh
Hi All, I am new for androide development. Can any buddy tell me how to generate stub from wsdl to access weservice from android phone... Actually I generate stub from Axis Ksope2 tolls but I am getting errors java.rmi cannot be resolved to a type. Any buddy can help me out from this mistry..

[android-developers] Re: KSOAP2 Stub Generator tool for android

2010-10-29 Thread Vaibhav Singh
Hi Rashid Can u plz tell me to to generate stub from a wsdl link for android... Thanks... On Oct 28, 2:53 pm, muhammad mahmood muhammad.rash...@gmail.com wrote: Hi all, I would like to generate a stub for android. Only one tool is available at http://ksoap2genstub.sourceforge.net; but i am

Re: [android-developers] Drawing circle in MapView

2010-10-29 Thread Shashidhar
I think you are missing a call to invalidate() on map view after adding the overlay. -Shashi On Fri, Oct 29, 2010 at 12:26 PM, Hendrik Greving fourhend...@gmail.comwrote: Trying to draw a circle at a longitude/latitude position. The circle below doesn't show up, does anybody know why?

Re: [android-developers] to call only a single activity on different button clicks

2010-10-29 Thread Marcin Orlowski
On 29 October 2010 11:18, Alok Upadhyay maddy.luck...@gmail.com wrote: is there any way to call the different instance of common activity(say CommonActivity.class) for all three buttons. You can pass extra arguments to your common activity using intent Extras so you can have one activity for

[android-developers] make my browser as default

2010-10-29 Thread nimish khandelwal
hi can anyone tell me how can we make our browser as default in android. i want to implement that when you open up the internet browser it gives you two options: regular browser and Mybrowser(third party browser which is made by me). If you select the regular broswer it says that the phone cannot

[android-developers] button click

2010-10-29 Thread nena joy
Hello, I have an activity.Have an image view, 3 text views and a button. 2 text views are hard coded. When click the button the other shows first value taken from an xml file (xml tag value). When click this again value of text view want to change.The value should be the second value from the

[android-developers] android + sqllite : problem with accessing database

2010-10-29 Thread Mad Troll
I created database in sql lite with commands: sqlite.exe CREATE TABLE android_metadata (locale TEXT DEFAULT 'en_US'); INSERT INTO android_metadata VALUES ('en_US'); CREATE TABLE myTable (ID int); INSERT INTO myTable VALUES ('1'); . etc. i saved to file myDatabase.db and i'm

[android-developers] Re: Business multi-tier application with android client

2010-10-29 Thread mastermind
Thanks for your answer. Well, you are talking about method 4 (Server: Tomcat + Servlets, using custom XML format for client- server interaction) using JSON instead of XML. I'm going to use that way, but I'm not sure... Any other ideas? :) On 29 окт, 09:19, Miguel Morales

[android-developers] Can u help me to find the mistake? i can't run this program.

2010-10-29 Thread 菠菜冬
package com.android.CirclingCounter; import java.util.List; import android.app.Activity; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import

[android-developers] Open API Service Hackathon at Mobile Developer Summit

2010-10-29 Thread swagat Barman
Alcatel Lucent’s Tim Cloonan and Jonathan Beard Speak at the Summit. Cash Prizes and Fun Goodies for Winners. Alcatel-Lucent has announced the Open API Service Hackathon to do battle with their APIs for a chance at fame and fortune! Participatns have time until noon, November 10 2010, to either

Re: [android-developers] Taking a Picture with the Camera - Without SurfaceView

2010-10-29 Thread sundaysalmon
Parameters of your HTC camera should be set properly, you have to know your camera's capability. Suggest you give small resolution as parameters. On Fri, Oct 29, 2010 at 1:07 AM, Elysium elysium...@gmail.com wrote: Hi Guys! I'm coding a little app, but I don't know what I'm doing wrong. The

[android-developers] android ksoap2 call return null value inside the webservice method

2010-10-29 Thread SRG
can you anyone help me Here my code private static final String METHOD_NAME = getCityList; private static final String SOAP_ACTION = http://service.com/; + METHOD_NAME; private static final String NAMESPACE = http://service.com;; private static final String URL =

[android-developers] Re: Business multi-tier application with android client

2010-10-29 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Have you tried restlets? Very easy to do..better than soap On Oct 28, 3:34 pm, mastermind denis.bar...@gmail.com wrote: I'm developing client-server application with android client and now I'm working on architecture trying to find proper technologies. Spent a lot of hours googling and

[android-developers] Re: android + sqllite : problem with accessing database

2010-10-29 Thread DanH
Oddly, you can't pre-load a database. You have to create it on the phone and load it up from a flat file or some other source. On Oct 29, 6:13 am, Mad Troll trollheim.independ...@googlemail.com wrote: I created database in sql lite with commands: sqlite.exe CREATE TABLE android_metadata

Re: [android-developers] make my browser as default

2010-10-29 Thread TreKing
On Fri, Oct 29, 2010 at 5:19 AM, nimish khandelwal nimishk...@gmail.comwrote: hi can anyone tell me how can we make our browser as default in android. i want to implement that The user will do this, if they wish. when you open up the internet browser it gives you two options: regular

Re: [android-developers] After removing OverlayItem tap events are still trigger

2010-10-29 Thread TreKing
On Wed, Oct 27, 2010 at 4:07 PM, cristian.vrabie cristian.vra...@gmail.comwrote: Anyone knows why this is happening or how to fix it? Why? Because the Google Maps library is shoddy, buggy, and poorly implemented. To fix it? When clearing out an overlay item, try calling setFucus(null) AND

[android-developers] Check when a Bluetooth Device is connected

2010-10-29 Thread Mandave
Hello, I'm trying to develop an app that knows the right moment the Bluetooth Headset (or any other Bluetooth Device) is connected to the Phone. How can I do it? I already tried with BroadcastReceiver (android.bluetooth.intent.action.HEADSET_STATE_CHANGED) defined in my manifest but with no

Re: [android-developers] Re: bring task to front

2010-10-29 Thread TreKing
On Fri, Oct 29, 2010 at 3:19 AM, sleith raysle...@gmail.com wrote: Intent.FLAG_ACTIVITY_NEW_TASK This, as it states, will create a new task. If that's not what you want, then don't use it. -

[android-developers] Monitoring audio input

2010-10-29 Thread Neilz
Hi all. I want to monitor the audio via the microphone over a continuous period of time. I don't want to record it, just get a handle on the signal, to test for volume etc. I've searched on the MediaRecorder and AudioRecord classes, and get the feeling that this is possible, but I'm kind of

[android-developers] Slow Sqlite and Filtering ListView

2010-10-29 Thread Sanchiski
I have read all posts about SQLIte and haven't found a real solution yet. -I have a database with 1000 rows, and the main search columns indexed. -These are displayed in a ListView. Since I am using the FastScroller functionality I need to load them all (1000 rows) in a cursor so there are no

Re: [android-developers] Create Folder

2010-10-29 Thread brindha sweety
On Fri, Oct 29, 2010 at 7:34 AM, TreKing treking...@gmail.com wrote: On Thu, Oct 28, 2010 at 5:36 AM, brindha sweety brindhasweety.bs@ gmail.com wrote: hoe to create a folder in main screen programmatically? What does create folder in main screen mean? thanks for your reply.

Re: [android-developers] ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE returning NULL?

2010-10-29 Thread Dmitri Plotnikov
Hitting the back button does call onActivityResult passing RESULT_CANCEL in the result arg. On Oct 28, 2010 7:06 PM, Ron Schnell schn...@gmail.com wrote: I'm tracking down a crash dump for one of my applications. I am using ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE as an intent, to

[android-developers] Services + Network

2010-10-29 Thread Itamar
Hey guys, I need to create an Android service that support scheduled background syncing based on network availability. Just wondered if there is a good sample\best practice for such a task. Regards, Itamar -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: android + sqllite : problem with accessing database

2010-10-29 Thread Mad Troll
so how i can do it? i remember in one of examples i saw file with line structure: data 1 | data2 | data 3 and application was created db from this file on phone so you suggest i should convert my db into text file, and try open text file im my app to placed content of this file into db created by

Re: [android-developers] need help

2010-10-29 Thread TreKing
On Fri, Oct 22, 2010 at 9:22 AM, hemant jaiswal hema...@gmail.com wrote: .Is there any way to display only two importtant part of webpage. Parse out what you need and show only that. - TreKing

Re: [android-developers] How to debug an application that hangs after awhile

2010-10-29 Thread TreKing
On Fri, Oct 22, 2010 at 3:45 PM, halfstop crumblin...@gmail.com wrote: This is an awful question to ask, it's so broad, but how should I go about troubleshooting this problem? Lots of logging to see the last output when it hangs and use your debugger to pause the app when it hangs to see

[android-developers] Re: Business multi-tier application with android client

2010-10-29 Thread mastermind
Thanks, very nice solution. On 29 окт, 20:19, Fred Grott(Android Expert, http://mobilebytes.wordpress.com) fred.gr...@gmail.com wrote: Have you tried restlets? Very easy to do..better than soap On Oct 28, 3:34 pm, mastermind denis.bar...@gmail.com wrote: I'm developing client-server

[android-developers] Re: ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE returning NULL?

2010-10-29 Thread Ron Schnell
Okay, didn't know that. But it doesn't explain the crash dump seen from the Market. My code: if (resultCode == Activity.RESULT_OK) { Uri contactData = data.getData(); Cursor c = managedQuery(contactData, null, null, null, null); The relevant

[android-developers] Re: android + sqllite : problem with accessing database

2010-10-29 Thread DanH
I think the usual way is to put the SQLite DB file in raw, on the phone create an empty DB and close it, then copy the raw copy over this created version. I've never done it myself, though. On Oct 29, 9:36 am, Mad Troll trollheim.independ...@googlemail.com wrote: so how i can do it? i remember

Re: [android-developers] web service access from net

2010-10-29 Thread TreKing
On Fri, Oct 22, 2010 at 11:39 PM, nena joy nenaj...@gmail.com wrote: but I want to create this application with data from a web service in the net. You need to expand on this - your question is so vague you're never going to get any help like this.

Re: [android-developers] uses-feature android.hardware.wifi and android:required=false

2010-10-29 Thread TreKing
2010/10/25 Antonio Vázquez Blanco antoniovazquezbla...@gmail.com How can I fix it? Which API version are you building against? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago

[android-developers] Java101 strings and ints

2010-10-29 Thread acr
Hi all, Im new to android and java but moving along at full speed. My lack of experience is making some elementary tasks too repetitive. For example I want to be able to loop through the following snipit of code.. the problem is I want i replace the number 1 in g1m0+=1; so through each iteration

Re: [android-developers] startActivityForResult for Contact picker under tab

2010-10-29 Thread TreKing
On Mon, Oct 25, 2010 at 10:33 PM, poj wora...@gmail.com wrote: Is it possible to start contact intent under tab activity? No. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago

Re: [android-developers] setRequestedOrientation

2010-10-29 Thread TreKing
What are you trying to achieve? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are

Re: [android-developers] Duplicate strings.xml

2010-10-29 Thread TreKing
On Sat, Oct 23, 2010 at 12:29 AM, Mark markree...@gmail.com wrote: is the data in the library strings.xml added to the including project's strings.xml at build time? I don't know, but if you already have a library project with a strings.xml file, this wouldn't be too hard to find out for

Re: [android-developers] Is it possible to run multiple Broadcast receivers for the same Intent in the same application?

2010-10-29 Thread TreKing
On Mon, Oct 25, 2010 at 6:12 PM, Some Coder somecoder...@gmail.com wrote: Is it possible to register multiple BroadcastReceivers for the same Intent in the same application and have them all run? Haven't played much with broadcast and receivers but I can't imagine why not. How are you sending

Re: [android-developers] Java101 strings and ints

2010-10-29 Thread Frank Weiss
First thing that comes to mind: int gm0[8]; int gm1[8]; ... gm0[i]++; ... gm1[i]++; There is a minor issue because Java uses zero-based array indexing, hence the int[8] so the rest of your code doesn't need refactoring. -- You received this message because you are subscribed to the Google

Re: [android-developers] Java101 strings and ints

2010-10-29 Thread TreKing
On Fri, Oct 29, 2010 at 10:55 AM, acr acr...@gmail.com wrote: so through each iteration g1m0 would become g2mo You can't do that. What are you trying to do? - TreKing

[android-developers] How to prevent saving browser pages in activity stack history

2010-10-29 Thread Chi Cheng
1. User click one button on Activity#1 to start Activity#2. 2. One button on Activity#2 start system default browser(Intent.ACTION_VIEW) to get Twitter authorized. 3. After user allow, Twitter redirect user to Activity#2(Custom intent-filter+data) and it save the tokens. Now, if I press

[android-developers] Re: Out of memory in test application.

2010-10-29 Thread nikki
Hi Bibek, thanks for the post. But yet I am not able to find a way out. One pattern I have observed, I don't know I am correct or not that Number Of test class Objects created is equal to the number of test method present. And the object creation takes place before the execution of test script.

[android-developers] Re: Out of memory in test application.

2010-10-29 Thread nikki
On Oct 28, 1:57 pm, Kumar Bibek coomar@gmail.com wrote: Try Traceview to see your memory allocations. I am sure it will help you. On Oct 28, 12:32 pm,nikkinikhileshsingh...@gmail.com wrote: Hi Group, I am facing out of memory issue in my test application. I have written 102 test

[android-developers] Re: Java101 strings and ints

2010-10-29 Thread DanH
It should be pointed out that this is a basic Java question, not an Android question. And more to the point it's a basic programming question. You'd be far better off learning more about programming on a desktop system before digging into the ugliness that is Android (or any other phone

[android-developers] Re: How to debug an application that hangs after awhile

2010-10-29 Thread Bret Foreman
Have you looked at the logcat output? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Java101 strings and ints

2010-10-29 Thread acr
Thanks for the reply, I am trying to avoid writing the following over and over when the only thing that is going to change is the grap.getCol==1 and the 1 in the name of the int g1m0 I am looping through a list of graphics that are coming from multiple graphic arrays(7 total each representing its

Re: [android-developers] Re: ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE returning NULL?

2010-10-29 Thread Dmitri Plotnikov
I cannot remember exactly, but at some point we had a bug in picker where using the trackball or trackpad you could focus the header view (where it says Displaying 5 contacts). Then pushing on the trackball would trigger an empty selection. I am not saying that this is the cause of the crash in

Re: [android-developers] Re: How to develop a android app store

2010-10-29 Thread Nitin Mahajan
Hello, 2010/10/26 Antonio Vázquez Blanco antoniovazquezbla...@gmail.com Apktor has a solution for you... Google for it. You only have to set up a server and install apktor in your devices. Thanks for your inputs, I discovered Aptoide just two days back, but yet to try it. regards Nitin

[android-developers] Re: Java101 strings and ints

2010-10-29 Thread acr
thanks, I do understand, but I love to hate the pain.. Im rocking and rolling here, but there are some things I run into that I know more experience will fix.. but that's how I learn, I just hit a bump. On Oct 29, 12:20 pm, DanH danhi...@ieee.org wrote: It should be pointed out that this is a

Re: [android-developers] Re: Java101 strings and ints

2010-10-29 Thread Sebastián Treu
How about a boolean matrix? On Fri, Oct 29, 2010 at 1:39 PM, acr acr...@gmail.com wrote: thanks, I do understand, but I love to hate the pain.. Im rocking and rolling here, but there are some things I run into that I know more experience will fix.. but that's how I learn, I just hit a bump.

[android-developers] charging taxes

2010-10-29 Thread bagelboy
Hello fellow devs, I've got an an app out and I'm starting to get some (very minute) revenue, and it just occurred to me I need to think about taxes. I live in the UK and I am selling my apps through the google android market exclusively. Do I need to set up the marketplace to charge sales tax?

Re: [android-developers] Re: Java101 strings and ints

2010-10-29 Thread Sebastián Treu
On Fri, Oct 29, 2010 at 1:44 PM, Sebastián Treu sebastian.t...@gmail.com wrote: How about a boolean matrix? Sry, I meant int matrix (i came from C). -- If you want freedom, compile the source. Sebastián Treu http://labombiya.com.ar -- You received this message because you are subscribed

[android-developers] Re: Java101 strings and ints

2010-10-29 Thread acr
i got it, thanks, I think this may be what i'm looking for On Oct 29, 12:45 pm, Sebastián Treu sebastian.t...@gmail.com wrote: On Fri, Oct 29, 2010 at 1:44 PM, Sebastián Treu sebastian.t...@gmail.com wrote: How about a boolean matrix? Sry, I meant int matrix (i came from C). -- If you

[android-developers] Re: Application still Running After Exit

2010-10-29 Thread Eric F
Ultimately, I think it boils down to a few things in a nutshell (and my guess is that we agree here): A) The user should have a good understanding of which applications are hindering performance (running smoothness. Why is my home screen so jerky?) B) The user should have a good understanding

[android-developers] Re: charging taxes

2010-10-29 Thread Pent
I've got an an app out and I'm starting to get some (very minute) revenue, and it just occurred to me I need to think about taxes. I live in the UK and I am selling my apps through the google android market exclusively. Do I need to set up the marketplace to charge sales tax? If so, which

[android-developers] Re: ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE returning NULL?

2010-10-29 Thread Ron Schnell
I did think of that, because earlier in the program I have a List View, and the heading is clickable for some reason. But on all of the phones I tried, I don't see a heading in the phone-number-only activity... On Oct 29, 9:35 am, Dmitri Plotnikov dplotni...@google.com wrote: I cannot remember

Re: [android-developers] How i can control the Screen On/Off Lock/Unlock in Donut( SDK 1.6)

2010-10-29 Thread Jason Van Anden
I am facing the same issue. Did you or does anyone else know the answer? J On Sun, Jan 3, 2010 at 9:43 PM, krekar swbon...@gmail.com wrote: hi, all( happy new year~! :D) I making an Alarm App. In my Alarm App, if user set the alarm, the alarm Dialog will be shown at the set alarm time.

[android-developers] Different hint strings for searchable activities?

2010-10-29 Thread Mark Wyszomierski
Hi, I am supporting search in my app, I'd like to display a unique hint in the search box depending on what activity is being viewed. To that end, I have a two different searchable.xml files in my xml folder: searchable.xml searchable_activity_foo.xml When I reference searchable.xml,

Re: [android-developers] Create Folder

2010-10-29 Thread TreKing
On Fri, Oct 29, 2010 at 8:53 AM, brindha sweety brindhasweety...@gmail.comwrote: how to create a folder in android emulator programmatically? OK. What does create a folder in android emulator mean?

Re: [android-developers] Drawing circle in MapView

2010-10-29 Thread TreKing
On Fri, Oct 29, 2010 at 1:56 AM, Hendrik Greving fourhend...@gmail.comwrote: The circle below doesn't show up, does anybody know why? Probably because you're creating your own Canvas the system knows nothing about. If you want to do custom drawing, override the onDraw or draw() methods in the

[android-developers] Re: Create Folder

2010-10-29 Thread Kumar Bibek
You need to have the permission. WRITE_EXTERNAL_STORAGE And the code is similar to Java. You can read up or search on how to do that in Java, and the same code should work as well on Android. String tempFilePath = Environment.getExternalStorageDirectory().getAbsolutePath()

[android-developers] NMEA buffer overflow

2010-10-29 Thread brain storm
Hi, I'm trying to set up an application I've written to periodically monitor the gps/network provider. Everything seems to work, apart an error abour NMEA buffer I receive when the background service works and not the main activity (i.e. when the telephone is doing something else). How can I flush

[android-developers] Re: Different hint strings for searchable activities?

2010-10-29 Thread Mark Wyszomierski
Nevermind, the different xml files are ok. My second xml file had a raw string in it which does not work (everything must use string references to strings.xml). On Oct 29, 1:56 pm, Mark Wyszomierski mar...@gmail.com wrote: Hi, I am supporting search in my app, I'd like to display a unique hint

Re: [android-developers] Shared preferences in a library

2010-10-29 Thread TreKing
On Tue, Oct 26, 2010 at 8:59 AM, BlackNeko sokl...@gmail.com wrote: Now, I want to use the shared preferences to get some settings and use them for doing calculations in my lib, and I've been trying but can't get a valid context to use in getDefaultSharedPreferences(). Any ideas? public

[android-developers] Re: How to debug an application that hangs after awhile

2010-10-29 Thread davemac
Try using DDMS and watch your application's threads and memory usage over time. Perhaps you've got a memory leak somewhere? You can also use 'telnet localhost port' command to connect up to the emulator and simulate events such as low memory. Perhaps your app is eventually restarting and running

[android-developers] Listing fat-finger-tapped overlays from a MapActivity?

2010-10-29 Thread Mike Reed
In a map activity, when the user taps more than one item, I need to produce a list of them, similar to how GoogleEarth works on Android. If I add to a list in the ItemizedOverlay.onTap for each item clicked (returning false to not handle), the list owner has no way to know when the list is

Re: [android-developers] small rectangle over an image

2010-10-29 Thread TreKing
On Tue, Oct 26, 2010 at 2:29 PM, vishal vdharan...@gmail.com wrote: I want to create a form/screen having an image at background i wish to draw a small rectangle on this screen and i also want that user should be able to move rectangle with touch, please guide Please show what you have done

[android-developers] Re: Segmented video streaming on Android

2010-10-29 Thread Dana L
I couldn't find any good documentation on StageFright, and I didn't get much by looking through the code. Supposedly StageFright is pretty buggy, so it makes sense to use OpenCore for the time being (maybe Gingerbread will address some of the problems). I'm sort of surprised that Android doesn't

Re: [android-developers] how do code in a textbox so it will translate words without changing the source code

2010-10-29 Thread TreKing
On Tue, Oct 26, 2010 at 3:17 PM, sam101 samuelr...@verizon.net wrote: i am working on a app for the androiod using eclipse and i was wondering how code in a textbox so when i type in a word it will say that word through a text to speech. i dont want to have to go in the program and change the

Re: [android-developers] Issues with invoking mailto: through javascript

2010-10-29 Thread TreKing
On Tue, Oct 26, 2010 at 9:27 AM, Komal ko...@ensarm.com wrote: It throws errors.. how can I get this working ? Explaining what errors it's throwing would be a good first step. - TreKing

[android-developers] reducing android.permission.*

2010-10-29 Thread sdphil
In order to reduce the number of permission my application requests, it would be handy to have a list of calls that are require a permission. Does such a list exist anywhere? Doing a search in the android reference doesn't seem to come up with anything... ideas? tia. -- You received this

Re: [android-developers] reducing android.permission.*

2010-10-29 Thread Kumar Bibek
Reduce the number of permissions? What exactly do you mean by that? On Sat, Oct 30, 2010 at 1:08 AM, sdphil phil.pellouch...@gmail.com wrote: In order to reduce the number of permission my application requests, it would be handy to have a list of calls that are require a permission. Does

Re: [android-developers] reducing android.permission.*

2010-10-29 Thread Greg Donald
On Fri, Oct 29, 2010 at 2:38 PM, sdphil phil.pellouch...@gmail.com wrote: In order to reduce the number of permission my application requests, it would be handy to have a list of calls that are require a permission. Does such a list exist anywhere?  Doing a search in the android reference

[android-developers] Re: reducing android.permission.*

2010-10-29 Thread sdphil
I mean remove permissions I don't need (any longer). On Oct 29, 12:39 pm, Kumar Bibek coomar@gmail.com wrote: Reduce the number of permissions? What exactly do you mean by that? On Sat, Oct 30, 2010 at 1:08 AM, sdphil phil.pellouch...@gmail.com wrote: In order to reduce the number of

[android-developers] Re: Custom GridView with ArrayAdapter out of sync with backing data

2010-10-29 Thread stanchat
Awesome! This worked like a charm. On Oct 28, 2:54 pm, Streets Of Boston flyingdutc...@gmail.com wrote: When you create a brand-new convertView (v) in your getView(...) method (within the if (v==nul) {} block), call the setOnCheckChangeListener on the SelectActor checkbox in 'v'. Every

[android-developers] Re: How to prevent saving browser pages in activity stack history

2010-10-29 Thread Lance Nanek
I just use a WebView to do the Twitter authorization in the games I programmed. So I can finish the activity running it without any problem anyway. I suppose with your Browser method, once you get to Activity#2, you could finish and start another Acitivty using FLAG_ACTIVITY_CLEAR_TOP or

Re: [android-developers] Dynamic view high

2010-10-29 Thread TreKing
On Wed, Oct 27, 2010 at 3:28 AM, patrik patrik.kri...@she-systems.dewrote: Is there any way to implement it? Probably. I tried some ways but either it doesn't work or the app crashed. What did you try? What errors did you get?

Re: [android-developers] messages not showing up?

2010-10-29 Thread TreKing
On Wed, Oct 27, 2010 at 11:34 AM, Jason Graham jlgaus...@gmail.com wrote: I have tried to post a message twice over 2 days and they never show up on the group, what gives? Hard to say with Google Groups - sometimes that just happens. On the bright side, this one went through, so maybe try

Re: [android-developers] Password

2010-10-29 Thread TreKing
On Wed, Oct 27, 2010 at 3:28 AM, brindha sweety brindhasweety...@gmail.comwrote: When i click the app in emulator What app? if password is correct the app will opened and launched. What app? my question is how do i click the app? What app? how prompt will display? What prompt?

Re: [android-developers] remote file storing application

2010-10-29 Thread TreKing
On Tue, Oct 26, 2010 at 10:46 PM, niyathi gethu...@gmail.com wrote: can u please tell me which all softwares i would need. Eclipse. - TreKing http://sites.google.com/site/rezmobileapps/treking -

[android-developers] Re: Angry DROID2 Owner

2010-10-29 Thread Lance Nanek
Isn't the Droid 2 that buggy phone where all of them have the same ANDROID_ID? It wouldn't surprise me if that breaks a lot things, especially login functionality. On Oct 29, 12:38 am, Stephen Lebed srle...@gmail.com wrote: How is you not being able to log into a third party app developers

Re: [android-developers] Please Help Me Out .... SMS + Google map

2010-10-29 Thread TreKing
Your post title is please help me out but nowhere have you stated what you actually need help with. We just have a vague idea of what you're trying to accomplish. - TreKing

Re: [android-developers] Drawing circle in MapView

2010-10-29 Thread Hendrik Greving
Shouldn't it work somehow since I create a drawable and pass it to the OverlayItem? latitude, longitude is known here ListOverlay mapOverlays = mapView.getOverlays(); ColorDrawable myCircle = new ColorDrawable(); mCirc = new Canvas(); mPaint = new Paint(); mPaint.setStyle(Paint.Style.FILL);

[android-developers] Activity versus Service threads

2010-10-29 Thread jotobjects
After starting a Service (with startService method) the Activity and the Service are running in the same thread according to Thread.currentThread(). I suppose if I start another Activity it will also be running in that same thread. So that makes me wonder if there are reasons why the Activity

[android-developers] Re: Custom GridView with ArrayAdapter out of sync with backing data

2010-10-29 Thread Streets Of Boston
You're welcome. :-) Have a great weekend. On Oct 29, 3:50 pm, stanchat stanc...@tccons.com wrote: Awesome!  This worked like a charm. On Oct 28, 2:54 pm, Streets Of Boston flyingdutc...@gmail.com wrote: When you create a brand-new convertView (v) in your getView(...) method (within the

[android-developers] Setting File Permissions

2010-10-29 Thread John Gaby
If I have a File object which points to a non-existent directory (which is within my apps 'app_data' space), I can call file.mkdir() or file.mkdirs() to create the directories. However, if I do this, the directories seem to be created with permissions set for access only by the owner (i.e.

  1   2   >