Re: [android-developers] Re: Map Not working

2011-12-30 Thread Kiran Kumar Kendole
Hey all .. Thanks for your time. Its working now. Thanks, KIRANKUMARKENDOLE On Thu, Dec 29, 2011 at 1:33 PM, Znaz zehra...@college.harvard.edu wrote: Here is the link to the Android Tutorial: http://wing-linux.sourceforge.net/guide/tutorials/views/hello-mapview.html Here is another link to

[android-developers] Re: ActionBar tabs - dynamic setIcon()

2011-12-30 Thread erdal
I am trying to do the same thing. Did you find a solution? -- 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] Re: Native SIP Supported on all ICS Devices?

2011-12-30 Thread Graham Bright
Hi, Is there a tutorial on how to integrate and develop using pjsip and eclipse. thanks Graham On Thu, Dec 29, 2011 at 11:08 PM, Shaun shaun.cl...@a-cti.com wrote: Thanks for the reply, that's the direction I am looking at going now, CSipSimple has an API as well so that might make things

[android-developers] Re: Guide Me please Guys I am from pakistan Asp.net c# Developer And Database developer in Microsoft Sqlserver

2011-12-30 Thread Ali Chousein
Goto http://developer.android.com/sdk/index.html  Configure your development environment as described at http://developer.android.com/sdk/installing.html  Once your development environment is ready you can proceed with the Hello World application

[android-developers] Re: Can't see my device, need help

2011-12-30 Thread Ali Chousein
Doesn't Sony provide drivers for this purpose? If I was you I would investigate the web site of Sony to see if they provide any drivers, or even contact their customer support. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com |

Re: [android-developers] Clarification on DPI

2011-12-30 Thread dan raaka
the math for the doing the calculations to determine the tiping point in terms classifications changed in HC, and hence the above comment. -Dan On Thu, Dec 29, 2011 at 8:06 PM, Jonathan jlani...@gmail.com wrote: This quote was taken from an official Android blog post (

Re: [android-developers] ICS Hardware Acceleration steals my OpenGL textures?

2011-12-30 Thread dan raaka
can you post an example code /test app which demonstrates this .. (yes, i saw your image already) -Dan On Wed, Dec 28, 2011 at 1:23 PM, carlrice rice.c...@gmail.com wrote: I have an Android app which uses a bit of OpenGL running on a Galaxy Nexus with ICS. After turning on hardware

Re: [android-developers] Re: Native SIP Supported on all ICS Devices?

2011-12-30 Thread Mukesh Srivastav
Please follow the link which they had provided, it has everything including integration with Eclipse. I would love to help you in this regards, let me know if you struck any where. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Dec 30, 2011 at 2:15

[android-developers] Re: notification of sending message

2011-12-30 Thread Ali Chousein
I think this subject was discussed only some days ago. Take a look at the following tutorial. It's comprehensive and explains everything you need: http://mobiforge.com/developing/story/sms-messaging-android - Ali Chousein Weather-Buddy

[android-developers] Re: native code bebug

2011-12-30 Thread vimal
Hello praveen, You can see android source code only in debug mode with help of plugin in eclipse http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/ add this plugin to eclipse and you can see android source code in debug mode :) Happy coding. Thanks, Vimal

[android-developers] color up and down effect on screen

2011-12-30 Thread Amit Mangal
Hi every one, I want to develop one application in which i want to take one box and fill the color in that box. i want to do up and down this color bar.please look on the image . how can i give effect of red color up and down programmatically. i have developed some conditions according to that

[android-developers] Re: How to get pressed Unicode characters

2011-12-30 Thread Felipe Monteiro de Carvalho
On Dec 29, 11:11 pm, lbendlin l...@bendlin.us wrote: you probably want to monitor the keyUp event rather than keyDown Yes, I am doing the character processing in keyUp, I just showed keyDown to show what kinds of events I am using. And now I have this code in the native part: case AKind of

[android-developers] need help on converting string to image

