[android-developers] Re: Advice for a strategic game map

2012-11-12 Thread Martin
If a 2D map is required i'd suggest you look at using OSMDroid and creating a custom tile layer for the galaxy background: http://code.google.com/p/osmdroid/ You can then use the OSMDroid classes to add planets and spaceships etc. And you can detect taps and long taps on these planets and

Re: [android-developers] Is is possible to have 2 settings files in a live wallpaper?

2012-11-12 Thread MobileVisuals
So it is not possible to have 2 settings files in a live wallpaper? On Saturday, November 10, 2012 1:34:23 PM UTC+1, 庞绪瑞 wrote: 2012/11/10 MobileVisuals eyv...@astralvisuals.com javascript: Is there any way to have 2 settings.xml files in a live wallpaper? Is it then possible to switch

Re: [android-developers] Is is possible to have 2 settings files in a live wallpaper?

2012-11-12 Thread Harri Smått
Hi, I would say no. -- H On Nov 12, 2012, at 10:06 AM, MobileVisuals eyv...@astralvisuals.com wrote: So it is not possible to have 2 settings files in a live wallpaper? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Handling Strange Phones

2012-11-12 Thread pistol
I have just seen one of these for phone model=IM-A730S. Not sure of the best way to handle it as I don't think the user will understand or appreciate me saying their phone shouldn't do it. Also I don't want to add the permission as then some users won't download my app since it looks like I

[android-developers] Re: Handling Strange Phones

2012-11-12 Thread Stu
You could release another version of your app called My App (for Pantech) that has this permission, then notify the user that they have the wrong version, either when they try to send a message, or on home activity startup. -- You received this message because you are subscribed to the Google

[android-developers] After the device has just started, I met a wrong layout id problem.

2012-11-12 Thread fycd
hi all: After the device has just started, I met a wrong layout id problem. my app get all kinds of broadcast and then send a notification. but some times, after devices has just started, my app receives the first broadcast and then send a notification with wrong layout id. and it cause my app

[android-developers] Re: XMPP file Transfer

2012-11-12 Thread Juned Khan
Hi all, I am developing the same application and i just stuck with this file transfer. Chatting is work fine but i want to add the feature of file transfer. Anyone succeeded in that ?? Thanks Regards Juned -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] bluetooth PAN issue

2012-11-12 Thread Harsh Vardhan
Hi. I think this might be an accepted bug for ICS (Assuming you are using that). This http://code.google.com/p/android/issues/detail?id=34161 might help you. - Best On Mon, Nov 12, 2012 at 12:31 PM, Robin Gujjar robin.guj...@gmail.comwrote: Hi All , I am trying to setup the bluetoooth PAN

[android-developers] proguard.cfg assumenosideeffects options

2012-11-12 Thread android.makilette
Im japanese programer. What I want to describe how it is when you delete proguard.cfg System.out.print and System.out.println of code using the option of assumenosideeffects proguard? thanks. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Drawing complex shapes with hollow parts

2012-11-12 Thread Simon Giddings
I am needing to draw shapes which will have hollow regions. To simplify the idea, take an ampersand sign : This is just to illustrate the kind of task I need to do. I can create the outline by using a path. However, I have not been able to see how to create the two holes such that when the

[android-developers] Re: Drawing complex shapes with hollow parts

2012-11-12 Thread Piren
http://stackoverflow.com/questions/11337679/porterduffxfermode-clear-a-section-of-a-bitmap On Monday, November 12, 2012 12:16:17 PM UTC+2, Simon Giddings wrote: I am needing to draw shapes which will have hollow regions. To simplify the idea, take an ampersand sign : This is just to

[android-developers] Re: Drawing complex shapes with hollow parts

2012-11-12 Thread Simon Giddings
Thank you for this. One thing I am not clear with is the problem with hardware acceleration. Some people say that this will not work with hardware acceleration ON, whilst others say that this is precisely what is needed when it is ON. Is there some definitive answer for this aspect ? On Monday,

Re: [android-developers] Re: AndroidHttpClient and SocketTimeoutException on some configuration

