[android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-30 Thread Alger Lin
I release a tool to help developer to dump API from Android device. This tool may help you to check if class, method, or field existed at target device. You can get it from Google Play by URL below. http://market.android.com/details?id=com.twrd.yulin.classminer -- You received this message

[android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-30 Thread hüseyin toplu
i found my problem problem have server code tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE, MY_UUID_SECURE); } else { tmp = mAdapter.listenUsingRfcommWithServiceRecord( NAME_INSECURE, MY_UUID_INSECURE);

[android-developers] Cut function in android

2012-04-30 Thread Siddharth Chopra
hii, I want to built an application in android such that on existing image, i can able to draw cut operation and move that part on existing image same as we have in paint as free form selection function in that we can perform cut operation on existing image same as i want to built in android.

[android-developers] Re: Is there any way to simulate reverse Portrait with api level 8?

2012-04-30 Thread nguillot
Anyone have an idea? On 24 avr, 10:58, nguillot nguil...@ippon.fr wrote: Hello, My constraints are: *portraitorientation for my activities * min sdk =  APIlevel8. So according tohttp://developer.android.com/guide/topics/manifest/activity-element.html I use portrait for

[android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-30 Thread gjs
Hi, Build bluetooth chat demo app from sdk try connecting with that. Regards On Apr 30, 4:43 pm, hüseyin toplu hsy...@gmail.com wrote: i found my problem problem  have server code   tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE,                     MY_UUID_SECURE);          

[android-developers] Run two applications and split the screen in two parts

2012-04-30 Thread Anurag Pratap Singh
I am making an application in which the screen will be splitted in two parts and both the screens will be using different medias: one for camera using Camera HAL and other will be playing a Video file using StageFright. I need help in playing the Video file and how to handle the threds for both

[android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-30 Thread hüseyin toplu
i checked it but its peer to peer connection but i wanna just send a file to any device this device will not have my application it will just took the file On Apr 30, 10:51 am, gjs garyjamessi...@gmail.com wrote: Hi, Build bluetooth chat demo app from sdk try connecting with that. Regards

Re: [android-developers] Reading ROM version through code

2012-04-30 Thread JP
And as we all know... the trees do not grow into the sky ;-) This morning, I tried this with a few Sony Ericsson phones I had at the office. And they do not return anything when I try to get the ro.product.version property. I still get the ro.build.fingerprint, but nothing else. Does anyone

[android-developers] LogCat Message...

2012-04-30 Thread monkey
Application com.db DEBUG 04-30 16:47:46.864: E/DEBUG(15481): ActivityRecord{4051d280 token=android.os.BinderProxy@4051ce18 {com.db/com.db.DbTestActivity}}: app=android.app.Application@40520868, appName=com.db, pkg=com.db, comp={com.db/com.db.DbTestActivity}, dir=/data/app/com.db-2.apk

[android-developers] how to lock the phone at landscape mode?

2012-04-30 Thread Nguyễn Minh Bình
Hi. I am using Rotation Locker to lock my phone at any orientation I want. It work so great. Then, i really want to build an my own demo like that. I just lock the phone at portrait orientation only. I have make vary searching on the web but i can't find any solution. Somebody tell me how to lock

[android-developers] Android and Elcipse create new project error: SDK not installed and missing a file.

2012-04-30 Thread Rich
I'm having a problem creating a new Android project in Eclipse. I have installed Eclipse, ADT 18.0.0 and the latest SDK 19 but I get an error when I try and create a new project. I'm able to select an Android project type but when I get it a name I get the error that I don't have the latest SDK

[android-developers] algorithm data synchronization (SQLite to Online Database)

2012-04-30 Thread Thiago Ventura
I am making a app that need synchronize data with a online server. What do the best way to make? I thought at create a database local (SQLite) that will synchronize with a online database server with structure equals. Would be best online XML or online database? Other question is if exists any

[android-developers] help

2012-04-30 Thread Folau Kaveinga
how can you use array as in java in android? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Smsmanager not working in native extension ?

2012-04-30 Thread chua
Dear all developer, Appreciate someone can help me on my code here. I am building an apps in flash builder and try to call the native extension sending sms on background without user interaction. Besides that, inside the native function , i also added notification by using notification manager

[android-developers] L2ping

2012-04-30 Thread ion apollo
Hi All I am looking for l2ping utility on Nexus S Currently I see l2ping not found on shell. Thanks Shaishav -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] value of EditText duplicated in ListView

