[android-developers] Re: Alarm in sleep mode

2010-12-28 Thread b_t
Hmm, so there is no possibility to display "real-time" information in a widget? For example a compass widget? What is an acceptable refresh rate? And the main question, why does the alarmmanager send alarms in sleep mode when I use RTC instead of RTC_WAKEUP? Thanks On Dec 29, 5:25 am, kernelpan

Re: [android-developers] Re: pdf reader

2010-12-28 Thread Robin Talwar
This is my onclick code public void onClick(View v) { // TODO Auto-generated method stub Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.setDataAndType(Uri.parse("file:///raw/unlockingandroid.pdg"), "application/pdf"); tr

[android-developers] Re: Game for multiple phones - need multiple apk's or turn on / off different resources upon build of apk

2010-12-28 Thread Jason
What most other "large" games seem to be doing is a second download of data once the app is launched. So the "core" app you distribute on the market doesn't have any resources, then when the app loads it downloads the resources appropriate for the device. The advantage is the app on the market wi

[android-developers] Re: Need An Android App That Pulls In My sites feeds

2010-12-28 Thread Jason
There is a tool called AppMakr (www.AppMakr.com) which will allow you to easily create this type of app. Their Android version is about to be released, but you can try signing up for a beta here: http://blog.appmakr.com/android-beta-test/ On Dec 29, 7:34 am, james riter wrote: > I am making a

[android-developers] Testing in android

2010-12-28 Thread oriharel
Just a question - How many of you use the testing infrastructure provided by Android? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, s

Re: [android-developers] New Application - advice on how to get started?

2010-12-28 Thread Brad Gies
There are quite a few tutorials on Maps out there, so you will find something. My advice is to forget about "every few seconds", unless you're experimenting to see how fast you can kill a battery. Go for every 5 minutes or something, unless it's critical that you get updates that frequently.

[android-developers] How I get Command in Home Screen In Android

2010-12-28 Thread Animesh Sinha
I mean to say that i want a notification(Command) same as when we type *#06# in home screen it will show a IMEI no. in the same way when i press a certain code (eg: *#12345#) then it will notify to my service which is running in background. Plz solve my problem and reply me soon. Waiting -

Re: [android-developers] Surfaceflinger Overlay rendering

2010-12-28 Thread 袁堂夫
Is the ACCESS_SURFACE_FLINGER permisson error? 2010/12/28 Butchi Peddi : > Hi, > > I am facing issues with surfaceflinger overlay. I created surfaceview > and getting surface object from it in java. > > surface created from surfaceview is passed to native layer. > > In native layer created overla

Re: [android-developers] Re: pdf reader

2010-12-28 Thread Jake Basile
Just like opening any other type of file on Android, you should try to launch an intent to view it. Intent openPdfIntent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(pdfFile), "application/pdf"); try { startIntent(openPdfIntent); } catch(ActivityNot

[android-developers] Re: how to submit rating for the application to android market

2010-12-28 Thread Jake Basile
The best you could do is launch a browse intent to direct people to your app on the market. Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse("market://search?q=pname:your.package.here")); startActivity(intent); -- You received this message because you are subscribed to t

[android-developers] Converting Touch Inputs to Vectors

2010-12-28 Thread Paul
Hi all. I am writing an app that will convert touchscreen user inputs (such as the user 'handwriting' on the screen) into vectors that can then be saved and recalled later. I need to get the vectors into a format I can store locally, either as a file or in an SQLite database. Just wondering if a

Re: [android-developers] Re: How to exit the application..?

2010-12-28 Thread Dianne Hackborn
No, it doesn't, it exits the process, but leaves whatever activity stack is being maintained by the system. 2010/12/28 Sandeep N M > System.exit(0); > > Gets you out of anywhere to home screen :). > > Regards > Sandeep > On Dec 27, 4:43 pm, Manoj Maurya wrote: > > you have to call finish() when

Re: [android-developers] Upload image file to server

2010-12-28 Thread Abhilash baddam
Hi naveen, Go through this link may be it'l be useful.. http://androidsnips.blogspot.com/2010/08/upload-file-to-remote-server-in-android.html Regards, Abhilash.B On Tue, Dec 28, 2010 at 4:

Re: [android-developers] yahoo local search xml reply in android

