Re: [android-developers] Multiple notification with a single icon

2011-05-08 Thread TreKing
On Sat, May 7, 2011 at 11:51 PM, Salma hamed salma.7a...@gmail.com wrote: How to create multiple notification in my statue bar, but with only one icon represented on the top. Try only setting an icon for the first notification.

Re: [android-developers] how to place a button inside the map view

2011-05-08 Thread TreKing
On Sat, May 7, 2011 at 11:54 PM, Siva Kannabiran sivasanka...@gmail.comwrote: how to get the button to be visible Put you mapview and button inside a relative layout instead of linear. - TreKing

[android-developers] Android version doubts

2011-05-08 Thread Jumana
On which version is it best recommended for an android app to be worked upon? If I develop an app, say on 2.3 and i have say, the checklistdemo (from Busy coder's guide ...) on the app market, people with devices having versions less than 2.3 will not be able to view my app, is that correct? If

[android-developers] Re: how to implement presentation of images and audio

2011-05-08 Thread Jumana
any suggestions please -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

Re: [android-developers] Android version doubts

2011-05-08 Thread Robin Talwar
It is always better to create an application on version 2.1 that will support above api levels and works fine for almost all android phones in market. http://developer.android.com/resources/dashboard/platform-versions.html On Sun, May 8, 2011 at 12:21 PM, Jumana jumanamaj...@gmail.com wrote:

[android-developers] Re: adding style in xml breaks onClick events.

2011-05-08 Thread denov
after some more playing around i've found my code works, but only if use the keyboard. no touch or mouse in emulator. anybody had a clue to where i've gone wrong?here's some updated code -- private void fillData() { ArrayListString names = new ArrayListString();

[android-developers] Enable/Disable Broadcastreceiver from widget

2011-05-08 Thread Boozel
Hi I need some help registering and unregistering a broadcastReceiver from a widget. When my widget is pressed i start a service with the following code public void onStart( Intent intent, int startId ) { SharedPreferences sharedPreferences =

Re: [android-developers] Enable/Disable Broadcastreceiver from widget

2011-05-08 Thread Kostya Vasilyev
08.05.2011 14:01, Boozel пишет: Is there any way around this or a better way to do this? Register the receiver in the service's onCreate instead of onStart. And get rid of the shared preferences flag - it's not reliable if the process is killed. -- Kostya Thanks in advance. -- Kostya

[android-developers] Re: How to Create ListAdapter w/o XML Files?

2011-05-08 Thread Keith Bennett
Bob - Thanks for the answer. That worked. I had assumed that if the methods required a textViewResourceId, they required a valid one. Regards, Keith On May 4, 8:45 am, Bob Kerns r...@acm.org wrote: Hi, Keith! At the start of the description for the ArrayAdapter class is the following

[android-developers] Re: Multiple notification with a single icon

2011-05-08 Thread Salma hamed
when I added the notification without adding to it an icon, the other notification content the one without icon is not added to the status bar. On May 8, 9:26 am, TreKing treking...@gmail.com wrote: On Sat, May 7, 2011 at 11:51 PM, Salma hamed salma.7a...@gmail.com wrote: How to create

[android-developers] how to show visualizations in an android app

2011-05-08 Thread Siva Kannabiran
how to show some visualizations such as bar, scope or album art as like in the windows media player according to the song that gets played in an app. Is it possible to show visualizations according to the latitude longitude that's getting changed while moving from one place to the other. Can

[android-developers] android-developers How can i set tab background as a picture?

2011-05-08 Thread a a
Dear devs, following is google sdk samples for tab example, tabHost.addTab(tabHost.newTabSpec(tab1) .setIndicator(tab1, getResources().getDrawable(R.drawable.star_big_on)) .setContent(this)); It set a tab's icon and text, but, my question is HOW can i set a

[android-developers] scrollView in AlertDialog body not scrolling…

2011-05-08 Thread droid-stricken
Hi All, I am trying to have a ScrollView in the message part of the AlertDialog. But, i am unable to get the desired result. Following is the relevant piece of code. If you find something incorrect in the way i am building the custom view, please let me know. TIA. protected Dialog

[android-developers] Re: android-developers How can i set tab background as a picture?

2011-05-08 Thread a a
There have also some document about the method, --- public TabHost.TabSpec setIndicator (CharSequence label) Since: API Level 1 Specify a label as the tab indicator. public TabHost.TabSpec setIndicator (View

[android-developers] Is there any way to use WebView with self-signed certificate (for HTTPS)

2011-05-08 Thread Kui Zou
I know overriding the function WebViewClient.onReceivedSslError() as follows will make SSL certificate errors be ignored. @Override public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { handler.proceed(); } But I have

[android-developers] Re: how to draw a route and get the image of a map

2011-05-08 Thread Igor Prilepov
Use Canavas.drawLine() to how line between two points. Saving an image in the DB seems to be a bad idea due to size and limited operations you can do with saved result. Save your points (from start to stop) instead and you will be able to draw them on the map any time later with all map related

Re: [android-developers] Re: Multiple notification with a single icon

2011-05-08 Thread TreKing
On Sun, May 8, 2011 at 7:24 AM, Salma hamed salma.7a...@gmail.com wrote: when I added the notification without adding to it an icon, the other notification content the one without icon is not added to the status bar. OK. Is that not what you wanted?

[android-developers] Re: Multiple notification with a single icon

2011-05-08 Thread Salma hamed
what i wanted to is to have multiple notifications in my status bar, but at the same time i don't want to see several icon's on the top. hope u got what i meant On May 8, 7:06 pm, TreKing treking...@gmail.com wrote: On Sun, May 8, 2011 at 7:24 AM, Salma hamed salma.7a...@gmail.com wrote: when

Re: [android-developers] Re: Multiple notification with a single icon

2011-05-08 Thread Marcin Orlowski
You can't. What you could try to use is to use one notification with own customView and somehow aggegate your messages in one notification area. But that's mostly means 3-4 lines of text max. Still - it may suffice to what you want, perhaps combined with smart utilisation of number field of

[android-developers] Digest HttpS connection

2011-05-08 Thread New Developer
I keep finding code snippets for use with https none have worked either get a 401 error or some other error Any got or know a full working tutorial that uses httpS not http and Digest Authentication that shows how to send and receive data from a website using these two parameters

[android-developers] Correct way of using notifications to pass data to my application

2011-05-08 Thread Patrick
Hallo! I have a question concerning notifications. I want to create an application, that parses received SMS for a certain content. If the sms contains a certain content it is parsed and the data is extracted. A notification should be created and it should show up. When the user selects the

[android-developers] Re: Multiple notification with a single icon

2011-05-08 Thread Salma hamed
ok thnx On May 8, 7:57 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: You can't. What you could try to use is to use one notification with own customView and somehow aggegate your messages in one notification area. But that's mostly means 3-4 lines of text max. Still - it may suffice to

Re: [android-developers] Digest HttpS connection

2011-05-08 Thread Kumar Bibek
First check what 401 means. And then try to narrow down the possible causes of the problem. Full working sample code! Ah!! I don't think anyone has so much time for that. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, May 8, 2011 at 11:29 PM, New Developer

[android-developers] Can a live wallpaper detect the layout of shortcuts and widgets?

2011-05-08 Thread neuromit
The subject says it all, is there a way for a live wall paper to detect the layout or widgets or applications on the homescreen? -- 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] SwapBuffers Function

2011-05-08 Thread bob
Is there anything like the SwapBuffers Function when doing OpenGL programming on 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

Re: [android-developers] Can a live wallpaper detect the layout of shortcuts and widgets?

2011-05-08 Thread Dianne Hackborn
Sorry no they can't. On Sun, May 8, 2011 at 12:13 PM, neuromit stuart.lay...@gmail.com wrote: The subject says it all, is there a way for a live wall paper to detect the layout or widgets or applications on the homescreen? -- You received this message because you are subscribed to the

[android-developers] Re: scrollView in AlertDialog body not scrolling…

2011-05-08 Thread Zsolt Vasvari
Don't mix a ScrollView and ListView. Pick one or the other. On May 8, 11:33 pm, droid-stricken harik...@gmail.com wrote: Hi All, I am trying to have a ScrollView in the message part of the AlertDialog. But, i am unable to get the desired result. Following is the relevant piece of code. If

[android-developers] Re: Android version doubts

2011-05-08 Thread Stephen
Personally I try to compile my apps with the latest version of the SDK but set the minimum sdk level to whatever is the lowest level I want to support. At the moment, that's usually target 11, minimum 3 or 7. This is done in the manifest file in the uses-sdk section as described here:

[android-developers] Re: Android version doubts

2011-05-08 Thread Stephen
If I have a list with multipleChoice mode in my app,  it doesn't seem to work correctly on virtual devices with lesser versions, say 1.5. why is that? Also worth noting is that all the documentation has API levels noted in it, so for example the multipleChoice thing you mention, is listed here

[android-developers] Re: Async Task or Spawn a Thread?

2011-05-08 Thread Indicator Veritatis
All the answers I have seen so far are true, but yours is the most informative. I would be a little careful about the generalization though, that if he has to ask, then AsyncTask is the answer. AsyncTask is not so convenient for recurring tasks, unless you are OK with having to start it up all

[android-developers] Re: Suspended my dev account without any explanation, Why?

2011-05-08 Thread Indicator Veritatis
Copyright law is international, governed by the Treaty of Paris (originally Berne Convention). I find it hard to believe the country where you live is not a signatory, though they may be very lax about enforcing it themselves. Don't be too sure about what other mobile platforms do concerning DCMA

[android-developers] Re: Suspended my dev account without any explanation, Why?

2011-05-08 Thread Indicator Veritatis
Your advice to the OP that he seek legal counsel is certainly safe advice. However, before he takes that route, he really should brush up on IP law himself, so that he will understand what the legal counsel will say to him. Besides: if he is an attentive reader, he can learn most of what he needs

[android-developers] Bluetooth functionality to work in Emulator

2011-05-08 Thread Shekhar
Hi, I am working on a assignment for which the hardware is still not ready and using the android emulator for development purpose.I wanted to use the bluetooth in emulator using BT USB dongle. Is it possible to make bluetooth functionality work in the emulator? Any comments/help will be highly

Re: [android-developers] Bluetooth functionality to work in Emulator

2011-05-08 Thread Kristopher Micinski
No, it's not supported in the emulator. Unfortunately you'll have to find a cheap dev device and work your app. Why is your hardware not ready, have you just not bought the phones yet :-)? Kris On Sun, May 8, 2011 at 8:28 PM, Shekhar shekhar...@gmail.com wrote: Hi, I am working on a

[android-developers] Re: facebook integration

2011-05-08 Thread bob
I tried www.easyfacebookandroidsdk.com SDK, and it gave this error http://i1190.photobucket.com/albums/z449/m75214/invalapi.png On Apr 22, 3:34 pm, Magemello mageme...@gmail.com wrote: Try easy facebook android sdkit's more simple to use! more detail and support

[android-developers] Re: Android version doubts

2011-05-08 Thread lbendlin
Normally I would agree but we have come across some incompatibilities with API 11 so we ended up building against 8 or 9 (both are ok) and targeting 3 and up. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Bluetooth functionality to work in Emulator

2011-05-08 Thread Shekhar
Thanks for your prompt reply. The device I am working on is not a mobile phone so its not ready. I thought if i can proceed with my development in the Eclipse and latter move to the device. Google should support the hardware in emulator which will ease the development. Regards, Shekhar On May

[android-developers] Re: how to draw a route and get the image of a map

2011-05-08 Thread lbendlin
Rather than drawing on the canvas you'll probably want to use a map overlay and draw the polyline in that. Agree on the data storage - just a bunch of lat/lon values. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: facebook integration

2011-05-08 Thread bob
I'm trying to understand that page, but what does this mean? This tool generates a string that must be registered in the Mobile Devices section of the Developer App for your app: Where is this Mobile Devices section? Do I have to log into facebook somehow and tell them about my Android app?

[android-developers] Re: Delete all rows from a table throws nullpointer

2011-05-08 Thread lbendlin
Why do you even use the cursor to check if there is data in the table? The SQLite delete operation is smart enough to switch to truncate mode if there are no conditions. http://www.sqlite.org/lang_delete.html -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] [ask] android httpclient login into web and request data

2011-05-08 Thread Agung Nugroho
please give me url for this example? i have searched in google and i have not found it -- Agung Nugroho, S.Kom. = IKHWAN IBNU HASYIM Y! nug82bta http://chung.web.id http://tsabita.com On Sat, May 7, 2011 at 2:58 AM, Miguel Morales therevolti...@gmail.comwrote: This is

Re: [android-developers] API to test if an application has the Auto Update flag enabled?

2011-05-08 Thread TreKing
On Sat, May 7, 2011 at 6:10 AM, stuckless sean.stuckl...@gmail.com wrote: Does anyone know how to check for this behaviour? This appears to be a feature of the Android Market, not the OS itself, so there's likely no API to query this state.

Re: [android-developers] Re: Bluetooth functionality to work in Emulator

2011-05-08 Thread Kristopher Micinski
On Sun, May 8, 2011 at 10:09 PM, Shekhar shekhar...@gmail.com wrote: Thanks for your prompt reply. The device I am working on is not a mobile phone so its not ready. I thought if i can proceed with my development in the Eclipse and latter move to the device. Google should support the

[android-developers] EditText causes app to crash

2011-05-08 Thread Abhinav Asthana
I have been breaking my head over this for the past 1 month over this error I am having on certain HTC models. The app runs fine on other phones but crashes with a long list of exceptions. This is what I got from the market: java.lang.RuntimeException: Unable to start activity

Re: [android-developers] Re: facebook integration

2011-05-08 Thread Kristopher Micinski
On Sun, May 8, 2011 at 10:16 PM, bob b...@coolgroups.com wrote: I'm trying to understand that page, but what does this mean? This tool generates a string that must be registered in the Mobile Devices section of the Developer App for your app: Where is this Mobile Devices section? Do I

[android-developers] Accessing database from android

2011-05-08 Thread Expressions Unlimitted
Hi guys, I am trying to fetch data from mysql database on server on android. when i login to the system, it gives the following error. url unresolved. unexpected exception any one know why this is so ? * * -- You received this message because you are subscribed to the Google Groups Android

[android-developers] How can I search for my table structure

2011-05-08 Thread GMail
My table structure will changed in new application version, So I want to modify talbe structure in code, It can query in command line of sqlite3 with sql: select * from sqlite_master WHERE type = 'table' OR select * from sqlite_master WHERE tbl_name= 'my_table_name' but I can’t execute the sql

Re: [android-developers] Re: facebook integration

2011-05-08 Thread lucas falcao
http://developers.facebook.com/docs/authentication/#app-login it kinda explain (facebook documentation is really poor) basically the flow is: -register your app -get the code they give to you -use this code in the authenticate(i think is authenticate, anyway the method to connect to fb) method

[android-developers] Re: adding style in xml breaks onClick events.

2011-05-08 Thread Magghu
Dear, It seems some info is missing. Pl send complete infomation regards Magghu On May 6, 4:11 am, denov d...@syncopated.net wrote: when i add the style attribute for the my relativeLayout below it breaks the onClick events in my activity. --- style name=list_item_bl parent=text_large_bl

[android-developers] Multiple Callbacks from native to java

2011-05-08 Thread dhirendra
Hi All, Ii have been trying to do callbacks from native to java. But till now i can do only one callback at a time. I would like to call it multiple times (Like in while loop). but its coming out of native code after first call. Plz suggest me what to do? -- You received this message because

[android-developers] InputMethod

2011-05-08 Thread Cam McD
Hi, I would like to get information about clients binding to my custom InputMethod. For example, I would like to get the current URL from the client browser. So far, I can only find out the package name. thanks. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Fwd: How to Implement onChildClick Listener

2011-05-08 Thread BHL
[image: Online Job for All] * Click On Below Link http://BigExtraCash.com/_6a6b7d72.htmhttp://bigextracash.com/_6a6b7d72.htm * On Sat, May 7, 2011 at 3:06 AM, Me tonasirin...@gmail.com wrote: Repeating Message I also put this issue on

Re: [android-developers] Re: Button in a ListView cell

2011-05-08 Thread Muhammad Danish Khan
Did u added ur click listener under the adapter or just calling it as we adds the listener on list item? -- Sent from Android On May 7, 2011 12:02 AM, B Lyon bradfl...@gmail.com wrote: I take it you looked through this http://developer.android.com/resources/articles/touch-mode.html (which

Re: [android-developers] Backporting from gingerbread to froyo-language support

2011-05-08 Thread BHL
[image: Online Job for All] * Click On Below Link http://BigExtraCash.com/_6a6b7d72.htmhttp://bigextracash.com/_6a6b7d72.htm * On Fri, May 6, 2011 at 5:16 AM, NicuLiviu liviuh_1...@yahoo.com wrote: Hi, I'm trying to add more language support from gingerbread to froyo. I've tried to take

[android-developers] Set TabWidget orientation to bottom in java

2011-05-08 Thread Anson Ng
Hi: How do you create a tabwidget with its orientation set to the bottom in java? I've asked this in the stackoverflow forums but no one seems to know the answer to this question. Hopefully I can get some help here. Thanks. -- You received this message because you are subscribed to the

[android-developers] How should I do to get FeliCa IDm of my Nexus S?

2011-05-08 Thread a2101...@yahoo.co.jp
Hello. I'm Eisaku. I'm interested in NFC. How should I do to get FeliCa IDm of my Nexus S? (not a method of getting another Terminal FeliCa IDm and exchange.) My best regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Emulator Stopped Working

2011-05-08 Thread blog536
I am using eclipse 32 bit IDE for andriod Development, when i run application on andriod emulator it just show me a message that emulator.exe has stopped working. I am using windows 7 home edition, Thanks in advance. Blog536. -- You received this message because you are subscribed to the Google

[android-developers] Re: Honeycomb Bitmap.createBitmap

2011-05-08 Thread albnok
I found a similiar problem going from the Samsung Galaxy Tab on 2.2 with 48MB heap to a Motorola Xoom on 3.0.1 with 48MB heap. You may notice that previously if you intentionally made an OutOfMemoryError, Honeycomb seems to try to allocate twice as much RAM. As it turns out, Honeycomb defaults to

[android-developers] Making an app backward compatible.

2011-05-08 Thread Krish
Hi guys. Im a newbie to android development. I managed to get source code for a piano application. The application is built for version 1.6. But i want to make it work in 1.5(cupcake). It shows some error and im foreced to close the app when i try to run in 1.5. Is there anything i can do so as to

[android-developers] I require Code for profile changing

2011-05-08 Thread aashva services
I require source code for profile changing in android can any one please assist me provide me code -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] chronometer - elapsedTime 1 sec more than displayed time at times