2012-04-30 Thread 尹俊
at the same time you call notifyDataSetChanged(),you should update you inputdate in dateresource of listview 2012/4/28 Justin Anderson magouyaw...@gmail.com After you edit the text in the textview you need to update your adapter with the new information, and then call notifyDataSetChanged().

[android-developers] Saving files (pdf/doc) to /data/data(appname)/files folder from Assets

2012-04-30 Thread Kris G
I have pdf files and other documents stored in the assets folder of my workspace. I want them transfered to the /data/data/(packagename)/ files directory as soon as the app is installed or on first run. I wrote, with help, a section of code that is supposed to do that. But when running nothing

[android-developers] porting webapplication on android platform

2012-04-30 Thread karunakar medamoni
hello every one. This is karunakar working as a senior programmer and new to android platform.i have developed one webapplication using perl and cgi. now am trun to port my webapplication to android platform. am totally new to android. can any give the suggestion how can i achieve this. the

[android-developers] question about activity cycle recreated in 4.0

2012-04-30 Thread eijie
In android 2.2, my program code build act1, and act1 can switch to act2 with act1 not finished, so while act2 finished, it would go back to act1. but in android 4.0(and later), while act2 finished, it go back to act1, but act1 is recreated.(not the one switch to act2) anyone knows trick? Thanks

[android-developers] about keyevent

2012-04-30 Thread Yorke
Dear Sirs, I want to catch the keyevent which didn't receive by other receiver(activities) to do its functional purpose, I mean if some keyevents didn't be used to do its corresponding actions, how can I modify the framework to capture this event to do the same works? is it possible modify the

[android-developers] Color Banding solved

2012-04-30 Thread Diljeet Kumawat
Color Banding Solved ooyyyeaa I solved color banding in two phases 1) * when we use the BitmapFactory to decode resources it decodes the resource in RGB565 which shows color banding, instead of using ARGB_, so i used BitmapFactory.Options for setting the decode options to

Re: [android-developers] Forced Close for Googles Notepad Exercise 2

2012-04-30 Thread Naseem Rafique
Did you made changes in AndroidManifest.XML. See Step-11 in the link you referred to. On Mon, Apr 30, 2012 at 2:32 AM, Marcus Maximus marcus.pres...@gmail.comwrote: Hey guys, i am doing that http://developer.android.com/resources/tutorials/notepad/notepad-ex2.html. But when I want to run

[android-developers] Android_custom keyboard

2012-04-30 Thread mithun vijayan
Hi all Now i am doing a custom keyboard project, for me i want to display the different imaged for different keys in my android custom keyboard, for this puspose me used the android:keyIcon in my xml by doing this the images are appearing as the background, but when the orientation changes the

[android-developers] Images in a list..

2012-04-30 Thread alv
I have a ListActivity with my own ListView class and Adapter to add data to the list.. I also have a unique rowitem latyout that defines a TextView and 2 ImageView items: LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=wrap_content

[android-developers] Android_customkeyboard

2012-04-30 Thread mithun vijayan
Hi all, i am doing custom keyboard project, i need to implement the different images for different keys in my custom keyboard, for this purpose me used android:keyicon while adding this attribute to my xml the image is taking as icon for each keys but when the orientation changes the images are

[android-developers] When does the binder thread pool shrink?

2012-04-30 Thread Michael Hsueh
I am reading through the binder code and trying to understand how the threading works. I know that the binder driver sends commands to increase the thread pool size when it detects that there is no free binder thread to service a command (up to the max of 16 threads). But I am not sure when these

