Re: [android-developers] Video View // Media Controller ?? Show(0) = Null Pointer Exception = Frustrated

2011-02-03 Thread Robin Talwar
Ok now can get the media controller visible but i have 2 problems :- 1. User must tap once to make it visible 2. Once it is visible then user is trapped in the activity unless the song ends since the back button is not functioning the way it should be The code is :- package

Re: [android-developers] Problem in Handler

2011-02-03 Thread Miguel Morales
Right, just move your obtainMessage() inside your loop. I personally use Message.obtain(), although I'm not sure what the difference is. On Wed, Feb 2, 2011 at 11:45 PM, Dianne Hackborn hack...@android.com wrote: You are sending the same messages into the handler while they are still being

Re: [android-developers] Problem in Handler

2011-02-03 Thread YoGenDr@ $iNgH
Thanks no i understand the my fault. On Thu, Feb 3, 2011 at 2:26 PM, Miguel Morales therevolti...@gmail.comwrote: Right, just move your obtainMessage() inside your loop. I personally use Message.obtain(), although I'm not sure what the difference is. On Wed, Feb 2, 2011 at 11:45 PM, Dianne

[android-developers] Customized date and time picker

2011-02-03 Thread cool.manish
Hi, I want to customized date and time picker like i want to change the background color, I want that user can't select back date. Please help me in doing this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: The build-in NFC Tags app problems of Android 2.4 build

2011-02-03 Thread Dominik
Probably you once clicked the check-box use Tags as default application. You can remove this option under manage appications on the Tags-App page. After that change a list of all applications appears which react on nfc tags. Another source might be, that your application not properly declares the

[android-developers] Weird problems with soft keyboard for filtering list view

2011-02-03 Thread kordzik
Hi all, In my application I want to display a list of stuff and provide the user with the ability to filter the list by using the soft keyboard. To that end I added a popup with a button that should trigger (hide/ show) the soft keyboard for filtering. I don't want to have a visible edit text

[android-developers] Re: DroidX adding or editing contact problem

2011-02-03 Thread dmtrl...@gmail.com
Is my intent correct and this issue is BUG of Motorola DroidX ? On 2 фев, 17:27, dmtrl...@gmail.com dmtrl...@gmail.com wrote: Hi all, I have a question about adding or editing contact on DroidX. This is my code for starting standard Add Contact activity Intent intent = new

[android-developers] TimerTask

2011-02-03 Thread A N K ! T
i am Starting a TimerTask but after few runs it got stops...is there a way to know task is running or i shud start it again -- A N K ! T.. -- 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] TimerTask

2011-02-03 Thread Kostya Vasilyev
Is this in a background service? 03.02.2011 15:40, A N K ! T пишет: i am Starting a TimerTask but after few runs it got stops...is there a way to know task is running or i shud start it again -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Pictures taken in my camera app not showing up in gallery

2011-02-03 Thread Sohil
Thanks. It helped. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: How to sort HashMap?

2011-02-03 Thread DanH
Yes, and the entire set of Sun/Oracle Java reference documentation is online at http://www.oracle.com/technetwork/java/javase/documentation/api-jsp-136079.html . This documentation tends to be far more complete/accurate than the Android documentation (though of course not all features listed in

[android-developers] [Android update sdk] How to download a specifiy platform from the command line?

2011-02-03 Thread hobbykochma
Dear group members, I am trying to install a specific platform (e.g. android-8) from the command line. This should be possible with the tool android.bat which is included in the sdk. With the option --filter we managed to download only all available platforms. But we found no way to filter the

Re: [android-developers] Where to put a broadcast receiver for a widget

2011-02-03 Thread Mark Murphy
On Wed, Feb 2, 2011 at 9:57 PM, Jeffrey jeffisagen...@gmail.com wrote: I've got a battery widget I'm working on and I have a broadcast receiver for when the battery status changes, but I don't know where it needs to go. I tried putting it in the Configuration activity, but I keep getting this

Re: [android-developers] How to profile an application for CPU time/ Network io time?

