[android-developers] Re: onclick event works even on top of the another view

2009-06-05 Thread Sujay Krishna Suresh
I'll advice u to make use of viewgroups... i think then u'll be able to differentiate between between the listeners of the two views... but i'm not sure... if it works out do lemme no... On Fri, Jun 5, 2009 at 11:21 AM, quill quill...@163.com wrote: Hi Jyotiranjan, you can override the bottom

[android-developers] Re: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-05 Thread Sujay Krishna Suresh
is it workin dude??? On Thu, Jun 4, 2009 at 9:17 PM, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: dude, try this: Notification n=new Notification(); n.setLatestEventInfo(context, contentTitle, contentText, contentIntent); the contentIntent is the target intent tha'll b

[android-developers] Tut (SDK 1.5) Get google account of user

2009-06-05 Thread Sujay Krishna Suresh
hi guys i finally got a simple method to get the google accounts in SDK 1.5... i'm attaching the code for everyone who needs this piece of code... This piece of code prints all methods in the class invokes the static method getAccount... try { for (Method ele :

[android-developers] Re: confused about trial version of applications for ADC 2

2009-06-05 Thread gjs
Hi there, For (1) the ADC2 Terms and Conditions will hopefully address this. You also could mention in an about dialog or whatever that this version is intended for ADC2 judging and evaluation/trial purposes only and that other paid/evaluation version(s) will be made available after ADC2 has

[android-developers] Re: how to create a pop up window?

2009-06-05 Thread quanghuytruongdinh
Create a class, for example: IconfiedTextListAdapter extends BaseAdapter: @Override public View getView(int position, View convertView, ViewGroup parent) { IconfiedTextView itv; if(convertView == null){ itv = new

[android-developers] Re: Resources.openRawResource issue

2009-06-05 Thread Sam
hi, i have got the answer to this problem if anybody facing the same problem can refer the code as follows .. InputStream ins = getResources().openRawResource(R.raw.my_db_file); int size = ins.available(); // Read the entire resource into a local byte buffer. byte[] buffer = new

[android-developers] how to handle HTTP/1.1 416 Requested Range Not Satisfiable

2009-06-05 Thread manoj
Hi friends, I have written some app which connects to server and fetches some data. Here is the response I am getting. HTTP/1.1 416 Requested Range Not Satisfiable Content-Type: text/html Content-Length: 0 Expires: Fri, 05 Jun 2009 07:29:49 GMT Cache-Control: max-age=0, no-cache, no-store

[android-developers] Re: 1244113800000l results in 2 different dates?

2009-06-05 Thread twan
Hi Jeff, I think your python also does something wrong ;) From a normal plain old java application: public class TestApp { public static void main(String[] args) { System.out.println(new SimpleDateFormat(HH:mm).format(new Date (124411380l))); } } Results

[android-developers] Re: Connect laptop built-in gps receiver to emulator

2009-06-05 Thread Lex
Made it work, thanks David. On Vista, when you enable GPS reception in the Dell Control Point, click on View network status details. It will show you the (serial) port where the GPS data is flowing to. In a console, enter emulator - avd avd_name -gps COMport_number. This will start the emulator

[android-developers] Re: IME options behavior is inconsistent across different devices

2009-06-05 Thread matthias
I raised a bug report: http://code.google.com/p/android/issues/detail?id=2882 --~--~-~--~~~---~--~~ 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] How is WebView implemented under the hood

2009-06-05 Thread Daniel Dreiberg
Hi, I have a question about how is WebView implemented? Does each WebView spawn an instance of WebKit engine? what if I have multiple WebView, does each of them is 1 WebKit engine? or each of them is a tab of a Webkit engine? And when i delete my WebView, does it bring down the webkit engine? And

[android-developers] Android netbook camera (webcam) selection?

2009-06-05 Thread blindfold
With the upcoming dual-boot netbooks with Windows and Android, http://www.digitimes.com/news/a20090604PD215.html how can one select an external USB webcam while in Android OS mode? Currently Android still lacks a camera selection API. Thanks

[android-developers] Re: ListView OnItemClickListener no callback

2009-06-05 Thread Tom
Hi, Maybe my question wasn't clear 'cause I see in Android some item's selectable and focusable wich contains checkbox. Indeed, for instance, in Settings Wireless controls. Wi-fi, Bluetooth and Airplane Mode items contain each a checkbox and they are selectable and focusable. I will look for a

[android-developers] opengl MultiThread textureMap

2009-06-05 Thread xiaofeng
I am a frashman to learn opengl ,for developing the performance of drawing with opengl,i need a example of textureMap in MultiThread .I am glad to receive your message. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] MapView balloon box, is it possible??