[android-developers] Why installation or updation of android development kit directly in Internet is too slow ?

2012-04-30 Thread Padeeprajkumar
Hi, I'm using Android SDK manager 4.03 in fedora 15. I have an internet connection of minimum speed of 32 kilo bytes per second, but still it downloads the updates at the rate of just 3 to 4 kilo bytes per second. Installation and updation of the SDK tools in android sdk manager is too slow. Seems

[android-developers] Re: get notification tone uri

2012-04-30 Thread KRISHNAKANT DALAL
I think this link would be helpful for you http://stackoverflow.com/questions/2724871/how-to-bring-up-list-of-available-notification-sounds-on-android On Saturday, April 28, 2012 4:44:04 AM UTC-7, Amit Mangal wrote: HI there, is the any way to get notification tones uri. and after getting

[android-developers] Ice Cream Sandwich Camera Editing Tool

2012-04-30 Thread Sumit
I got my xperia neo v upgraded to ics yesterday. after upgrading my camera had editing tools like crop,flip,straighten,etc. bBut suddenly today i noticed these editing tools are gone,eventhough my os is android 4.0.3. Plz help. -- You received this message because you are subscribed to the

[android-developers] Fitting image to a screen

2012-04-30 Thread Mohamed ElSanousi
Hi!! I'm trying to load a picture from the gallery and display, everything works fine except that the returned image is stretched and doesn't fit the mobile screen size? I need help, thanks alot :) -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Android SDK and Eclipse Error You don't have the latest SDK installed

2012-04-30 Thread Rich
Hello, I'm having a problem creating a new Android project in Eclipse. I have installed Eclipse, ADT 18.0.0 and the latest SDK 19 but I get an error when I try and create a new project. I'm able to select an Android project type but when I get it a name I get the error that I don't have the

[android-developers] Android wifi p2p unsupported (wifidirect)

2012-04-30 Thread Ododo
Hello, i'm using the protocol for making p2p connection using wifi in android (http://developer.android.com/reference/android/net/wifi/p2p/package- summary.html) I have a problem calling the discoverPeers() function : ActionListener.onFailure(int reason) is called (its an interface to trigger

[android-developers] Google Play statistics

2012-04-30 Thread ofirbrill
Hi I've uploaded an app to Google play and I know for sure there has been few downloads but I can't see it in the developers console. What is the reason? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: How to bring an overlay to the front?

2012-04-30 Thread Alex Browne
You can easily remove an overlay from your overlay list. First you must have a MapView and obviously an Overlay. private MapView map=null; Overlay MyOverlay = new Overlay(); Then you can choose between removing the overlay referencin the object name (overlay name) o with its index

[android-developers] Layouts - Using Remaining Space For Intermediate View

2012-04-30 Thread JTeagle
I'm using RelativeLayout to create rows of controls and would like to achieve the following: Widget 1 - natural height Custom view - remaining space after Widgets 1 and 3 Widget 3 - natural height If I add the view in the correct order and use FILL_PARENT, it uses the

[android-developers] REST error IOException

2012-04-30 Thread Paulo Fernandes
Hello I'm trying to post some information for my rest webservice. HttpPost postMethod = new HttpPost(URL); ListNameValuePair nameValuePairs = new ArrayListNameValuePair(); nameValuePairs.add(new BasicNameValuePair(username,your user name)); nameValuePairs.add(new

[android-developers] Stop sounds after leaving app

2012-04-30 Thread Anderson Leite
I am developing a game. This game starts a sound in the beginning and goes on during all the game. If I press Home button, and go to any area of android, the sound keeps playing, until I really force the app to stop. Whats the best aproach here ? There is some callback/listener, something

[android-developers] accessing contact image

2012-04-30 Thread ibrahim
Hey all, I'm developing an application that requires accessing the cantacts stored on the device then accesing their picture Thanks all, -- 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] Adding in-app products. Any limitations?

