Re: [android-developers] Re: Intents

2011-08-10 Thread Dianne Hackborn
On Tue, Aug 9, 2011 at 7:56 AM, kypriakos demet...@ece.neu.edu wrote: I am running a servlet on the phone that starts an Intent on an Activity class. The class starts the camera preview and takes a picture. Then I have a subsequent Intent start on the same Activity class to stop the preview.

Re: [android-developers] Re: What is the right way to get updates from REST service by timer in Android?

2011-08-10 Thread Miguel Morales
You may want to use a service: http://developer.android.com/guide/topics/fundamentals/services.html On Tue, Aug 9, 2011 at 9:26 PM, Alexey Zakharov alexey.v.zaha...@gmail.com wrote: UPDATE: I need to receive updates even if user has switched to another application or receive a call. UI also

Re: [android-developers] Re: HTTPS in Android

2011-08-10 Thread Jitesh dedhiya
Which android sdk version are you using? On Mon, Aug 8, 2011 at 5:15 PM, perumal316 perumal...@gmail.com wrote: Hi All, Below is my code snippet: File file = new File(filepath); HttpClient client = new DefaultHttpClient();

Re: [android-developers] Re: check wakelocked for each process

2011-08-10 Thread Dianne Hackborn
Sorry you can not. There is no application API for this, nor do I expect there ever to be one. On Tue, Aug 9, 2011 at 6:01 PM, Hiko hikosais...@gmail.com wrote: I implemented dumpsys power command with Runtime.getRuntime().exec() as below. try{ Process process =

[android-developers] Re: Location(longitude and latitude) not Displayed in the phone

2011-08-10 Thread Jeremy Dagorn
Hi, Have you only tried to test that inside or did you tried outside too? On Aug 9, 7:06 pm, zx su suzp1...@gmail.com wrote: the real devices need times to search satellites and calculate ites location. a article: a deep  dive into location by Reto

[android-developers] Copying Application Files on android device and apk versioning Information

2011-08-10 Thread s.rawat
HI, How we can make the apk(on installing) copy the application files on the device .Do we have invoke the script from the application to copy application files(test files,read me, release notes, data files) or is there any other way for example any default folder we have to put the files in and

Re: [android-developers] Re: Location(longitude and latitude) not Displayed in the phone

2011-08-10 Thread Ratheesh Valamchuzhy
i test it also in outside but ot dispalying after i tried to use CellID to locate your Android device and use Google maps to display the map now it is getting for this we need only wifi and 2G/3G nw thanks -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Multiple APK support - Who's tried it?

2011-08-10 Thread String
If they're priced differently, what do you do in the case where a user has bought your app for their phone, then gets a tablet? The infrastructure would need to support incremental purchases - and wouldn't THAT bring idiot users out of the woodwork. You know, the ones who already blame you for

[android-developers] Socket connection android issue

2011-08-10 Thread N K Shrivastva
Hi i want tcp-socket connection for connection with socket and take response back: public static String SERVERIP = 192.168.0.127; // designate a port public static final int SERVERPORT = 5675; private void connectSocket() { // TODO Auto-generated method stub try {

Re: [android-developers] Re: Multiple APK support - Who's tried it?

2011-08-10 Thread Nikolay Elenkov
On Wed, Aug 10, 2011 at 4:31 PM, String sterling.ud...@googlemail.com wrote: If they're priced differently, what do you do in the case where a user has bought your app for their phone, then gets a tablet? The infrastructure would need to support incremental purchases - and wouldn't THAT bring

Re: [android-developers] Socket connection android issue

2011-08-10 Thread Gergely Juhász
You mean that this line: Socket socket = new Socket(serverAddr, SERVERPORT); throws an io exception? Did you set INTERNET permission in your manifest file? Maybe your pc's firewall blocks the connection. On 10 August 2011 09:34, N K Shrivastva kumarnaveen.si...@gmail.com wrote: Hi i want

[android-developers] SQLite access permission denied

2011-08-10 Thread Duygu Kahraman
Hi all; one of my project i want to use sqlite database.I try this code (http://abisogullari.tumblr.com/post/1357225938/android-sqlite- example) ok it works.And then i want to look at data which insert in.i use cmd prompt and then try this( bash-3.1$ /usr/local/android-sdk-linux/tools/adb

[android-developers] display the same Image in the different Position duing the a period of time

2011-08-10 Thread mark2011
Hi, all : I want to display the same Image in the different Position duing the a period of time. How can I do ? Is there any example code? Thanks. BR, Mark -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Socket connection android issue

2011-08-10 Thread NaveenShrivastva
i have already assigned this permission... On Wed, Aug 10, 2011 at 1:23 PM, Gergely Juhász jg.sv...@gmail.com wrote: You mean that this line: Socket socket = new Socket(serverAddr, SERVERPORT); throws an io exception? Did you set INTERNET permission in your manifest file? Maybe your pc's

[android-developers] DroidUX UX/UI component library for Android

2011-08-10 Thread DroidUX DevTeam
Hi all, We just want to introduce you to the DroidUX(tm), the first professional UI/UX component library for Android. DroidUX helps you build high quality and beautiful user interface fast and easy. Building UI conforming to the Android design pattern is just a snap. In few lines of code you

[android-developers] Re: Just in section

2011-08-10 Thread Peter Webb
On Aug 10, 11:50 am, John Coryat cor...@gmail.com wrote: Even if you can get traffic for being new, its only momentary. But it's a start There was a huge negative side effect of that just in category. Developers would make an update every week for no other reason than to appear at the

[android-developers] ActionBar in TabActivity

2011-08-10 Thread Julius Spencer
Hi, I have a TabActivity and I would like to add tabs to the ActionBar in the Honeycomb+ devices. I'm not sure how to have a TabActivity for pre Honeycomb and yet use a FragmentActivity at the same time to access the actionbar. Has anyone know how to get around this issue? Regards, Julius.

Re: [android-developers] Socket connection android issue

2011-08-10 Thread NaveenShrivastva
On Wed, Aug 10, 2011 at 2:06 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i have already assigned this permission... On Wed, Aug 10, 2011 at 1:23 PM, Gergely Juhász jg.sv...@gmail.comwrote: You mean that this line: Socket socket = new Socket(serverAddr, SERVERPORT); throws an

Re: [android-developers] ActionBar in TabActivity

2011-08-10 Thread Julius Spencer
Oops just saw the updated documentation for how to do tabs here: http://developer.android.com/reference/android/app/TabActivity.html Will give that a go. On 10/08/2011, at 9:00 PM, Julius Spencer wrote: Hi, I have a TabActivity and I would like to add tabs to the ActionBar in the

Re: [android-developers] ActionBar in TabActivity

2011-08-10 Thread Mark Murphy
You may also wish to consider Action Bar Sherlock, which allows you to have an action bar (and tabs in the action bar, a la Honeycomb) on phones. On Wed, Aug 10, 2011 at 5:06 AM, Julius Spencer jul...@msa.co.nz wrote: Oops just saw the updated documentation for how to do tabs here:

[android-developers] Speedometer Development - Help Needed

2011-08-10 Thread Rikki
Hi, I need to integrate a speedometer type widget or graphic item where I want to display the data packets coming from the network in a meter type image. I don't know anything about the graphics on android or how to do the animation. Guide me through on how to achieve this in some quick

[android-developers] How could I disable all the over scroll effect in my app?

2011-08-10 Thread wsgfz...@gmail.com
the blue shadow over scroll effect looks really ugly in our app. Is there a way to disable all the over scroll effect? you know there are lots of ScrollView and Lists in it... that would be a shame if i have to disable it in every widget that can scroll... thx~ -- You received this message

[android-developers] Re: pass hashtable from one activity to another activity

2011-08-10 Thread sktniran
thanks worked for me On Aug 9, 7:25 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Use a Bundle instead of a Map (HashMap/Hashtable). *Bundle bundle = new Bundle();* *...* *... // copy contents of hash map into bundle * *...* *intent.putExtra(myhashmap, bundle);* *...* In other

[android-developers] key from value in hash table

2011-08-10 Thread sktniran
Hi is it there any way to retrive key from value in hashtable? -- 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] How to disable first screen after execute first time

2011-08-10 Thread GopalaKrishnan D
pls anyone help me. i use shared preference but i can't get it... -- ~* Regards* *GopalaKrishnan D* -- 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

Re: [android-developers] How to disable first screen after execute first time

2011-08-10 Thread Appaholics
Store a boolean in SharedPreferences. On Wed, Aug 10, 2011 at 6:11 PM, GopalaKrishnan D gopall...@gmail.comwrote: pls anyone help me. i use shared preference but i can't get it... -- ~* Regards* *GopalaKrishnan D* -- You received this message because you are subscribed to the Google

[android-developers] Best Way to Retireve, Display and Use 2 Values in a ListView from a JSON Array?

2011-08-10 Thread usafrmajor
I have been able to retrieve one value from a MySQL database, display it in a ListView and use that value in a setOnItemClickListener method. Now I would like to retrieve two values, one that will be displayed in the ListView that makes sense to the user and a second one that will be used as

Re: [android-developers] display the same Image in the different Position duing the a period of time

2011-08-10 Thread TreKing
On Wed, Aug 10, 2011 at 3:05 AM, mark2011 androidmark2...@gmail.com wrote: I want to display the same Image in the different Position duing the a period of time. Look up Animation in the Android documentation - specifically Translation. How can I do ? Is there any example code? Probably,

Re: [android-developers] How to disable first screen after execute first time

2011-08-10 Thread GopalaKrishnan D
after that how i fetch the value. and where i want to fetch... -- ~* Regards* *GopalaKrishnan D* -- 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

[android-developers] Re: Multiple APK support - Who's tried it?

2011-08-10 Thread mort
On 9 Aug., 16:59, b0b pujos.mich...@gmail.com wrote: I have not tried multiple APK support but IMHO it is much trouble for what it's worth. It is much more simple to have a universal APK, even if size is bigger. Where it works, you're right. But show me how to support Android 1.5 (or even

Re: [android-developers] key from value in hash table

2011-08-10 Thread TreKing
On Wed, Aug 10, 2011 at 7:19 AM, sktniran sktniranjanad...@gmail.comwrote: is it there any way to retrive key from value in hashtable? Assuming the value is unique, walk the list by key until your find the value you're looking for. Obviously, this is slow and not how a hashtable is meant to be

Re: [android-developers] Re: Multiple APK support - Who's tried it?

2011-08-10 Thread Mark Murphy
On Wed, Aug 10, 2011 at 9:15 AM, mort m...@sto-helit.de wrote: But show me how to support Android 1.5 (or even earlier) and Honeycomb features (Action Bar, Fragments, ...) in one apk without going insane with reflection, different classes, and so on. Ignore Android 1.5 for new development.

Re: [android-developers] key from value in hash table

2011-08-10 Thread Nick Risaro
On Wed, Aug 10, 2011 at 10:19 AM, TreKing treking...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:19 AM, sktniran sktniranjanad...@gmail.comwrote: is it there any way to retrive key from value in hashtable? Assuming the value is unique... ... you can build another map and keep both

[android-developers] Connection refused: connect socket

2011-08-10 Thread N K Shrivastva
Trying this code for socket interface ObjectOutputStream oos = null; ObjectInputStream ois = null; Socket socket = null; Date date = null; try { // open a socket connection socket = new

Re: [android-developers] key from value in hash table

2011-08-10 Thread Daniel Drozdzewski
On 10 August 2011 14:19, TreKing treking...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:19 AM, sktniran sktniranjanad...@gmail.com wrote: is it there any way to retrive key from value in hashtable? Assuming the value is unique, walk the list by key until your find the value you're looking

Re: [android-developers] How to disable first screen after execute first time

2011-08-10 Thread Appaholics
http://developer.android.com/guide/topics/data/data-storage.html#pref On Wed, Aug 10, 2011 at 6:40 PM, GopalaKrishnan D gopall...@gmail.comwrote: after that how i fetch the value. and where i want to fetch... -- ~* Regards* *GopalaKrishnan D* -- You received this message because

[android-developers] Re: how best to access string resources from AsyncTask.doInBackground

2011-08-10 Thread nadam
Renaming helps sometimes to prevent such accidents, for instance if you know the task should always be created from an activity you can do like this: *public class MyAsyncTask extends AsyncTask... {* * private Context appContext;* * * public MyAsyncTask(Activity activity) {* *appContext =

[android-developers] Connection refused: connect socket

2011-08-10 Thread N K Shrivastva
Trying this code for socket interface ObjectOutputStream oos = null; ObjectInputStream ois = null; Socket socket = null; Date date = null; try { // open a socket connection socket = new

Re: [android-developers] Connection refused: connect socket

2011-08-10 Thread Nick Risaro
On Wed, Aug 10, 2011 at 11:21 AM, N K Shrivastva kumarnaveen.si...@gmail.com wrote: Exception in thread main java.lang.NullPointerException at connection.run(connection.java:94) Check the connection class, specially the line 94 -- You received this message because you are subscribed

Re: [android-developers] Re: how best to access string resources from AsyncTask.doInBackground

2011-08-10 Thread Nikolay Elenkov
On Wed, Aug 10, 2011 at 11:15 PM, nadam a...@anyro.se wrote: Renaming helps sometimes to prevent such accidents, for instance if you know the task should always be created from an activity you can do like this: Or have your constructor accept Application which is a Context. -- You received

[android-developers] Re: enableForegroundNdefPush not working

2011-08-10 Thread nadam
Check out the sticky notes example at https://nfc.android.com On 9 Aug, 03:46, musfiq musfiqu...@gmail.com wrote: Hi: I am trying to share a string between mobile phones using NFC. I want the same application to send the tag and another to receive the tag in two different role (Sender and

[android-developers] Click an item in GridView programmatically

2011-08-10 Thread Raj
Hello all, I have a problem with GridView. What I want to do is click on an item in the GridView programmatically, i.e. without any need to click on it by user. I know that performClick() is the function to do so. But, how to use it with GridView? Because, I want to click on a specific item in

[android-developers] Re: Test Project Question

2011-08-10 Thread Diego Torres Milano
This answer may get you started: http://stackoverflow.com/questions/6961754/how-to-call-button-performclick-in-android-junit-test-case/6963033#6963033 On Aug 9, 6:09 pm, Ab Caballero a...@mac.com wrote: I want to test that when a button is pressed, that it always does the work it is supposed to

[android-developers] Styling Honeycomb EditText's when inputType is specified

2011-08-10 Thread Weston Weems
Ok, I've just noticed some oddities with honeycomb ui... and am sure its something I am missing... and hoping someone here has the answer. You know how in holo theme, the edittexts look diff depending on the inputType? Eg, if inputType=number, theres the bottom border, but no top etc. I am

Re: [android-developers] Click an item in GridView programmatically

2011-08-10 Thread TreKing
On Wed, Aug 10, 2011 at 9:42 AM, Raj bande.rajki...@gmail.com wrote: But, how to use it with GridView? Because, I want to click on a specific item in that gridview, not an entire gridView. Read the GridView docs. Looks like you can set the selected item and you can get the selected item. You

[android-developers] Re: What is the right way to get updates from REST service by timer in Android?

2011-08-10 Thread nadam
...and possibly AlarmManager http://developer.android.com/reference/android/app/AlarmManager.html On 10 Aug, 08:32, Miguel Morales therevolti...@gmail.com wrote: You may want to use a service:http://developer.android.com/guide/topics/fundamentals/services.html On Tue, Aug 9, 2011 at 9:26 PM,

[android-developers] Re: SQLite access permission denied

2011-08-10 Thread lbendlin
what are you actually trying to achieve? The normal process would be to either create the database in code, or include it in the APK. In both cases the permissions are being taken care of. What's the point in your attempt to work with the database through adb? -- You received this message

[android-developers] connecting USB serial device to Android handset, is it possible?

2011-08-10 Thread razor
Hi. I have simple USB interface (acting like serial port, basen on FTDI FT245RL chip). It works on windows like COM port. Is it possible to connect it to Android Phone (like HTC Desire) and read/write values from this port ? -- You received this message because you are subscribed to the Google

[android-developers] Re: Speedometer Development - Help Needed

2011-08-10 Thread lbendlin
Here's a good start http://developer.android.com/guide/topics/graphics/2d-graphics.html -- 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] how to play audio file from sd card ?

2011-08-10 Thread lbendlin
You can read about it here http://developer.android.com/guide/index.html -- 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: connecting USB serial device to Android handset, is it possible?

2011-08-10 Thread lbendlin
this may help http://developer.android.com/guide/topics/usb/host.html -- 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] Click an item in GridView programmatically

2011-08-10 Thread Rajkiran Bande
Hey thanks TreKing, I found one method, mGridView.performItemClick(view,position,id); It is calling the onItemClick method successfully. But the only thing is I have changed the image of that item on click of it, through XML, which is not happening if I click on that item programmatically. I

[android-developers] Re: Multiple APK support - Who's tried it?

2011-08-10 Thread b0b
On Aug 10, 3:15 pm, mort m...@sto-helit.de wrote: On 9 Aug., 16:59, b0b pujos.mich...@gmail.com wrote: Where it works, you're right. But show me how to support Android 1.5 (or even earlier) and Honeycomb features (Action Bar, Fragments, ...) in one apk without going insane with reflection,

[android-developers] WebView Scaling behavior vs UIWebView in iOS

2011-08-10 Thread Mark
I am having some difficulty getting the Android WebView object to properly scale my content. In iOS, the UIWebView object has a scalesPagesToFit property which automatically scales content to fit the boundaries of the UIWebView. In my case, the content contains a number of absolutely

[android-developers] Android Location Update every 30 seconds

2011-08-10 Thread Hank
If I determine the phone is active by reading the accelerometer, I want to update the location of the phone every 30 seconds. If after a while, I determine it's not moving, I stop the location updates. Is it better to leave a LocationListener on during that time, or is it better to register a

[android-developers] Re: connecting USB serial device to Android handset, is it possible?

2011-08-10 Thread Chris Stratton
On Wednesday, August 10, 2011 10:55:14 AM UTC-4, razor wrote: Hi. I have simple USB interface (acting like serial port, basen on FTDI FT245RL chip). It works on windows like COM port. Is it possible to connect it to Android Phone (like HTC Desire) and read/write values from this port

Re: [android-developers] Android Location Update every 30 seconds

2011-08-10 Thread Appaholics
I can't really help you with your main problem but you might want to watch out for this. The phone can and cannot be in use even when the accelerometer is moving fast or not moving. Example 1: The user is walking with the phone in his pocket. Creates a sizable amount of movement but phone is not

[android-developers] Re: Just in section

2011-08-10 Thread Nathan
On Aug 10, 1:42 am, Peter Webb r.peter.w...@gmail.com wrote: The most obvious thing to do is reduce the number of new apps by not allowing crap to be uploaded. I'm in agreement in principle here, though I'm not from Google so that Ohh, and BTW, some talk here about the significance of the

Re: [android-developers] Re: Multiple APK support - Who's tried it?

2011-08-10 Thread TreKing
On Wed, Aug 10, 2011 at 10:38 AM, b0b pujos.mich...@gmail.com wrote: As said by Mark, you can ignore anything below Android 2.1 as it is irrelevant. Mark said: Ignore Android 1.5 for new development. Key word new. http://developer.android.com/resources/dashboard/platform-versions.html 1.5 +

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-08-10 Thread John Coryat
This appeared today in MacWorld: http://www.macworld.com/article/161667/2011/08/wolfram_lodsys_patent.html -John Coryat -- 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] Android Location Update every 30 seconds

2011-08-10 Thread Bill Gatliff
Example 5: User is on a telecon with a Bluetooth earpiece. In-call, but phone is probably sitting on a desk. On Wed, Aug 10, 2011 at 11:03 AM, Appaholics raghavs...@appaholics.in wrote: I can't really help you with your main problem but you might want to watch out for this. The phone can and

[android-developers] Re: Multiple APK support - Who's tried it?

2011-08-10 Thread b0b
On Aug 10, 6:18 pm, TreKing treking...@gmail.com wrote: On Wed, Aug 10, 2011 at 10:38 AM, b0b pujos.mich...@gmail.com wrote: As said by Mark, you can ignore anything below Android 2.1 as it is irrelevant. Mark said: Ignore Android 1.5 for new development. Key word new. Of course for

[android-developers] Help me!!!

2011-08-10 Thread ram
Hello, I'm trying to find a way to rotate a View, or (more conveniently) an entire layout, upside down and have it stay that way. I found the rotation and animation classes in the SDK, and these come close to what I want, but at the end of the animation I want my Layout to stay rotated; repeating

[android-developers] how to change color of list view item's component

2011-08-10 Thread P B Lal
Dear experts, I have a list view with two items in each row(one below another). I have changed the background white and its focus-selection color but my requirement is as follows There are two items(both textviews) in each list item(one below other) Upper textview's color is orange and lower

[android-developers] Google maps opens up in app with the entire US map

2011-08-10 Thread Buddy123
Hi, I am creating an app that will display a map using the Google maps app on Android. The experience is however not ideal. When the app opens up Google maps, the entire US map shows up and doesn't seem to use the current location of the device. What can be done to correct this behavior ?

[android-developers] How to implement a video decoder?

2011-08-10 Thread Peter
Folks, In the project that I am working on, a mpeg-4 file is encrypted and stored on the Android device. To play this file, I am thinking the best way would be to write a pseudo video decoder that simply decrypts the data on the fly and pipes it to the mpeg-4 decoder shipped with the OS. I am

[android-developers] image search engine

2011-08-10 Thread Stefant
Hi there, we are a small start up and we developed a image search engine which is very fast and it can scale, we can look for a search in a index of a few million images in less than 1 second, For a demo check this URL: http://www.quadstreaming.com/searchengine.wmv in this demo we index a video

[android-developers] Re: Cheap Bluetooth devices sought

2011-08-10 Thread Lotfi
Hi LMX9838 you need to add a microcontroller (PIC24F64A002 or something else) best On 8 août, 18:55, cellurl gpscru...@gmail.com wrote: Anyone know of a $10 bluetooth device that I can buy in low quantities? For example something a phone could turn on/off? I need 2 remote switches. Just on

Re: [android-developers] android Date picker

2011-08-10 Thread ram guna
http://developer.android.com/resources/tutorials/views/hello-datepicker.html pls refer the above link On Tue, Aug 9, 2011 at 11:14 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: Hi, I want to set default date for date picker. Can any one please help me. Thanking you,

Re: [android-developers] android game development

2011-08-10 Thread Vishal Kathiriya
According to me this one is a good book as far as my knowledge and it is *Addison-Wesley - Android Wireless Application Development, 2nd edition by Shane Conder, Lauren Darcey(2011)*. You can also find PDF version of that book on the internet for free. -- With warm regards,* ** Vishal

[android-developers] Problem With Load IMage in sdcard

2011-08-10 Thread xorn
Hi, I have a web application and I want to show in a remote html page an image in this way : html body pLoad Local Image/p img src=file:///Removable/MicroSD/android_asset/LOCAL_MAPS/tiles/ 8/57/113.png / /body /html but the image does not show through native browser of Android.

[android-developers] Widget starts application

2011-08-10 Thread Lotfi
Hi I am new to android dev. I am making an application associated with a widget The widget has to display some information and if the user click on it, it opens the application, which can change the config, display more things etc.. on close, the widget has to refreash its display I made a mix

[android-developers] Re: android Date picker

2011-08-10 Thread syed akhtar ali
try this code: change the package name. package com.start; import java.util.Calendar; import com.start.R.id; import android.app.Activity; import android.app.DatePickerDialog; import android.app.Dialog; import android.app.TimePickerDialog; import android.content.Intent; import android.os.Bundle;

[android-developers] rotating textview

2011-08-10 Thread ram
Hi, In my project i want to display a textview in vertical view (from top to bottom). I have used android.view.animation.Animation class to rotate that textview from 0 degree to 90 degree. when the screen sizes of devices are changed i cant see the entire texts from the textview.Because of that

[android-developers] Galaxy S2 kills my app by signal 7 without stack trace.

2011-08-10 Thread suppa
Hi, I am developing the app which has a lot of native threads. the app is frequently killed by signal 7 on only Galaxy S2 without stack trace. And gdb can't catch the signal. Does someone have same experience? And what happen?? -- You received this message because you are subscribed to the

[android-developers] Website login with points report

2011-08-10 Thread Martino
So I'm looking to create an app that can login to an already established website that displays reward points for a rewards card. How could I go about getting started on creating one of these? I'm completely new to creating applications and this group, so i apologize if I was not supposed to post

Re: [android-developers] Re: Problem in starting Android emulator

2011-08-10 Thread Roderick Castillo
Hello Barry, Here is an example of the start-up command line options for Eclipse: eclipse.exe -vmargs -Xms1024m -Xmx1024m -vm c:\jdk1.4.2\jre\bin\ and a link for further explanation on the options for v3.5 (Galileo):

[android-developers] how to use common baseadapter class for all listviews?

2011-08-10 Thread Hitendrasinh Gohil
Hi, can anyone tell me how to make common base adapter class to use with different listviews? -- 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

[android-developers] I am getting error for checkbox

2011-08-10 Thread Dinesh
Hi , I am new to android development and i am trying to build an application. I have following issues. In the main.xml -- if i select locale as android 2.1.1 and try to drag and drop radio button then it gives me error -- failed to load btn_radio_on.png if i select locale as 2.3.3 and try to

[android-developers] Re: How to use the GPS receiver without using the internet?

2011-08-10 Thread Reinhard Spisser
You don't need an Internet connection to get the current location. You can find a sample here: http://www.vogella.de/articles/AndroidLocationAPI/article.html On Aug 7, 1:54 pm, Eden Lloyd lordzden...@gmail.com wrote: I am an newbie Android developer, and I am planning to use GPS enabled

[android-developers] AutoCompleteTextView.isPopupShowing() is always FALSE in onClick()

2011-08-10 Thread ricky
AutoCompleteTextView.isPopupShowing() is always FALSE in onClick(). How can I know that AutoCompleteTextView loose foucs and AutoCompleteTextView's listview opened / closed? thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: XML Parsing Methods

2011-08-10 Thread Shahs
SAX PARSING DOM PARSING On Aug 7, 10:40 pm, Mahesh Thallapally tmcp...@gmail.com wrote: What are the XML Parsing methods. -- 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: Serious bug in 3.2 ResolverActivity

2011-08-10 Thread asqz
I have the same problem on Xoom with Honeycomb 3.2 On Aug 8, 6:55 pm, webmonkey webmonke...@gmail.com wrote: In Honeycomb 3.2 when you start an intent and there are multiple activities that are capable of handling the intent the ResolverActivity is displayed but it does not show the choice

[android-developers] Android/iPhone Developer Wanted

2011-08-10 Thread Mark McGinley
We are building a location aware social application using mobile devices and a server infrastructure. We have a great idea, a design, and a great start on an app. We are looking for a person with the fire and chops to help us finish the app. This is a sweat equity position with huge upside

[android-developers] Accessing com.aricent.internal.telephony.Connection from an app

2011-08-10 Thread saurabh
Hi, I want to access this class from an application which can keep track of call connection state and have a listener created so that it gives me status whenever a call gets disconnected. Is there any way/workaround to access this class from the third party app as this is not currently

[android-developers] Can't find variable: XPathResult

2011-08-10 Thread Bhavna Bharti
Hi all I am working on android sdk 2.3.3 and am running this piece of javascript code inside Android Web view but XPathResult seems to be undefined. 08-09 10:38:16.976: ERROR/Web Console(336): ReferenceError: Can't find variable: XPathResult at file:///android_asset/parseEngine.js:65 The piece

Re: [android-developers] Android Application Development

2011-08-10 Thread Matheus Bodo
I don't know if I undertood your question, but the way you wrote your code, it will write the source code of the page in the Log. If your intention was to open the browser to load the url, you should do it via Intent. This may help you:

[android-developers] Problem with accessing custom attributes of a custom view/layout

2011-08-10 Thread Balázs Szabó
Hi! I created a custom View called LabeledSpinner that consists of a TextView and a Spinnerand extends LinearLayout. I created an attrs.xml file and put the following lines into it ?xml version=1.0 encoding=utf-8? resources declare-styleable name=LabeledSpinner attr name=text

[android-developers] Re: Serious bug in 3.2 ResolverActivity

2011-08-10 Thread asqz
I have the same problem on Xoom with Honeycomb 3.2 -- 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] How to Create Panel Control in Android in Eclipse

2011-08-10 Thread LAKSHMI KUMARI YENUMULA
Hi Guys, Am new in Android App.i have requirement like this i have spinner control when am selecting one item show some controls and am selecting another item previous one hide this one show in Panel control. Wch control use them how to create like tis way . Please help me.. Regards

[android-developers] Re: Option to unlock the boot loader for Sony Ericsson Android Gingerbread phones now available.

2011-08-10 Thread Aiden Thompson-Woods
According to this: http://www.youtube.com/watch?v=ShtWcsof3Rk it is possible. On Jul 25, 5:19 pm, RahulYD rahu...@gmail.com wrote: @Carl one of my friends is interested in buying the Xperia Mini/Xperia Mini

[android-developers] Re: GPS:Getting SHA1 instead of MD5 fingerprint, wants to get Google MAP API..

2011-08-10 Thread cello
if using keytool.exe -v (jdk 1.7) then different fingerprints are provided (e.g such as MD5 etc.) example: C:\[jdk path]\bin\keytool.exe -v -list -keystore C:\Documents and Settings\Administrator.android\debug.keystore hope this helps? On 10 Jun., 18:56, Prachi pnks...@gmail.com wrote: I am

[android-developers] Insert StatusUpdates into an exist contact, but always insert to a wrong contact

2011-08-10 Thread Brook
sample contacts: _ID DISPLAY_NAME PHONE 1 contact1 2 contact2 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode()); Cursor c = this.getContentResolver().query(uri, new String[] {Data._ID}, null, null, null); long profileId = 0; if

[android-developers] Insert StatusUpdates into an exist contact, but always insert to a wrong contact

2011-08-10 Thread Brook
sample contacts: _ID DISPLAY_NAME PHONE 1 contact1 2 contact2 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode()); Cursor c = this.getContentResolver().query(uri, new String[] {Data._ID}, null, null, null); long profileId = 0; if

Re: [android-developers] Wifi Scanning code

2011-08-10 Thread Matheus Bodo
If you are using Eclipse, look for the LogCat tab to get more information about the exception that's being thrown. This way it's easier to know what's the problem. Cheers, Matheus 2011/8/6 Gabor T. t.gabo...@gmail.com Here is my code: package hu.wifx.droid; import android.app.Activity;

[android-developers] [Dalvik] JIT profiling

2011-08-10 Thread Oleg Strikov
In the IO 2010 presentation guys from Google's Dalvik team showed profiling capabilities of their JIT compiler. This capability could be enabled with 'dalvik.vm.jit.profile=true' in system properties. But I can't profile JIT on GB and HC. Moreover I can't find 'dalvik.vm.jit.profile=true'

[android-developers] Hidden WebView

2011-08-10 Thread yakobom
Hi, I'm kinda new to Android. I have my main view, and I need to create and run a hidden WebView in the background. Can someone help me with that? Thanks in advance, yakobom -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Activity Flow Brain Teaser

2011-08-10 Thread Neal Sanche
Hi All, I have been learning about the complex problem of Activities, launch flags, Intent flags, tasks and the Activity stack. I've been trying to solve what I thought would be a simple problem. Our application has a Search Activity that can possible be entered through two paths: 1)

Re: [android-developers] Re: Live Streaming to Android 2.1

2011-08-10 Thread Honest Knight
hi daniel, can you please be detail about 3rd party library? It will be great if you give some references and samples. - Mahabub Hassan Rahul http://www.flickr.com/photos/mahabub_hassan_rahul/ On Tue, Aug 2, 2011 at 5:48 PM, deepak emailmedee...@gmail.com

[android-developers] Reporting tool for Android application

2011-08-10 Thread elin
Is there any reporting API that can be used for displaying local data as chart or image on the phone? 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@googlegroups.com To

  1   2   >