2012-11-12 Thread Thomas Bouron
Hi! I still cannot understand how to handle properly chuncked encoding. It seems that AndroidHttpClient do that automatically but it still does not work on some configurations... If anyone have a clue, i'll take it with pleasure. On Wednesday, November 7, 2012 11:25:02 AM UTC+1, Thomas Bouron

[android-developers] count down UI control

2012-11-12 Thread and_dev
hi I am looking for a custom component which will behave like a wheel. actually I have to show the some number, which will start with zero and goes upto particular value (say from 0 - 1000). In detail it should work like this. upto 1000 I have to show 4 images and on the top of it I have to

[android-developers] TinCan

2012-11-12 Thread Sadhna Upadhyay
Hi everyone, can some one tell me something about TinCan,what is this and how to do code for this in 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

[android-developers] Re: Application onCreate called more than once?

2012-11-12 Thread Craig
I don't have any process attributes in my manifest.xml... here it is: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.comp.duh.rm android:versionCode=1 android:versionName=@string/versionName uses-sdk android:minSdkVersion=8

Re: [android-developers] Re: Application onCreate called more than once?

2012-11-12 Thread Craig
Thanks - I read that post; it seems to be stuck in the same place I am. I suspect a memory leak that is keeping some app state alive across app shutdown and restart, and what I'd really like is some easy way to analyze what memory isn't being reclaimed when Android closes my app. On

Re: [android-developers] Re: AndroidHttpClient and SocketTimeoutException on some configuration

2012-11-12 Thread Nikolay Elenkov
On Mon, Nov 12, 2012 at 8:18 PM, Thomas Bouron tbou...@gmail.com wrote: Hi! I still cannot understand how to handle properly chuncked encoding. It seems that AndroidHttpClient do that automatically but it still does not work on some configurations... There was a bug filed for this on the

[android-developers] Re: Drawing complex shapes with hollow parts

2012-11-12 Thread Piren
I haven't had any issues with hardware acceleration using porter duff, at least not under the circumstances i had to use it in. just try it and see how it goes. On Monday, November 12, 2012 1:06:04 PM UTC+2, Simon Giddings wrote: Thank you for this. One thing I am not clear with is the

[android-developers] Re: Application onCreate called more than once?

2012-11-12 Thread Streets Of Boston
The onCreate of an Application (subclass) is called exactly *once *for each instance of a DalvikVM. If Android kills your app's process, it stops the DalvikVM instance as well. There is no way to 'hold on' to any reference, since you DalvikVM instance that was running your app no longer

[android-developers] Photo effect

2012-11-12 Thread Goutom
Hi I want to put effect on my photos as instragram do.Is there any third party library available to do this task? Regards Goutom Roy -- 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] Re: breakpoints ignored

2012-11-12 Thread bob
Ok. Seems like the editor should not let me place it there though? On Sunday, November 11, 2012 4:13:01 AM UTC-6, Piren wrote: Because you can't... breakpoints need to be placed on code that actually runs.. either the first line of the function or the call to that function. On Friday,

[android-developers] Requited: Front End Developer at Waltham, MA

2012-11-12 Thread Munawar Ali
Hi Partner, Hope you are doing fine. Please let me know if you have someone with you available for the below mentioned requirement... Please send profiles to m...@tekenergyusa.com *Position: Front End Developer* *Duration: 3-6 Months* *Location: Waltham, MA* *Rate: Open* Strong Front End Devs-

[android-developers] Re: count down UI control

2012-11-12 Thread bob
You will want to subclass View and override the onDraw method. You may also need another thread to increment the count. Also, use a floating point for the count. That way you can use 10.5 and the last digit will be halfway between 0 and 1. On Monday, November 12, 2012 6:19:55 AM

[android-developers] Re: Question About Form Design

2012-11-12 Thread bob
It is ok to have text on the left and a field on the right. On Saturday, November 10, 2012 4:49:58 PM UTC-6, Mark Phillips wrote: Is it considered poor design to make a form in two columns, with a test field identifier on the left and an empty field on the right? EditTexts have a handy