2012-04-30 Thread K2 Internet
*Hi!* *I have a problem with batch import of a CSV file with my products, that I'd like to sell using in-app billing.* *The documentation claimes it's possible, I have prepared a correct file and...* 1. I have created CSV file with over 2.000 products 2. It has been processed, but only some 150

[android-developers] getting the sim phone number

2012-04-30 Thread ibrahim
Hey all, I new to the Android SDK. I'm working on an application that requires the sim phone number Is there anyway to get the phone number of the SIM card, instead of sending a verification sms Thanks all... -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Not allowed to start service Intent X without permission Y

2012-04-30 Thread li3ro
Hi, I have a problem I can't solve: 04-25 14:16:30.931: E/AndroidRuntime(6638): FATAL EXCEPTION: main 04-25 14:16:30.931: E/AndroidRuntime(6638): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity

[android-developers] Canvas performance for games

2012-04-30 Thread Tony Houghton
I'm new to Android and Java, learning by porting a game I wrote years ago http://bombz.sourceforge.net. Based on the book Beginning Android Games by Mario Zechner, I'm using the technique of creating a fixed size android.graphics.Bitmap (640x480) in RGB_565 format, rendering the game tile by tile

Re: [android-developers] Google I/O device in reboot loop.

2012-04-30 Thread Karl Pohl
This seems to be a common problem .the first thing you can try - and this works sometimes - when the tablet is shutdown hold the power button and volume button together down when reboot and this will reset the tablet. Next thing - call samsung they will give you a return label and you should have

[android-developers] Beep at particular period

2012-04-30 Thread Alok
Hi All, I wanted to implement some kind of Notification (like beep, vibration) for my app user. When i searched the net i found they implement it with timer but when i tried using it got error since i am already using timer for getting the tasks from server. Can any one help with simple code

[android-developers] noob question

2012-04-30 Thread jer
I am new to android programming using eclise. The book I am using is Android 3 sdk for dummies programming and the project is the tic tac toe one. The problem is that no tic tac toe graphic loads only a string of where a tic tac toe game is supposed to load. Is anyone familiar eough with this

[android-developers] Textpaint vs textview : Text coming blurry with textpaint

2012-04-30 Thread CC
Hi, I am not sure if this topic has been covered before since I was unable to find it in search. I am using the following code to populate text on screen. But the text is coming blurred instead of crisp (as it comes with textview). What else do I need to do?

[android-developers] which webservice to get Images?

2012-04-30 Thread Rushyang Darji
Hey guys, I want to develop Wallpaper application for android. It is obvious that I will need a webservice integration in my app. My budget is thin, so can't afford to buy host/set up server etc. I need some start up tips/links/anything about on which public image hosting site should I upload

[android-developers] Re: Custom Content Provider and Multiple Tables

2012-04-30 Thread kumara vel
hi..i am using sync adapter in my application with one provider now..can i make another provider?can i sync two provider at a time?..plz help me..all example is using only one provider for sync operation can i possible to use two provider for sync? On Tuesday, August 26, 2008 12:34:21 AM

[android-developers] HTTP internet connection

2012-04-30 Thread Atul
Hi, I have an app which talks to an external http server hosted on a data center. The app is working fine with Emulator under Eclipse on laptop connected through wifi to ISP's router. However when I create a signed app and download to an ICS tablet, the application goes upto http getconnection and

[android-developers] algorithm data synchronization (SQLite to Online Database)

2012-04-30 Thread Thiago Ventura
I am making a app that need synchronize data with a online server. What do the best way to make? I thought at create a database local (SQLite) that will synchronize with a online database server with structure equals. Would be best online XML or online database? Other question is if exists any

[android-developers] Android permission denial : when using content provider within the same application that host the content provider

2012-04-30 Thread Romain
Hello, I have a very strange bug with my content provider, and I don't know why. I have 2 applications, 1 : it is for having an UI to change parameters and it's hosting the content provider with all the parameters 2 : it is display some text and it's using the parameters stored in the

[android-developers] inserting an image into a remote mysql DB

