[android-developers] NFC phone operated Mifare Classic

2011-09-20 Thread xiaoailsa
Hi,everyone! I have learn nfc phone how to read different card. For the Mifare Classic, i have a problem for value block. For the MifareClassic api , i can read and write with nfc phone. But i can't decrement,increment,restore, transfer. The api is :decrement(int blockIndex, int value) Decrement a

[android-developers] Re: How can i close current running application in android application?

2011-09-20 Thread Reddy
1. Go to Settings-Applications-Manage Applications 2. Select your application and force stop will close your application. On Sep 20, 9:54 am, venugopal reddy venugopal.re...@tspl.com wrote: Hi guys, In my emulator 4 applications are there. one is webview related and one is buttons related..

[android-developers] How to enable GPRS through code

2011-09-20 Thread Reddy
Hi All, Can some one help me out to enable the GPRS through code. Regards, Reddy -- 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

Re: [android-developers] Implementing database in Android

2011-09-20 Thread TreKing
On Sun, Sep 18, 2011 at 10:40 PM, Gaurav Srivastava gaurav.srivastava0...@gmail.com wrote: so anyone is having a demo or sample application which is running properly and will be useful for me? You of course checked the documentation and did some simple Google search, yes?

Re: [android-developers] Activity issue

2011-09-20 Thread TreKing
On Fri, Sep 16, 2011 at 7:19 AM, vijay pratap vijayprata...@gmail.comwrote: I have 4 individual activities in my project. One of them i made tabhost and other three activities are active on its three tab. That's generally a bad idea. Look into fragments.

Re: [android-developers] Using Google weather api in android (can't parse Xml correctly)

2011-09-20 Thread TreKing
On Sun, Sep 18, 2011 at 12:05 PM, shihab Shuvro shihab@gmail.comwrote: i use below method to get xml data but i can't . Why not? - TreKing http://sites.google.com/site/rezmobileapps/treking -

[android-developers] Question About Upload Application on Market

2011-09-20 Thread Chirag Raval
I have one simple and silly question about upload application on market. I am developing one application using android 2.2 build version and in android manifest file i am declare minimum version as 1.6 . Like(uses- sdk android:minSdkVersion=4 /) So when i am upload this application on market, is

Re: [android-developers] What can block my ProgtessDialog

2011-09-20 Thread TreKing
On Mon, Sep 19, 2011 at 11:54 AM, nika-...@ya.ru nika-...@ya.ru wrote: And my dialog doesn't want to spin during this process. Why? Can anyone help me? There is no mention of a progress dialog in the code you posted.

Re: [android-developers] What can block my ProgtessDialog

2011-09-20 Thread Chirag Raval
Can you post some code 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] Re: Doubt on database access.

2011-09-20 Thread gjs
Hi, Create the table. Regards On Sep 20, 1:54 pm, Devendran Raju devendran...@gmail.com wrote: On Tue, Sep 20, 2011 at 9:08 AM, Devendran Raju devendran...@gmail.comwrote: -- Forwarded message -- From: Devendran Raju devendran...@gmail.com Date: Mon, Sep 19, 2011

Re: [android-developers] Question About Upload Application on Market

2011-09-20 Thread TreKing
On Tue, Sep 20, 2011 at 1:44 AM, Chirag Raval chirag.android.develo...@gmail.com wrote: So when i am upload this application on market, is it available for android 1.6 and 2.1 user ? Is it listing for that users ? It should be, but with the Android Market is like a box of choc-lates ... you

Re: [android-developers] Question About Upload Application on Market

2011-09-20 Thread Chirag Raval
should be or must be ? On Tue, Sep 20, 2011 at 12:26 PM, TreKing treking...@gmail.com wrote: On Tue, Sep 20, 2011 at 1:44 AM, Chirag Raval chirag.android.develo...@gmail.com wrote: So when i am upload this application on market, is it available for android 1.6 and 2.1 user ? Is it listing

Re: [android-developers] Re: Read NfcA card