[android-developers] Re: Drawing complex shapes with hollow parts

2012-11-12 Thread Simon Giddings
Great, thanks for this On Monday, 12 November 2012 15:27:32 UTC+1, Piren wrote: I haven't had any issues with hardware acceleration using porter duff, at least not under the circumstances i had to use it in. just try it and see how it goes. On Monday, November 12, 2012 1:06:04 PM UTC+2,

[android-developers] Can dynamic broadcastreceiver receiver intent from other apps?

2012-11-12 Thread Jin
Hi, I encountered a problem with dynamic broadcastreceiver. I send an intent using sendBroadcast from App B, and it can be received in App B by both static receiver and dynamic receiver. However, when it comes to App A, it can only be received by static receiver. I find on developer site that

[android-developers] Can dynamic broadcastreceiver receives intent from other apps

2012-11-12 Thread Jin
Hi, I encountered a problem with dynamic broadcastreceiver. I send an intent using sendBroadcast from App B, and it can be received in App B by both static receiver and dynamic receiver. However, when it comes to App A, it can only be received by static receiver. I find on developer site that

Re: [android-developers] Can dynamic broadcastreceiver receives intent from other apps

2012-11-12 Thread Mark Murphy
On Mon, Nov 12, 2012 at 12:53 PM, Jin jiang...@gmail.com wrote: So, does this mean that dynamic broadcastreceiver can only receive intent in its own main application thread, and cannot receive intent from other apps? No. You can see a dynamic-registered BroadcastReceiver receiving broadcasts

Re: [android-developers] Photo effect

2012-11-12 Thread Harri Smått
Hi, I played around with the idea some time ago. You can find the source code at; https://github.com/harism/android_instacam Also LightBox PhotoProcessing project might be of your interest; https://github.com/lightbox/PhotoProcessing -- H On Nov 12, 2012, at 5:11 PM, Goutom

Re: [android-developers] Can dynamic broadcastreceiver receives intent from other apps

2012-11-12 Thread Jin
Hi Mark Yes. It did receive from other apps. I made a mistake... Thanks a lot On Monday, November 12, 2012 1:04:51 PM UTC-5, Mark Murphy (a Commons Guy) wrote: On Mon, Nov 12, 2012 at 12:53 PM, Jin jian...@gmail.com javascript: wrote: So, does this mean that dynamic broadcastreceiver

[android-developers] Re: How to use a OnClickListener in Fragment

2012-11-12 Thread Miral Desai
Can you provide an example? I'm trying to declare OnClicks in my Fragments however I keep coming up against Force close errors. On Thursday, October 25, 2012 11:55:53 PM UTC+1, Max Dell'Orco wrote: This doesnt work at all. You should create a method in the FragmentActivity that recall the

[android-developers] Samsung not in SDK manager list

2012-11-12 Thread Simon Giddings
I am using Eclipse Indigo service release 2. The version of the ADK is 20.0.3.v201208082019-427395. When I open the SDK Manager, I noticed that there is no mention of anything from Samsung. Looking into the Add-on sites, Samsung is not there and the User Defined Sites is empty. Are we able to

[android-developers] Heap size driving me crazy

2012-11-12 Thread iQue
Hi! Im making a game for android, Im about halfway trough (its my first real game that Im planning to release) and I just started using DDMS, and realised that my heap-size was at around 30 000, with a leak on around 3000 every time I changed level. So I created a method that loaded my bitmaps

[android-developers] Re: Heap size driving me crazy

2012-11-12 Thread Lew
iQue wrote: Im making a game for android, Im about halfway trough (its my first real game that Im planning to release) and I just started using DDMS, and realised that my heap-size was at around 30 000, with a leak on around 3000 every time I changed level. So I created a method that

[android-developers] Re: Heap size driving me crazy

2012-11-12 Thread iQue
Great tips, thank you! this line: So make sure object references go out of scope or are otherwise removed the instant they aren't needed. how would I go about checking this? how do I find the object that is causing problems? Cus I do have arrayLists and use arrayList.add(enemy/bullet). So

[android-developers] Re: Heap size driving me crazy