2012-04-30 Thread ibrahim
Hey all, Need help in inserting an image into a mysql database from android. Anyone could point me to a useful link or source code appreciated. 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] Offering new android features

2012-04-30 Thread Nir Cohen
jeez, somehow I couldn't find how to offer new android features to Google. Any ideas how to do that? thx. -- 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] Re: Android Gallery with Remote Image and Cachings

2012-04-30 Thread Remi HEENS
Can you post your code ? I'm trying to do a gallery with remote images. Thx a lot. On Wednesday, January 5, 2011 11:44:44 PM UTC+1, ankur wrote: Hi All, I am looking forward to create a Gallery which loads remote images. I am able to create the gallery, but it always downloads the images

[android-developers] changing boot logo

2012-04-30 Thread Umesh Gupta
Please let me know how can I change boot logo in Android 2.2. Thanks ug -- 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

Re: [android-developers] sdk version

2012-04-30 Thread Rushyang Darji
It depends what kind of APIs you have used in your application. First you'll have to test that app on different AVDs and then real devices. Finally you'll have to specify SDKVersions in Manifest. http://developer.android.com/guide/topics/manifest/uses-sdk-element.html regards, Rushyang Darji

Re: [android-developers] How to force quit a Thread

2012-04-30 Thread Naseem Rafique
Try the following line. This might help you. dataThread.join(); On Mon, Apr 30, 2012 at 9:04 AM, Matt Clark mrclark32...@gmail.com wrote: I am creating an app that sends various HTTP requests in seperate threads, while doing so brings up a loading screen. If the network request is taking

[android-developers] Push Email

2012-04-30 Thread Zanzizi
Hi there, A quick, hopefully simple, question. Does Android support Push Email? Cheers, Zanzizi -- 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

[android-developers] Question regarding Keystore and Developer Console

2012-04-30 Thread TullyK
I recently published an app to Google Play which I now want to update. When I try to export the new apk from Eclipse it says 'Invalid keystore format' It seems like my original apk file has overwritten the keystore! Normally it puts .apk at the end of the file name but this time it did not, and as

[android-developers] Re: how to detect difference between 5 and 7 inch screen

2012-04-30 Thread JTeagle
How can i detect the difference between 5 and 7 inch screen. Would the DisplayMetrics class (using a combination of xdpi and widthPixels, for example) give you what you need? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] How to force quit a Thread

2012-04-30 Thread Kamran Shamim
Thank you , Kristopher. That is an interesting read. This is an interesting discussion as it addresses a (probably) common situation. My penny's worth: Would it not be better to run the connection through a service, rather than a thread? I have a feeling that this would be easier to manage in

[android-developers] Native Maps Api - zoom to geocode returned viewport

2012-04-30 Thread Simon Giddings
This is a question I asked on Stackoverflow for which I got no answer. When I make a query to the Google Maps Api Geocode web service, the answer comes back with a number of elements : - Coordinates lat / lng - Viewport NE and SW - others The viewport is that which contains

[android-developers] Re: Getting a list of Market-downloaded apps

2012-04-30 Thread Geva Tal
Hello UBZack, Although it has been little over two years since you posted your question, I thought maybe by chance you still remember how you tackled this one, since I encountered the exact same challange in my project. Thanks a lot, Geva Tal. On Thursday, February 4, 2010 12:54:41 AM UTC+2,

[android-developers] reading file from SDcard

2012-04-30 Thread Rohit
While reading file from sd card it throws /sdcard/test.txt (Permission Denied) exception I am using following code to read file and I also set following permission in manifest.xml user-permission android:name=android.permission.READ_EXTERNAL_STORAGE / File

[android-developers] How to send vCard via SMS?

2012-04-30 Thread SamuelSpring
I'm looking for any way to send/read a vCard via SMS in my app. I've read a lot of articles, web-pages, forums etc. There is still not even a clue how to do that. Here is transaction. 1. User selects some specific contact 2. App generates a vCard for it 3. User types a number to send vCard to 4.

[android-developers] Documentation for android.R stuffs