2009-06-05 Thread k_zoltan
Hi, I want to build an ap based on the Google Map API's MapView Everyting works fine but I cant find a control thing I saw this example, and I'm wondering, isn't this possible somehow in the Android MapView too. http://code.google.com/apis/maps/documentation/examples/marker-drag.html I'm

[android-developers] Re: 1.5 ant build problems

2009-06-05 Thread Zero
oh noez, seriously there should be a warning sign to not use the update script for custom ant files. it just overwrites the build file and places these setup task thingies in there :( try to copy the stuff you need from android-rules.xml On Jun 5, 2:58 am, Michael Thomas enervat...@gmail.com

[android-developers] Re: Android netbook camera (webcam) selection?

2009-06-05 Thread Zero
so we have usb host now? (hey if someone got that working, please submit patch and close the bug on the android bugtracker!) On Jun 5, 10:51 am, blindfold seeingwithso...@gmail.com wrote: With the upcoming dual-boot netbooks with Windows and Android,    

[android-developers] Re: 2D animation with User interaction

2009-06-05 Thread MrChaz
To get the accelerometer readings you'll need to implement a listener, have a look at the SensorManager. As for displaying the images you can do that either in software using a SurfaceView or openGL using a GlSurfaceView. Checking for intersections can be done when you update the positions. The

[android-developers] Excluding test files from the compiled application

2009-06-05 Thread Parakoos
Hello, I have an android app which I am starting to create some unit tests for. I am testing some classes totally uncoupled from the Android framework so I opted to use the JUnit4 library which I've added. I also added a separate source folder, 'tst', next to the default source folder, 'src'.

[android-developers] cf.locale.getCountry() (language error)

2009-06-05 Thread guruk
Hi, hope you can help I try to get the local language with : cf.locale.getCountry() usualy it works. BUT on G1 US-Version, when spanish is in prefs/local i get as responds. Now I did =spanish us=english etc. But now I hear from some german G1 Users that it starts on their G1 in Spanish?

[android-developers] Get latitude longitude of center of MapView

2009-06-05 Thread mscwd01
Hi How would one get the latitude/longitude of the point which resides in the center of a MapView? I want to obtain the lat/lon each time the user pans/moves the map. Ideally, I want to find the lat/lon of the points on the map in the bottom left and top right of the screen. Thanks for your

[android-developers] Re: MapView balloon box, is it possible??

2009-06-05 Thread mscwd01
I believe you have to create your own balloon box and draw it to the screen above the tapped marker. I am not aware of an in-built mechanism to achieve this. It shouldn't be too hard to create one though, just use a .9.png for the background etc, so the marker expands automatically to contain

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-05 Thread mscwd01
Does this code allow you to get the email address of the phones owner, used when setting up the phone? I.e. the email address of the google account tied to to the phone? On Jun 5, 7:54 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: hi guys i finally got a simple method to get the

[android-developers] Re: Get latitude longitude of center of MapView

2009-06-05 Thread Saurav Mukherjee
if u r using the google api, then jus project the point screenwidth/2,screenHeight/2 using the projection functions. if u r doin a tile download and display on screen then do the maths... ;) On Fri, Jun 5, 2009 at 5:21 PM, mscwd01 mscw...@gmail.com wrote: Hi How would one get the

[android-developers] Re: Get latitude longitude of center of MapView