2011-12-30 Thread chowdary nani
Hi all, i am currently working on converting text to bit map in android please help me on this code iam unable to fine where the error is i am doing with following code Bitmap testB; testB = Bitmap.createBitmap(

[android-developers] Intent for opening activity.

2011-12-30 Thread Baba Shanker
How to open com.android.systemui/.usb.UsbStorageActivity activity using intent. -- 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

[android-developers] Re: no audio from bluetooth sco earpiece

2011-12-30 Thread the_edge123
Is there a way to dig into the android source code to track this issue ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Problem Loading CM7 on my SD Nook Tablet

2011-12-30 Thread Oli Wright
Now, I know this may seem a little crazy, but have you tried the Cyanogenmod forums for the Nook? What am I saying. That's an insane idea. Ignore me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] shrink bar up and down like attached image

2011-12-30 Thread Amit Mangal
Hi Every one, I want to develop solid bar rising up and down. falling up and down logic i have implemented in thread. i need to know what control should i use in UI for solid color bar so that i could increase and decrease height of that. like image. thanks -- You received this message

[android-developers] Android Back Button Handling Issue

2011-12-30 Thread RobinDroid
My App starts with a splash screen loading background data from remote server. After completion of data load, An Activity(say B) launched. This activity B (A photo Gallery of different Animals), when pressed back launches SplashScreen, so inorder to solve this, i prompt user if it really wants to

Re: [android-developers] Re: notification of sending message

2011-12-30 Thread surabhi jain
I'd like to know which is the intent android sends when it sends a message. And how can I listen for this intent in my application. I wanted that, when I send a message in native android messaging, my application listen this intent, so it will know a new message has been sent. So, which one is

Re: [android-developers] Re: Packing data onto socket stream ?

2011-12-30 Thread Kristopher Micinski
Well, now it sounds like you're reinventing mime types..., but this isn't a horrible way to do it either I suppose. In either case what's giving you the difficulty? You can send the bytestream by doing a standard read() and write() across the socket, so this shouldn't be too bad.. Kris On Fri,

[android-developers] How to clone a button defined in the resource file?

2011-12-30 Thread petter
In my application I dynamically create buttons, but it would be better if I could specify a button in the resource file and then clone it to inherit its style, size, etc. But how do you clone a button or other view object? I've tried to call .clone() but I seem to get all sorts of errors and

Re: [android-developers] Android Back Button Handling Issue

2011-12-30 Thread midhun midhunvp
on press back what you want to do do you want to exit or go back to previous screen. -- 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,

Re: [android-developers] Android Back Button Handling Issue

2011-12-30 Thread midhun midhunvp
u can use the api on backpressed in the classes as you wanted -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: How to clone a button defined in the resource file?

2011-12-30 Thread skink
petter wrote: In my application I dynamically create buttons, but it would be better if I could specify a button in the resource file and then clone it to inherit its style, size, etc. But how do you clone a button or other view object? I've tried to call .clone() but I seem to get all sorts

[android-developers] latitude / longitude / altitude / direction of photo/image-taken in metadata of android-camera ?

2011-12-30 Thread lbendlin
Sure, write your own Camera app and put the data into the image EXIF. Be aware that getting location data has a time cost especially when the GPS is just starting up. Your users may not be willing to wait. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Intent for opening activity.

2011-12-30 Thread Mark Murphy
On Fri, Dec 30, 2011 at 4:40 AM, Baba Shanker baba.andr...@gmail.com wrote: How  to open com.android.systemui/.usb.UsbStorageActivity activity using intent. That is an internal system activity. Android SDK applications should not be opening it. -- Mark Murphy (a Commons Guy)

[android-developers] Re: Android Back Button Handling Issue

2011-12-30 Thread appel
http://stackoverflow.com/questions/1898886/removing-an-activity-from-the-history-stack http://developer.android.com/training/design-navigation/index.html http://blog.radioactiveyak.com/2010/08/what-you-can-do-with-your-modal-dialogs.html (I think confirm dialogs when pressing back are really

[android-developers] Re: Re: Packing data onto socket stream ?

2011-12-30 Thread SL@maxis
Well, now it sounds like you're reinventing mime types..., but this isn't a horrible way to do it either I suppose. In either case what's giving you the difficulty? You can send the bytestream by doing a standard read() and write() across the socket, so this shouldn't be too bad.. Thanks.

Re: [android-developers] Re: Problem Loading CM7 on my SD Nook Tablet

2011-12-30 Thread TreKing
On Thu, Dec 29, 2011 at 11:52 PM, hillgoo...@charter.net hillgoo...@charter.net wrote: So what forum do u suggest? http://searchengineland.com/guide/how-to-use-google-to-search - TreKing

Re: [android-developers] Re: Problem Loading CM7 on my SD Nook Tablet

2011-12-30 Thread Marcelo Henrique
MIUI Android, 2011/12/30 TreKing treking...@gmail.com On Thu, Dec 29, 2011 at 11:52 PM, hillgoo...@charter.net hillgoo...@charter.net wrote: So what forum do u suggest? http://searchengineland.com/guide/how-to-use-google-to-search

[android-developers] Re: Need simple code for C2DM

2011-12-30 Thread Streets Of Boston
Here it is: http://lmgtfy.com/?q=C2DM+tutoriall=1 -- 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] Re: Need simple code for C2DM

2011-12-30 Thread Kristopher Micinski
On Fri, Dec 30, 2011 at 1:56 AM, Zsolt Vasvari zvasv...@gmail.com wrote: Hi i am a student doing projects based on C2DM technology.. What school do you go to? I would suspect that these days it's common for students to get into development on mobile devices as part of either a course covering

Re: [android-developers] Re: Re: Packing data onto socket stream ?

2011-12-30 Thread Kostya Vasilyev
Does it have to be a binary format? These days, it's common to use text-based formats even if it's somewhat less efficient -- to simplify development, debugging and later, maintenance and enhancements. -- Kostya 30 декабря 2011 г. 17:29 пользователь SL@maxis ecp_...@my-rialto.comнаписал:

[android-developers] Re: Problem Loading CM7 on my SD Nook Tablet

2011-12-30 Thread hillgoo...@charter.net
Actually, since this is a moderated forum I thought my post would be weeded out if it didn't foot the bill, and it took over 2 days to even appear here so that speaks volumes. I thought this forum had a bunch of smart peeps, however I see they only have smart-a$$e$ Buch of babies! Here's hoping

Re: [android-developers] Re: Problem Loading CM7 on my SD Nook Tablet

2011-12-30 Thread TreKing
On Fri, Dec 30, 2011 at 8:58 AM, hillgoo...@charter.net hillgoo...@charter.net wrote: I thought this forum had a bunch of smart peeps, however I see they only have smart-a$e$ You should not make such a blanket statement based on one or two sarcastic responses. Buch of babies! Very

[android-developers] Re: HelloWorld Application

2011-12-30 Thread Albert Pi
1.this is url: http://developer.android.com/resources/tutorials/hello-world.html and just follow steps. 2. Also make sure your AndroidManifest.xml has a correct activity to match the name of java code. (see below) activity android:name=HelloAndroidActivity

[android-developers] Re: Can Android apps access both the Wi-Fi and cellular data networks at the same time?

2011-12-30 Thread Albert Pi
Try to use three tcps, one is for wifi , second is for cellular network, third is for android. On Dec 29, 11:43 am, DigiGuy digigo...@gmail.com wrote: I'm working on an application that will run on a phone where the phone will be a station on a private Wi-Fi network.  The phone will be a

[android-developers] Voice recognition through bluetooth

2011-12-30 Thread Eddie
Hi, I have speech recognition working in my activity. However, I realized that if I have a bluetooth headset connected to my phone, the recognition still only occurs through the phone mic and not my headset mic. How can I make it so that the recognition occurs through the bluetooth mic?

[android-developers] How should one delete all of the table(but not the table itself without making the thread using that database give an error

2011-12-30 Thread Jeresam515
So I'm trying to have a menu button to clear my database when it is pressed, that works fine. However, as soon as new information is sent to the database the app force closes. How should i stop this? Here is the clear part: @Override public boolean onMenuItemSelected(int featureId, MenuItem item)

Re: [android-developers] Expandedlistview

2011-12-30 Thread TreKing
On Thu, Dec 29, 2011 at 7:31 AM, Sean751 sean...@gmail.com wrote: How can I make use of onGroupclick or can I detect a group click in another part of the code?

Re: [android-developers] single_apk_On_multiple_devices

2011-12-30 Thread TreKing
On Thu, Dec 29, 2011 at 12:50 AM, Teena sharma sharma.teena...@gmail.comwrote: Please give suggestion that how can i install single .apk file on different configuration devices. http://developer.android.com/guide/practices/screens_support.html I am using Android 3.2 and API level 13.

[android-developers] Notification Background Color (ICS)

2011-12-30 Thread Brad Grimm
We have a custom notification that uses a linear layout through a RemoteView. On Android 4.0 (Ice Cream Sandwich) the background color of our notification is an ugly gray. The problem is that this isn't the theme black background that the rest of the notifications have. Is there a way to access

[android-developers] Re: latitude / longitude / altitude / direction of photo/image-taken in metadata of android-camera ?

2011-12-30 Thread Lew
Unless you are moving quite rapidly or you need very, very precise locations, you can grab the location coordinates once for a series of photos, starting before they snap the first shot. There shouldn't be a need to reach out to the GPS separately for each and every photo. You might be able

[android-developers] Re: Notification Background Color (ICS)

2011-12-30 Thread Brad Grimm
Note: I just noticed this happens only on the Nexus S (upgraded to Android 4.0). On the Galaxy Nexus the colors appear just fine. On Dec 30, 10:41 am, Brad Grimm sna...@gmail.com wrote: We have a custom notification that uses a linear layout through a RemoteView.  On Android 4.0 (Ice Cream

[android-developers] Re: Tamil App to learn Tamil Quickly now Available for Android

2011-12-30 Thread Lew
ஸ்பேம் வேண்டாம் கொள்ளவும். -- 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] ICS Hardware Acceleration steals my OpenGL textures?

2011-12-30 Thread Romain Guy
If that happens it means you are creating your OpenGL context on the UI thread. Or that you are running some of your GL code on the UI thread. I have seen apps do this before (Google Maps had such a bug before we shipped 4.0 for instance.) Drivers usually generate the same series of names when

[android-developers] deletable-assets

2011-12-30 Thread guich
Hi, I store some zipped data in the assets. When my app runs at the first time, i unpack the zip. The original zip in the assets folder is useless, however, we cannot delete it. Is there another way to pack files into an apk that we can later delete after using it? thanks guich -- You

[android-developers] Re: deletable-assets

2011-12-30 Thread guich
On a side note, is it possible to get the creation data and time of the asset file? -- 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

Re: [android-developers] deletable-assets

2011-12-30 Thread Mark Murphy
On Fri, Dec 30, 2011 at 2:06 PM, guich guiha...@gmail.com wrote: Is there another way to pack files into an apk that we can later delete after using it? No. APKs are immutable. On a side note, is it possible to get the creation data and time of the asset file? Not readily. -- Mark Murphy

[android-developers] A question regarding AsyncTask

2011-12-30 Thread TurboMan
Hi, Would that cause any trouble if I initiate second AsyncTask thread right at the onPostExecute event of first AsyncTask? Regards TM -- 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: A question regarding AsyncTask

2011-12-30 Thread TurboMan
I may ask the question in another way. What is the best way to execute more than one thread after completion of another? -- 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] A question regarding AsyncTask

2011-12-30 Thread Mukesh Srivastav
What are you trying to really achieve with that ? secondly, onpostExecute() is the one which actually executed lastly, i mean after doInbackground(), it means that it executes after your firstAsyncTask is finished and i dont see any problem as long your close all the created objects in preExecute

[android-developers] Re: How should one delete all of the table(but not the table itself without making the thread using that database give an error

2011-12-30 Thread Jeresam515
The solution I found is to change deleteallnotes() to: public void deleteAllNotes() { mDb.execSQL(DROP TABLE IF EXISTS notes);mDb.execSQL(DATABASE_CREATE); } On Dec 30, 8:44 am, Jeresam515 jeremyschiff...@gmail.com wrote: So I'm trying to have a menu button to clear my database when it is

[android-developers] Is my OnTouchEvent() not working correctly?

2011-12-30 Thread Jeresam515
So I'm making a simple painting app for the Android SDK. However, the onTouchEvent() is only getting some of the events not all of them(if I drag my finger across the screen it gets roughly half of the events(points)) Here is my OnTouchEvent(): @Override public boolean onTouchEvent(MotionEvent

[android-developers] Re: A question regarding AsyncTask

2011-12-30 Thread TurboMan
Thanks Mukesh, The reason I am trying to do this is: After I download a file then I wish to process the file in another thread*. *So I have to wait the first thread to finish its job. Regards TM* * -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: A question regarding AsyncTask

2011-12-30 Thread TurboMan
So I can notify the user -- 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

[android-developers] Database not created after insert, causing test to fail

2011-12-30 Thread barry
I have an app which uses a sqlite database and a ContentProvider to serve up data. The eclipse project has a unit test which adds a record to a database, retrieves it and asserts against the retrieved data: public void testAddNewVehicle() { Vehicle vehicle1 = new Vehicle(xyz, my car, 111f); long

[android-developers] Re: Database not created after insert, causing test to fail

2011-12-30 Thread barry
My apologies for the formatting in the original message! On Dec 30, 11:54 pm, barry barry.drinkwa...@gmail.com wrote: I have an app which uses a sqlite database and a ContentProvider to serve up data. The eclipse project has a unit test which adds a record to a database, retrieves it and

[android-developers] Android unit testing with ContentProviders and databases

2011-12-30 Thread barry
I have an app that uses a ContentProvider to serve data instead of directly accessing the database. The application is working as expected but I have a problem with unit tests: how can I force the ContentProvider to use a test database rather than a 'live' one? If I wasn't using a ContentProvider

[android-developers] Re: How should one delete all of the table(but not the table itself without making the thread using that database give an error

2011-12-30 Thread lbendlin
if you only have a few entries then Drop table is a bit of an overkill. Simply issuing Delete from table is sufficient in most cases. -- 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: Expandedlistview

2011-12-30 Thread Sean751
Thanks for responding, I still have a problem I can do a method for public boolean onGroupClick(ExpandableListView parent, View v,int groupPosition, long id) {} but it does nothing when a group is clicked. If I add getExpandableListView().setOnGroupClickListener((OnGroupClickListener) this); it

[android-developers] Android 2.2 MediaPlayer is working fine with one SHOUTcast URL but not with the other one

2011-12-30 Thread yaqub ahmad
Please see the code i am using for streaming shoutcast stream, it works with one URL but NOT with the other one. This one works: Uri myUri = Uri.parse(http://fr3.ah.fm:9000/;); But not with this one: Uri myUri = Uri.parse(http://ib3.islambox.tv:8011/;); SimpleMusicStream.java

Re: [android-developers] Database not created after insert, causing test to fail

2011-12-30 Thread James Black
Where is the database table created? On Dec 30, 2011 6:54 PM, barry barry.drinkwa...@gmail.com wrote: I have an app which uses a sqlite database and a ContentProvider to serve up data. The eclipse project has a unit test which adds a record to a database, retrieves it and asserts against the

[android-developers] Re: Re: Re: Packing data onto socket stream ?

2011-12-30 Thread SL@maxis
These days, it's common to use text-based formats even if it's somewhat less efficient -- to simplify development, debugging and later, maintenance and enhancements. I have not thought about this; anyway I have been more active with PHP, javascript intepreted languages (before C/C++,

Re: [android-developers] Re: Re: Re: Packing data onto socket stream ?

2011-12-30 Thread Miguel Morales
If you have a background with php and javascript you should already know about json. What are you trying to do? This sounds like something a simple webservice with a fileserver could easily do. On Fri, Dec 30, 2011 at 7:45 PM, SL@maxis ecp_...@my-rialto.com wrote: These days, it's common to

[android-developers] Re: Re: Re: Re: Packing data onto socket stream ?

2011-12-30 Thread SL@maxis
If you have a background with php and javascript you should already know about json. What are you trying to do? This sounds like something a simple webservice with a fileserver could easily do. I have heard about 'json' but never bother with it. Those web related things are done with

Re: [android-developers] Re: Re: Re: Re: Packing data onto socket stream ?

2011-12-30 Thread Miguel Morales
If you're doing web dev and don't know about json, you're probably doing something wrong. Anyway, good luck with your odd approach. On Fri, Dec 30, 2011 at 8:25 PM, SL@maxis ecp_...@my-rialto.com wrote: If you have a background with php and javascript you should already know about json.

Re: [android-developers] Re: Re: Re: Re: Packing data onto socket stream ?

2011-12-30 Thread Kristopher Micinski
On Fri, Dec 30, 2011 at 11:25 PM, SL@maxis ecp_...@my-rialto.com wrote: If you have a background with php and javascript you should already know about json. What are you trying to do?  This sounds like something a simple webservice with a fileserver could easily do. I have heard about

[android-developers] Obsolete proguard file

2011-12-30 Thread bob
Can someone explain in a nutshell what this means? Obsolete proguard file; use -keepclasseswithmembers instead of - keepclasseswithmembernames -- 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] single_apk_On_multiple_devices

2011-12-30 Thread Teena sharma
Thanks .I have read whole doc but didn't got accurate solution. On Fri, Dec 30, 2011 at 10:35 PM, TreKing treking...@gmail.com wrote: On Thu, Dec 29, 2011 at 12:50 AM, Teena sharma sharma.teena...@gmail.comwrote: Please give suggestion that how can i install single .apk file on different

[android-developers] Re: Android unit testing with ContentProviders and databases

2011-12-30 Thread Stephan Wiesner
I guess you gave the obvious answer yourself: Don't hardcode the name. Use a variable, maybe a system setting or something from a config file that can be accessed by all your apps and put an if/else block in your provider Greetings from Berne, Stephan On 31 Dez., 01:05, barry