2012-11-12 Thread iQue
also, is there a preffered method to remove objects after using arrayList.add()? should I just use arrayList.remove(index) when they die/ bullets dissapear from screen? Den måndagen den 12:e november 2012 kl. 23:07:53 UTC+1 skrev iQue: Great tips, thank you! this line: So make sure object

[android-developers] Tegra

2012-11-12 Thread bob
How can you tell easily if an Android device is a Tegra 2 or Tegra 3? -- 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] TinCan

2012-11-12 Thread TreKing
On Mon, Nov 12, 2012 at 6:50 AM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: can some one tell me something about TinCan,what is this and how to do code for this in android. http://justfuckinggoogleit.com/

[android-developers] Re: Heap size driving me crazy

2012-11-12 Thread RichardC
Have a careful look at the source code for this game Replica Island: http://code.google.com/p/replicaisland/ Specifically the all the Objects that extend: http://code.google.com/p/replicaisland/source/browse/trunk/src/com/replica/replicaisland/AllocationGuard.java When the game is running almost

[android-developers] HLS Stream with Discontinuities reports incorrect position (4.0.x)

2012-11-12 Thread Rick Gavin
When using an HLS playlist with multiple segments of content spliced together ( separated by EXT-X-DISCONTINUITY tags ), MediaPlayer.getCurrentPosition() doesn't return the correct position. In this scenario, each piece of content has its timestamps starting from zero. So for example, if at

Re: [android-developers] TinCan

2012-11-12 Thread Παύλος-Πέτρος Τουρνάρης
http://tincanapi.com/ if you mean this On Tue, Nov 13, 2012 at 12:33 AM, TreKing treking...@gmail.com wrote: On Mon, Nov 12, 2012 at 6:50 AM, Sadhna Upadhyay sadhna.braah...@gmail.com wrote: can some one tell me something about TinCan,what is this and how to do code for this in android.

Re: [android-developers] Tegra

2012-11-12 Thread Joel Wirāmu Pauling
$cat /proc/cpuinfo On 13 November 2012 11:17, bob b...@coolfone.comze.com wrote: How can you tell easily if an Android device is a Tegra 2 or Tegra 3? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Heap size driving me crazy

2012-11-12 Thread iQue
thanks for the tips! will use the second link, the source dosnt help me that much since I've never worked with GL. I use canvas. And like I said, Im a beginner so dont know anything about gl. :)any more tips is appriciated! Den måndagen den 12:e november 2012 kl. 23:43:45 UTC+1 skrev RichardC:

Re: [android-developers] Re: Nexus 7 USB Host - Not able to enumerate device

2012-11-12 Thread Kiran Karra
Hi, You are correct. I downloaded the App that you mentioned and my mouse did not show up in the Android column. However, my USB sensor that I want to interface did, so the code worked. Thanks for the App suggestion, it really helped. Kiran On Mon, Oct 29, 2012 at 4:06 AM, al

Re: [android-developers] Getting java.lang.ClassNotFoundException (Unable to instantiate activity ComponentInfo)

2012-11-12 Thread TreKing
On Mon, Nov 12, 2012 at 9:23 PM, Jerrell Mardis jerrell.mar...@gmail.comwrote: Any ideas on what could possibly be causing this exception? This has been brought up a few times before. We've all seen crazy exceptions that should not happen, but they do. You can probably safely ignore these.

[android-developers] android JSON

2012-11-12 Thread nageswara rao Rajana
Hi, In my application i am sending JSON object request to WCF web service. But the way i added the Key,value pair is not similar in the request format. Please help me Regards, nageswararao. -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Getting java.lang.ClassNotFoundException (Unable to instantiate activity ComponentInfo)

2012-11-12 Thread Jerrell Mardis
I would love to ignore them but it gives the user a bad impression of the dev if the app crashes out of Mo where. I get a few of these exceptions a day. -- Jerrell On Nov 12, 2012 10:00 PM, TreKing treking...@gmail.com wrote: On Mon, Nov 12, 2012 at 9:23 PM, Jerrell Mardis

Re: [android-developers] android JSON