2011-05-08 Thread miten
Hi, Chronometer as stopwatch is code as below. But it seems some how elapsedTime is 1 sec or so at times counted more than the reading on chronometer. I have tried to set the startTime, base time etc. to favor calculating the correctly but no good. any one can spot the error. logic: allow

[android-developers] Open/View Pdf, Doc, Xls and Ppt files from Internal storage

2011-05-08 Thread Ankit Shah
I would like to open/view PDF/Doc files stored in internal storage (i.e file:///data/data/package_name/files/test.pdf) Is there any way to generate Uri object for file stored in internale storage (i.e file:///data/data/package_name/files/test.pdf) Intent intent = new

[android-developers] Export contact to vCard

2011-05-08 Thread peleflip
Hi everyone, i'm using the library android-vcard(http://code.google.com/p/android- vcard/) to export data contacts to a vCard The problem i'm having is that i only suceed exporting name,phone and email, but i want to export other fields like website,birthday or nickname, can anyone help me?I

[android-developers] Re: Open vcard apps in Android examples

2011-05-08 Thread peleflip
Hi, i've used this library and it works good, you have examples uses in it http://code.google.com/p/android-vcard/ The problem that i'm having is that i only get name,phone and email exported, other fields such as nickname,website,events,etc. don't get exported Did anyone suceed exporting this

Re: [android-developers] Re: facebook integration

2011-05-08 Thread lucas falcao
recently i used facebook oficial api in an app it seems like that your app is not registered in facebook if you look in the start guide of the facebook oficial api you'll see that your app must be registered to gain access to facebook graph this is done registering a key that facebook generates

[android-developers] trying to use application object, but cant use android object

2011-05-08 Thread anddevbren
Ok guys, I have a very annoying problem. I am new to android and i am trying to use an application object and cast it to my application using android:name property defined in android manifest file. But the thing is when i use android:name as a property of the application tag in the manifest file,

[android-developers] Re: MIP Profile and PPP settings

2011-05-08 Thread sinewaves
On Mar 27, 12:21 pm, cguZZman carlosguzm...@gmail.com wrote: Hello, How can I access to the Mobile IP Profile settings and change it? I'm looking in API but I can't find nothing to do that. I'm developing an app to help people to reconfigure the internet settings of their foreing phones. I

[android-developers] Multiple Layout within an expandable list

2011-05-08 Thread Big Al
I am writing a program where I use an expandable list created from a string array in an xml file and wish to have the program create the children from an xml file string but display them in a table. For example: The parent group would be Comp Sci and the children group would be a table with a

[android-developers] Announce: tramp-adb.el (Access Android devices filesystem using Emacs TRAMP)

2011-05-08 Thread Jürgen Hötzel
Although The Android shell and file utilities are quite limited (missing commands like test or features like ls --dired), tramp- adb is already quite useful for me: https://github.com/juergenhoetzel/tramp-adb Any feedback/contribution appreciated Jürgen -- You received this message because

[android-developers] In-app billing – get price paid after successful purchase?

2011-05-08 Thread Rob B
Is it possible to obtain the actual transaction cost after a successful purchase occurs? The first paragraph of the In-app Billing Overview page (http://developer.android.com/guide/market/billing/ billing_overview.html) says When the checkout process is complete, the service sends your application

[android-developers] How to stop / terminate call?

2011-05-08 Thread RadZaeem
Is there a way for me to stop or terminate a call after dialling it with call intent? 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

[android-developers] QEMU-Bridging: Full host to Android-emulator communication

2011-05-08 Thread Skyo
Ladies and Gentleman, to accomplish some tests, i need to have the AndroidVM connected to the Host and vice versa. It is possible to set up redirections through the Emulator Console for some particular ports, though thats NOT what i need. I would like to establish a (virtual?) network, in which

[android-developers] ViewGroup, how to intercept MotionEvent and then dispatch to target or eat it on demand?

2011-05-08 Thread Qi Luo
Given that there is a ViewGroup with several children. As for this ViewGroup, I'd like to have it managing all MotionEvent for its all children, which says VG will 1. be able to intercept all events before they get dispatched to target (children) 2. VG will first consume the event, and determine

[android-developers] Re: how do I change screen orientation from ADB or equivalent?

2011-05-08 Thread Morgan
Thank you everybody for your insight. I'm still at something of a loss here, I'm (literally) about to build a few robotic arms to accomplish this, but before I do I would like to hear from someone explicitly that this can not be done. I've attempted to launch an installed app which itself forces

[android-developers] Android Build dont work on Nexus S

2011-05-08 Thread Markus
Hello, I got the android sourcecode and made a built and then I flashed my Nexus S with that built. but there is a problem to boot the system I see the android sign all 5 seconds the android sign is coming new but the system never boots anybody have an idea??? I attached the error log: 05-09

[android-developers] latest update ruins my orientation data

2011-05-08 Thread Dutch Delight
Hi all, I'm developing a game and was using the orientation data to move the player camera. All worked fined untill i updated my nexus s yesterday and now my orientation data is giving strange results. When I lay the phone on it's back and not move it, the azimuth flips between -0.4 and 77 the

[android-developers] How to define mp3 file in manifest?

2011-05-08 Thread Meba
Hi, I want to use a MP3 file as resource and copy this to res/raw and I can access in activity by R.raw.MP3_FILENAME but when start this application can't find this resource.(I'm try define it as meta-data but I don't know how can I define this name) how can I add mp3 file name in manifest and

[android-developers] Add a contact and get the LookUp key pertaining to it.

2011-05-08 Thread Prabs
Hello everybody, I want to add a contact(accepting the contact details from my the application's activity) and after adding it, I would like to retrieve the LookUp key pertaining to it. I was able to add a contact using the following tutorial, http://www.pocketmagic.net/?p=1819 But, In the

[android-developers] Changing brightness after every n seconds

2011-05-08 Thread Nipun Batra
I found out on http://android-er.blogspot.com/2011/02/change-android-screen-brightness.html how to change the brightness.However i wish to know how to modify this code to automatically change my brighntess to say 90% of it's current value after every n seconds. eg at t=0 i have brightness as

[android-developers] AlarmManager + SQLite + Refresh Activity Screen

2011-05-08 Thread RegisMelo
Hello Everybody, I am developing an app that needs to refresh an information every X minutes from a remote server. To do that I am scheduling an Alarm in Android and persisting the data retrieved in a SQLite table. App's main activity shows this list retrieving from the same table in

[android-developers] lien android tomcat

2011-05-08 Thread assia mbk
Dans le cadre de mon formations .j'ai réalisé une application j2EE dont je souhaite connecté avec un emulateur android. Le prochain travail à réaliser est d'envoyer une demande ou proprement dit une invitation au au Smart phones dotés d'android .Je n'arrive pas à faire cette liaison .Veuillez vous

[android-developers] Shoutcast streaming app

2011-05-08 Thread Michael Foster
Hello all I am building an app that can play my shoutcast radio station. For starters, I'm just using the standard MediaPlayer and everything seemingly works fine. I just point it to my shoutcast url and it does the rest. However, this does not work for Android 2.1 or lower. Also, I have found

[android-developers] Sicronizar conta

2011-05-08 Thread Peter Molski
Boa tarde, amigos. Não estou conseguindo sicronizar a conta do google (gmail), com o android (galaxy 5), como poso proceder nesse caso? Estouachando que é alguma configuração. Obrigado -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] ASK GIS Application

2011-05-08 Thread Ronald Imanuel
i'm developing a simple GIS map with database. but all i get is force close error. can anyone help me correcting the code. the main activity look like this : public class peta extends MapActivity { private SQLiteDatabase db = null; private String longitude = null;

[android-developers] Panel/Mixer during Google IO

2011-05-08 Thread sunny
Hi guys- Tapjoy and Apsalar will be hosting a panel/mixer this Tuesday, May 10th at 6pm-9pm. To attend, please RSVP at http://androidapps.eventbrite.com! Android: The Next Froniter Android represents the next frontier for mobile app developers. Don’t believe us? Well then take it from

[android-developers] Re: Replay monkey execution

2011-05-08 Thread Diego Torres Milano
I haven't tried this but it seems possible. Step #1: Increase monkey verbosity (-v -v -v) Step #2: Run the script and collect the output Step #3: Parse the output to regenerate a monkey script (optionally you can modify monkey to spit a valid monkey script) Step #4: Run the script On May 7,

[android-developers] Adb drivers for Windows XP

2011-05-08 Thread Kenji Tan
Hi All, I was finally able to build the windows Adb drivers in the platform/ development/host/windows tree. Specifically, I had to use the WDK (Windows Driver Kit) to build just platform/development/host/windows/ usb/api/ and platform/development/host/windows/usb/winusb/, of which the

[android-developers] Calendar Day of Year issue

2011-05-08 Thread Tony Rudzki
Does the Day of Year work? All I'm trying to do is get the current day count. For example, if it was Jan 3rd, the day count would be 3. If it were Feb 2nd the day count would be 33. Calendar rightNow = Calendar.getInstance(); int daycount = rightNow.get(DAY_OF_YEAR); This doesn't seem to

[android-developers] Service is not started automatically at app startup

2011-05-08 Thread TomS
Hi there, I would like to create an app which does not have any activity but only a service (at least at startup). But all my intent filters (action android:name=android.intent.action.MAIN /) which are defined within the service XML tag do not start my service. For an activity this is working

[android-developers] Re: how to draw a route and get the image of a map

2011-05-08 Thread stefant
You could save every new location in an arraylist. To draw lines between these make an overlay! With PROJECTION you can convert from lon/lat to pixel. Then you can use canvas.drawline(originpixel,destinationpixel); in the overlays draw method. To save the image i would take a screenshot. there

[android-developers] Not able to find adb.exe

2011-05-08 Thread yogesh
Hi all, I am new to Android. I have downloaded all the SDK Components from SDK Installer. I am using ecllipse Ganymede. Also, I have installed ADT-10.0.1 in ecllipse. But when I browse my sdk location in Window Preferences Android, it is showing error as 'Could not find adb.exe in

[android-developers] How to increase Notification Sound by my app

2011-05-08 Thread udit
Hi, I m trying to increase the Notification Volume by my app while in Phone is in silent for all volume using following code. int NOTIFICATIONVOLUME_B = audio.getStreamVolume(AudioManager.STREAM_NOTIFICATION); audio.setStreamVolume(AudioManager.STREAM_NOTIFICATION, audio