2010-12-28 Thread zeeshan mirza
Thank you for your reply Frank. I know about parsing and I am using SAX parser. I want to know how can i read a specific tag or element from xml response. For example in yahoo local search response there is title, address, city, state, phone and many more for each cactegory. Category means coffee s

RE: [android-developers] Re: Passing objects to new intents

2010-12-28 Thread maomaostevencao
As Mark said you can't really do this if you use any of the derived Activity classes (List, Tab, and especially Map). For this kind of "common activity stuff" I created a proxy of sorts - a class that takes an instance of an Activity and implements functions that are common for all. Then each Activ

[android-developers] Suggestions for my inventory application

2010-12-28 Thread Abhishek Talwar
Hey guys I have an application on which i have been working on for a while now. The application has 4 major areas :- 1. Item Master -> Where user can create new products 2. Purchase -> Created products are inflated in autocompletetextview and user can add quantity to it . 3. Sale -> Created produc

Re: [android-developers] Re: How to exit the application..?

2010-12-28 Thread Abhilash baddam
But system.exit(0); is not working..? 2010/12/28 Sandeep N M > System.exit(0); > > Gets you out of anywhere to home screen :). > > Regards > Sandeep > On Dec 27, 4:43 pm, Manoj Maurya wrote: > > you have to call finish() whenever u want to exit. > > > > Thanks > > Manoj Kumar Maurya > > > > > a

Re: [android-developers] yahoo local search xml reply in android

2010-12-28 Thread Frank Weiss
You may want to check the Yahoo forums. Parsing XML is a far more general subject than questions about the Android SDK. So google is you friend, my friend. The Android SDK provides three packages for parsing XML: java.xml.parsers (DOM) org.xml.sax (SAX push) org.xml.saxpull.v1 (SAX pull) -- Yo

Re: [android-developers] Re: pdf reader

2010-12-28 Thread Robin Talwar
Even i would like to have the answer of this query. Please if anyone could share a link or tutorial it would be nice. On Wed, Dec 29, 2010 at 8:14 AM, DanH wrote: > Send intent. Tricky. Some PDF readers not respond to some intent. > Must learn different. > > On Dec 27, 6:00 am, Ramesh Solanki

[android-developers] Re: How do I replace my entire Styles.xml with downloaded newStyles.xml?

2010-12-28 Thread Bob Kerns
No, you can't do it in a simple way. What you're literally asking, you can't do at all. The original XML file no longer exists, having been compiled by the resource compiler into a binary format. Even if it still existed, it'd be part of your .apk, and thus still not modifiable. You could, of cou

[android-developers] yahoo local search xml reply in android

2010-12-28 Thread zeeshan mirza
I am using yahoo local search in my android application to find nearest coffee shop or resturant. I am receiving a reply from yahoo local search service in XML form. I dont know how to process such xml reply. Do i need to parse this xml reply? and how can i read the contents of the reply? -- You

[android-developers] Re: Adding SDK 1.6 breaks working development environment

2010-12-28 Thread Bob Kerns
I posted a reply on stack-overflow for you. Basically, to summarize: Eclipse needs to write in its configuration directory when changes are made. By default, that's stored in the configuration/ subdirectory. If you move Eclipse to somewhere besides C:\Program Files\ (which I recommended to someon

[android-developers] Re: Dialog, ListView, ListViewAdapter, form elements

2010-12-28 Thread kampy
hi in that itemmselect listener u need to write the onclick listener for the list item On Dec 29, 9:42 am, kampy wrote: > hi > > is that you need click on the list item . if that unned to override > the function AdapterView.OnItemSelectedListener > > On Dec 29, 9:05 am, "Hendrik Greving" wrote

[android-developers] Re: Listview selector no more color

2010-12-28 Thread Mystique
Thanks Sandeep, It works nicely. Just curious, is this the usual way to do it? Regards, CJ On Dec 28, 7:58 pm, Sandeep N M wrote: > Add this to layout/list.xml > > > http://schemas.android.com/apk/res/ > android" >         android:orientation="vertical" android:layout_width="fill_parent" >    

[android-developers] Re: Dialog, ListView, ListViewAdapter, form elements

2010-12-28 Thread kampy
hi is that you need click on the list item . if that unned to override the function AdapterView.OnItemSelectedListener On Dec 29, 9:05 am, "Hendrik Greving" wrote: > I have a Dialog, setContentView set to a xml ListView. I then use a > ListAdapter that returns view form elements, like RadioGr