2009-06-05 Thread mscwd01
Ok that sounds great but how would one do this? ;) What projection functions do you speak of? On Jun 5, 1:00 pm, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: if u r using the google api, then jus project the point screenwidth/2,screenHeight/2 using the projection functions. if u r

[android-developers] Re: Selling your apps section in Market help

2009-06-05 Thread Don
Hi Blake Did you ever find a recommended strategy for this ? I am facing the very same issues, but don't like the option of the intermediate step ? Regards Don On Feb 16, 4:21 pm, Blake B. bbuckle...@yahoo.com wrote: I'm not worried about the code migration - that's only a half-hour work

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-05 Thread Sujay Krishna Suresh
to be more specific it gives the interface that is used by other google apps to get user credentials... it also provides methods with which u can get the auth token or invalidate the token(logout)... On Fri, Jun 5, 2009 at 5:27 PM, mscwd01 mscw...@gmail.com wrote: Does this code allow you to

[android-developers] Re: Get latitude longitude of center of MapView

2009-06-05 Thread Sujay Krishna Suresh
mymap.getProjection().fromPixels(x, y) On Fri, Jun 5, 2009 at 5:33 PM, mscwd01 mscw...@gmail.com wrote: Ok that sounds great but how would one do this? ;) What projection functions do you speak of? On Jun 5, 1:00 pm, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: if u r using the

[android-developers] Re: Get latitude longitude of center of MapView

2009-06-05 Thread mscwd01
Great, thanks for the help. I'll try it later. On Jun 5, 1:07 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: mymap.getProjection().fromPixels(x, y) On Fri, Jun 5, 2009 at 5:33 PM, mscwd01 mscw...@gmail.com wrote: Ok that sounds great but how would one do this? ;) What

[android-developers] Re: Get latitude longitude of center of MapView

2009-06-05 Thread Saurav Mukherjee
so if u r usin the google map api, then u cud use the mapView.getProjection().fromPixels(x, y)... where mapView is the instance of com.google.android.maps.MapView... On Fri, Jun 5, 2009 at 5:33 PM, mscwd01 mscw...@gmail.com wrote: Ok that sounds great but how would one do this? ;) What

[android-developers] Re: how to handle hardware volume controls

2009-06-05 Thread Mark Murphy
Josh wrote: I figured out my problem. I was overriding onKeyDown. I removed the override and it works as it should. For keys you do not handle, call and return the result from super.onKeyDown(). This will allow Android to process keys you are not directly interested in, while still allowing

[android-developers] Re: 1244113800000l results in 2 different dates?

