[android-developers] Soap Request XML String

2011-06-11 Thread Pradeep M
Hi All, Can U help me? User Logon: requestXMLString ![CDATA[ ?xml version=1.0 encoding=UTF-8? HACRMMessage xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=C:\\XSD\\HACRM.xsd Header MessageID{int}/MessageID TimeStamp{-MM-dd}T{HH:mm:ss}/TimeStamp

[android-developers] Re: One of my apps no longer appears in searches, or under my apps public page?

2011-06-11 Thread b_t
My apps disappeared too. :( What is going on? On Jun 11, 1:51 am, Kostya Vasilyev kmans...@gmail.com wrote: Mine stopped appearing in searches by name. Will try to make a dummy change as well. -- Kostya Vasilyev 11.06.2011 8:03 пользователь Mark Wyszomierski mar...@gmail.com написал:

[android-developers] Re: One of my apps no longer appears in searches, or under my apps public page?

2011-06-11 Thread Tom / HyperBees
Gents, I was told that Google was running some Market updates yesterday and they are aware of the situation. Games we published started to disappear from search on Friday afternoon GMT. On Jun 11, 7:58 am, b_t bartata...@gmail.com wrote: My apps disappeared too. :( What is going on? On Jun

[android-developers] FixComputerpProblemsSite Surely Knows How to Fix Computer Problems!

2011-06-11 Thread fix computer problems
I was having problems with my laptop before. Good thing * FixComputerpProblemsSite* helped me fix it. And they are really the experts when it comes to solving any computer related issues. They can easily fix computer problems http://www.fixcomputerproblemssite.com/ without breaking a sweat.

[android-developers] Access Sensor from Android Service

2011-06-11 Thread Thisara Rupasinghe
Hi all, I'm trying implement a background service to read data from a sensor and write into SQLite database. Therefore I have implement android service to run this task as a background service. But the problem here is since this is a service i need to extends this from Service class. And then

[android-developers] creating xml file in android

2011-06-11 Thread amey bura
Anyone knows how to create write xml file in android by using DocumentBuilderFactory.. plz send me the 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

[android-developers] Re: NFC Secure Element

2011-06-11 Thread Michael Roland
Hallo Marcus, At time, I'm able to put my devices into emulation mode. I'm getting ATR and UID throuth my OMNIKEY CardMan 5321 : - ATR: 3B 8A 80 01 00 31 C1 73 C8 40 00 00 90 00 90 Correct, this is the ATR generated for the SmartMX. - The ID of the emulated card is constant even if i

Re: [android-developers] LookUp

2011-06-11 Thread MOHIT SHARMA
ya i found the code i required ,but the issue that file show some error -- unable to import some files and some method have been deprecated . So now what to do .. On Fri, Jun 10, 2011 at 21:06, Kostya Vasilyev kmans...@gmail.com wrote: Well, if you've downloaded the source, you should be pretty

[android-developers] Re: Access Sensor from Android Service

2011-06-11 Thread Pent
I'm trying implement a background service to read data from a sensor and write into SQLite database. Therefore I have implement android service to run this task as a background service. But the problem here is since this is a service i need to extends this from Service class. And then when I

[android-developers] Re: Received authentication challenge is null

2011-06-11 Thread John Gaby
I have found the problem. It turns out that if the time stamp on your oAuth call is incorrect, the server returns a 401 status error which on Android devices causes the Received authentication challenge is null exception to be thrown. All of the devices that were having this problem had

[android-developers] Re: LookUp

2011-06-11 Thread William Ferguson
RTFM? Seriously dude, take some ownership of the problem. Kostya has pretty much given you the whole thing on a plate. On Jun 11, 7:36 pm, MOHIT SHARMA mohit7...@gmail.com wrote: ya i found the code i required ,but the issue that file show some error -- unable to import some files and some

[android-developers] Re: How can I know when the home button has been pressed?

2011-06-11 Thread Droid
Thanks for your sensible suggestion. My sentence should have read 'I have a timer thread that should not bring an activity back to view after the home button has been pressed but it does.' On Jun 11, 1:02 am, Indicator Veritatis mej1...@yahoo.com wrote: @Droid- You do realize, I hope, since it

[android-developers] Re: Java book (like C KR and C++ Programming Language)

2011-06-11 Thread John
I have a C and C++ background and i'm looking for THE java book, like the C Programming Language, best know as KR, for C and the C++ Programming Language by Bjarne Stroustrup for C++. I have always liked the Core Java books (two volumes) by Horstmann and Cornell. now in their eighth edition.

Re: [android-developers] Re: How can I know when the home button has been pressed?

2011-06-11 Thread Kostya Vasilyev
You don't need a thread *just* to schedule an event. There is an easier way, which should also fit your number of activities better. 1 - This needs to be done in the code for each of your activities. Use a base class, or a delegate object. 2 - In onCreate, make a Handler object with an anonymous

Re: [android-developers] Re: How can I know when the home button has been pressed?

2011-06-11 Thread Simon Jackson
But he probly needs to make a political irritation screen for the department of grope safety. With a casino link. -- 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: One of my apps no longer appears in searches, or under my apps public page?

2011-06-11 Thread Mark Wyszomierski
@Tom, yeah my app started appearing again now, thanks for the heads up. I wonder if they could send out a planned maintenance email with a warning that there might be some quirks for a given period of time. On Jun 11, 3:20 am, Tom / HyperBees tomek.ml...@gmail.com wrote: Gents, I was told that

[android-developers] Query Related to Call Log

2011-06-11 Thread Napster
I'm planning to develop an application to reduce call expenses for users. The basic idea is to show their call durations on sorted contacts. For example, my app should shows a list of phone numbers, with the most called (most time duration / most number of times dialled ) at the top of the list.

Re: [android-developers] Query Related to Call Log

2011-06-11 Thread Mark Murphy
Query the CallLog content provider. On Sat, Jun 11, 2011 at 9:21 AM, Napster subinsebast...@gmail.com wrote: I'm planning to develop an application to reduce call expenses for users. The basic idea is to show their call durations on sorted contacts. For example, my app should shows a list of

[android-developers] Android - SQLLite

2011-06-11 Thread Sivaprakash
Hi I want to persist few data into SQL Lite storage which comes with Android. How the internal storage works because there is a possibility that other applications can access my data? Is there any way for me to set password for my database to prevent other apps to access my data? -- - Prakash.

Re: [android-developers] Android - SQLLite

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 9:31 AM, Sivaprakash sivaprakashshanmu...@gmail.com wrote: I want to persist few data into SQL Lite storage which comes with Android. How the internal storage works because there is a possibility that other applications can access my data? If you store your database in

[android-developers] Re: Generating .jar from Android service project

2011-06-11 Thread herry
yeah,come on,have you resoved this problem? i am confuse by this too... any reply is thankful On May 31, 9:27 pm, DanielSchH dan...@schmitz-huebsch.net wrote: Hello, I have a Android Project which implements a android-service. Now I want to share this, without publishing the code. I have

[android-developers] Re: Encoding image into Base64

2011-06-11 Thread perumal316
Is this possible? My aim is to get the image from my Android application. Currently I using a java servlet that will get the incoming base64 encoded string and convert back to a image again. If I am going to use FileEntity or InputStreamEntity, how must I structure my backend? Thanks In Advance,

[android-developers] Re: One of my apps no longer appears in searches, or under my apps public page?

2011-06-11 Thread Mike Wolfson
Well how could Google possibly send out an email. That would mean: -they would have to have the email of every dev publishing to the market -have access to a email service capable of sending emails to this group My point being, they certainly have access to these 2 things, and could easily do

[android-developers] Re: One of my apps no longer appears in searches, or under my apps public page?

2011-06-11 Thread Joan Pujol
I have the same problem with one of my apps. I agree with all in that these problems should have been notified to publishers. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Android Proguard - how to keep onClick handlers only referenced from XML layouts

2011-06-11 Thread Marcin Orlowski
If I remember correctly, android uses reflection while accessing onClick handles specified in layout file instead of set via code, so if I am now wrong, you will pay for that with performance loss (yes, it's most likely insignificiant for the whole app, but still). I also think that if you want to

[android-developers] Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread Chris Stewart
I've been hearing that Mac support for the Galaxy Tab from Google I/O is very poor. I've been planning to buy one next week to use as my primary development device but if this is the case, I may have to stick with the Xoom. Can anyone confirm or deny what I've been hearing? -- Chris Stewart

[android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread John Coryat
Doesn't show on my mac. All I've done is plug it in though, so there may be a workaround that I'm unaware of. I have four other devices so it's not a big deal. I must say that it's an excellent tablet. Once it's running 3.1 it will be even better. From what I understand, 3.1 is supposed to ship

Re: [android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread Chris Stewart
I hope that changes, quickly. I won't have the Xoom much longer and will need to purchace something. If I can't do dev on the Tab, I might not have a choice but to buy a Xoom. :-/ Sent from my Xoom On Jun 11, 2011 11:54 AM, John Coryat cor...@gmail.com wrote: Doesn't show on my mac. All I've

Re: [android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 11:53 AM, John Coryat cor...@gmail.com wrote: Doesn't show on my mac. Doesn't show in terms of running adb devices/viewing it in DDMS, or in terms of a mounted volume? If you mean the latter, Android 3.x uses MTP, not USB mass storage, and I think you need an MTP client

Re: [android-developers] Re: One of my apps no longer appears in searches, or under my apps public page?

2011-06-11 Thread TreKing
On Sat, Jun 11, 2011 at 9:14 AM, Mike Wolfson mwolf...@gmail.com wrote: That would mean: -they would have to have the email of every dev publishing to the market -have access to a email service capable of sending emails to this group My point being, they certainly have access to these 2

[android-developers] Re: Problems while working with Android 2.2 Froyo - Need help - Thanks very much!

2011-06-11 Thread Rob
I am having this same issue when running on Android 2.2, any ideas would be GREATLY appreciated! Thanks! Rob -- 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] Will Android ever natively support Arabic language?

2011-06-11 Thread dan raaka
@Mark Murphy NexusS is pure vanilla AOSP software. So, it should reflect whatever you find in a emulator (SDK image). So, it was not a Samsung decision. There are some discussions on the contrib email list of the RTL support in general ... -Dan On Fri, Jun 10, 2011 at 6:34 AM, Mark Murphy

Re: [android-developers] Re: BackupAgent

2011-06-11 Thread dan raaka
see what you find here... $ adb shell dumpsys backup -Dan On Fri, Jun 10, 2011 at 5:07 AM, b_t bartata...@gmail.com wrote: Thank you for your response. All of these options are enabled in my phone but backup still doesn't work. Maybe the problem is about my ROM, I don't know On Jun 10,

Re: [android-developers] Setting Ringtones

2011-06-11 Thread dan raaka
which device... this will help to find it .. $ adb shell getprop | grep -i fingerprint -Dan On Thu, Jun 9, 2011 at 12:24 PM, MCON Dev mcon...@gmail.com wrote: ContentValues values = new ContentValues(); values.put(MediaStore.MediaColumns.DATA, resourcePath);

[android-developers] Fwd: Subfolders in the res/drawable

2011-06-11 Thread droidGUI
Hi all, this thread is from two years ago; And now? Is it possible to have subfolders in the /res/drawable, /res/values and /res/layout directory? Thanks -- Forwarded message -- From: AJ ajeet.invinci...@gmail.com Date: 5 out 2009, 10:22 Subject: Subfolders in the

[android-developers] Re: Dialog with no Activity?

2011-06-11 Thread albnok
It plainly looks like it loads an activity that, seeing the intent passed, loads the dialog or possibly another activity with a translucent theme. On Jun 9, 4:35 pm, jtomasko j...@tomasko.net wrote: On the xoom tablet (3.1), after selecting a notification of a google calendar event, a dialog

Re: [android-developers] Fwd: Subfolders in the res/drawable

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 12:31 PM, droidGUI gcravi...@gmail.com wrote: this thread is from two years ago; And now? Is it possible to have subfolders in the /res/drawable, /res/values and /res/layout  directory? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Slow motion video

2011-06-11 Thread New Developer
MediaPlayer had getFrameAt which has been depreciated I was hoping to use this to create my own play function Where I could throw in a sleep or delay So as to control the time between frames being shown and thus create a slow motion play back. Do anyone have any ideas on the replacement to

[android-developers] Re: Android 3.1 is too slow

2011-06-11 Thread Glenn Maynard
Saying use a real device isn't very helpful or realistic. Android apps need to be tested in many screen configurations and in every supported SDK level. If the cost of entry to Android development is thousands of dollars of test devices, that's just too high. -- You received this message

[android-developers] Re: Detecting Button Clicks

2011-06-11 Thread c0dege3k
Just figured it out- using a button clicked variable in the game class- *duh* On Jun 10, 8:33 am, Mark Murphy mmur...@commonsware.com wrote: Use setOnClickListener() or android:onClick. On Thu, Jun 9, 2011 at 1:18 PM, c0dege3k c0deg...@gmail.com wrote: I'm writing a simple

[android-developers] Installing Adobe Air on Samsung i5510 - Android 2.2 Froyo

2011-06-11 Thread Amit Bhardwaj
I was testing a hello world example which works well on desktop. Though when I try this on device it ends with an error at 57%. The error screen says -- Exception occured during launch. Reason: Error occurred while installing the

[android-developers] Re: Animation

2011-06-11 Thread Fernando R
There is an other way to do animation.. expanding the class ImageView... it's like adding the actual image and just on the ondraw event call the invalidate() function which allows you to show the next image of you animation... you would probably have to manage the time that you have to wait before

Re: [android-developers] New to Android

2011-06-11 Thread June Hello
Hi, I think you should put setWidgetReferences() first to initialize the members, then addWidgetListeners() On Wed, Jun 8, 2011 at 3:20 PM, goAndroid sovu...@gmail.com wrote: I encounter a crash java.lang.NullPointerException whenever I run my app. please help:

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

2011-06-11 Thread Gardner
I think that Dianne said that you get to build robotic arms. I, for one, welcome our new robotic arm overlords! -g On May 9, 12:03 am, Dianne Hackborn hack...@android.com wrote: Orientation is global.  The top-most app controls the orientation.  If your app is not on the top, you can't force

[android-developers] Re: Good phone for development - and getNeighboringCellInfo()

2011-06-11 Thread André Coelho
Sorry, I think i might have mailed you a response more than once. On Jun 9, 4:21 pm, Davide Ronchi id...@idave.it wrote: Hi all. I am about to start an Android development project. I would like some advice before starting with the project. First of all, I have done some research on which

[android-developers] Creating a view in java

2011-06-11 Thread c0dege3k
I have a class in my app that extends View, and I need to pass in the Context and AttributeSet parameters, but I don't know what to use. So, IS there a way to make a view without using the findViewById method? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Activity gets Terminated using AssetManager list() on 2.1 - 2.2

2011-06-11 Thread Ender
Hello I am creating an app that gets 600 HTML files from the assets file when I try to get a the list of files using the AssetManager list() the the application terminates. When I debug and I try to step threw it The application just stops I don't get no errors in the LogCat. I also noticed that

[android-developers] displaying ImageView coordinates

2011-06-11 Thread GeorgePZ
I'm a newbie so sorry if the question is dumb! I have created a Gallery, a baseAdapter and the Gallery is working fine. However I need to find the coordinates ( in terms of the Gallery view )of each image inside the Gallery when the user clicks on this image. Also most importantly, I need to find

[android-developers] Testing questions - testing BluetoothAdapter and service startup

2011-06-11 Thread BKM
Hi, I have been searching for several days for examples of test cases that deal with Services, or that deal with BluetoothAdapter. We have an Activity, which enables the BluetoothAdapter, and then calls a Service which repeatedly detects nearby Bluetooth devices. There is very little UI in this

[android-developers] Problema com gridview quando desliza a barra de rolagem

2011-06-11 Thread Gerson Novais
Hi, sorry for my Bad English. I'll cut a long story. I have an activity with just a GridView and set an adapter for it. This adapter inherits from BaseAdapter normally. This adapter in the GetView method creates and returns ToogleButton, which are placed side by side in the columns of the

[android-developers] Re: WebView not calling onReceivedError 500 error from server

2011-06-11 Thread Grantland
onReceivedError doesn't get called on HTTP response errors, only resource errors. ... [onRecievedError] errors are not HTTP errors but are unrecoverable resource errors (file not found, no network connection, server not found for the main resource, etc.).

Re: [android-developers] Re: Is there any way to disable landscape mode for widget?

2011-06-11 Thread June Hello
hi, what does additional layouts mean? I have the same question, thanks for any advices On Fri, Jun 10, 2011 at 8:35 PM, Alexey Onuchin av.onuc...@gmail.comwrote: Hmm, Ok. Then I will provide additional layouts :) Thanks. On 10 июн, 16:24, Mark Murphy mmur...@commonsware.com wrote: On Fri,

Re: [android-developers] Good phone for development - and getNeighboringCellInfo()

2011-06-11 Thread André Coelho
I have done something similar to what you are trying to do. We ran a study a while back where we compared the accuracy and precision of a time-shifted location process vs an on-demand one. We wrote an article with our results. We collected GSM and WiFi data on several locations and we also

Re: [android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread dan raaka
adb should be working all fine for development purposes on google i/o device. Also, 3.1 was OTA'ed to these devices starting yesterday : check this.. SamsungJohn http://twitter.com/#%21/SamsungJohn John Imah Google I/O 3.1 Update is available, see details in link! http://ow.ly/5eoTu; -Dan

[android-developers] Problem with GridView scrolling and lost tooglebuttons select

2011-06-11 Thread Gerson Felipe
Hi, sorry for my Bad English. I'll cut a long story. I have an activity with just a GridView and set an adapter for it. This adapter inherits from BaseAdapter normally. This adapter in the GetView method creates and returns ToogleButton, which are placed side by side in the columns of the

[android-developers] Re: question about Snake game in sample code-- getting the snake tiles on to same coordinate plane as SnakeView

2011-06-11 Thread CresCoJeff
Yes, the 7,3 coordinates do refer to the snake's head tile bitmap (I did not make it sensitive to touch events; 7,3 is merely the coordinate set it starts off around) and the 90,40 is from my touch input on the view-- my question is how can I make the bitmaps that compose the snake's head and

Re: [android-developers] Good phone for development - and getNeighboringCellInfo()

2011-06-11 Thread André Coelho
I have done something similar to what you want. I developed an application that we needed for a study. It collects GSM and WiFI data, stores it in a file that I later process with a perl script. The script sends GSM and WiFi data to Google's geolocation api and retrieves location coordinates (like

[android-developers] Re: Detecting Button Clicks

2011-06-11 Thread c0dege3k
That would work if the buttons and the game logic were in the same class, but they aren't. I have a GameBoard class with all of the buttons set up in there, and then I have a Game class with the game logic. The game logic method looks a little like this: public void runGame() {

[android-developers] upgrade

2011-06-11 Thread pratap
Hi, I want to re-upload my application on android market place. I have tried but each time, i am getting the error The apk must be signed with the same certificates as the previous version. i have tried with another package name used in application, increased version code and version name as

[android-developers] June 2011 - Which Platform Should I Get?

2011-06-11 Thread Rocotilos
I have SDK 3.1 now. My device is Running Android Froyo 2.2. So which SDK should I get? 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

[android-developers] Re: echo cancellation

2011-06-11 Thread PEGUS
How do you get audio from mediarecorder and play it in mediaplayer simultaneously? can you show me some of your code? On 1 jun, 00:43, neha neha.05...@gmail.com wrote: when i use mediaRecorder and mediaPlayer simultaneously there is no echo. But when i use AudioRecord/track simultaneously der

[android-developers] Re: echo cancellation

2011-06-11 Thread PEGUS
How do you get audio from mediaRecorder and play it on mediaPlayer simultaneously ?? can you show me some of your code? On 1 jun, 00:43, neha neha.05...@gmail.com wrote: when i use mediaRecorder and mediaPlayer simultaneously there is noecho. But when i useAudioRecord/track simultaneously der

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

2011-06-11 Thread Prachi
I am getting following results: C:\Program Files\Java\jdk1.7.0\binkeytool -list -alias androiddebugkey -keystor e C:\Documents and Settings \Administrator.android\debug.keystore -storepass a ndroid -keypass android androiddebugkey, May 27, 2011, PrivateKeyEntry, Certificate fingerprint (SHA1): 20

Re: [android-developers] Simulate UI Actions on device

2011-06-11 Thread Gorav Singal
Actually, I want to have mobile application running in background. And, I have a java application running on desktop, which will send commands through socket. And, the device application will perform the required UI action. e.g. touch/click on coordinates x, y I want to perform UI action on

[android-developers] How to do native sound programming in android?

2011-06-11 Thread XzPeter
Hi, all, I am wanting to write a native C app that record real time sound in android and then send via network. I have searched the internet about sound programming in android, but most of the articles are talking about using the class MediaPlayer or MediaRecorder in Java. So, How in C? Peter

Re: [android-developers] Is there any way to disable landscape mode for widget?

2011-06-11 Thread Rajani Golakoti
Hi Alexy, Set this android tag in your activity tag in which you are displaying your view. *android:screenOrientation=portrait*. On Fri, Jun 10, 2011 at 5:18 AM, Alexey Onuchin av.onuc...@gmail.comwrote: Hi to all, I'm developing a simple widget for which I want to leave only portrait

[android-developers] DOM - problem

2011-06-11 Thread n30
Hi! This is my first post here, so Welcome everyone! I have a problem with my first android app. Document dom = builder.parse(http://192.168.16.1/calc.xml;); it is working on Virtual Machine, but when I test it on my Motorola Deffy(2,1 update1) i am receving following exception: Input

Re: [android-developers] Re: Java book (like C KR and C++ Programming Language)

2011-06-11 Thread Satya Komatineni
C++ by Stroustroup is one of the best books in languages that I have read (especially the ARM book). On Java I still prefer the simplicity of the first edition by the creator of Java. to the point. brief. clear and concise. The more recent topics you can probably learn from on line sources such

[android-developers] Android USSD

2011-06-11 Thread Tsolmon Narantsogt
Dear Comrade. I wanna make ussd checker ( i think it's a widget ). So i don't know more about ussd command and code. So help me ? Anybody knows open source project ussd on android? --- Regards Tsolmon -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Is there any way to disable landscape mode for widget?

2011-06-11 Thread Kostya Vasilyev
Widgets run within the launcher. The launcher's activity is not controlled by the application that provides the widget, so setting screenOrientation is not an option (unless we're talking about writing a launcher). However, one can use regular resource qualifiers - res/layout-port and/or

Re: [android-developers] Simulate UI Actions on device

2011-06-11 Thread Mark Murphy
On Fri, Jun 10, 2011 at 9:12 AM, Gorav Singal techi...@gmail.com wrote: Actually, I want to have mobile application running in background. And, I have a java application running on desktop, which will send commands through socket. And, the device application will perform the required UI action.

Re: [android-developers] How to do native sound programming in android?

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 10:47 AM, XzPeter xzpe...@gmail.com wrote: I am wanting to write a native C app that record real time sound in android and then send via network. I have searched the internet about sound programming in android, but most of the articles are talking about using the class

[android-developers] SSL Socket Connection fails after network cut

2011-06-11 Thread Lorie Pisicchio
Hello, I am developping an application that is connecting to a distant server via SSL. I have a watchdog monitoring network connection. When the phone looses the network connection while my application is running, I close the current socket and start a periodic task to try to reconnect.

[android-developers] Stop Thread started by bindService

2011-06-11 Thread The NaP
Hello guys, I start a thread with a simple counter from 1 to 1000. My interface has Start and Stop functions. I want to stop the counter but when I click on Stop my App is returning the exception java.lang.IllegalArgumentException: Service not registered . Anyone knows how to solve this problem.

[android-developers] Loading a Class from APK with the permissions in that apk

2011-06-11 Thread Mahender
Hi, We are building a framework as a service and the framework uses the datasources to get data from different sources like Facebook, GMail, Calls, GPS, Battery Information etc. So the development of framework is separate and the development of datasources is seperate. Whenever there is a

[android-developers] How to call an Activity method from another Java class in Android

2011-06-11 Thread Reza
In my main activity I am having a method that I need to call from a secondary java class. I used the constructor of the secondary java class to receive reference to the main Activity. I then tried to use this reference to invoke that method from the body of the secondary java class. But java

Re: [android-developers] Re: Java book (like C KR and C++ Programming Language)

2011-06-11 Thread luciofm
Thanks for the response.. I've already ordered the Effective Java, will take a look now in pricing of the others.. Thanks again, and have a great weekend. Lúcio Maciel luci...@gmail.com On Fri, Jun 10, 2011 at 17:07, fadden fad...@android.com wrote: On Jun 8, 6:55 am, luciofm

[android-developers] Connection center

2011-06-11 Thread i42sasij
Hi Everyone, I'm trying to configure the Open NFC library. I followed the help document provided by them, but when execution. I would like to know what is Connection Center in that document or if can anyone please help me to download it? Thanks Regards -- You received this message because you

[android-developers] Accelerometer range

2011-06-11 Thread Ted
I am writing an app that uses accelerometer. After some testings I noticed that the range of values that the app shows is -2g to 2g. http://www.bosch-sensortec.com/content/ ... Rev1.3.pdf states that the range can be switched. How do I switch it to 4g? -- You received this message because you

[android-developers] Accelerometer range

2011-06-11 Thread Ted
I am writing an app that uses accelerometer. After some testings I noticed that the range of values that the app shows is -2g to 2g. http://www.bosch-sensortec.com/content/ ... Rev1.3.pdf states that the range can be switched. How do I switch it to 4g? -- You received this message because you

[android-developers] IMarketBillingService

2011-06-11 Thread mscarafo
I have a project in my Eclipse workspace. It is a java library to be used in an AIR application. I have created a new package in the project named 'com.android.vending.billing'. This package contains 'IMarketBillingService.aidl' from the Billing Demo application. Once the file is added to the

[android-developers] Slideshow

2011-06-11 Thread Samir Mangroliya
I want start slide show when i click on gallary in my application and get Selected Image(Its more than one..)??/ -- 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] How to call an Activity method from another Java class in Android

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 3:19 AM, Reza r.shifte...@gmail.com wrote: My main Activity is as below: public class MainActivity extends Activity{   public void onCreate(){        TestClass mTestClass = new TestClass(this); br/   }   public   testMethod(){     // do some work here   } }

Re: [android-developers] Re: Java book (like C KR and C++ Programming Language)

2011-06-11 Thread Kristopher Micinski
Overall, I'd have to say that Java is a much easier language to program in than C++. It's probably not a good idea long term, but I found that most of it I could figure out just by following my nose. If you know C++, I'd say that you should just start to look at Java code, and see how it fits

[android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
Its been a while since I first posted regarding this problem, I've been away...Mark Murphy was advising me on the problem and I said I would post the code: I can see from the Toast in my class that the onReceive method is being called, but the actual intent that I install in the AlarmManager

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Mark Murphy
Try SystemClock.elapsedRealtime()+lngInterval for your second parameter to setRepeating(). Then add an entry to LogCat using android.util.Log in wprotatorReciever's onReceive() method to confirm if you are getting there. I don't recommend using Toasts from background stuff, alarms and boot

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
Hi Mark, Thank you, I've added a Toast to my wprotatorReciever onReceive routine and it is getting there, here is the code for that onReceive routine: public void onReceive(Context context, Intent intent) { Toast.makeText(context, wprotatorReciever, Toast.LENGTH_SHORT).show();

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 4:33 PM, Simon Platten simonaplat...@googlemail.com wrote: Thank you, I've added a Toast to my wprotatorReciever onReceive routine and it is getting there, here is the code for that onReceive routine:    public void onReceive(Context context, Intent intent) {        

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
Sorry, Yes the onReceive is certainly being called, which I discovered after adding the Toast, but the call: wpService.sendWakefulWork( context ) Doesn't appear to be working after a reboot... On 11/06/2011 9:38 PM, Mark Murphy wrote: On Sat, Jun 11, 2011 at 4:33 PM, Simon Platten

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 4:47 PM, Simon Platten simonaplat...@googlemail.com wrote: Yes the onReceive is certainly being called, which I discovered after adding the Toast, but the call: wpService.sendWakefulWork( context ) Doesn't appear to be working after a reboot... That doesn't make much

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
Hi Mark, I just tried to send you a reply in: cw-andr...@googlegroups.com mailto:cw-andr...@googlegroups.com But I'm not sure if the group is correct, I got an email back telling me I may not have the right to post. Regards, Simon On 11/06/2011 9:52 PM, Mark Murphy wrote: On Sat, Jun 11,

[android-developers] Animate Dialogfragment

2011-06-11 Thread Christer Nordvik
Is it possible to animate a DialogFragment when it appears? I want a flip animation (from zero width and then flip into view, but nothing happens when I try to animate it. I asked the question here also (no answers):

[android-developers] Re: How to call an Activity method from another Java class in Android

2011-06-11 Thread niko20
My concern with ever passing an activity is now you expose yourself to that activity memory leak problem, right? Unless you make sure to set it to null in onDestroy() On Jun 11, 2:11 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jun 11, 2011 at 3:19 AM, Reza r.shifte...@gmail.com

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 5:07 PM, Simon Platten simonaplat...@googlemail.com wrote: I just tried to send you a reply in: cw-andr...@googlegroups.com But I'm not sure if the group is correct, I got an email back telling me I may not have the right to post. You need to join the group first.

Re: [android-developers] Re: How to call an Activity method from another Java class in Android

2011-06-11 Thread Mark Murphy
On Sat, Jun 11, 2011 at 5:09 PM, niko20 nikolatesl...@yahoo.com wrote: My concern with ever passing an activity is now you expose yourself to that activity memory leak problem, right? Unless you make sure to set it to null in onDestroy() It depends on the lifetime of TestClass. If TestClass

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
Ty, done! On 11/06/2011 10:12 PM, Mark Murphy wrote: On Sat, Jun 11, 2011 at 5:07 PM, Simon Platten simonaplat...@googlemail.com wrote: I just tried to send you a reply in: cw-andr...@googlegroups.com But I'm not sure if the group is correct, I got an email back telling me I may not have

Re: [android-developers] Re: Android 3.1 is too slow

2011-06-11 Thread Chris Stewart
Use a real device is a good answer, especially when it comes to Honeycomb as the market stands today. It will likely fragment some over time but I highly doubt it will turn into what the phone market has. Frankly, I'd rather pay $400 for a tablet than even fire up the emulator once. If you

[android-developers] Re: Android 3.1 is too slow

2011-06-11 Thread String
On Friday, June 10, 2011 11:34:13 PM UTC+1, Glenn Maynard wrote: Saying use a real device isn't very helpful or realistic. Android apps need to be tested in many screen configurations and in every supported SDK level. If the cost of entry to Android development is thousands of dollars of

[android-developers] Animated map overlay refresh interval

2011-06-11 Thread Joan Pujol
I want to animate a MapView Overlay and I have some doubts with the API. If I want to update the animation every 1 second can I say that? Because the only related controls that I can see is that I receive a when parameter and I can return a parameter saying that animation hasn't finished. But

[android-developers] Re: Bind to Service in Fragment

2011-06-11 Thread goosedroid
I attached sample code to the bug entry. The behavior will be evident in the logs. On May 16, 1:20 pm, Dianne Hackborn hack...@android.com wrote: The lifecycle callbacks need to work correctly.  If there is a case where they aren't, it needs to be fixed.  I haven't had a chance to investigate

  1   2   >