[android-developers] Re: Dialog, ListView, ListViewAdapter, form elements

2010-12-28 Thread Hendrik Greving
Ok I used ScrollView and it works. - Original Message - From: Hendrik Greving To: Android Developers Sent: Tuesday, December 28, 2010 8:05 PM Subject: Dialog, ListView, ListViewAdapter, form elements I have a Dialog, setContentView set to a xml ListView. I then use a List

[android-developers] Re: Looking for GUI in android tablet

2010-12-28 Thread kampy
hi For the problem you are facing you need to create values-land and values-port where you need to mention the dimensions of the used buttons and other. The view will be take care by the device . On Dec 28, 6:39 pm, Nandlal Viranni wrote: > Hi All, > > I am new to Android and I am developing

[android-developers] Re: Building a Custom Browser

2010-12-28 Thread Bob Kerns
Or, depending on what new features you want, perhaps you can build your new browser around WebView. On Dec 28, 6:17 pm, Mark Murphy wrote: > On Sun, Dec 26, 2010 at 11:18 PM, Pathman wrote: > > I want to create an android application that is a customized version > > of the standard "browser" app

[android-developers] Re: Alarm in sleep mode

2010-12-28 Thread kernelpanic
On Dec 28, 8:00 pm, Mark Murphy wrote: > On Sat, Dec 25, 2010 at 3:54 PM, b_t wrote: > > In an appwidget I declare a repeating alarm to refresh a widget in > > every 10 seconds: > > Please don't. yeah really - not on my phone you won't -- You received this message because you are subscribed

[android-developers] Re: Noob: Help in setting up Eclipse

2010-12-28 Thread Bob Kerns
I'd say your main problem is that you assume you can write in C: \Program Files. You can't (in Vista and later), unless you run as an administrator. You could run a command shell as administrator, and do it from there, but I'd suggest you not do that. I'd suggest you put the SDK somewhere else --

Re: [android-developers] Re: Restarting Application Service

2010-12-28 Thread Dianne Hackborn
As the documentation says, setForeground has been replaced with startForeground. On Tue, Dec 28, 2010 at 7:14 PM, Prasath wrote: > i think i can use START_STICKY in case of the below scenario. > > "This mode makes sense for things that will be explicitly started and > stopped to run for arbitrary

[android-developers] Dialog, ListView, ListViewAdapter, form elements

2010-12-28 Thread Hendrik Greving
I have a Dialog, setContentView set to a xml ListView. I then use a ListAdapter that returns view form elements, like RadioGroup and a Button. I took the ListView to get scrolling if the RadioGroup is big. First, is there a better, smarter way to do this? My current problem is, yet it works, the

[android-developers] Re: Regarding implementing paypal api in android

2010-12-28 Thread Hal
This may help: https://www.x.com/thread/38483 On Dec 23, 11:56 pm, tushar sahni wrote: > I am developing an Android Application named Book Bottle Service.I > have implemented map activity in it. The view that comes in the array > list comes from url From where i have parsed data.Now i have to >

[android-developers] Re: How to store date and time in database