2009-06-05 Thread Mark Murphy
twan wrote: Hi Jeff, I think your python also does something wrong ;) From a normal plain old java application: public class TestApp { public static void main(String[] args) { System.out.println(new SimpleDateFormat(HH:mm).format(new Date (124411380l)));

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-05 Thread Disconnect
There are quite a few stories like this one back through the archives. The answer is oh well or try charging $10.. :( You might ask on the market support forum to see if they are more helpful directly, but.. On Wed, Jun 3, 2009 at 3:47 PM, Blake blakelapie...@gmail.com wrote: A few weeks ago

[android-developers] Re: Device Update!!!

2009-06-05 Thread Georgy
but let's put it this way, with the 1.0 API, U can't even locate a certain point on the map ? let's say locating the whitehouse, I give the proper coordinates but the map wouldn't move. is it a coding mistake? it works fine on the emulator On Jun 4, 5:18 pm, havexz bali.param...@gmail.com

[android-developers] Re: java.awt

2009-06-05 Thread Gav
Hi bratag, Did you ever get JAI working? I too got some steps into the dependency trail but lost hope. Just wondering if you managed to fix this issue and if your project is open source?! :) Gav On May 13, 9:54 pm, bra...@gmail.com peacoc...@gmail.com wrote: I have very nearly finished

[android-developers] Get Manifest versionname by Code?

2009-06-05 Thread guruk
Hi, how can i request the versionName stored in manifext.xml from within my Code? manifest.xml android:versionName=0.8.1 thanks chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Get Manifest versionname by Code?

2009-06-05 Thread Mark Murphy
guruk wrote: Hi, how can i request the versionName stored in manifext.xml from within my Code? manifest.xml android:versionName=0.8.1 http://wiki.andmob.org/faq-version-app Use PackageManager to find the PackageInfo for your app. Then it should be the versionName public field in the

[android-developers] Re: 30 Days of Android Applications

2009-06-05 Thread lucky4me
Day 03: Bonfire http://bakhtiyor.com/2009/06/bonfire/ Day 04: Froggy Tic-Tac-Toe http://bakhtiyor.com/2009/06/froggy-tic-tac-toe/ Day 05: Plumb-Bob http://bakhtiyor.com/2009/06/plumb-bob/ Thank you (all) for new application ideas. --~--~-~--~~~---~--~~ You

[android-developers] open spinner from button

2009-06-05 Thread guruk
Hi, i like to start a spinner after pressing a button. (a button, not a spinner defined in my layout) i tried: (bweeks is the button) final Spinner spinner = new Spinner(this); ArrayAdapter spinnerArrayAdapter = new ArrayAdapter(this, android.R.layout.simple_spinner_dropdown_item, new String[]

[android-developers] How to Implement the Compass function to my application?

2009-06-05 Thread Georgy
HEllo , how can I implement the Compass function having 2 geopoints (start and destination)? 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] Re: Tut (SDK 1.5) Get google account of user

2009-06-05 Thread Sujay Krishna Suresh
u need certain permissions for this which tells the user that whether the app only reads the email id or if it trys to get the auth token... so the user'll no at the time of installing the app itself... On Fri, Jun 5, 2009 at 7:12 PM, mscwd01 mscw...@gmail.com wrote: Hmm, while this could be

[android-developers] Re: What's the deal with onRetainNonConfigurationInstance()?

2009-06-05 Thread Streets Of Boston
I initially thought about the same: Using onConfigurationChanged(). However, this is only called for the configuration changes that are mentioned in the manifest file: http://developer.android.com/reference/android/app/Activity.html#onConfigurationChanged(android.content.res.Configuration) ...

[android-developers] Re: MapView balloon box, is it possible??

2009-06-05 Thread André Charles Legendre
Some tutorial at : http://www.pointgphone.com/map-application-android-sdk-15-2597 http://www.pointgphone.com/map-application-android-sdk-15-deuxieme-partie-4916 It is in french but code is Ok Andre --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: How to Implement the Compass function to my application?

2009-06-05 Thread Brian Smith
You're trying to get the distance and bearing from the start point to the end point? If so, then you don't need to work with the compass hardware... unless you later want to use it to help the user navigate to the point. The Location class (in android.location) can be used compute those two

[android-developers] Detecting when a MapView is changed (panned or zoomed)

2009-06-05 Thread mscwd01
Hi, I thought this would have an easy answer but I cant seem to find one. Does MapView have a mechanism such as an onChange listener which is fired when the MapView is either panned or zoomed? I have expermiented with onClick, motion events etc, all are not really what i'm after. I just need

[android-developers] Center Text in a AlertDialog.Builder

2009-06-05 Thread guruk
Hi how do I have to change my AlertDialogBuilder to center the Items? return new AlertDialog.Builder(preferences.this).setTitle(my titel) .setItems(daysList, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) {

[android-developers] GLSurfaceView remove problem

2009-06-05 Thread jusun...@gmail.com
I have made a Open GL program using TriangleRenderer in ApiDemos. I made a button and I want to turn off GLSurfaceView when I click a button. So firstly I addView GLSurfaceView in LinearLayout, and I removeView GLSurfaceView when I click a button. But when I removeView a GLSurfaceView, emulator

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-05 Thread Marco Nelissen
I have no knowledge of this specific case, but I think 'Streets of Boston' said it right: it's part of the cost of doing business. This is no different from having a physical store where you sell goods. You will eventually run in to disputed credit card charges, bounced checks, counterfeit money,

[android-developers] Re: How to Implement the Compass function to my application?

2009-06-05 Thread Georgy
yeah I need to bring up the compass to tell the user where EXACTLY is the destination when the user is close. thanks, On Jun 5, 10:17 am, Brian Smith avalo...@caerleon.us wrote: You're trying to get the distance and bearing from the start point to the end point?  If so, then you don't need

[android-developers] ACTION_PHONE_STATE_CHANGED working in 1.5 SDK?

2009-06-05 Thread john
I'm trying to have my program react to events such as when the phone is ringing, busy, etc. I know it's not possible to replace the Phone program, I just want to do some other stuff when the phone state changes. According to the 1.5 docs, there is a BroadcastIntent called

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-05 Thread Disconnect
Generally you have a method of fighting back (or at least investigating). And a contact somewhere. If I go to a broker and say 'I have a product here, please sell it for me' it is not my fault if the broker takes a bad card - that is on them, and the worst I lose is one of my product. This

[android-developers] Re: ACTION_PHONE_STATE_CHANGED working in 1.5 SDK?

2009-06-05 Thread Mark Murphy
john wrote: Has anyone been able to react to phone calls without registering a background service to poll the getCallState() method repeatedly? In an activity, or an unfortunately-long-running service, you can use a PhoneStateListener:

[android-developers] Re: MapView Draggable Objects

2009-06-05 Thread Patrick
You can use an ItemizedOverlay to add to the maps overlay collection. Then handle the onTouchEvent and onTap which have MotionEvent. By handling these events you can see which object in the overlay has focus or has been tapped and implement your own moving of the overlay objects (drawables with

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-05 Thread Marco Nelissen
On Fri, Jun 5, 2009 at 8:04 AM, Disconnect dc.disconn...@gmail.com wrote: Generally you have a method of fighting back (or at least investigating). And a contact somewhere. If I go to a broker and say Good luck getting anyone to investigate the shoplifting of 50 cents worth of bubblegum. I

[android-developers] update gui from a separate thread

2009-06-05 Thread jonathan
I need to display two timers on my app, I have two approaches, one is to implement the displays as TextView and then use java.util.Timer and TimerTask to update its text, however, the text doesn't redraw itself after update. The other approach is to use DigitalClock, but I can't find a way to

[android-developers] Re: update gui from a separate thread

2009-06-05 Thread Mark Murphy
jonathan wrote: I need to display two timers on my app, I have two approaches, one is to implement the displays as TextView and then use java.util.Timer and TimerTask to update its text, however, the text doesn't redraw itself after update. You can use Handler#postDelayed() or

[android-developers] How to change the state of a stateful drawable?

2009-06-05 Thread Matthias
Hi, I am trying to use that small favorite icon (the Android star icon, android:drawable/btn_star), which according to its XML definition has several distinct states in which it looks different (e.g. it's a golden filled star when checked, and a grey unfilled star when unchecked). Whenever the

[android-developers] Re: Detecting hardware capabilities

2009-06-05 Thread Brian Smith
I'm guessing I'm not the only one who's stumped by this? That's comforting. --~--~-~--~~~---~--~~ 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: ACTION_PHONE_STATE_CHANGED working in 1.5 SDK?

2009-06-05 Thread john
Thanks, I wasn't aware of PhoneStateListener. Of course, if I want my program to work consistently I need to get this Broadcast Receiver working. I've had some very bad experiences with long-running services (they tend not to run very long)! Everything in the documentation says to use Broadcast

[android-developers] Re: Excluding test files from the compiled Android app

2009-06-05 Thread Steve
I've only dabbled in the JUnit with Android 1.5 so far, but I think that if you take a look at the API Demos app you will see that they have done exactly what you suggested (move the test classes into a folder called tests). I'm not on my dev machine right now so I can't confirm but I think you

[android-developers] Re: aapt error with Standard menu icons (resource is not public)

2009-06-05 Thread Nicolas Joyard
I saw that. I just originally thought that I forgot something in my project, not that some resources weren't exported, sorry for the noise :) On Jun 5, 12:11 am, Romain Guy romain...@google.com wrote: This is a known issue that was reported to the authors of the guidelines.

[android-developers] Re: Center Text in a AlertDialog.Builder

2009-06-05 Thread Jack Ha
You can create your own adapter and do whatever formatting you need in its getView() function. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Re: Embedded activityGroup and Dialog box

2009-06-05 Thread Taísa Cristina
I have a similar problem... Any answer? On Tue, Apr 14, 2009 at 4:24 PM, Arnaudweb arnaud...@gmail.com wrote: Hello, I'm trying to run an activityGroup embedded inside another activityGroup. (Example : an activityGroup inside a tabActivity) This seems to display properly but throw an

[android-developers] Re: ListView OnItemClickListener no callback

2009-06-05 Thread Romain Guy
These items are not selectable and focusable, these are just lists that use ListView's choice mode. Like I already told you. On Fri, Jun 5, 2009 at 2:03 AM, Tomthomas.coz...@gmail.com wrote: Hi, Maybe my question wasn't clear 'cause I see in Android some item's selectable and focusable wich

[android-developers] how to load private font to widget from a remote view or from xml declaration - HELP

2009-06-05 Thread RTX
please if anyone knows how to set an asset font from a remoteview i have a few widgets on the market that the languages in them are not suported by OS yet for now i can give the option to use those widget only to those who knows how to install the freamwork i realy want to let everybody use

[android-developers] Dialogs and SubMenus in ActivityGroup

2009-06-05 Thread skyman
Hello I have 6 options to put in options Menu, but 3 of them are not so mportant and i want to hide them in submenu. All of my Activities are started from one ActivityGroup which creates Menu on MENU button press. Problem is that when I open SubMenu or Dialog (which is created and displayed by

[android-developers] Re: how to load private font to widget from a remote view or from xml declaration - HELP

2009-06-05 Thread Mark Murphy
RTX wrote: please if anyone knows how to set an asset font from a remoteview Quoting Jeff Sharkey: Because widgets live in other processes, they can only use system typefaces, and not additional fonts that might be internal to your package. One way around this would be to render your font

[android-developers] How to save the screen to a file?

2009-06-05 Thread Kerr
Hi,All, I am thinking about the Android OS principle, and do much examples to verify that. One question excuse me much days, and I have tried many ways, that is HOW TO SAVE THE SCREEN? And I got some viewpoint. 1, For a Window, it has no right to draw its child view's canvas. So, in our

[android-developers] AMR encoding uses 8hz sampling rate?

2009-06-05 Thread Juzzam
According to wikipedia, the AMR encoding which is the only option we see for the MediaRecorder API uses a Sampling frequency of 8 kHz/13- bit We are writing a voice recognition application. We have an equivalent app on the iphone which we have found performs best with a sampling rate of 22hz or

[android-developers] Socket timeout not working?

2009-06-05 Thread Monkiki
In the sample code, a SocketTimeoutException should be thrown if the connection can't be stablished in a second, isn't it? try { s = new Socket(host, port); s.setSoTimeout(1000); if (s.isConnected())

[android-developers] How to cut off a long string in TextView

2009-06-05 Thread Tao
Hi All, Maybe it is a simple problem for some of you. But how do you automatically cut off long strings and add ... to the right end in TextViews, like Activity title does? Sorry for posting twice coz I didn't see my previous post in the list

[android-developers] Augmented Ajax Notifications

2009-06-05 Thread jtaylor
Can augmented ajax use Notifications? Is this Android 2.0? - Juan --~--~-~--~~~---~--~~ 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] Message priorities

2009-06-05 Thread kavya hn
Hi Everyone, I was searching for the priority implementation in Messaging. I didn't find any code to show the priority of say SMS( For ex: urgent SMS or high priority SMS). Anyone knows whether this feature exists in Android... Or is there any plan to add show the message priority in the

[android-developers] how to change android default language?

2009-06-05 Thread sunnychu
Is there a configuration file, when change the default locale, my mobile or emulator will be the language when booting up ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] screen not powering back up after enabling the gpu when in cupcake

2009-06-05 Thread mssmison
after enabling the gpu the screen will not power back up after sleep. This only occurs in cupcake builds, 1.1 builds work fine. Are there changes required to support sleep in cupcake? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] findViewById returns null MapView when following maps tutorial

2009-06-05 Thread Daniel
I'm following this tutorial here: http://developer.android.com/guide/tutorials/views/hello-mapview.html and am on point 11 Here's the res/layout/main.xml: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/mainlayout

[android-developers] Why the intent from Gallery has not picture`s Uri

2009-06-05 Thread 楊健
Hi everybody. I tried to handle a picture from Gallery as SDK said: When the user chooses Share from the menus, the system compares the Share request (an Intent object) to available activities (by looking at their intent filters) and displays choices to share. In this case, it matches Email,

[android-developers] Color Spinner list items

2009-06-05 Thread JP
Hi guys, I am trying to change the text color of the spinner list items individually. I would like to be able to color the top three texts black and then the bottom four grey. This way the last items look disabled, but I still want to be able to capture the event when they are chosen. I

[android-developers] Re: Missing MapPoint in 1.5r2?

2009-06-05 Thread Daniel
I am getting this error as well. Has there been a solution? On Jun 1, 6:22 pm, Mark Murphy mmur...@commonsware.com wrote: Raphael wrote: Thanks Mark, I'll have a look. Thanks! If you think of it, keep me posted! -- Mark Murphy (a Commons

[android-developers] Re: Hide the virtual keyboard

2009-06-05 Thread Lexxuz
Have been struggling with the same problem. Solved by a combination of methods suggested above. I set the input type for my editor to NULL only for the time of processing the touch event. Like this - MyEditor.setOnTouchListener(new OnTouchListener(){ @Override public boolean onTouch(View

[android-developers] Augmented Ajax Notifications

2009-06-05 Thread jtaylor
Can augmented ajax work with Notifications? Is this Android 2.0? - Juan --~--~-~--~~~---~--~~ 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] Color Spinner list items

2009-06-05 Thread JP
Hi guys, I am trying to change the text color of the spinner list items individually. I would like to be able to color the top three texts black and then the bottom four grey. This way the last items look disabled, but I still want to be able to capture the event when they are chosen. I

[android-developers] How to write .jpg/.png file to gallery in Android

2009-06-05 Thread Pump
I've developed an Android App. that takes a picture and save it on gallery. The problem is that I don't know how to write a Bitmap/byte[] data which I get from taking pic. to the gallery in .jpg/.png format Anyone Please Help Me THX for your helps Regard

[android-developers] How to write .jpg/.png file to gallery in Android

2009-06-05 Thread Pump
I've developed an app. taking picture and save on the gallery. The problem is I don't know how to save it to gallery in .jpg/.png format Anyone please help me . THX regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Anyone know how to build the gsptest?

2009-06-05 Thread Huang Hake-B20222
Hi, Does anyone can tell me how to make hardware/libhardware_legacy/tests/gpstest Thanks in advance. Regards, Hake --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Question about using TextView

2009-06-05 Thread Tao
Hi all, I just have a question which may be very simple to some of you. How can I make a TextView cut off long strings automatically? I noticed that Activity title can do that: from abcdefgh to abc... --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: VerifyError with Maps Add-ons

2009-06-05 Thread Alex
This happens on the device too and is kind of a show stopper. So there is really no workaround for this? I guess we are to assume that having both a widget and a MapActivity is not fully supported under 1.5, which is a shame. -Alex --~--~-~--~~~---~--~~ You

[android-developers] TextView Link to Android Settings

2009-06-05 Thread Greg B.
I am working on an android health check application - this application has a text view for displaying status - within that text view I would like the use to have the ability to take action to correct a problem. To do think I would like to use links in the text view. The problem I am having is

[android-developers] Android Developer Challenge

2009-06-05 Thread krg85
Hello Everyone, I am a Master's student at USC and am interested in participating in ADC2. Last semester my team developed an application for Android phone and we wish to submit it for ADC2. However we have submitted a paper related to the our concept to one of

[android-developers] Post Only Twitter client -- POT alpha release.

2009-06-05 Thread kabayan
Hi all, I made small app for twitter. That name is 'POT'(Post Only Twitter client). It support SHARE intent, so you can use POT from any app like browser. Still in alpha, so there must be bug :-) You can download from http://flipflaps.us. Question and comment : http://twitter.com/kabayan.

[android-developers] Re: Missing MapPoint in 1.5r2?

2009-06-05 Thread Mark Murphy
Daniel wrote: I am getting this error as well. Has there been a solution? There's a workaround that has worked for me: Fortunately, using the Google Maps JAR file from Android 1.5r1 seems to work. To fix up your SDK this way, do the following: 1. Visit

[android-developers] Re: Question about using TextView

2009-06-05 Thread Mark Murphy
Tao wrote: Hi all, I just have a question which may be very simple to some of you. How can I make a TextView cut off long strings automatically? I noticed that Activity title can do that: from abcdefgh to abc... Use android:ellipsize

[android-developers] Re: Color Spinner list items

2009-06-05 Thread Mark Murphy
JP wrote: Hi guys, I am trying to change the text color of the spinner list items individually. I would like to be able to color the top three texts black and then the bottom four grey. This way the last items look disabled, but I still want to be able to capture the event when they are

[android-developers] Does Android support API to find out whether the SIM Card inserted is SIM or USIM ?

2009-06-05 Thread Android Techies
Hello, Is there a way in Android FW (API, field etc) which will tell whether the SIM card inserted is a 2G or 3G (USIM). I need to read certain records from SIM and 2G spec and 3G spec has different file structure for the same file. --~--~-~--~~~---~--~~ You

[android-developers] Still searching for HOME screen, and more question about ActivityManager

2009-06-05 Thread sherry
I've asked how to detect home screen before. I'm still searching... I noticed when I press home button on Android emulator, I got this statement in catlog: INFO/ActivityManager(584): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.HOME}

[android-developers] Re: PNG 24 with Gradient not showing correctly

2009-06-05 Thread Romain Guy
That's normal. Most phones have a 16 bits (or close) display. Your gradient is converted to the 565 format. To improve its appearance you can either turn on dithering on the Paint or pre-dither your image in Photoshop, etc. On Fri, Jun 5, 2009 at 11:14 AM,

[android-developers] Re: Question about using TextView

2009-06-05 Thread Tao
gotcha, thx :) On Jun 5, 1:27 pm, Mark Murphy mmur...@commonsware.com wrote: Tao wrote: Hi all, I just have a question which may be very simple to some of you. How can I make a TextView cut off long strings automatically? I noticed that Activity title can do that: from abcdefgh to

[android-developers] Re: Enhanced Sensor API

2009-06-05 Thread RickB
Anyone? On Jun 2, 9:18 pm, RickB rick.bullo...@comcast.net wrote: I had a discussion with a few of the Android team member at Google IO, and I'd like to throw the idea out here for general brainstorming with the community. My view is that it is not a good approach to create sensor-specific

[android-developers] Re: PNG 24 with Gradient not showing correctly

2009-06-05 Thread daniel.benedykt
Thanks Romain, I will try this. I watched your Google IO video. Its great. Lots of good tips :) Thanks Again Daniel On Jun 5, 3:22 pm, Romain Guy romain...@google.com wrote: That's normal. Most phones have a 16 bits (or close) display. Your gradient is converted to the 565 format. To improve

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-05 Thread intbt
I don't entirely agree with Google needs to make a profit to handle these situations. They take 30% to handle e-commerce, advertise, distribute, display, etc. If you sold a game to Game Crazy (or similar game vendor) they pay you a wholesale price and then re-sell the game. 30% is probably less

  1   2   >