2011-09-20 Thread Michael Roland
Hallo, byte[] commandAPDU= new byte[]{ (byte)0x00, (byte)0xA4, (byte)0x04, (byte)0x00, (byte)7, (byte)0xAB, (byte)0xE5, (byte)0xBC, (byte)0x08, (byte)0x85, (byte)0x01, (byte)0x00}; byte[] responseAPDU = tag.transceive(commandAPDU); String m1=Hex.byteArrayToHex(responseAPDU); But the

Re: [android-developers] Implementing database in Android

2011-09-20 Thread Devendran Raju
Thanks. Devendran. -- 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] [HoneyComb]GIF Movie can't draw when hardware acceleration is enabled...

2011-09-20 Thread wsgfz...@gmail.com
I use android.graphics.Movie to display a animated GIF image (just like the BitmapDecode sample in APIDemos do). this works well if i turned off hardware acceleration. it looks like the android.graphics.Movie hasn't been updated since API level 1. And i guess the canvas' drawing logic is

[android-developers] Re: How to implement peer 2 peer application in android 2.3.3

2011-09-20 Thread Michael Roland
Hallo Reddy, I am planning to write a full duplex peer 2 peer application in 2.3.3. Can any one please tell me how it can be possible. the P2P communication capabilities of Android on current devices (Nexus S, Galaxy SII) are limited to the NDEF Push Protocol (i.e. you can exchange a single

[android-developers] Suggestions not working properly in Gingerbread 2.3.4

2011-09-20 Thread anand
Hi all, Suggestions in Gingerbread 2.3.4 is not working properly. Steps to reproduce the issue: 1.Select the keyboard as Android Keyboard. 2.Compose a new message by selecting Messaging-New Message-Type to message. 3. Ensure that suggestion settings like Quick fixes,Show

Re: [android-developers] Re: Problem with Exceptions that are thrown deep in the System of my app

2011-09-20 Thread Joachim Gugenberger
No i do not need that. And this is the reason wy i was asking this question... ? Can anyone please post here, that has a sensefull comment? 2011/9/20 Chambras marcech...@gmail.com yeah, i do not get the use case. If you just want to debug it, you should print everything in the logs. -- You

[android-developers] Re: ViewFlipper class does not support SurfaceView like it should

2011-09-20 Thread MobileVisuals
Thanks for the info, I have spent many hours investigating this issue and now I finally know what the problem is. My app has a standard 2d menu. It is possible to view different 3d visual effects from the menu. The 3d visual effects are rendered in a GLSurfaceView. That class extends SurfaceView.

Re: [android-developers] Re: ViewFlipper class does not support SurfaceView like it should

2011-09-20 Thread Romain Guy
You can animate another view on top of a SurfaceView, you just cannot animate the SurfaceView itself. On Tue, Sep 20, 2011 at 12:51 AM, MobileVisuals eyv...@astralvisuals.comwrote: Thanks for the info, I have spent many hours investigating this issue and now I finally know what the problem is.

Re: [android-developers] Infinite horizontal scroll

2011-09-20 Thread Benjamin LE CUN
Exactly what I needed, thanks TreKing ! -- 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: Older stuff

2011-09-20 Thread Kristopher Micinski
On Tue, Sep 20, 2011 at 1:21 AM, kypriakos demet...@ece.neu.edu wrote: Thanks Chris. I looked around including URLs at Google (http:// android.clients.google.com/packages/) but these images are nowhere to be found (Cupcake or Donut). Not sure if I can build them myself eventually off the

[android-developers] init.rc --- synchronization

2011-09-20 Thread Michal Maruska
Hello, I would like to invoke synchronously a command from init.rc, i.e. wait for its termination before starting another service (let's say the zygote). I see that the documented exec does not do anything. (I also see features not documented, loglevel for example. So that documentation seems

[android-developers] Re: init.rc --- synchronization

2011-09-20 Thread Michal Maruska
Then the readme.txt mentions init.svc.name system property, but then there is no notification on a change. ok, watchprops -- system/core/toolbox/watchprops.c shows that system-property-change notification is possible. -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: How can i close current running application in android application?

2011-09-20 Thread venugopal reddy
Thank q very much Reddy On Tue, Sep 20, 2011 at 11:48 AM, Reddy devireddy@gmail.com wrote: 1. Go to Settings-Applications-Manage Applications 2. Select your application and force stop will close your application. On Sep 20, 9:54 am, venugopal reddy venugopal.re...@tspl.com wrote: Hi

[android-developers] Emulator Resoulution

2011-09-20 Thread venugopal reddy
How can I check Emulator 3.0 resolution. Pls 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 group, send email to

[android-developers] how to read the sent sms

2011-09-20 Thread GopalaKrishnan D
how to read the sent sms and display it -- ~* Regards* *GopalaKrishnan D* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: how to read the sent sms

2011-09-20 Thread danaimset
You can use this code. It works perfect for me: // URI public static final String URI_INBOX = content://sms; public static final String URI_SENT = content://sms/sent; /** * Get all sms from database which have been sent after codetime/ code * @param time * @return */ public void getSms(long

Re: [android-developers] Re: Android Honeycomb CheckBox against white background cannot be seen

2011-09-20 Thread Mark Murphy
If SettingsActivity inherits from PreferenceActivity, there might be something else needed there. I seem to recall there being issues with theming the Honeycomb PreferenceActivity, though I do not remember what those issues might be off the top o' my head. On Mon, Sep 19, 2011 at 11:10 PM, albnok

[android-developers] Re: Cannot connect to Samsung Galaxy 10.1

2011-09-20 Thread longuard
i have the same trouble of you On 18 sep, 19:27, gag gagel...@adelphia.net wrote: Hi Everyone, I am trying to run and debug my application on a Samsung Galaxy 10.1 tablet. When I try to launch it from Eclipse, I don't the Galaxy under the attached devices. I installed the USB driver. Is

[android-developers] MapActivityError

2011-09-20 Thread Navindian
Hi I am creating an MAPActivity, for which i have put google android-sdk-windows\add-ons\addon_google_apis_google_inc_8\libs\maps.jar in the build path. I have changed AndroidManifest.xml from 7 to uses-sdk android:minSdkVersion =*8* / I am getting the following Error [2011-09-20 16:43:35 -

Re: [android-developers] MapActivityError

2011-09-20 Thread Appaholics
You need to use an emulator with the library installed on it. On Tue, Sep 20, 2011 at 4:48 PM, Navindian navind...@gmail.com wrote: Hi I am creating an MAPActivity, for which i have put google android-sdk-windows\add-ons\addon_google_apis_google_inc_8\libs\maps.jar in the build path. I

[android-developers] Two Finger Swipe Gesture

2011-09-20 Thread subrat
Hi All, I want to implement two fingers swipe gesture on android .Is it possible? If yes how? Regards Subrat -- 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] parcelable again: passing object BACK through activity stack

2011-09-20 Thread John Goche
Hello, I have two A and B and clicking on a button in A opens B. I pass an object from A to B using parcelable and the extras in the intent used to open B. Now I have the following problem: given that A is beneath B on the activity stack and will not be reopened, how do I pass the object from B

[android-developers] Re: HttpResponse problem

2011-09-20 Thread drpickett
I usually hate it when people just reply with a snarky dope-slap response, but in this case it is merited somewhat. The compiler error would be helpful in diagnosing the problem. dp On Sep 19, 1:58 am, swer ademk...@gmail.com wrote: hello friends.. It has been almost a day and I have still

[android-developers] Re: ViewFlipper class does not support SurfaceView like it should

2011-09-20 Thread MobileVisuals
GLSurfaceView extends SurfaceView. Does that mean that it is not possible to animate GLSurfaceView with a viewflipper? On Sep 20, 9:54 am, Romain Guy romain...@android.com wrote: You can animate another view on top of a SurfaceView, you just cannot animate the SurfaceView itself. On Tue, Sep

Re: [android-developers] Re: HttpResponse problem

2011-09-20 Thread Daniel Drozdzewski
I don't mind snotty replies to crap questions. There are far too many posts that are not questions, or questions that were answered on this list, or Stack Overflow, or simple google-fu for the key terms in question gives the answer within first 3 results. About the code below: [...] Client =

[android-developers] Why doesn't HTC devices support Point attenuation?

2011-09-20 Thread MobileVisuals
I have implemented Point attenuation according to the Android specification in two of my company's apps. I have found that it works like it should on most devices, like those from Samsung. I have implemented Point attenuation on Symbian and C++ before, so I am quite sure that I have implemented it

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-20 Thread Mark Murphy
You probably should reconsider your approach. It sounds like you need a central data model, accessible from multiple activities: -- database -- file managed by: -- service -- some other singleton -- custom Application class Extras on Intents should be viewed much along the lines of GET

[android-developers] Re: ViewFlipper class does not support SurfaceView like it should

2011-09-20 Thread Jens
That would be the gist of what both Dianne Romain Guy said yes. On Sep 20, 2:13 pm, MobileVisuals eyv...@astralvisuals.com wrote: GLSurfaceView extends SurfaceView. Does that mean that it is not possible to animate GLSurfaceView with a viewflipper? On Sep 20, 9:54 am, Romain Guy

[android-developers] Re: Send message with C2DM to selected devices

2011-09-20 Thread Jens
Each device has its own registration ID so you can push messages to a specific device. On Sep 19, 9:24 am, Joshua Partogi joshua.part...@gmail.com wrote: hi there, I am interested to use C2DM for my application. Is it possible to send push messages to selected devices only? Or will it send to

[android-developers] Re: Newbie Question for phone and tablet apps

2011-09-20 Thread blake
Greg, You really should be able to customize the appearance of your app, for just about any kind of device. There's good information on how to do it here: http://android-developers.blogspot.com/2009/02/android-layout-tricks-2-reusing-layouts.html

Re: [android-developers] Re: Send message with C2DM to selected devices

2011-09-20 Thread Robin Talwar
try not to get auth token everytime better you cache it or the google server will add captcha in process and u cant get to captcha through the code. You would have to do some python stuff for that i am not really clear about it. Hence better u save the authentication token On Tue, Sep 20, 2011

[android-developers] Re: What is the sorting order on Android Market?

2011-09-20 Thread sblantipodi
but who manipulate this raking and why? On Sep 19, 6:48 am, Zsolt Vasvari zvasv...@gmail.com wrote: Yes, same thing with Cash Organizer.  That app is only a week old. I do believe the rankings are manipulated. On Sep 19, 12:35 pm, Peter Sinnott psinn...@gmail.com wrote: That isn't

[android-developers] Re: ViewFlipper class does not support SurfaceView like it should

2011-09-20 Thread MobileVisuals
How can I then switch between a view with 2d rendering and a view with 3d rendering? I suppose I have to use GLSurfaceView for 3d rendering with OpenGL? On Sep 20, 3:00 pm, Jens dunkingbikk...@gmail.com wrote: That would be the gist of what both Dianne Romain Guy said yes. On Sep 20, 2:13 

[android-developers] Re: What is the sorting order on Android Market?

2011-09-20 Thread sblantipodi
Mr David R Pickett is asking me to show him momey to help me with the ranking. lol. On Sep 19, 6:48 am, Zsolt Vasvari zvasv...@gmail.com wrote: Yes, same thing with Cash Organizer.  That app is only a week old. I do believe the rankings are manipulated. On Sep 19, 12:35 pm, Peter Sinnott

[android-developers] Re: How to add a ViewFlipper to the layout?

2011-09-20 Thread MobileVisuals
I got the viewflipper to work, but I found that it is not possible to use a GLSurfaceView in a viewflipper, like this thread describes: http://groups.google.com/group/android-developers/browse_thread/thread/66e38a36c1378cfb/1b890dfece8fcb8a#1b890dfece8fcb8a How can I then switch between 2d and

[android-developers] Re: What is the sorting order on Android Market?

2011-09-20 Thread Chris
His help would probably amount to keyword spamming so your app gets suspended. Guys, trying to figure out this question is like trying to figure out how Google ranks its search engine results. You don't want to watch people make sausage, do you? -- You received this message because you are

Re: [android-developers] Webkit drains battery?

2011-09-20 Thread Raul Fernandes Herbster
Thanks for replay. On Mon, Sep 19, 2011 at 9:50 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Sep 19, 2011 at 4:09 PM, Raul Herbster raulherbs...@gmail.com wrote: What I´ve noticed is that the application drains device battery every time the Webkit is used (one webview object is

Re: [android-developers] Re: How to add a ViewFlipper to the layout?

2011-09-20 Thread Mark Murphy
Use two activities. On Tue, Sep 20, 2011 at 9:54 AM, MobileVisuals eyv...@astralvisuals.com wrote: I got the viewflipper to work, but I found that it is not possible to use a GLSurfaceView in a viewflipper, like this thread describes:

[android-developers] Re: init.rc --- synchronization

2011-09-20 Thread Michal Maruska
On Tue, Sep 20, 2011 at 10:55 AM, Michal Maruska mmaru...@gmail.com wrote: Then the readme.txt mentions  init.svc.name system property, but then there is no notification on a change. ok, watchprops  -- system/core/toolbox/watchprops.c  shows that system-property-change notification is

[android-developers] Re: UsbStorageConnector failing with IOException.

2011-09-20 Thread Francisco Figueiredo Jr.
I'm using a galaxy S with a 2.3.5 rom. I started to think it really may be some vendor extension as I couldn't find anything on google. It is sad that the exception java throws doesn't show the file name it didn't find. I think that in order to do that, I would need to add a log of the file

[android-developers] Handling Orientation Changes in AppWidgets

2011-09-20 Thread maliha
Hi, I am using honey comb 3.2, I need to perform an update when the widget orientation is changed. Any suggestion on how this can be handled? Note: There is no activity running during the orientation change Thanks and Regards, - Maliha. -- You received this message because you are subscribed

[android-developers] chmod 777 file not working with init.rc

2011-09-20 Thread Pratik Prajapati
Hi There, I'm setting permission to 777 (R+W+E for all) to a script file. But after kernel built and flashed to the system, permission does not get changed as expected. I understand I can give permission in make file while creating filesystem to be flashed on system. But same thing is happening

[android-developers] Record audio stream before it reaches speakerphone or headset. (Not a noob question.)

2011-09-20 Thread Raj
Hello all, I googled a lot for this and went through all possible forums but I couldn't find any solution so I thought of giving it a last try here. Coming back to the point- In my app, I am playing some sounds on click of buttons. What I want to do is whenever the users clicks on those

[android-developers] Re: [android-kernel] chmod 777 file not working with init.rc

2011-09-20 Thread Pratik Prajapati
Hi, I'm doing below things in init.rc only. (1) on device-added-device node path chmod 777 sys fs file name (2) on boot chmod 777 sys fs file name But it does not work. -- Regards, Pratik Prajapati On Tue, Sep 20, 2011 at 8:58 AM, jagan 402ja...@gmail.com wrote: You can't give

[android-developers] Re: reading data from audio head jack in android

2011-09-20 Thread JP
On Sep 19, 9:55 pm, riz rizcs...@gmail.com wrote: Please let me know any library or source code available for reading That would be AudioRecord http://developer.android.com/reference/android/media/AudioRecord.html -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to add a ViewFlipper to the layout?

2011-09-20 Thread MobileVisuals
I see, then I would have to use one SurfaceView for the first activity and a GLSurfaceView for the other activity. I searched for information about how to switch between 2 activities on the forum and found one of your threads:

Re: [android-developers] App force closes when Bluetooth connection occurs

2011-09-20 Thread Steven Bruce
Hi Kris Yes there is a bunch of stuff in the logcat outpu window. I will try and post a copy of it on here later on. I have a feeling it maybe something to do with the randomly generated UUID I got off the internet. Maybe it has to be very specific type of UUID? I will include the output from

Re: [android-developers] Re: How to add a ViewFlipper to the layout?

2011-09-20 Thread Mark Murphy
Use startActivity(), with FLAG_ACTIVITY_REORDER_TO_FRONT, to bring an existing activity back into the foreground (or create it if it does not exist). On Tue, Sep 20, 2011 at 12:32 PM, MobileVisuals eyv...@astralvisuals.com wrote: I see, then I would have to use one SurfaceView for the first

[android-developers] Add images to Emulator Gallery

2011-09-20 Thread Rathna Kumara Premadasa
Hi all, I wanted to brows some images from my Android program so i want to add some images to the Emulator gallery. I tried with adding virtual SD card to the emulator and add images to gallery using DDMS. But it did not work well.. Please help me... Thanks, -- *Rathna Kumara

[android-developers] Is this a joke??

2011-09-20 Thread Steven Bruce
http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() What is this supposed to do? Looks like Google having a laugh or something?? :p -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: Problem with Exceptions that are thrown deep in the System of my app

2011-09-20 Thread TreKing
On Tue, Sep 20, 2011 at 2:47 AM, Joachim Gugenberger jgugenber...@gmail.com wrote: Can anyone please post here, that has a sensefull comment? I thought asking what your use case was, to better understand what you're trying to do, was a sensefull comment. If you can't elaborate on what you're

Re: [android-developers] Question About Upload Application on Market

2011-09-20 Thread TreKing
On Tue, Sep 20, 2011 at 2:00 AM, Chirag Raval chirag.android.develo...@gmail.com wrote: should be or must be ? Should be. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago

[android-developers] bluez- control psm - condition G_IO_HUP error.

2011-09-20 Thread arun_satya3
Hi, I am writing an application to receive data from health devices an able to success fully receive data when the device is connected for the first time. The device is disconnected mcl and mdl is closed properly. When the device is connected for the second time G_IO_HUP is getting set and am

[android-developers] Re: Is this a joke??

2011-09-20 Thread Steven Bruce
public static boolean isUserAMonkey() Since: API Level 8 Returns true if the user interface is currently being messed with by a monkey. Steven Bruce wrote: http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() What is this supposed to do? Looks like Google

Re: [android-developers] Is this a joke??

2011-09-20 Thread Daniel Drozdzewski
On 20 September 2011 17:42, Steven Bruce stevebruc...@gmail.com wrote: http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() What is this supposed to do? Looks like Google having a laugh or something?? :p

Re: [android-developers] Is this a joke??

2011-09-20 Thread Steven Bruce
Oh ok then. I'll let them off. lol. Thanks! :) Daniel Drozdzewski wrote: On 20 September 2011 17:42, Steven Bruce stevebruc...@gmail.com wrote: http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() What is this supposed to do? Looks like Google having a

Re: [android-developers] Two Finger Swipe Gesture

2011-09-20 Thread TreKing
On Tue, Sep 20, 2011 at 6:29 AM, subrat subratkumarman...@gmail.com wrote: I want to implement two fingers swipe gesture on android .Is it possible? Sure (at least Google Maps does it). If yes how? Detect two points of touch and a swipe gesture.

Re: [android-developers] Problem with Exceptions that are thrown deep in the System of my app

2011-09-20 Thread Miguel Morales
That's the thing. You don't show any dialogs outside of an activity. This is not good practice, log the trace. If you want to be messy, you can have a singleton to which activities register to. Then call functions in that singleton. On Mon, Sep 19, 2011 at 3:33 AM, JoachimG

Re: [android-developers] Is this a joke??

2011-09-20 Thread Kostya Vasilyev
Now this on the other hand, does look to be a joke . http://developer.android.com/reference/android/os/IBinder.html#TWEET_TRANSACTION . or maybe not? With Google+ support coming in Ice Cream Sandwich, perhaps? 20.09.2011 20:50, Steven Bruce пишет: Oh ok then. I'll let them off. lol.

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-20 Thread TreKing
On Tue, Sep 20, 2011 at 6:55 AM, John Goche johngoch...@googlemail.comwrote: given that A is beneath B on the activity stack and will not be reopened What do you mean A will not be reopened ? You're probably looking for startActivityForResult() and onActivityResult().

[android-developers] savedInstanceState always null

2011-09-20 Thread GregAZ
savedInstanceState is always null. For some reason this just started happening. onSaveInstanceState is being called but here's what's happening: 1. Launch app by pressing app icon 2. Hit home button (I've verified onSaveInstanceState is called) 3. Launch app by pressing app icon 4. Attempt to

Re: [android-developers] App force closes when Bluetooth connection occurs

2011-09-20 Thread Kristopher Micinski
On Tue, Sep 20, 2011 at 12:34 PM, Steven Bruce stevebruc...@gmail.com wrote: Hi Kris Yes there is a bunch of stuff in the logcat outpu window. I will try and post a copy of it on here later on. I have a feeling it maybe something to do with the randomly generated UUID I got off the internet.

Re: [android-developers] savedInstanceState always null

2011-09-20 Thread TreKing
On Tue, Sep 20, 2011 at 12:11 PM, GregAZ ggur...@gmail.com wrote: What would cause this to be null? The fact that your activity was not destroyed. OnSaveInstanceState is called *in case* you get destroyed, in which case your data will be passed to the new Activity when it is created.

[android-developers] Re: savedInstanceState always null

2011-09-20 Thread GregAZ
I think I misunderstood when onRestoreInstanceState is called so ignore that part. But the problem still remains, the bundle is always null even though it is saved. I have logging showing me onSaveInstanceState is called. On Sep 20, 12:11 pm, GregAZ ggur...@gmail.com wrote: savedInstanceState

[android-developers] Re: savedInstanceState always null

2011-09-20 Thread GregAZ
I'm finally getting some where. I need to read up on the life cycle cuz I'm getting myself screwed up. Here's what's happening: Debug mode: 1. Tap app icon to open app, onCreate is called 2. Hit home button, state is saved 3. Tap app icon to open app, it resumes, onCreate is not called In

Re: [android-developers] Re: savedInstanceState always null

2011-09-20 Thread TreKing
On Tue, Sep 20, 2011 at 12:21 PM, GregAZ ggur...@gmail.com wrote: But the problem still remains, the bundle is always null even though it is saved. Then a new instance of the Activity is being created. You can verify this by printing out the value of the Activity object itself in

Re: [android-developers] Re: savedInstanceState always null

2011-09-20 Thread TreKing
On Tue, Sep 20, 2011 at 12:38 PM, GregAZ ggur...@gmail.com wrote: #3 is calling onCreate again. If instead of doing step 3 I hold home down and switch to the app it just resumes, onCreate isn't called again. Weirdballs. I'd do a full clean / rebuild, delete your shortcut (if that's what

[android-developers] Re: savedInstanceState always null

2011-09-20 Thread GregAZ
The only thing I changed in the manifest was the versionCode and versionName. I had made a copy of the project, the renamed it (using Android tools through Eclipse) and discovered this problem. So I exported the original project, signed it, zip aligned it, put it on my phone and it too was doing

Re: [android-developers] Problem with Exceptions that are thrown deep in the System of my app

2011-09-20 Thread Kristopher Micinski
To be pretty honest, if you're throwing dialogs up from systems code, you might be having a design issue to begin with. No user wants to see tons of dialogs saying download failed, or could not connect to service, etc... I think this is a key point that a lot of people miss in architecting their

[android-developers] Re: savedInstanceState always null

2011-09-20 Thread Streets Of Boston
I assume that your activities have the default launch-mode. I.e. when started, they will be newly created. Press app-icon: Activity is started and onCreate is called. Press Home-button long time: Your task, that contains your activity, is brought to the foreground. If your process was still

[android-developers] Re: Is this a joke??

2011-09-20 Thread MobileVisuals
also notice the methods isUserAGangbangingCriminalMindedGangsta() and isUserAWigga() in the Hood class in the Thug package. On Sep 20, 6:55 pm, Kostya Vasilyev kmans...@gmail.com wrote: Now this on the other hand, does look to be a joke .

[android-developers] Renderscript APIs specification

2011-09-20 Thread Sandy
The method rsgDrawQuadTexCoords (...) takes in 20 params. I could not find any detailed API docs on what each parameter for this method represents. Anyone know of a link to API docs for all the renderscript APIs and what each argument means in these methods? Thanks, Sandy -- You received this

[android-developers] process fork() support

2011-09-20 Thread SagarJ
Hello, I am looking to leverage an existing automated test framework and a number of existing tests written in native code for that framework for android. The framework extensively uses fork() call to parallelize processes and tests. Production android code will not be using fork(). I am looking

[android-developers] process fork() support

2011-09-20 Thread SagarJ
Hello, I am looking to leverage an existing automated test framework and a number of existing tests written in native code for that framework for android. The framework extensively uses fork() call to parallelize processes and tests. Production android code will not be using fork(). I am looking

[android-developers] Re: maths in android

2011-09-20 Thread leigh8347
Hi, I have had a look through it and im still really confused. Please can you shed any light on it or know of any tutorials mant thanks On Sep 20, 2:50 am, Nick Risaro nris...@gmail.com wrote: Read thishttp://download.oracle.com/javase/1.4.2/docs/api/java/lang/Math.html(or a newer version)

Re: [android-developers] Re: maths in android

2011-09-20 Thread Nick Risaro
Check the methods on the Math class. Something like Math.round(value1 / 10.9375) and so on. On Tue, Sep 20, 2011 at 4:32 PM, leigh8347 leigh8...@aol.com wrote: Hi, I have had a look through it and im still really confused. Please can you shed any light on it or know of any tutorials mant

Re: [android-developers] Is this a joke??

2011-09-20 Thread String
Don't forget the ever-popular WTF: http://developer.android.com/reference/android/util/Log.html#wtf(java.lang.String, java.lang.Throwable) Seriously, it's been stated before that the platform team inserts one joke routine - a real routine, but with a funny name - into every major SDK release.

[android-developers] Media Recorder on Emulator

2011-09-20 Thread Selmen Arous
Is there a working method to emulate MediaRecorder on Emulator with own webcam and microphone ? and is it possible to stream video captured from MediaRecorder directly to internet ? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: What can block my ProgtessDialog

2011-09-20 Thread letlite
Something is blocking the UI thread. Try ddms. -- 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] Random rare OOM errors

2011-09-20 Thread Robert Macaulay
I have an app that very rarely throws this error or one like it. java.lang.OutOfMemoryError: array size too large(Heap Size=3395KB, Allocated=3065KB, Bitmap Size=0KB) -- look at that small heap or Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget (from the stacktrace on this,

[android-developers] Re: ListFragment items not refreshed in view, but db, and adapter are updated.

2011-09-20 Thread Bourke Floyd IV
I figured out this issue, which led me to a new problem, but the issue was that getItem on the FragmentStatePagerAdapter wasn't the current item, but was used to generate new fragments. so I was attempting to update the wrong fragment, not the current fragment. On Sep 18, 2:05 pm, Bourke Floyd

[android-developers] Re: How to get outgoing call duration in real time?

2011-09-20 Thread Vladimir Svydenko
I think this data produces mobile operator server. And this server return call-duration and current balance after each outgoing call . Maybe It's right? I can't find any solution, but after each call value of call duration will be stored in db. We can get it by CallLog.Calls.DURATION How this

Re: [android-developers] Is this a joke??

2011-09-20 Thread Lew Bloch
https://memegen.googleplex.com/906 Daniel Drozdzewski wrote: Steven Bruce wrote: http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() What is this supposed to do? Looks like Google having a laugh or something?? :p

Re: [android-developers] parcelable again: passing object BACK through activity stack

2011-09-20 Thread John Goche
Perhaps I can use the Serializable interface and simply serialize On Tue, Sep 20, 2011 at 2:33 PM, Mark Murphy mmur...@commonsware.comwrote: You probably should reconsider your approach. It sounds like you need a central data model, accessible from multiple activities: -- database -- file

[android-developers] Re: License Check fails for 5-10% of legit users

2011-09-20 Thread Howard M. Harte
I used Flurry, and compared active installs with figures with those from Market. In addition, about 50% of active users were in China, where my app was not available. At that time, I had about 10K legitimate users and over 200K active users according to Flurry. The proportion of legitimate to

Re: [android-developers] Re: ListView: responding to item clicks via a listener

2011-09-20 Thread John Goche
Hello, I am having a slight problem with my approach. When a row is highlighted orange and I click on it the orange highlighting goes away. But I want it to stay as I want taps to 1. highlight the row on the first tap 2. take to a second screen on the second tap Is this possible? Thanks, John

[android-developers] Re: Is this a joke??

2011-09-20 Thread b0b
if(isUserAOneStarRatingIdiot()) { ((Object)null).toString(); } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)

2011-09-20 Thread Al Sutton
I think there is another way to approach this which cuts out the need for the libraries, but you'll need to get the AOSP source. Once you've checked out the source from frameworks_base you can re-use an implementation available internally in Android from;

  1   2   >