2012-11-12 Thread TreKing
On Mon, Nov 12, 2012 at 9:55 PM, nageswara rao Rajana nagu.raj...@gmail.com wrote: Please help me With what? You didn't really ask a question. - TreKing

Re: [android-developers] Getting java.lang.ClassNotFoundException (Unable to instantiate activity ComponentInfo)

2012-11-12 Thread Jerrell Mardis
All except one has come from a Nexus device (Nexus S, Galaxy Nexus). The other one could have been running stock Android ROM but I'm not sure. On Nov 12, 2012 10:21 PM, TreKing treking...@gmail.com wrote: Any commonalities you're noticing with the exceptions? Like device or Android version

[android-developers] Network error IOException while trying to Sync Data From SQL Server

2012-11-12 Thread Aadi Rockzz
Hi, I'm trying to fetch data from my Local-Server Using an Android App. I established this using jtds.jdbc Connection. In Emulator It's working fine and fetching Data. While tried to connect using Android device through USB it's Giving the Following Error. 07-05 06:05:32.790: W/Error

[android-developers] Connecting 2 real android devices to PC

2012-11-12 Thread Archana
Hi, I m trying to connect 2 real android devices to my PC(both are getting charged from USB). However, I m unable to view them in adb devices. Please let me know, if I can do the same. Thank you! -- You received this message because you are subscribed to the Google Groups Android Developers

Re:[android-developers] Connecting 2 real android devices to PC

2012-11-12 Thread lokesh gupta
Chk for drivers.. Both cn b detected at the samevtime.. Sent from Samsung mobile On Nov 13, 2012 12:49 PM, Archana ramalingam.arch...@gmail.com wrote: Hi, I m trying to connect 2 real android devices to my PC(both are getting charged from USB). However, I m unable to view them in adb

Re: [android-developers] Connecting 2 real android devices to PC

2012-11-12 Thread ramesh aravelli
u need to install usb driver for ur device. if u r using samsung mobile download samsung kies and install in ur pc. thats it.. On Nov 13, 2012 12:50 PM, Archana ramalingam.arch...@gmail.com wrote: Hi, I m trying to connect 2 real android devices to my PC(both are getting charged from USB).

[android-developers] Re: Samsung not in SDK manager list

2012-11-12 Thread Zsolt Vasvari
As far as I know, you could never get Samsung add-ons via the SDK Manager. On Tuesday, November 13, 2012 3:17:04 AM UTC+8, Simon Giddings wrote: I am using Eclipse Indigo service release 2. The version of the ADK is 20.0.3.v201208082019-427395. When I open the SDK Manager, I noticed that

[android-developers] Re: Application onCreate called more than once?

2012-11-12 Thread Zsolt Vasvari
Post your manifest.xml. I assume that you have your broadcastreceiver or some service running in a separate process. That would cause Application.onCreate to be called multiple times. It would? Please provide a source for this piece of tidbit. -- You received this message because you are

Re: [android-developers] Connecting 2 real android devices to PC

2012-11-12 Thread Archana
Thanks all .. I did not enable the usb debugging mode in 1 of the phones.. After that, it is working fine :) On Tuesday, November 13, 2012 9:26:44 AM UTC+2, aravelli wrote: u need to install usb driver for ur device. if u r using samsung mobile download samsung kies and install in ur pc.

[android-developers] Equivelant of NavUtils when not using the support library

2012-11-12 Thread Simon Giddings
I am starting to build an application which will only be distributed on tablets running Honeycomb or later. I created my project specifying this and yet it still imports the support library. So, I have been cleaning out all references to this and have come to a stop. What am I to use to

Re: [android-developers] Connecting 2 real android devices to PC

2012-11-12 Thread lokesh gupta
Dhyan rkha karo yaar choti se bat the ye toh Sent from Samsung mobile On Nov 13, 2012 1:20 PM, Archana ramalingam.arch...@gmail.com wrote: Thanks all .. I did not enable the usb debugging mode in 1 of the phones.. After that, it is working fine :) On Tuesday, November 13, 2012 9:26:44 AM