2012-04-30 Thread Vic Simkus
Hello I'm trying to get into Android development and am quite a bit confused about the android.R constants. I see them being used in the examples and tutorials but nothing is ever said about what these constants are, where they came from and how they relate to the rest of the world. For

[android-developers] Android wifi p2p unsupported (wifidirect)

2012-04-30 Thread Ododo
Hello, i'm using the protocol for making p2p connection using wifi in android (http://developer.android.com/reference/android/net/wifi/p2p/package-summary.html) I have a problem calling the *discoverPeers()* function : ActionListener.onFailure(int reason) is called (its an interface to

[android-developers] getting information from my own server

2012-04-30 Thread ka chun
Firstly, thx for help. I'm new to developing an app, i would like to hav a app that can get only some word strings from the internet(my own server), but not using a web view and then browsing a whole web page. i mean that similar to what a newspaper app does, getting words from the server, showing

[android-developers] R.java not generated

2012-04-30 Thread Chris
Hi there, i'm a newbie. for some reason last time I created a project, the R.java file failed to be generated. it had always worked fine before. I'm really clueless regarding what to do. if I import R or click ''fix project' another error appears as it now fails to locate main.xml. Can anyone

Re: [android-developers] Documentation for android.R stuffs

2012-04-30 Thread Naseem Rafique
Read this. http://developer.android.com/guide/topics/resources/accessing-resources.html On Mon, Apr 30, 2012 at 3:15 AM, Vic Simkus vic.sim...@gmail.com wrote: Hello I'm trying to get into Android development and am quite a bit confused about the android.R constants. I see them being used

Re: [android-developers] Documentation for android.R stuffs

2012-04-30 Thread Mark Murphy
On Sun, Apr 29, 2012 at 6:15 PM, Vic Simkus vic.sim...@gmail.com wrote: What is simple_spinner_dropdown_item item? It is a layout, provided by Android in the firmware. A copy of that layout can be found in your SDK. Why does an adapter of any kind care about views? Because that is the

Re: [android-developers] reading file from SDcard

2012-04-30 Thread Mark Murphy
First, you use Environment.getExternalStorageDirectory() to get at the root of external storage, rather than hard-wiring in /sdcard (which is the wrong value, anyway). Second, you delete the READ_EXTERNAL_STORAGE permission request, since there is no such permission. Third, you execute the

Re: [android-developers] about keyevent

2012-04-30 Thread Mark Murphy
This list is for developing applications with the Android SDK. To learn more about the firmware, please visit http://source.android.com. On Sun, Apr 29, 2012 at 11:05 PM, Yorke yorke...@gmail.com wrote: Dear Sirs, I want to catch the keyevent which didn't receive by other receiver(activities)

Re: [android-developers] R.java not generated

2012-04-30 Thread Mark Murphy
If R.java is not being generated, odds are that there is a bug in a resource or in the manifest that is preventing it from being built. Look for error markers in Eclipse on those things. You can also try Project Clean from the Eclipse main menu. On Sat, Apr 28, 2012 at 8:02 AM, Chris

Re: [android-developers] When does the binder thread pool shrink?

2012-04-30 Thread Mark Murphy
This list is for developing applications with the Android SDK. To learn more about the firmware, please visit http://source.android.com. On Thu, Apr 26, 2012 at 10:17 PM, Michael Hsueh mhsue...@gmail.com wrote: I am reading through the binder code and trying to understand how the threading

Re: [android-developers] Offering new android features

2012-04-30 Thread Mark Murphy
This list is for developing applications with the Android SDK. To learn more about the firmware, please visit http://source.android.com. On Fri, Apr 27, 2012 at 11:58 AM, Nir Cohen nir...@gmail.com wrote: jeez, somehow I couldn't find how to offer new android features to Google. Any ideas how

Re: [android-developers] changing boot logo

2012-04-30 Thread Mark Murphy
This list is for developing applications with the Android SDK. To learn more about the firmware, please visit http://source.android.com. On Sat, Apr 28, 2012 at 5:43 PM, Umesh Gupta ug.it...@gmail.com wrote: Please let me know how can I change boot logo in Android 2.2. Thanks ug -- You

