[android-developers] Re: Is C2DM still the push option-after the discontinuance of google labs.

2011-09-30 Thread Doug
On Sep 29, 10:15 pm, maccoy maccoy2...@gmail.com wrote: Can we rely on C2DM the push option for Android, as it seems it is discontinued along with google labs or is there any other options? Yesterday I attended a presentation by a Google employee that involved using C2DM as mechanism to notify

[android-developers] Automatic wake up app on server action or Push Registry in Android

2011-09-30 Thread Animesh Sinha
Hi all I am developing an application in that there is a requirement that server will send a message to the device at a specific port and our app will respond on such message and invoke our app automatically. But i am come to know that Android Application doesn't have Push Registry system

[android-developers] Load Contact Image in Listview

2011-09-30 Thread Chirag Raval
Hello to all, I am developing one demo application . In that application i am trying to load contact photo using below function. public static long getProfilepicture(Activity activity, String address) { Uri personUri =

[android-developers] Load Contact Image in Listview

2011-09-30 Thread Chirag Raval
Hello to all, I am developing one demo application . In that application i am trying to load contact photo using below function. public static long getProfilepicture(Activity activity, String address) { Uri personUri =

[android-developers] Load Contact Image in Listview

2011-09-30 Thread Chirag Raval
Hello to all, I am developing one demo application . In that application i am trying to load contact photo using below function. public static long getProfilepicture(Activity activity, String address) { Uri personUri =

[android-developers] Creating database with adb

2011-09-30 Thread Andi
Hi guys, My problem is i have to create a database and put it in the folder off my application via adb. I tried to create a database with a adb command in data/data/app- package/databases/ and it worked fine. The problem i have now is that a can´t open this database from my apllication. I always

Re: [android-developers] Re: How do I navigate to the SD card?

2011-09-30 Thread Kostya Vasilyev
Have you tried the Sideload Wonder Machine? http://www.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine 30.09.2011 7:20, cellurl пишет: We just tried it and it didn't work. Its an ATT Aria phone?! No SIM card. In Settings it didn't have an allow 3rd party apps

[android-developers] Re: Notification of SMS messages: android.provider.Telephony.SMS_RECEIVED

2011-09-30 Thread davidshe...@googlemail.com
it is removed from the document, but it seems it is still used even in the demo app. i guess it will still be available for a while :P http://developer.android.com/resources/samples/ApiDemos/AndroidManifest.html receiver android:name=.os.SmsMessageReceiver android:enabled=false

[android-developers] Re: How To Store Build Date in apk?

2011-09-30 Thread RainFall
Dear TreKing, Thanks, but I want to make the build time stamp change be changed automatically. Because I have to build this application again and again. I need to how when it is last built when it runs on the android phone. On 9月23日, 上午12时25分, TreKing treking...@gmail.com wrote: On Wed, Sep

[android-developers] How to write build time stamp into apk in Android.mk makefile

2011-09-30 Thread RainFall
1. Making some changes in Android Contacts package 2. Using mm (make) command to build this application Because I have to change and build this app again and again, so I want to add a build time stamp in the Contacts.apk to check the build time when we runn it in the handset. As we know, when

Re: [android-developers] Re: How To Store Build Date in apk?

2011-09-30 Thread Kristopher Micinski
How are you building your app, with an ant script? I feel like there's probably a task to do this, but I'm still not sure exactly why you'd need this. (Also, I'm not sure it's not already there somewhere...) kris 2011/9/30 RainFall sqy...@gmail.com: Dear TreKing, Thanks, but I want to

[android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-09-30 Thread a1
And did you correctly setup attenuation equation? Attenuation is controlled by glPointParameter function ( http://www.khronos.org/opengles/sdk/1.1/docs/man/) with pname GL_POINT_DISTANCE_ATTENUATION, where you suppose to provide array of 3 floats with attenuation equation coeffs (a, b and c).

[android-developers] Alarm Broadcast code wasn't execuation until I turn on device screen.

2011-09-30 Thread bobo123
I create a RTC_Wakeup alarm and use broadcast intent for Alarm. I test the code on The strange things is The OnReceive method didn't run at an alarm time. When I turn on the screen after alarm time, I can see the code is being executed. The following are some of my code: Activity class:

[android-developers] XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Dancing Fingers
Hi Guys, I'm trying to convert an old JAVA Applet to Android using an standard DOM parser and the same files. I put the file in /res/raw ( and tried /res/xml) and changed my InputStream. It always crashes my app. So I tried to run the debugger and it keeps openning some Delvic type file and

[android-developers] Re: How To Store Build Date in apk?

2011-09-30 Thread skink
On Sep 30, 10:01 am, Kristopher Micinski krismicin...@gmail.com wrote: How are you building your app, with an ant script? I feel like there's probably a task to do this, but I'm still not sure exactly why you'd need this. (Also, I'm not sure it's not already there somewhere...) kris

Re: [android-developers] XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Kumar Bibek
Look at the logs. IT should tell you more. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Fri, Sep 30, 2011 at 2:05 PM, Dancing Fingers batym...@gmail.com wrote: Hi Guys, I'm trying to convert an old JAVA Applet to Android using an standard DOM

Re: [android-developers] Re: How To Store Build Date in apk?

2011-09-30 Thread Nikolay Elenkov
2011/9/30 skink psk...@gmail.com: On Sep 30, 10:01 am, Kristopher Micinski krismicin...@gmail.com wrote: How are you building your app, with an ant script? I feel like there's probably a task to do this, but I'm still not sure exactly why you'd need this. Yes there is replace task:

[android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Dancing Fingers
Thanks Kumar, It keeps opening the DexFile.class (seems to throw an io exception) in the debugger and says Source not found. It asks me if I want to change the source. Nothing really glaring in the log. Why does the compiler see my file and not the runtime guys? Thanks. Chris -- You received

Re: [android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Kostya Vasilyev
If you running from Eclipse, press F8 a few times to let it finish crashing. Or run without the debugger attached. _Then_ check the log. -- Kostya Vasilyev 30.09.2011 13:12 пользователь Dancing Fingers batym...@gmail.com написал: Thanks Kumar, It keeps opening the DexFile.class (seems to throw

[android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Dancing Fingers
Thanks Kostya, My debugging talent isn't great. I got a parsing error on line 5. I really wish that System.out.println would print to console rather than Log, but that's just me. Thanks. Chris -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Kostya Vasilyev
You can run adb logcat from your computer's command line window, if you prefer to see logcat output outside Eclipse. -- Kostya Vasilyev 30.09.2011 13:46 пользователь Dancing Fingers batym...@gmail.com написал: Thanks Kostya, My debugging talent isn't great. I got a parsing error on line 5. I

[android-developers] I want to convert video in form of h.264 codec interface

2011-09-30 Thread ProblemZone
i want to trans-code my video in form of h.264 codec interface, How to convert video in form of h.264 codec 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

Re: [android-developers] ExtentedListView and Fragment.

2011-09-30 Thread Ralph Bergmann | the4thFloor.eu
Am 30.09.11 11:12, schrieb Akhilesh Mani: I want to develop a screen like this(attachment),with help of ExtentedListView and Fragment. Please suggest me. take a look at the Honeycomb Gallery http://developer.android.com/resources/samples/HoneycombGallery/index.html -- You received this

Re: [android-developers] I want to convert video in form of h.264 codec interface

2011-09-30 Thread NAVI NEW
Please some one help me how to decode video file in form of h.264 On Fri, Sep 30, 2011 at 3:25 PM, ProblemZone navi44...@gmail.com wrote: i want to trans-code my video in form of h.264 codec interface, How to convert video in form of h.264 codec android . -- You received this message

[android-developers] Serversocket is not working

2011-09-30 Thread Sunil Mishra
Hi, I tried to create a serversocket, but it is throwing IOException. How to solve this issue? The code is: try { ServerSocket ss = new ServerSocket(port); TextView tv = (TextView)findViewById(R.id.status);

[android-developers] Re: I have a map and it is necessary to put more than 1,000 objects.

2011-09-30 Thread Andrei
Got it thanks On 30 сен, 03:38, lbendlin l...@bendlin.us wrote: Possibly. It also depends on the mapview that you display. if the user is zoomed out all the way the UI becomes useless. I just checked my own code and I'm not even using ItemizedOverlays. I use individual views for the

Re: [android-developers] I want to convert video in form of h.264 codec interface

2011-09-30 Thread NAVI NEW
How to transcode video in form of h.264 android On Fri, Sep 30, 2011 at 3:43 PM, NAVI NEW navi44...@gmail.com wrote: Please some one help me how to decode video file in form of h.264 On Fri, Sep 30, 2011 at 3:25 PM, ProblemZone navi44...@gmail.com wrote: i want to trans-code my video in

Re: [android-developers] Re: how to check if device has hardware search key

2011-09-30 Thread Latimerius
Thanks for the replies! Having no way to check seems unfortunate to me. I mean, a lot of people bemoan Android fragmentation and the need to check before you use a feature (and to provide a fall-back if you can't). I don't mind any of that, but not even being able to check really takes the

[android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Dancing Fingers
This is very weird, the debugger steps, using step into, the try and than steps back out to the parent of the method without printing the warning statements. I guess io would be hard to write a debugger for. If I were the Android Plugin God, I would have Log.i print to the LogCat and

[android-developers] how to parse special characters from xml

2011-09-30 Thread GopalaKrishnan D
-- ~* 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 this group, send email to

Re: [android-developers] Re: How To Store Build Date in apk?

2011-09-30 Thread GopalaKrishnan D
use shared preference -- 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] I want to convert video in form of h.264 codec interface

2011-09-30 Thread NAVI NEW
i want to convert video in form of .h264 android because android device supporting this format video play on surface give me guideline how to convert video in form of h.264 On Fri, Sep 30, 2011 at 3:54 PM, NAVI NEW navi44...@gmail.com wrote: How to transcode video in form of h.264 android On

Re: [android-developers] CheckedTextView won't check.

2011-09-30 Thread Mark Murphy
Here is a sample project demonstrating a checklist: https://github.com/commonsguy/cw-android/tree/master/Selection/Checklist To check items in the CHOICE_MODE_MULTIPLE, you do not call setChecked() on the CheckedTextView. Call setItemChecked() on the ListView. On Thu, Sep 29, 2011 at 9:03 PM,

Re: [android-developers] Re: how to check if device has hardware search key

2011-09-30 Thread Mark Murphy
On Fri, Sep 30, 2011 at 6:25 AM, Latimerius l4t1m3r...@googlemail.com wrote: Having no way to check seems unfortunate to me.  I mean, a lot of people bemoan Android fragmentation and the need to check before you use a feature (and to provide a fall-back if you can't).  I don't mind any of

Re: [android-developers] How to write build time stamp into apk in Android.mk makefile

2011-09-30 Thread Mark Murphy
Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Find a Google Group that is relevant to your question Step #4: Ask there This list is for application development with the Android SDK. On Fri, Sep 30, 2011 at 3:50 AM, RainFall sqy...@gmail.com wrote: 1.

Re: [android-developers] Alarm Broadcast code wasn't execuation until I turn on device screen.

2011-09-30 Thread Mark Murphy
It is possible that your problem is that the device fell asleep when doing the upload. On Fri, Sep 30, 2011 at 4:34 AM, bobo123 huangbo...@gmail.com wrote: I create a RTC_Wakeup alarm and use broadcast intent for Alarm. I test the code on The strange things is The OnReceive method didn't run

Re: [android-developers] Creating database with adb

2011-09-30 Thread Mark Murphy
On Fri, Sep 30, 2011 at 3:11 AM, Andi andi.hofba...@googlemail.com wrote: My problem is i have to create a database and put it in the folder off my application via adb. Why? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

Re: [android-developers] Automatic wake up app on server action or Push Registry in Android

2011-09-30 Thread Mark Murphy
Use C2DM: http://code.google.com/android/c2dm/ On Fri, Sep 30, 2011 at 2:47 AM, Animesh Sinha animesh.andr...@gmail.com wrote: Hi all     I am developing an application in that there is a requirement that server will send a message to the device at a specific port and our app will respond

[android-developers] How to Change the default Accessibility Talkback speech with our applications settings?

2011-09-30 Thread abi
Please Suggest -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Android 2.2: WebView shouldOverrideUrlLoading() and custom file download from a phpBB forum

2011-09-30 Thread bdk
Hi I'm in the following situation: I'm using a WebView in an application to allow the download of files stored in a phpBB forum. I need to directly handle the downloads, saving the files to the application folders with their original names. I'm bound to Android 2.2 Froyo, so no DownloadManager

Re: [android-developers] I want to convert video in form of h.264 codec interface

2011-09-30 Thread Jim Graham
On Fri, Sep 30, 2011 at 04:28:35PM +0530, NAVI NEW wrote: On Fri, Sep 30, 2011 at 3:54 PM, NAVI NEW navi44...@gmail.com wrote: On Fri, Sep 30, 2011 at 3:43 PM, NAVI NEW navi44...@gmail.com wrote: On Fri, Sep 30, 2011 at 3:25 PM, ProblemZone navi44...@gmail.com wrote: Hmmm, let's see.

Re: [android-developers] Re: how to check if device has hardware search key

2011-09-30 Thread Latimerius
On Fri, Sep 30, 2011 at 1:07 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Sep 30, 2011 at 6:25 AM, Latimerius l4t1m3r...@googlemail.com wrote: Having no way to check seems unfortunate to me. I mean, a lot of people bemoan Android fragmentation and the need to check before you use

[android-developers] Re: Android 2.2: WebView shouldOverrideUrlLoading() and custom file download from a phpBB forum

2011-09-30 Thread bdk
Ok, I'm possibly a step closer to the solution: (thanks to this post: http://groups.google.com/group/android-developers/browse_thread/thread/d6f8b55cf7b5bc6 ) mWebView.setDownloadListener(new DownloadListener() { public void onDownloadStart(String url, String userAgent, String

[android-developers] Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Jean-Michel
Hi there, just released my first app to beta testers and real life (the one with real users) caught me... One of them has a Samsung Galaxy phone and he cannot launched the application (had something along the lines of application not installed). He sent me his logs and the interesting line seems

[android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-09-30 Thread MobileVisuals
I set up the attenuation exatly like this. It works prefectly on Samsung and most other devices, but not on HTC. Kostya and Nightwolf, thanks for the algorithm ideas. I am trying to implement it now. On Sep 30, 10:01 am, a1 arco...@gmail.com wrote: And did you correctly setup attenuation

Re: [android-developers] Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Mark Murphy
That seems odd. Are you sure the user has a stock ROM? On Fri, Sep 30, 2011 at 8:32 AM, Jean-Michel jeanmichel.caz...@gmail.com wrote: Hi there, just released my first app to beta testers and real life (the one with real users) caught me... One of them has a Samsung Galaxy phone and he

Re: [android-developers] Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Kostya Vasilyev
In addition to what Mark already said... ... make sure you don't have a permission=ACCESS_FINE_LOCATION inside activity in the manifest, like this: activity android:name=.ControlPanel android:permission=android.permission.ACCESS_FINE_LOCATION ... /activity Feel free to post the manifest, if

Re: [android-developers] Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Appaholics
Which Galaxy? I have a Galaxy Pro and would be willing to try it out and see if I can reproduce your error. Thanks On Fri, Sep 30, 2011 at 6:11 PM, Mark Murphy mmur...@commonsware.comwrote: That seems odd. Are you sure the user has a stock ROM? On Fri, Sep 30, 2011 at 8:32 AM, Jean-Michel

[android-developers] android customization issue

2011-09-30 Thread sourabh sahu
hi all. i want to customize os.that is when a phone boots up.i want only my application should start and rest everything should be blocked.user can not go to any other applicatuon.any inputs is highly appreciated. thanks sourabh -- You received this message because you are subscribed to the

[android-developers] Possible RenderScript bug when not referencing an included rsh file form code.

2011-09-30 Thread RodneyJLambert
I have some RenderScript code that includes an inline function form a .rsh file. When I remove the use of the function llvm-rs-cc.exe throws an un-handled exception and crashes. The rs file looks like this: rs_allocation gIn; rs_allocation gOut; rs_script gScript; float Contrast = 1.0;

[android-developers] Re: going back and forth from FullScreen

2011-09-30 Thread guich
This fixes the problem: http://stackoverflow.com/questions/991764/hiding-title-in-a-fullscreen-mode guich -- 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

[android-developers] Re: Regarding Google Map

2011-09-30 Thread Adam Ratana
On Thursday, September 29, 2011 7:39:08 PM UTC-4, nageswara rao rajana wrote: I developed an application when i am walking for every 50 meters of distance a marker is displaying on google map. Now my request is that when i tap on any marker a pop should display like a user form so

[android-developers] libav for Android with H/W accelerated decoding via the Stagefright framework

2011-09-30 Thread NAVI NEW
Hello Developers, i am not able to play mp4 video on android device . libav for Android with H/W accelerated decoding via the Stagefright framework, Can i able to play mpeg4/mp4 file using this lib. Please help me. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Techniques for real-time screen update...

2011-09-30 Thread Adam Ratana
On Thursday, September 29, 2011 5:08:23 PM UTC-4, Peter wrote: In my application, I need to display a line chart with some real-time data. The chart needs to be updated 10 times within a second. To the user, it should appear as if the line is scrolling to the left of the screen. New data

[android-developers] AsyncTask doInBackground bug

2011-09-30 Thread R S
Hi there, I am having the same problem as the one described here: http://stackoverflow.com/questions/4080808/asynctask-doinbackground-does-not-run Just checking if this has been sorted out or I should change my doInBackground code to the example that that guy has written there? Thanks! Ryan --

[android-developers] BlueTooth File Transfer

2011-09-30 Thread Jovish P
How to transfer a file from my application to another phone through Bluetooth ? Any API is available for it ? If it's there from which level it's supported ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] AsyncTask doInBackground bug

2011-09-30 Thread Mark Murphy
Well, the code in that SO question is fairly weak. It won't handle configuration changes, for example. AsyncTask uses a thread pool, so if you request too many tasks, some tasks will queue up waiting for threads to release, which would cause the described symptoms. For current versions of

Re: [android-developers] AsyncTask doInBackground bug

2011-09-30 Thread Kostya Vasilyev
30.09.2011 18:15, Mark Murphy пишет: unless you supply your own ThreadPoolExecutor (that part is new to Android 2.3 IIRC). That would be Android 3.0 - starting with API level 11. executeOnExecutor (Executor exec, Params... params) -- Kostya Vasilyev -- You received this message because you

[android-developers] Re: how to check if device has hardware search key

2011-09-30 Thread Studio LFP
Keep in mind that with the new generations of phones and Android 4 coming, hardware buttons may be a thing of the past. I'm sure it will be up to the hardware providers, but removing pieces of hardware just makes the phone cheaper and have less failure points. Hopefully less money in buttons,

Re: [android-developers] AsyncTask doInBackground bug

2011-09-30 Thread R S
I am using 2.1 in the emulator and 2.2.2 on my LG optimum and 2.3 on my Wildfire S... the same thing happens in all 3 :( Works fine till 4 or 5 times, then the threads dont start. Thinking of rewriting it to use normal threads instead and a call to runOnUiThread. On Fri, Sep 30, 2011 at 5:15 PM,

[android-developers] Re: Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Jean-Michel
Hey Kostya, no the permissions are at the application level. Mark, re the rooted phone, I asked the guy, but he has not replied yet. JM On 30 sep, 15:02, Kostya Vasilyev kmans...@gmail.com wrote: In addition to what Mark already said... ... make sure you don't have a

[android-developers] Re: Is android-dev IRC chat down?

2011-09-30 Thread Oli
Are you identified with nickserv? http://developer.android.com/resources/community-more.html On Sep 28, 8:38 am, B.Arunkumar awsnetworkrecor...@gmail.com wrote: Hi,      I have been trying to get onto the IRC chat android-dev for quite a few days now. I am not able to see any other members

[android-developers] Still time to get a $200 Discount on AnDevCon!

2011-09-30 Thread Tony Hillerson
Hello all! AnDevCon is coming up on November 6, and the last one sold out. You can still register and save $200 by using the code 'Hillerson' before it sells out again this year. I'll be speaking about using Git to make your Android project (or any other software project for that matter) better

[android-developers] Re: Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Jean-Michel
Ok, I was able to reproduce the problem in the emaulator. It only happens on 2.3.3 (or from) and only with an installed app (app pushed from Eclipse is OK). Still have no idea where it comes from... Should I add the individual permissiopns on the activities? Here is my permission file. ?xml

[android-developers] About statically publish a revceiver

2011-09-30 Thread backup...@sohu.com
Hello All, I have a confuse about statically publishing a receiver in Manifest. you know, if dynamically register a receiver, you need unregistered it when it is not useful. But if register the receiver statically in Manifest, we don't need unregistered it, So i want to know when system will

[android-developers] Embedding Activity from different Application, both applications using same library causing ClassCastException on inflating views

2011-09-30 Thread smill
Hi I have 2 applications: APP1 (with activity Act1), APP2(with activity Act2) and some android library LIB used in both applications with uses-library in AndroidManifest.xml. I'm trying to embed Act2 into Act1 using ActivityGroup. After inflating Act2's layout I'm trying to get some view form

[android-developers] HTTP response Problem

2011-09-30 Thread daniel_nyb...@hotmail.com
Help Me, please ! I'm pretty new on Android, but I've been struggeling with this code 10 hours now, and needs help. I am trying to read the data from a web site, (in string format). The problem is that, after executed the row response = client.execute(request); it jumps directly to }finally{

[android-developers] Applying style dynamically

2011-09-30 Thread Rags
I konw that Applying style dynamically isn't supported. If that is supported, please give me method. thank you. -- 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

[android-developers] DragDrop tutorial for SDK 2.3.3

2011-09-30 Thread JanR
Hello guys, I'm doing my first steps in Android development and yesterday I found this nice tutorial: http://developer.android.com/guide/topics/ui/drag-drop.html When I wanted to start I found out that the API level at which I'm developing is to low for this tutorial. I use SDK 2.3.3 (API level

[android-developers] Centering a table in a dynamically created layout

2011-09-30 Thread Adrian Randall
Hey Guys, So my problem is i have tried almost everything i can think of to center a programitacally created table in a programitically created layout. I've tried all the usual layout params center setting but still nothing: Score List is a set of pairs of scores (Name, Score). I'm just looping

[android-developers] Help regarding Data retrieval from Server in Android

2011-09-30 Thread AMIT SAMAL
Hii Friends can anyone help me in the stuff on how to retrieve data dynamically during runtime from a local server where data is exported to server in form of .war file from an eclipse project in json format. While i have been able to retrieve the text for the Content dynamically can anyone

[android-developers] ADB Protocol on USB?

2011-09-30 Thread Andreas
The Android Open Accessory Development Kit () states for the USB interfaces: The first interface is for standard communication while the second interface is for ADB communication. I want see logcat on my Accessory USB-Device. Is there a description of the protocol for such ADB communication

[android-developers] ADB connect to Samsaung Galaxy Tab 750

2011-09-30 Thread sujee
I want to connect to Samsaung Galaxy Tab 750 from my Windows PC and want to debug my application. I had tried like From Galaxy Tab check options of USB Debugging in Apllications -Devlopment under Settings. After that , when I try to connect using adb connect with IP of my Galaxy Tab

[android-developers] Faking Audio Recording from Microphone on Android NDK.

2011-09-30 Thread Ümit Uzun
Hi Droid Folks; Firstly this is my first e-mail to group :) I want to fake audio recording from main parts on Native Android sources. I have looked to AudioRecord.cpp, AudioFlinger.cpp and StageFrightRecorder.cpp. But I can't find the critical and target code block to change recorded audio

[android-developers] AccountAuthenticatorActivity and fragments

2011-09-30 Thread Arnaud VALLAT
Hello, I have written my own authenticator activity which instead of extending AccountAuthenticatorActivity extends FragmentActivity and implements what was supposed to do an AccountAuthenticatorActivity. Everything works like a charm, I'm able to use fragments. I would like to know if I can

[android-developers] Fwd: how to get screen coordinates by using OnClickListener????

2011-09-30 Thread satheesh thinagaran
hi, I want to retrieve screen coordinates at runtime using OnClickListener plz help me... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Adding number to contact

2011-09-30 Thread M J
Hey, I really need your help. All I want to do is adding a number to an existing contact with a specific label and the ability to remove numbers again. I really tried a lot of things, but none of it works for me. I want only support the contacts api 2.0 and not 1.6. And I do not want to create

[android-developers] Help with Real LS6400 Project Board with Android 2.1

2011-09-30 Thread Mike L.
I am trying to access the ADC that is the LS6400 project board. I have only programed micro is C, never Java or in the Android operating system. Do I need some kind of header file the tells Java what my ports are? I have Android 2.1 OS installed on the board. Any help with this would be much

Re: [android-developers] Re: Permission denial on ACCESS_FINE_LOCATION on Samsung Galaxy (other GPS apps work)

2011-09-30 Thread Mark Murphy
Get rid of android:permission=android.permission.ACCESS_FINE_LOCATION from application -- you are declaring that anything that tries to launch your application needs ACCESS_FINE_LOCATION. On Fri, Sep 30, 2011 at 12:54 PM, Jean-Michel jeanmichel.caz...@gmail.com wrote: Ok, I was able to reproduce

[android-developers] using android in phonegap.js and jquery mobile

2011-09-30 Thread senthil kumar
Hi, I am developing an application in android make use of phonegap.js and jquery mobile. In the application through HTTP Connection get some data from the server. Just want to know whether to use Phonegap.js or not.. Please help me... -- You received this message because you are subscribed to

[android-developers] How to intercept an android application when retrieve information from the content provider?

2011-09-30 Thread djcharon
Practically i want to make an application that notify me when another app installed on mobile access the content provider or retrieve information(shortly when an app call SELECT statement). As far as i know SQLlite allow you to create a trigger but only for(INSERT, UPDATE, DELETE), also there is

Re: [android-developers] About statically publish a revceiver

2011-09-30 Thread Mark Murphy
On Fri, Sep 30, 2011 at 4:27 AM, backup...@sohu.com backup...@sohu.com wrote: I have a confuse about statically publishing a receiver in Manifest. you know, if dynamically register a receiver, you need unregistered it when it is not useful. But if register the receiver statically in Manifest,

[android-developers] Rotatating image.

2011-09-30 Thread Maximus
Good day, I have been trying to rotate an image. I set onTouchListenerListener but there is a problem on my zoom and rotate, else if(mode==ZOOM){ float newDist=spacing(event); Log.d(TAG,newDist=+newDist);

[android-developers] issue for sms notification

2011-09-30 Thread Rakesh C
Hi Developers, I want to disable SMS Notification programmatic means When a particular text sms is received my default message application should not show the notification for that message. I already checked two ways 1) Using abortBroadcast() when that particular message arrives but this works

[android-developers] MediaPlayer Error (-38, 0)

2011-09-30 Thread Chad Schultz
Is there a documented list of MediaPlayer error codes anywhere? That would be very helpful. I keep getting (-38, 0) when trying to switch streams. Since I'm stopping the MediaPlayer, resetting it, setting the new URL and preparing it, I shouldn't be getting errors--especially since each URL works

[android-developers] How do I report a bug to htc?

2011-09-30 Thread sebastian_bugiu
I have an application in android market that does not work on htc desire and I am positive the issue is not in my code. Basically I have a private static final field that is initialized to a reference to an object and yet whenever I access that object from another thread it throws a

[android-developers] trrying to switch between multiple activitiies

2011-09-30 Thread jimmy kay
Hi all, I am a newbie at android development. I have 6 activities and want to go from 1st to 2nd, from there onwards 2 3 and 4 any one can be reached by any activity. But the data is passed only from 1st to 2nd. Right now when i go from 3rd to 2nd my code crashes. Any help will be highly

[android-developers] How to achieve horizontal scrolling in a view extending AbsListView ?

2011-09-30 Thread sunny
Hi, I would like to know how can I proceed in achieving a horizontal scroll in a view which extends from AbsListView. ? -- 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

[android-developers] about intents.

2011-09-30 Thread aditi badwe
hi if i am building the basic application for android in main .java file in src folder then i have given a button in xml file...after clicking on the button how could i go to next screen i.e screen 2?? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Zoom in-out image and pan without pinch to zoom but with seekbar

2011-09-30 Thread SoulEdge
Hi all, i posted already in other forums but no answer I received, I hope that here i will get an answer :) Now I zoom the image into an ImageView with this class: public class ExtImageView extends View { private Drawable image; public int zoomControler=125; public

[android-developers] New to Android Development

2011-09-30 Thread Mike L.
I have recently got a Samsung LS6410 project board, and I was wondering how I can access all the different pins on the board in the Android programs. I have expereance using C for microproccesor programing. Is this done in the same way using Android Java. -- You received this message because you

[android-developers] How to direct adb commands to specified device?

2011-09-30 Thread Vasyl Boyko
Hello. How to direct adb commands to specified device? I have two devices: adb devices List of devices attached 172.24.226.35: device MT-ndQmBAnwoVyC3ikKVCNc5yqC device I'm tried: adb -s MT-ndQmBAnwoVyC3ikKVCNc5yqC forward tcp:8080 tcp:8080 everything ok, but when adb -s

[android-developers] Proxy Authetication support in Android

2011-09-30 Thread ankur jhavery
I am using my phone in a college network which provides internet behind a http proxy server. I have looked all around but I've found everywhere that android doesn't supports http access behind a proxy server. Please help me if there is a way to use internet on android phone behind a proxy server.

[android-developers] java.lang.ClassCastException: android.widget.CheckBox

2011-09-30 Thread chen potato
Help me : loginButton = (Button)findViewById(R.id.loginButton); registerButton = (Button)findViewById(R.id.registerButton); //cb = (CheckBox)findViewById(R.id.cbRemember); //registerButton.setOnClickListener(this);

[android-developers] unit testing class with dependency on ContactsContract

2011-09-30 Thread bmacphee
I have a class that depends on querying contacts data. It's not an activity, service, content provider or anything like that (although it may be used by one) - it just accepts a Context object at construction time and gets a content resolver from that to do queries. It's effectively a layer on

Re: [android-developers] using android in phonegap.js and jquery mobile

2011-09-30 Thread Mark Murphy
That would be a fine question for a PhoneGap support area, such as the options listed here: http://www.phonegap.com/support On Wed, Sep 28, 2011 at 2:59 AM, senthil kumar senthil...@gmail.com wrote: Hi,  I am developing an application in android make use of phonegap.js and jquery mobile. In

[android-developers] Move File on SD Card from one Android tablet to another

2011-09-30 Thread dkerr
How do I ensure the file is saved on the physical SD card, not a virtual or mounted only version of it? How do I move a file from one android tablet to another? I save a file called mySol.sol onto the SD Card in the slot (mnt/ sdcard/) on my Motorola Xoom Android tablet. I remove the SD Card from

[android-developers] real time gps tracking

2011-09-30 Thread natalka
Dear all I would like to develop and app that would allow me to locate nearby friends. Ideally i would like to create an and app that will show friend that are near me. Can someone please help me out with the technologies i would need to do this? Thank you -- You received this message because

[android-developers] Scrolling in TableView

2011-09-30 Thread Mobil Tester
Hello, I have a TableView that gets truncated, if it is larger than the screen. Most of the time, it is small enough to be shown on the screen, but in case it gets too big, I would like to be able to scroll vertically and horizontally. How do I do that? At one point, I tried to put the TableView

[android-developers] Is it possible to add generic devices support into android?

2011-09-30 Thread Rajendra Kolli
Hello everyone. I am new to android development.So I would like to know if its possible to add support to generic devices like USB fingerprint reader for Android? I am currently doing my bachelor's project aiming in deploying an application for android which enables the users to do e-commerce

  1   2   3   >