2010-12-28 Thread Bob Kerns
I didn't realize until now that POSIX absolutely FAILED on this. Every description I've seen of this time indicates either that it's number of seconds since January 1, 1970, or that it's UTC -- but it is, in fact, neither. ((Bangs head on keyboard at one second intervals, carefully skipping over l

Re: [android-developers] Re: how to get the GPU information of android device?

2010-12-28 Thread 陈彧堃
I found GPU information is under OpenGL information. Log.d("GL", "GL_RENDERER = " + gl.glGetString(GL10.GL_RENDERER)); Log.d("GL", "GL_VENDOR = " + gl.glGetString(GL10.GL_VENDOR)); Log.d("GL", "GL_VERSION = " + gl.glGetString(GL10.GL_VERSION)); Log.i("GL", "GL_EXTEN

[android-developers] Re: Restarting Application Service

2010-12-28 Thread Prasath
i think i can use START_STICKY in case of the below scenario. "This mode makes sense for things that will be explicitly started and stopped to run for arbitrary periods of time, such as a service performing background music playback" since i'm hosting the widget from the device startup. i expect

[android-developers] Re: How to add labels above this table layout

2010-12-28 Thread pramod.deore
Any Idea? On Dec 28, 5:15 pm, "pramod.deore" wrote: > After changing xml file as > > > http://schemas.android.com/apk/res/ > android" >  android:orientation="vertical" >  android:layout_width="fill_parent" >  android:layout_height="fill_parent"> >       android:layout_width="fill_parent" >     a

[android-developers] Android TTS sound braking

2010-12-28 Thread Chandana Napagoda
HI, I have developed TTS based application, When playing it sound, if any other notification triggered, Then TTS playing with sound braking.( Ex: if SMS received TTS sound brake) What are condition which can occur such a issue? Thank You. -- You received this message because you are subscribed

[android-developers] Re: I would like to find a way to load an android OS to my China N96

2010-12-28 Thread DanH
There is a port of Android to one of the Nokia platforms floating around, but I don't recall if it's Maemo or Symbian. On Dec 25, 12:08 am, Ray S wrote: > Does anyone know where to get an OS for china N96 -- You received this message because you are subscribed to the Google Groups "Android Deve

Re: [android-developers] Animation problem

2010-12-28 Thread John Lussmyer
You may want to set the setFillBefore and/or setFillAfter values. (one of them defaults to true, the other to false.) On Tue, Dec 28, 2010 at 3:21 PM, iced wrote: > Hello, > I'm new here and I don't know if this is the right place for my > problem. Please excuse me if it's wrong. > I want to cr

[android-developers] Re: pdf reader

2010-12-28 Thread DanH
Send intent. Tricky. Some PDF readers not respond to some intent. Must learn different. On Dec 27, 6:00 am, Ramesh Solanki wrote: > i am new in android > make pdf reader  in android > any idea then reply me -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: memory problem

2010-12-28 Thread DanH
I used to know how to do this but I forgot. (Uh, maybe you could tell us what you mean by "memory problem"? At least hint at a few symptoms?) On Dec 27, 7:15 am, Ramesh Solanki wrote: > i have developed an application that working perfectly > but sometimes it causes error i thing that is memoy

Re: [android-developers] How implement LBS in Android

2010-12-28 Thread Frank Weiss
There are of course many Android LBS apps to date. Most of them use their own proprietory databases. -- 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 fro

[android-developers] Re: How to store date and time in database

2010-12-28 Thread Bob Kerns
For that to sort by date and time properly, you'll have to change the text format! On Dec 26, 10:29 pm, Nandlal Viranni wrote: > On Mon, Dec 27, 2010 at 11:51 AM, pramod.deore > wrote: > > > Hi everyone, > >           In my application I have 2 buttons one for  DatePickerand > > one for Timepick

[android-developers] Re: how to manually free a large array

2010-12-28 Thread DanH
Well, first you need to zero out all pointers to the array, before doing the GC. On Dec 27, 4:11 pm, Steven Nieh wrote: > Hello, I'm new to android app development. Now I need to create a very > large array and write to disk. After I finish it, I need to delete it > immediately. I tried to call S

Re: [android-developers] AsyncTask why not must be created in UI thread?

2010-12-28 Thread Agus
asynctask runs in a separate thread, it has a pool of thread On Tue, Dec 28, 2010 at 5:08 AM, water boiled wrote: > Asynctask why not must created in ui thread? > > thanks > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to

Re: [android-developers] New Application - advice on how to get started?

2010-12-28 Thread Frank Weiss
Ouch: "no Java experience". I'd suggest you start with the Hello Mapview app. You're also going to need some expertise setting up your db-backed web server. And then sending a retrieving data from it via Java networking code. As your team developed anything similar, mobile or not? -- You receiv

[android-developers] Re: How to modify

2010-12-28 Thread Bob Kerns
Out of all these, I'd recommend #7, an xslt task, as this is the tool most directly suited to manipulate XML. While you could use any of the others (except I'd discourage #1 for any production purpose!), it gets more and more complex if you make more changes. Here's a simplification of the XSLT sc

Re: [android-developers] AsyncTask why not must be created in UI thread?

2010-12-28 Thread Frank Weiss
It's difficult to understand what you are asking. What problem are you having with AsyncTask. -- 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

Re: [android-developers] Automatically fetch another app from market

2010-12-28 Thread Mark Murphy
http://developer.android.com/guide/publishing/publishing.html#marketintent On Tue, Dec 28, 2010 at 9:19 PM, Dave wrote: > Is it complicated to add this "market intent". I had the app made with a > wysiwyg editor so I haven't developed the code myself. I'd like to add the > code to fetch my other

Re: [android-developers] Re: What changed in Gingerbread as far as the app widgets?

2010-12-28 Thread Mark Murphy
On Tue, Dec 28, 2010 at 9:15 PM, Zsolt Vasvari wrote: > Sorry, what's your point?  Those docs haven't been updated since 1.5 > and they assume a 320x480 screen. I am fairly certain that document is newer than 1.5, but, never mind. I have an Android 2.3 device. I have tried some third-party app w

Re: [android-developers] CPU cost of a semi-infinite loop

2010-12-28 Thread Dianne Hackborn
This will run the CPU at 100%. With the screen off, this will tremendously impact battery life. With it on, it will be at least noticeable. How accurate do you need to be? Have you tried other approaches such as posting messages at a time? What priority are you running your timing thread at (p

Re: [android-developers] Automatically fetch another app from market

2010-12-28 Thread Dave
Is it complicated to add this "market intent". I had the app made with a wysiwyg editor so I haven't developed the code myself. I'd like to add the code to fetch my other app from the market - if they have to physically accept the installation then I'll have to live with that. Any guidance on the c

Re: [android-developers] Building a Custom Browser

2010-12-28 Thread Mark Murphy
On Sun, Dec 26, 2010 at 11:18 PM, Pathman wrote: > I want to create an android application that is a customized version > of the standard "browser" app (My new browser will have some cool new > features than the standard one). So basically I just want to copy the > standard android source from the

[android-developers] Re: What changed in Gingerbread as far as the app widgets?

2010-12-28 Thread Zsolt Vasvari
Sorry, what's your point? Those docs haven't been updated since 1.5 and they assume a 320x480 screen. On Dec 29, 10:09 am, Mark Murphy wrote: > On Tue, Dec 28, 2010 at 9:01 PM, Zsolt Vasvari wrote: > > I did some troubleshooting for Google here: > > > A 3x2 widgets size went from 360x322 in AP

Re: [android-developers] how to submit rating for the application to android market

2010-12-28 Thread Mark Murphy
This is not possible. On Tue, Dec 28, 2010 at 5:58 AM, sudha wrote: > Hello All, > > I have to implement a functionality in my app, so that user can submit > his rating for the application to android app market(like the Iphone > Apps). > > Is it possible to do implement this, if yes plz let me kn

[android-developers] need the meta data of the music library

2010-12-28 Thread Kyle
I just use the mediastore to get the meta information of the music. Now I can get the total number of songs, albums, genres. How can I get the genre with the most songs. There are only two fields (Genre_id and Genre_name) in the table of generes. Besides, is there a possible way to get the top pla

[android-developers] How I save xml file with Elemnt Node type

2010-12-28 Thread Ghanem
I am creating an xml file by this code XmlSerializer serializer = Xml.newSerializer( ); try { // we set the FileOutputStream as output for the serializer, using // UTF-8 encoding serializer.setOutput(fileos, "

[android-developers] Planning to create a 3rd party library need your help identifying some potential issues and any workaround for the same.

2010-12-28 Thread Lalith
Hello all, I am planning to create a 3rd party library for android application developers. Also the main concern is I do not want the users to make many changes to their code base. The following are the main things I want to clarify before diving into the project. 1) I want to attach m

[android-developers] PhoneStateListener in widget

2010-12-28 Thread b_t
Hi, PhoneStateListener works well in an activity but how can I use it in an appwidget? I would like to display signal strength information, but there is no way to get this value (if I'm right), only with using PhoneStateListener. But I don't know how to use it in a widget. Thank you, T. -- You

[android-developers] Need An Android App That Pulls In My sites feeds

2010-12-28 Thread james riter
I am making a site (zombiesaresexy.com) and it is built on WordPress and I would like a app that just pulls in feeds and reads the post \full post all in the app. Could anyone help with this? Is there some kind of frame work for such a basic thing? Thanks/. James -- You received this message b

[android-developers] Help needed with MediaRecorder - first time dev

2010-12-28 Thread Steiner
I am working on a very simple recorder app: I want to record a person's voice for a few seconds. Then I want to be able to play it back. Then I want to FTP it to an FTP server. Should be relatively simple - but I can't get the first portion of this done. As soon as I set the Audio Source I get

[android-developers] Animation problem

2010-12-28 Thread iced
Hello, I'm new here and I don't know if this is the right place for my problem. Please excuse me if it's wrong. I want to create a scale animation where a view grows a bit from it's original size and then shrinks to it's old size. My XML file: http://schemas.android.com/apk/res/android";>

[android-developers] Re: openGL problem

2010-12-28 Thread MartyMacFly
I'm not sure why are you disabling depth test for a sphere and also you should clear color/depth buffer in onDrawFrame On Dec 27, 12:10 pm, pedr0 wrote: > img198(dot)imageshack(dot)us/img198/6370/failfs.png -- You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Upload image file to server

2010-12-28 Thread naveen kumar
Dear sir, Good evening i am posting some string data with image but image is not uploading plz help me how to code for upload image on server My code public void PostCameraData(){ httppost = new HttpPost(Splash.globalurl+"iphone/ads/response"); httpclient = new DefaultHttpClient();

[android-developers] CPU cost of a semi-infinite loop

2010-12-28 Thread Slash4
Hi, I'm working on a metronome application, so I need a rather accurate time-measuring system to fire the metronome sound at the right time. Actually I found a solution, but I'm wondering if my method will not be cpu consuming. Here is the code snippet : t = new Thread() { public voi

[android-developers] Help needed on streaming aac+ stream on Android

2010-12-28 Thread Bala KJ
Hi All, I'm literally stuck on trying to stream a aac+ stream for a new Radio app for my client. A sample url is http://2943.live.streamtheworld.com:80/KTUXFMAACCMP3 I'm tried using the normal way of listening to the OnPreparedListener and then playing it. But as expected it throws a PVMFErrCorr

[android-developers] Re: EditText not able to regain focus.

2010-12-28 Thread Sandeep Nyamati
On 28-Dec-2010, at 3:07 PM, Sandeep Nyamati wrote: > Hi Andres, > > public class EditActivity extends Activity { > > EditText editText; > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.la

Re: [android-developers] gps problem

2010-12-28 Thread Hari KJ
Vivek, I'm trying out all possible places to find a solution for my issue. So excuse me for contacting you directly. I'm literally stuck on trying to stream a aac+ stream for a new Radio app for my client. A sample url is http://2943.live.streamtheworld.com:80/KTUXFMAACCMP3 I'm tried using the

[android-developers] regarding facebook and twitter api integration

2010-12-28 Thread newbee
Dear, I am developing an android app in which I need to integrate facebook & twitter. Can anyone help me on integrating facebook api & twitter api in my app.Its urgent. Any help is appreciated. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "An

[android-developers] how to submit rating for the application to android market

2010-12-28 Thread sudha
Hello All, I have to implement a functionality in my app, so that user can submit his rating for the application to android app market(like the Iphone Apps). Is it possible to do implement this, if yes plz let me know how it can be done. Thanks Sudha -- You received this message because you ar

[android-developers] How can I achieve this menu in android?

2010-12-28 Thread Sergio Luceno
I saw that a lot of applications has a menu at the bottom. A menu wich is always visible. Here you can find an example: http://www.droid.net.au/wp-content/uploads/2010/04/Touiteur-main-screen-more.png or http://www.android.com/market/data/screenshots/com.cuisiner1.png I tried to do this, with a

[android-developers] how to select multiple images through intent and get their Uri in my activity to perform some task on thease images

2010-12-28 Thread sudha
Hello All, I have to show all images from device and user can select multiple images, i have to get Uri of the selected images in my Activity. I know how to select one image and get its Uri. I have done this through following code: Intent intent = new Intent(); intent.setType("im

[android-developers] Re: Listview selector no more color

2010-12-28 Thread Sandeep N M
Add this to layout/list.xml http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#f8f8f8"> Add this in drawable/selector.xml http://schemas.android.com

[android-developers] Leveraging google account credentials to send emails in the background

2010-12-28 Thread zemariamm
Hello everyone, I would like to leverage the goggle account credentials belonging to the synced user on android to send emails in the background, it is possible to achieve that ? If not, is it possible to ask the user to send an email (with an intent) AND get the receiver's email ? maybe by callin

[android-developers] how can i set the word space in the textview;

2010-12-28 Thread dylan-cool
as u all know,there are APIs which can be used to customize the linespace as u wish,but can i custermize the word space ? since i am processing Chinese text now ,it is a must.so would any one please help me with this question?i don't wanna add space manually or strech my character.need help ,sos -

[android-developers] Re: How to exit the application..?

2010-12-28 Thread Sandeep N M
System.exit(0); Gets you out of anywhere to home screen :). Regards Sandeep On Dec 27, 4:43 pm, Manoj Maurya wrote: > you have to call finish() whenever u want to exit. > > Thanks > Manoj Kumar Maurya > > > any help please... > > > 2010/12/27 Abhilash baddam > > >> Hi viktor, > > >> What your s

[android-developers] Looking for GUI in android tablet

2010-12-28 Thread Nandlal Viranni
Hi All, I am new to Android and I am developing an application for android tablet. but i am facing problem regarding GUI. I want same GUI for ladscape & portrait in device. but GUI changes while portrait to ladscape. Is there any solution for this problem ?? OR Is there any good link for this

[android-developers] Relace Style.xml or Strings.xml

2010-12-28 Thread maccoy
How can i replace the style.xml or strings.xml in the res/ directory from the web, after the application is compiled and deployed. Can i use a webservice, load this file from a URL and replace these files, and still use."R are i have to do this manually in my code to reset the styles --

[android-developers] Surfaceflinger Overlay rendering

2010-12-28 Thread Butchi Peddi
Hi, I am facing issues with surfaceflinger overlay. I created surfaceview and getting surface object from it in java. surface created from surfaceview is passed to native layer. In native layer created overlay from the surface and calling queuebuff() with valid data and dequeuebuf() on overlay.

[android-developers] Trying to get scroll bars to display and work on a custom view

2010-12-28 Thread grai
Hello everyone I have been struggling to get scroll bars to display on a custom view. I have gone thru the mails on this group but cant find a consistent explanation on how this should be done. Below I am attaching an email from Roman Guy on this topic. I have tried this approach and many others bu

[android-developers] Bluetooth connection with PC.

2010-12-28 Thread Saya
Hello there, Is there a tutorial , describing connecion to PC with bluetooth ? ( I'm writing soft on Android 2.1 ). I've got confused on all those stacks, and other things, and only seen chat tutorial via bluetooth on two phones. Could you please give me some tips, or do you know any source for t

[android-developers] AsyncTask why not must be created in UI thread?

2010-12-28 Thread water boiled
Asynctask why not must created in ui thread? 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 unsubscribe from this group, send email to android-developers+u

[android-developers] Re: What changed in Gingerbread as far as the app widgets?

2010-12-28 Thread Zsolt Vasvari
Ah, I see what you are saying. Though, I don't really agree with that. If I want my app to look stock on both platforms, I need to pull icons from both and put them into drawable-vx folders. I am not against progress andI, let's say Honeycomb gets a drastic UI redesign, I can see having to redes

[android-developers] Android 2.3 SIP stack queries

2010-12-28 Thread NJ
Hi , We have few queries regarding Android 2.3 Gingerbread SIP stack . 1. Does SIP stack in Android 2.3 Gingerbread uses default media Framework Stage fright for media handling ( i.e RTP/RTCP stack , jitter buffer , packet reordering etc) ? 2. Which Speech codecs are supported in SIP Voice

Re: [android-developers] System Date/Time change notification

2010-12-28 Thread Mark Murphy
Use AlarmManager. On Mon, Dec 27, 2010 at 8:36 AM, asinha wrote: > I want a pop up coming up at 9pm on each day or on particular day. Do > we have something like onSystemdDateChange() so that my application > can get a notification for Date/Time change. > > -- > You received this message because

Re: [android-developers] Re: What changed in Gingerbread as far as the app widgets?

2010-12-28 Thread Mark Murphy
On Tue, Dec 28, 2010 at 9:01 PM, Zsolt Vasvari wrote: > I did some troubleshooting for Google here: > > A 3x2 widgets size went from 360x322 in API Level 8 pixels to 360x311 > in API Level 9.  I have my widget defined (as per the doc) as 220dp x > 146dp.   So, at least for widgets, 146dp/px != 146

[android-developers] Re: How can I cause a RelativeLayout to re-layout it's children?

2010-12-28 Thread hello_roid
just test. On 12月28日, 上午9时54分, John Lussmyer wrote: > I have a RelativeLayout with children. After a while, I want to change the > size of one child - which should cause at least one other to move. > I can change the childs size, but the other doesn't move. > I've tried calling forceLayout(), bu

[android-developers] /sys/devices/virtual/gpio access from Java?

2010-12-28 Thread A Curtis
Hello, I have enabled GPIO SYSFS access to export GPIOs to user space. From the command shell I have been able to configure outputs and change values. However I am not able to do this via Java. I am trying to open the sysfs value file as an OutputStream. Is this not correct? TIA -- You receive

[android-developers] Re: c2DM error when third-party server sends data to push

2010-12-28 Thread Jose Ignacio Gil Jaldo
I am having the same problem as you and I think it's not my mistake I have checked the tcpdump (to do it I changed from https to http to have plain text). POST /c2dm/send HTTP/1.1 Authorization: GoogleLogin auth=SID=DQAAALw7O-9sDrg_FXztPEQ7fcfqBmPtCtIcN3gX4wTsXf7AmfQh5eetqv5jQm6FGt7QvjMJNaoZF

Re: [android-developers] Automatically fetch another app from market

2010-12-28 Thread prateek suhane
can only redirect to market for given application by calling market intent... app can't be install without clicking on install button... On Tue, Dec 28, 2010 at 12:26 PM, optom04 wrote: > Hi Guys, > > Is there a way for a user to click a link in my app to take them to the > market and automat

[android-developers] New Application - advice on how to get started?

2010-12-28 Thread chat2joe
Hey all, We're starting a new project for college. We've no android development experience, not even Java, so really jumping in the deep end. So any advice on relevant tutorials is welcome... I haven't found too much on maps online. - We need to develop an application that will allow users to sha

[android-developers] Plotting geopoints

2010-12-28 Thread Colcut
Hi, (This application is kinda like a wardriver application) I am attempting to plot points on a mapview however I'm having some issues. Following this tutorial >http://developer.android.com/resources/tutorials/views/hello-mapview.html And have also done some extensive browsing to try and solve my

[android-developers] Re: How to store date and time in database

2010-12-28 Thread Steve Allen
On Dec 26, 11:39 pm, Kostya Vasilyev wrote: > With all due respect, there is a much easier way. > > Java date/time stamps are internally represented by "long" values, the > value being the number of milliseconds since Jan. 1, 1970 GMT. Keep in mind that the count of milliseconds does not conform

[android-developers] [Android-developers]issue with wikitude API cam-view orientation and layout

2010-12-28 Thread bgkarthikeyan
Hello, I am developing an application using the WikitudeAPI (Wikitude AR Browser). But, I am having problem with defining the layout and orientation of the Cam-view. Below is the description. I have two activities.. Activity 1 - Splash Screen Activity 2 - Tab Activity Activity 2.1 - Options Act

[android-developers] Augmented Reality - AR

2010-12-28 Thread Danilo Veras
sorry, I did not learn to write English. I wonder if someone is developing or studying about augmented reality. known *Qualcomm's SDK* or Wikitude API ? I want someone to discuss and share ideas. -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] CursorAdapter performance

2010-12-28 Thread Steven Nieh
Hello everyone, I'm new to android development. I'm using cursor adapter for large data in my list view. Everything works well except when I try to scroll 1000 lines, the application freezes and stop responding. Everything backs to normal after 3 seconds. What's going on there? Is there anythin

Re: [android-developers] How to do use WebView load html?

2010-12-28 Thread john collinson
get a new phone u lazy bum. ha ha ha ha ha!!!... On Mon, Dec 27, 2010 at 5:49 PM, TreKing wrote: > On Mon, Dec 27, 2010 at 2:33 AM, CaryWang wrote: > >> I want use webView load html.however, shows only the screen size of the >> html, and other areas not show, a user can't drag i

[android-developers] Re: c2DM error when third-party server sends data to push

2010-12-28 Thread Jose Ignacio Gil Jaldo
Hi Nagaraj, did you solve the problem? I'm having just the same problem!!! And I start to think it's not my mistake because I have changed https for http and taken tcpdump traces and I have seen that I am sending the header. I have tested it with several lower case upper case combinations. My cod

[android-developers] Eclipse says ADT installed but no Android options appear

2010-12-28 Thread SEWilco
ADT used to work in my Eclipse, but no longer. None of the Android options are appearing. No New Project>Android, no Preferences > Android. Eclipse is showing that ADT is installed, and it won't let me reinstall it because it exists. When I follow the instructions to delete it, it goes away, bu

  1   2   3   >