Re: [android-developers] Layouts - Using Remaining Space For Intermediate View

2012-04-30 Thread Mark Murphy
On Sun, Apr 29, 2012 at 5:42 AM, JTeagle teagle.ja...@gmail.com wrote: I'm using RelativeLayout to create rows of controls and would like to achieve the following:     Widget 1 - natural height     Custom view - remaining space after Widgets 1 and 3     Widget 3 - natural height Widget 1

Re: [android-developers] Run two applications and split the screen in two parts

2012-04-30 Thread Mark Murphy
On Mon, Apr 30, 2012 at 4:10 AM, Anurag Pratap Singh anurag1...@gmail.com wrote: I am making an application in which the screen will be splitted in two parts and both the screens will be using different medias: one for camera using Camera HAL and other will be playing a Video file using

Re: [android-developers] getting the sim phone number

2012-04-30 Thread Mark Murphy
For devices with a SIM card, getLine1Number() on TelephonyManager should return that number. However, please bear in mind that a SIM does not have to have a phone number (getLine1Number() returns null), and that the SIM might have the wrong phone number. There is no reliable way from the Android

Re: [android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-30 Thread Jim Graham
On Sun, Apr 29, 2012 at 11:39:04PM -0700, Alger Lin wrote: I release a tool to help developer to dump API from Android device. This tool may help you to check if class, method, or field existed at target device. You can get it from Google Play by URL below.

Re: [android-developers] notification

2012-04-30 Thread Put_tiMe
But if I do use a 'remoteview' then my entry's background stands out from the other notifications. Is there anyway I can maintain the same system background? Can I set background=android:id?blah blah? On Sunday, March 27, 2011 2:28:30 AM UTC+5:30, Mark Murphy wrote: On Sat, Mar 26, 2011 at

Re: [android-developers] How to use the default radio button and check box drawable resource (image)

2012-04-30 Thread Put_tiMe
How do I mentioned this in the layout XML file? On Thursday, April 12, 2012 7:35:48 PM UTC+5:30, MagouyaWare wrote: Use android.R.drawable.btn_radio Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Apr 11, 2012 at 11:37 PM, Put_tiMe

Re: [android-developers] Layouts - Using Remaining Space For Intermediate View

2012-04-30 Thread JTeagle
This should work so long as Widget 1 and Widget 3 have knowable heights (e.g., Button, not ListView) and there is still room on the screen for Widget 2. Thanks for this. I see where you're going with it, but unfortunately that won't help my situation - and that's my fault for not making my

Re: [android-developers] How to use the default radio button and check box drawable resource (image)

2012-04-30 Thread Put_tiMe
Got it: android:background=@android:drawable/ On Monday, April 30, 2012 4:39:26 PM UTC+5:30, Put_tiMe wrote: How do I mentioned this in the layout XML file? On Thursday, April 12, 2012 7:35:48 PM UTC+5:30, MagouyaWare wrote: Use android.R.drawable.btn_radio Thanks, Justin Anderson

Re: [android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-30 Thread Mark Murphy
Create a separate little project that accesses PorterDuff.Mode.ADD. Run it on the phone. If it crashes the same way, and particularly given your comment regarding external storage, your phone may be messed up, somehow. If it does not crash the same way, then you have a stake in the ground, around

Re: [android-developers] Layouts - Using Remaining Space For Intermediate View

2012-04-30 Thread Mark Murphy
On Mon, Apr 30, 2012 at 7:10 AM, JTeagle teagle.ja...@gmail.com wrote: Consider the following revised example: Widget 1 - natural height Custom View A - largest height possible Widget 2 - natural height Custom View B - largest height possible Widget 3 - natural height Custom View C -

Re: [android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-30 Thread Jim Graham
On Mon, Apr 30, 2012 at 07:11:36AM -0400, Mark Murphy wrote: Create a separate little project that accesses PorterDuff.Mode.ADD. Run it on the phone. If it crashes the same way, and particularly given your comment regarding external storage, your phone may be messed up, somehow. If it does not

Re: [android-developers] Stop sounds after leaving app

2012-04-30 Thread Raghav Sood
onResum() and onStop() On Fri, Apr 27, 2012 at 7:59 AM, Anderson Leite anderson...@gmail.comwrote: I am developing a game. This game starts a sound in the beginning and goes on during all the game. If I press Home button, and go to any area of android, the sound keeps playing, until I

Re: [android-developers] Stop sounds after leaving app

2012-04-30 Thread Raghav Sood
*onResume() On Mon, Apr 30, 2012 at 5:21 PM, Raghav Sood raghavs...@gmail.com wrote: onResum() and onStop() On Fri, Apr 27, 2012 at 7:59 AM, Anderson Leite anderson...@gmail.comwrote: I am developing a game. This game starts a sound in the beginning and goes on during all the game. If I

Re: [android-developers] reading file from SDcard

2012-04-30 Thread asheesh arya
uses-permission android:name=android.permission.ACCESS_NETWORK_STATE / uses-permission android:name=android.permission.CHANGE_NETWORK_STATE / uses-permission android:name=android.permission.READ_CONTACTS / uses-permission android:name=android.permission.WRITE_CONTACTS / uses-permission

[android-developers] Live Video streaming between android phones

2012-04-30 Thread kavitha chidambaram
Hi, I want to implement live video streaming between android phone. Can i get any idea? Thanks in advance.. Regards, Kavitha -- 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] Live Video streaming between android phones

2012-04-30 Thread asheesh arya
what you have tried so far!!! -- 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

Re: [android-developers] Live Video streaming between android phones

2012-04-30 Thread kavitha chidambaram
I try to stream video through socket, and getting mediaplayer offseterror, unable to create mediaplayer. On Mon, Apr 30, 2012 at 5:34 PM, asheesh arya asheesharya...@gmail.comwrote: what you have tried so far!!! -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: reading file from SDcard

2012-04-30 Thread RLScott
On Apr 30, 5:38 am, Mark Murphy mmur...@commonsware.com wrote: First, you use Environment.getExternalStorageDirectory() to get at the root of external storage, rather than hard-wiring in /sdcard (which is the wrong value, anyway). It is not quite as simple as that. Many Android devices have

Re: [android-developers] Re: reading file from SDcard

2012-04-30 Thread Mark Murphy
On Mon, Apr 30, 2012 at 8:26 AM, RLScott fixthatpi...@yahoo.com wrote: It has been my experience that Environment.getExternalStorageDirectory() which you mentioned generally points to the built-in kind of external memory. It points to whatever the device manufacturer chose to point it to. On

[android-developers] values-v9 and styles.xml problem

2012-04-30 Thread Put_tiMe
This documentation here: http://developer.android.com/guide/topics/ui/notifiers/notifications.html#CustomExpandedView *Says:* Then, to apply the system's default colors for notifications on Android 2.3 and higher, use the following styles for res/values-v9/styles.xml: ?xml version=1.0

[android-developers] Re: Native Maps Api - zoom to geocode returned viewport

2012-04-30 Thread Simon Giddings
So the answer is to use the MapController.zoomToSpan(...) method. Further information can be found here : Getting map zoom level for given bounds on Android like on JS Google Maps API:

[android-developers] Re: help

2012-04-30 Thread JTeagle
how can you use array as in java in android? (Please put a more informative title in the subject line) If you mean native arrays, they work exactly the same. Are you having trouble compiling some code? If so, please post a sample of code and show us the compiler error you are getting. --

[android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-30 Thread hüseyin toplu
nobody is not know anything about that :S On Apr 30, 11:17 am, hüseyin toplu hsy...@gmail.com wrote: i checked it but its peer to peer connection but i wanna just send a file to any device this device will not have my application it will just took the file On Apr 30, 10:51 am, gjs

  1   2   3   >