2011-02-03 Thread Mark Murphy
CPU time would be determined by Traceview. On Thu, Feb 3, 2011 at 1:45 AM, Yu ywu...@gmail.com wrote: Hi, All, How can I profile an application for CPU time/ Network IO time? So you will know how much time your app spends on CPU, network IO, etc. Any available tools/API in SDK? (Once I have

[android-developers] 404 on In-App Billing Pricing page

2011-02-03 Thread ob1
Hi, for your information, the following page has 3 reference links at the bottom. All return a 404 for me. Working page: http://www.google.com/support/androidmarket/bin/answer.py?answer=1153485 Contains the following broken HTML: ul lia href=/bin/answer.py?answer=1153481 =In-app Billing:

[android-developers] Logging should not be Android specific?? Why not SLF4J??

2011-02-03 Thread mkh
I am trying to understand why the logging API in Android was not made independent of the platform. SLF4J has a clean separation between the logging API, and a pluggable logging implementation. In this scheme, the Android platform would just provide the logging implementation specific for the

[android-developers] Re: Strange behavior in EditText box on Samsung devices

2011-02-03 Thread LinusOnline
THanks for the tip, Kostya! No I had not considered that. Will look into it. On 31 Jan, 14:13, Kostya Vasilyev kmans...@gmail.com wrote: Linus, Have you considered using AutoCompleteTextView instead of an EditText? It provides a ready-made infrastructure for autocomplete, and probably works

Re: [android-developers] Logging should not be Android specific?? Why not SLF4J??

2011-02-03 Thread Mark Murphy
You are more than welcome to use http://www.slf4j.org/android/ in your own projects. You are more than welcome to work with the SLF4J and slf4j-android projects to have them contribute patches to the OS to add SLF4J support. Discussion of that does not belong on this list, but on a list

Re: [android-developers] In app billing...

2011-02-03 Thread Justin Giles
On Wed, Feb 2, 2011 at 8:25 PM, Dianne Hackborn hack...@android.com wrote: How about using it to be able to put your app up on market as a free trial version, using in-app billing to unlock the full version? That's exactly what I was thinking of when I heard the announcement. It would chop

[android-developers] Listview...

2011-02-03 Thread Abhilash baddam
Hi, I am having one listview with background. When i click on a particular list item of that list view i want to change the color of that item. I can be able to change the color while focusing the list item but i want to change when the user clicks on that list item. Any help

[android-developers] Re: Strange behavior in EditText box on Samsung devices

2011-02-03 Thread LinusOnline
I looked up AutoCompleteTextView, and sadly it's not what I need. The product I'm working on already has its own custom-made drop down box of completions, which is working as expected. What I need is to add the rest of the completion, selected, directly after the text the user has entered into the

[android-developers] Google map application now working in Micromax A60

2011-02-03 Thread subha ramkie
Hi, I have an application which used Google map apis to show the map. The application works perfectly fine in all Android phones except Micromax A60. Any idea if it's a phone specific problem? Are map apis supported in Micromax? This is the error I am getting : 02-03 16:14:19.068:

Re: [android-developers] In app billing...

2011-02-03 Thread Mark Carter
Is this the info you are looking for: http://developer.android.com/guide/market/billing/billing_admin.html#billing-purchase-type http://developer.android.com/guide/market/billing/billing_admin.html#billing-purchase-type ? On 3 February 2011 21:25, Justin Giles jtgi...@gmail.com wrote: That's

[android-developers] Re: Listview...

2011-02-03 Thread Abhilash baddam
any help please On Thu, Feb 3, 2011 at 7:58 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi, I am having one listview with background. When i click on a particular list item of that list view i want to change the color of that item. I can be able to change the

[android-developers] Uploading Document to Google Docs

2011-02-03 Thread cuil yahoo
Hi, I am trying to develop an application which requires users to login to their gmail accounts and then helps them to upload a document to their Google Docs account, i tried the gdata library which works fine for a normal desktop java application, however, the same is not working for android. I

Re: [android-developers] In app billing...

2011-02-03 Thread Justin Giles
Yep. Looks like that answers my question. Thanks! On Thu, Feb 3, 2011 at 8:49 AM, Mark Carter mjc1...@googlemail.com wrote: Is this the info you are looking for: http://developer.android.com/guide/market/billing/billing_admin.html#billing-purchase-type

[android-developers] Trouble Adding Arc to Path

2011-02-03 Thread Paul
I am trying to add an arc to a path, but nthing gets drawn with each call. I have ensured that the passed RectF oval is dimensioned properly, and calls to Path.addOval(oval, Path.Direction.CW) work perfectly, but calls to either of Path.addArc(oval, 0, 180) and Path.arcTo(oval, 0, 180) fail

[android-developers] Volume Control ANR

2011-02-03 Thread nation-x
I occasionally see an issue where adjusting the volume causes an ANR when there are other actions going on (song change, etc) in my radio app (chroniX Radio). How can I handle this? I am hooking the volume jkey correctly as far as I know. setVolumeControlStream(AudioManager.STREAM_MUSIC); Is it

[android-developers] Re: motion effect in Rubber Band

2011-02-03 Thread nation-x
If you look at the Sony Ericsson developer blog you will find an example that might help. http://blogs.sonyericsson.com/developerworld/category/tutorials/3d-list/ Shawn On Feb 3, 12:29 am, Honest honestsucc...@gmail.com wrote: Hi, Thanks to both of you for your reply. but can you provide me

[android-developers] Re: Trouble Adding Arc to Path

2011-02-03 Thread Paul
Also, have tested this in both the emulator for Froyo, as well as on Froyo hardware and the arcs are not being displayed. Looked through the source for arcTo, which calls a native function in Path.cpp, and there doesn't appear to be a reason the above input would fail, given that the Path.cpp can

[android-developers] Re: Communicating with the browser

2011-02-03 Thread Ganesh Pisal
Hi, I am trying to do same thing. I set Browser proxy to localhost and 8080. Written native application which listens to 8080 port continuously. I am getting HTTP Request made my native browser. I am logging requests and doing HTTP connection for same request from my application. Once I get

[android-developers] Development strategies

2011-02-03 Thread Roman Mazur
Android 3.0 is designed specifically for tablet devices, and it has a lot of changes in core frameworks. So what is the best strategy for android developers: create a separate application for android 3.0 version or provide a single app that supports mobile (2.x) versions too? -- Best regards,

[android-developers] Re: Default browser comms

2011-02-03 Thread Ganesh Pisal
You got any solution for same.. if yes. Please tell me. On Jan 16, 11:31 am, kypriakos demet...@ece.neu.edu wrote: Hi all, I use the default browser as a REST service client running an ajax script. Outside the browser I intercept the outgoing Web Service call and I route it myself through

[android-developers] D

2011-02-03 Thread Paul
I have an app that allows the user to scale in for a closer view of a custom View using the ScaleGestureDetector. What I would like to do is show the user a thumbnail of the larger screen when they are zoomed in. I'd like to show the thumbnail anchored to the bottom left corner of the visible

Re: [android-developers] Re: Trouble Adding Arc to Path

2011-02-03 Thread Kostya Vasilyev
Paul, Perhaps you could try path.arcTo(oval, 0, 180, *true*); ? 03.02.2011 19:03, Paul ?: Also, have tested this in both the emulator for Froyo, as well as on Froyo hardware and the arcs are not being displayed. Looked through the source for arcTo, which calls a native function in

Re: [android-developers] Uploading Document to Google Docs

2011-02-03 Thread TreKing
On Thu, Feb 3, 2011 at 9:02 AM, cuil yahoo cuilya...@gmail.com wrote: i tried the gdata library which works fine for a normal desktop java application, however, the same is not working for android. I am stuck with using Google API Client Library for Java. I am unable to figure things out. It

[android-developers] Re: Trouble Adding Arc to Path

2011-02-03 Thread Paul
Tried, no difference... On Feb 3, 11:21 am, Kostya Vasilyev kmans...@gmail.com wrote: Paul, Perhaps you could try path.arcTo(oval, 0, 180, *true*); ? 03.02.2011 19:03, Paul ?: Also, have tested this in both the emulator for Froyo, as well as on Froyo hardware and the arcs are not

Re: [android-developers] Re: Trouble Adding Arc to Path

2011-02-03 Thread Kostya Vasilyev
How about making the arc the only item in the path, and also trying different ops: fill vs. stroke? 03.02.2011 19:41, Paul пишет: Tried, no difference... On Feb 3, 11:21 am, Kostya Vasilyevkmans...@gmail.com wrote: Paul, Perhaps you could try path.arcTo(oval, 0, 180, *true*); ? 03.02.2011

[android-developers] Re: how can I change icon in MenuItem after Menu hidden??

2011-02-03 Thread JI
But I think it looks not perfect and professional when the user will notice that the icon changed before it's hidden. Or it's that because my laptop or emulator is slow?? I try to make it perfect. Can you help ...??? plz On 2月3日, 下午12時43分, TreKing treking...@gmail.com wrote: On Wed, Feb 2,

Re: [android-developers] Re: how can I change icon in MenuItem after Menu hidden??

2011-02-03 Thread TreKing
On Thu, Feb 3, 2011 at 10:54 AM, JI jacky1...@gmail.com wrote: Can you help ...??? Can you explain why you need to change the icon when it's being closed? - TreKing

Re: [android-developers] Customized date and time picker

2011-02-03 Thread TreKing
On Thu, Feb 3, 2011 at 3:52 AM, cool.manish mannishga...@gmail.com wrote: I want to customized date and time picker like i want to change the background color, I want that user can't select back date. Please help me in doing this. What have you done so far?

[android-developers] Re: how can I change icon in MenuItem after Menu hidden??

2011-02-03 Thread JI
It's a start and stop functionSo the icon first will display as start and the icon will change to stop... It does display start and stop icon at the beg and end. But the transition between them, it's not smooth. The user will see the start icon slowly switches to stop icon and then the icon

Re: [android-developers] Re: how can I change icon in MenuItem after Menu hidden??

2011-02-03 Thread TreKing
On Thu, Feb 3, 2011 at 11:24 AM, JI jacky1...@gmail.com wrote: So the icon first will display as start and the icon will change to stop... http://developer.android.com/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu)

[android-developers] About Encryption in Android 3.0 (Honeycomb)

2011-02-03 Thread Tejas
Here is my interpretation of the Encryption API found in HoneyComb preview SDK. I would like to know if the community thinks the same. As a device admin, an application first has to check weather Encryption is supported by the tablet (in hardware). I don't think there is software encryption

[android-developers] SKIA Bitmap loading ??

2011-02-03 Thread Yahel
Hi all, I'm starting to implement a lazy image loader for the listview in my new project so I was gathering informations and came across Romain Guy full featured implementation in the project Android Shelves :

[android-developers] Re: logic used by google for displaying map in Android

2011-02-03 Thread ip332
Google does not render maps on the device but gets the bitmaps from the server. Honestly speaking, I don't see any reason to do your own map application unless you are going to make a turn-by-turn navigation. But navigation is a very complicated task you cannot handle alone, especially when you

[android-developers] Android 2.3 problem with startAnimation in onCreate or onStart methods

2011-02-03 Thread wInd
Hi, We have a game working well in 2.1 and 2.2 versions of android (RuniK). We were ready to release a new version when we received a mail from a user using the 2.3 version to report a problem. In the onCreate method of my GameActivity, I create a matrix of initially hidden views then start an

[android-developers] Cannot install App on HTC Hero

2011-02-03 Thread John Gaby
I have an application (which contains an NDK component) which will not install on my HTC Hero (OS ver = 2.1u1) It does install on the emulator, and on a Motorola Droid (OS ver = 2.2). The following is the logcat which seems to indicate some problem with installing my .so file. Does anyone have

Re: [android-developers] Cannot install App on HTC Hero

2011-02-03 Thread Kostya Vasilyev
John, The log mentions something about shared libs - are you native libraries compatible with the Hero (which has a different processor from the Motorola Droid / Milestone)? -- Kostya 03.02.2011 23:19, John Gaby пишет: I have an application (which contains an NDK component) which will not

[android-developers] Re: Trouble Adding Arc to Path

2011-02-03 Thread Paul
I've tried a bunch of different combinations... here is what I have in onDraw, just trying to get this working: Path androidPath = new Path(); Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); paint.setStyle(Paint.Style.STROKE); paint.setColor(Color.BLACK); paint.setStrokeWidth(3);

[android-developers] Re: Did the Honeycomb platform package go away?

2011-02-03 Thread Stephan Roorda
I had the same issue earlier today. I was unable to find it anywhere... On Jan 28, 8:54 pm, davemac davemac...@gmail.com wrote: I'm trying to download Honeycomb preview but I get this from sdk_manager: Downloading SDK Platform Android Honeycomb Preview, revision 1 File not

[android-developers] Re: Honeycomb emulator on Linux

2011-02-03 Thread Yusuke
I'm guessing. because of this prob i cant download from https://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip been trying. thought I was in Egypt. can't connect google from japan eh. lol hopefully fix it soon. cant wait to touch this. On 1月30日, 午前12:46, Nikolay Elenkov

[android-developers] creating listview in a tabview and changing font for entire application

2011-02-03 Thread prince
Hi ! I want to have a Listview in a Tabview and when I click on an item of this Listview say change font it should give a menu for changing the font of my entire application. How to implement this in Android 2.0. Your suggestions will be deeply appreciated. -- You received this message because

[android-developers] HTC Desire Debugging on Snow Leopard

2011-02-03 Thread Felix Garcia Lainez
Hi, I am trying to debug an Android application on my HTC Desire from Eclipse (Snow Leopard). Really followed these steps http://developer.android.com/guide/developing/device.html#setting-up, but after connecting device via USB it appears some time when listing using adb devices command (i

[android-developers] Rooting internals

2011-02-03 Thread Eknath Venkataramani
All, Could someone explain how rooting occurs in detail? right from the stage of detecting an exploit on a particular firmware on a particular device. All the way till the final user guides on the wikis. -- Eknath Venkataramani -- You received this message because you are subscribed to the

[android-developers] Re: Faster way to recompile the android framework .java sources and test the effects on the emulator

2011-02-03 Thread HiMindz
I have found ant build script with adb as the fastest way to compile, deploy and debug the android applications. Here is what I do from command line (I use bash/cygwin): 0. Update code in eclipse as usual 1. ant release (compile the code and package it as .apk) 2. adb uninstall package (if needed)

[android-developers] How to call the dialog of a DialogPreference withouth requiring the user to click on it?

2011-02-03 Thread markus
Hello, I'm having a hard time how to open a preference dialog from code. Let's say I have a ListPreference with the key abc defined in XML. When the user navigates through the preferences and clicks on that ListPreference, a dialog pops up and the user can select it. Is there any way to open

[android-developers] Is this possible with Android

2011-02-03 Thread Johny
I am thinking about this scenario 1.In a mobile with Android will be running my script. 2. Someone will dial the number( say number A) of that mobile where the script is running. 3.The script will answer and ask the caller( the caller has say number B) to dial the number where he wants to

[android-developers] Re: Android.... using CheckBox with CustomCursorAdpater in ListView

2011-02-03 Thread Sheikh Ayoub
I don't fully understand what you mean by mess but I had my own mess with checkboxes. I'm new to android development and was developing simple checklist that stores the state of items in SQLite. But what was happening was checkboxes states were going bananas. I watched the google video on the

[android-developers] EXE file converted to an apk

2011-02-03 Thread litlkalel
I have a program that i use to use on my old windows based phone and would love to run in on my D1, is there a way to convert the files to apk files so that my phone will run this program, i don't care how many steps it will take if it can be done i would love to learn how to do it. Thanks --

[android-developers] singleTask launch mode

2011-02-03 Thread djddj
Hello Group! I have 2 activities A and B both defined as singleTask in MANIFEST file; when activity A start B, A will be close (onDestroy() is called immediately). Why this happen and how to avoid A to be closed by the system: to have multiple singleTask activities in same application. Thanks a

[android-developers] Is Android good for this?

2011-02-03 Thread Johny
I am thinking about this scenario for my script 1.In a mobile with Android my script will be running. 2. Someone will dial the number( say number A) of that mobile where the script is running. 3.The script will answer and ask the caller( the caller has say number B) to dial the number

[android-developers] How do certain application backup the APK files?

2011-02-03 Thread Rahul
I just came across Astro File Manager that lets you make backups of applications installed on the device. I just tested the application and it doesn't seem to require root on the device. So this application is somehow able to access the apk's of the applications installed and make a backup of the

[android-developers] Re: api used for connecting to the exchange sever on android

2011-02-03 Thread Simon
There is Java API for Exchange server with Android support: http://www.independentsoft.de On Dec 28 2010, 8:40 am, kampy narasimha1...@gmail.com wrote: hi i found an email app on the emulator by which we can synchronize our mail andexchangeaccounts to the mobile . can anyone help me that

[android-developers] problem with mediaplayer playing from a file descriptor of a inet socket

2011-02-03 Thread nasif-android
Hi justin, In media player Api of android we can start media player after setting datasource as a fd. So i opened filedescriptor of an inet socket and passed fd to setdatasource for the mediapalyer.. But my application exit with the following crash 01-29 17:40:24.041:

[android-developers] Unable to download Honeycomb SDK

2011-02-03 Thread Stephan Roorda
Trying to install the 3.0 (honeycomb) preview. I just spent the last 2 hours working around the cannot rename directory because its in use error and now I am getting a file not found when the AVD Manager is trying to download the android-3.0_pre_r01-linux.zip file. Is anyone else having this

[android-developers] TableRows doesn't display

2011-02-03 Thread Salsero69
I have seen a lot of sample code that explains how to dynamically add a TableRow to a TableLayout. But when I try it the TableRow is not displayed. When I do a TableLayout.getChildCount() before and after the addition the child count does increase; so technically it is working, sort of. I've

[android-developers] Basic problem debugging first app?

2011-02-03 Thread crashnburn
Sorry for the newbie post, but we are on day 1 of learning Android development here... I am following along in the Wrox book Professional Android 2 Application Development. I'm working thru Chapter 2 - basically just the hello android app. I have Eclipse build 20100917-0705 installed on WinXP,

[android-developers] Newbie help, please.

2011-02-03 Thread WhiteWolf128
Hello, community. I'm a fresh, brand new developer hoping to jump straight into application development, specifically for a personal project of mine. I have no idea what I'm doing, but I'm a fast learner and self-motivated into researching everything I need to know. The problem I'm experiencing on

Re: [android-developers] In app billing...

2011-02-03 Thread String
On Thursday, February 3, 2011 2:25:29 AM UTC, hackbod wrote: How about using it to be able to put your app up on market as a free trial version, using in-app billing to unlock the full version? I've been thinking about this since the announcement yesterday. I used to think this was a good

[android-developers] Re: my Eclipse stuck while running emulator

2011-02-03 Thread Jak
I was running into the same issue...The emulator just stopped and I had to force close it...after digging for a while, I discovered if I do not use the snapshot capability when I create the AVD's they work fine...Running Ubuntu 10.10 with helios rev 1 and ADT 9.0. I also do not have the

Re: [android-developers] database values to string[]

2011-02-03 Thread Nasif Noorudeen
you have to iterate the cursor... On Sun, Jan 30, 2011 at 12:52 AM, André pha...@hotmail.com wrote: Is there a simple way to get all my values from a column in my database to a String[] without having to use simpleCursorAdapter? When I try: String[] from = new String[]{dbManager.NAME}; I

[android-developers] Re: setImageResource causing Gallery jump

2011-02-03 Thread drozsnyai
I've got the same issue, except I'm wanting to load remote images and have a place holder until they load. From what I can tell the problem is that setting the image on the Button or ImageView is causing the entire gallery to be invalidated and therefore creating all the views again and jumping

[android-developers] Http raw data counter

2011-02-03 Thread Threepwood
Hi, I am developing an android application that communicates with other apps via http protocol. I would like to know how much data is sent and received (data for which one pays - with headers etc.). I use DefaultHttpClient with ThreadSafeClientConnManager to execute get and post request. Can you

Re: [android-developers] parseSDKContent failed Window 7 Netbook 32 bit Using Eclipse 3.5.2

2011-02-03 Thread tompccs
I've just come across this problem. It came completely out of the blue. First my project refused to build so I restarted eclipse only to get the error: parseSdkContent failed java.lang.NullPointerException I've since uninstalled eclipse, uninstalled the android sdk, removed ~/.android folder

[android-developers] MediaStore.Audio.Media.EXTERNAL_CONTENT_URI returns an empty cursor

2011-02-03 Thread Ingó
I can't figure out why this cursor is empty in htc wildfire. But works on all other phones I have tested. There are several audiofiles on the sdcard. the stock mediaplayer can find and play these songs alright. Cursor c = managedQuery(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, new String[] {

[android-developers] problem while executing sql query

2011-02-03 Thread Anwar
Hello there i got problem after compile the arabic resources to framework-res.apk i can't add new contact when i select the language to arabic i got force close but when i select it english there is no problem i think this problem appeared because the numbers appear as arabic number and so the

[android-developers] Re: setImageResource causing Gallery jump

2011-02-03 Thread drozsnyai
Same problem here but I'm wanting to replace an image place holder with one I load from the web. Looks like when the image resource is changed it invalidates the entire gallery causing all the views to be recreated and then jump. Hoping one of the android devs can help us out. Not sure if it

[android-developers] Emulator GPS Elevation Problem/Bug?

2011-02-03 Thread matej
In my emulator Api Level 8 and Google Api virtual machine, I have GPS tracker demo and i sow GPS data: Longitude, Latitude and Elevation! Long. and Lati. are shown correctly but elevation is 0 all the time (for input format GPX and KLM were tested). Also location.hasAltitude() returns true! I have

[android-developers] Re: 3.0 Preview SDK won't install

2011-02-03 Thread Jerry Hildenbrand
I was able to download the preview from a new install. Apparently this bug(?) only affects existing installations of the SDK. Hopefully someone with some insight chimes in here. On Jan 29, 6:37 pm, Darren Hinderer hindenb...@gmail.com wrote: Nope. I haven't tried anything else, I'm hoping it's

Re: [android-developers] Re: How to convert a image into Base64 string?

2011-02-03 Thread Nasif Noorudeen
First get the Bitmap of Image , copy to Byte array , get the Base 64 of the byte by using codec.jar from apache 1. ByteArrayOutputStream baos = new ByteArrayOutputStream(); 2. bm.compress(Bitmap.CompressFormat.PNG, 100, baos); //bm is the bitmap object 3. byte[] b =

[android-developers] Re: setImageResource causing Gallery jump

2011-02-03 Thread drozsnyai
Same problem here but I'm wanting to replace an image place holder with one I load from the web. Looks like when the image resource is changed it invalidates the entire gallery causing all the views to be recreated and then jump. Hoping one of the android devs can help us out. Not sure if it

[android-developers] Home screen widget behavior implementation

2011-02-03 Thread Luiz Vitor Martinez Cardoso
Hi, I want to implement the same behavior when moving home screen widgets on a custom View widget. The behavior can be described as follows: you touch the widget, the widget poup-up bigger, you move your finger and the widget follow you and when you hold off the finger the widget self align to

[android-developers] GridView onItemClickListener

2011-02-03 Thread Sumeet Parmar
Hello, View v = getLayoutInflater().inflate(R.layout.add_contact_view, null ); GridView gridView = (GridView) v.findViewById(R.id.gridViewNumberPad); gridView.setAdapter(new KeyPadAdapter(MainActivity.this)); final TextView tv = (TextView)

[android-developers] how can i make non-sqlite cursor?

2011-02-03 Thread 구르마
hi there. I want to test a class reading android contacts. To test it, I think that it is needed for the class to depend on my ready-made data(based on xml or plain text). Making MockContentProvider seems to be not a good idea because it maybe require change a uri of the class(SUT). I think

Re: [android-developers] Is this possible with Android

2011-02-03 Thread Mark Murphy
On Sat, Jan 29, 2011 at 2:59 AM, Johny pyt...@hope.cz wrote: I am thinking about this scenario 1.In  a mobile with Android will be running my script. 2. Someone will dial the number( say number A)  of that mobile where the script is running. 3.The script will answer and ask the caller( the

[android-developers] Build SDK for another platform from Linux

2011-02-03 Thread lutfi198
Hello, My name is lutfi, I am newbie. I want to ask, is it possible to build SDK package for Linux, MacOs, and Windows from Linux source code using make? If yes, how we do that? Where can I find the documentation for available target in Android source, like 1. make -- to compile the source code

[android-developers] is there anyway to force locale system numeric to English ?

2011-02-03 Thread Anwar
Hi This Problem Appeared in my SmartPhone and SDK Emulator 2.3 after changing the language to arabic i can't add new contact it force close but when i change language back to english the problem disappeared i think this problem because the system read the number in arabic locale look at this

[android-developers] Adding Slide Button on Key lock screen

2011-02-03 Thread emin
Hi Everyone. For my application, I must add a button on key lock screen. The key lock screen application is Android os application. So How can I add a button to start my application ?. If is there any way to solve this problem. Please reply me. Thanks -- You received this message because you are

[android-developers] Re: Is this possible with Android

2011-02-03 Thread Yahel
No sorry, android apis do not provide a way to send audio to a call. Yahel On 29 jan, 08:59, Johny pyt...@hope.cz wrote: I am thinking about this scenario 1.In  a mobile with Android will be running my script. 2. Someone will dial the number( say number A)  of that mobile where the script

[android-developers] Google Maps Api for Android Terms of Service info

2011-02-03 Thread roberto
Hi, I need help to understand the Google Map Api Licence for Android. Can I create an app that shows stores (groceries, coffee shops, etc) around me? I would use the Map api to show the map. I have my own source of locations to overlay with the map. Here is part of the Terms of Service what

[android-developers] edit video pixels

2011-02-03 Thread optimus prime
Hi All, I am new to android and i am currently developing my first app. in this app i have a functionality like adding color effects to the video being recorded (like adding red tint, sepia, negative). can someone please advice me on this. Thanks in advance, optimus prime -- You

[android-developers] save drawing path as bitmap

2011-02-03 Thread Takuto Kondo
Hi all, Now I'm developing a drawing app. I want to save the path as bitmap file. Please see following code. This is a part of the app. I can't draw path, but I can draw path when I make 'canvas.setBitmap(bitmap);' comment out. I have no idea why it can't draw. private void onDraw(Canvas

Re: [android-developers] TableRows doesn't display

2011-02-03 Thread Mark Murphy
Use Hierarchy Viewer (as the Hierarchy View perspective in Eclipse or the hierarchyviewer program in your SDK tools/ directory) to examine that row and see what is happening at runtime. On Fri, Jan 28, 2011 at 4:17 PM, Salsero69 vaillancourt@gmail.com wrote: I have seen a lot of sample code

[android-developers] Android workshops for developers. Any suggestions?

2011-02-03 Thread Andreas
Hi everyone, I would like suggestions for attending android workshops preferably in Europe. I am aware of: http://www.andevcon.com/ and as far as I can see in : http://sites.google.com/site/androiddevlabs/home there are no upcoming sessions. Do you have any suggestions for workshops

[android-developers] Re: Did the Honeycomb platform package go away?

2011-02-03 Thread Alex
My bet is they're holding it off till the announcement on Tuesday. I could really have done with the SDK this weekend though. Alex On Jan 30, 12:07 am, davemac davemac...@gmail.com wrote: I was able to get a copy of the file from a friend of mine so I'm now good. The repository.xml file on

[android-developers] On-the-fly decryption of large files

2011-02-03 Thread Peter Sutton
Hi everyone! My app stores large files that need to be decrypted on-the-fly. FileDescriptors for accessing the decrypted files are retrieved from ContentProvider.openFile(). The plan; 0) openFile() called, passed URI of file. 1) URI mapped to path of encrypted file. 2) Create a CipherInputStream

[android-developers] HTC Desire crashed, deleted all SMS. Can I recover?

2011-02-03 Thread bab
Hi All, Been a reader of the group for a while as am getting into Android development. Just wanted to ask a quick question. Hope someone can help. :) I have a HTC desire (2.2 with HTC sense, as per stock), never rooted and little used (basic apps installed, not used for any dev) I use as just a

[android-developers] Re: 3.0 Preview SDK won't install

2011-02-03 Thread Tom
Hi, I have the same problem today.. Hope it's just temporarily overloaded by requests.. But maybe some changes from google and meanwhile they disabled the download.. On 30 led, 00:37, Darren Hinderer hindenb...@gmail.com wrote: Nope. I haven't tried anything else, I'm hoping it's a just a

[android-developers] Re: Gingerbread 2.3: Where are the APIs for AAC and AMR_WB?

2011-02-03 Thread FG
Hi, my current understanding is the following : Since Android 2.2 : • Media framework changes o New media framework (Stagefright) that supports local file playback and HTTP progressive streaming o Continued support for OpenCore in Android 2.2 Since Android 2.3: • AMR WB and AAC support by

  1   2   3   4   >