[android-developers] Re: Android Tools R14 including external source?

2011-10-26 Thread Doug
I treat external source as a library project and import that into my main project. Everything just works. Doing anything like this outside the framework provided for library projects is probably going to make your job difficult. Doug On Oct 25, 7:54 pm, Neal Sanche wrote: > We need to > build

Re: [android-developers] Re: Account suspended

2011-10-26 Thread Mark Murphy
Please go talk to qualified legal counsel. This is a list for developing applications with the Android SDK, not for discussing the nuances of copyright law. On Thu, Oct 27, 2011 at 2:39 AM, Simon Platten wrote: > For starters a lot of the applications I offer on the market are free, the > ones th

Re: [android-developers] Re: Account suspended

2011-10-26 Thread Simon Platten
For starters a lot of the applications I offer on the market are free, the ones that I do charge for are so low cost, and an attempt to recover the development costs of the applications. I certainly haven't made £100's out of any applications. I sourced the images I used from the web and in most

[android-developers] OnIterceptTouchEvent action in Gallery

2011-10-26 Thread suresh Babu
hi All, I am developing one simple app with gallery. In this i overrides the OnInterceptTouchEvent() method for getting the OnTouch() and OnClick() events for Gallery Click or Touch actions. If i overrides the OnInterceptTouchEvent() from 2.2 version O.S or >=2.2 version OnclickListener with OnC

[android-developers] Regarding Dynamic layout

2011-10-26 Thread nageswara rao rajana
Hi, when i select a option from a spinner a layout xml file should be displayed under a spinner. Any one please help me in this. Thanking you, Nagu. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] any HMI example

2011-10-26 Thread Navindian
Hi For the electrical device, is there any example where the u.i is develop to control or configure the devices? Thanks navindian -- 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@goog

[android-developers] How to reactivate an older APK?

2011-10-26 Thread Dusk Jockeys Android Apps
Before I waste my time by asking Market Support, who as we all know are about as useful as a chocolate teapot, has anyone managed to successfully re-activate a previous APK in the Developer Console? I had a situation where I made an update last night, quickly realised there was a bug and wanted to

Re: [android-developers] Re: how to view a pdf file?

2011-10-26 Thread Kristopher Micinski
There aren't too many good open source viewers I've heard of. So if you want to, you can, but you have to buy a license for an expensive library. There are some open source viewers out there, presumably if your app is open source (or they have a less restrictive license), you should be able to ho

Re: [android-developers] opengl and sketchup problem

2011-10-26 Thread J Handal
And sample code http://www.bayninestudios.com/2011/01/importing-3d-models-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 unsubscribe from this group,

[android-developers] Re: how to view a pdf file?

2011-10-26 Thread kalandar
No,my need is i have to display pdf in my own application.. what should i do.. it is possible?.. let me know the way please On Oct 24, 12:19 pm, Sunil Mishra wrote: > Hi, > > If u have any application installed for viewing pdf file then you can > use its intent to view the pdf in your app

[android-developers] Android Relative layout issue

2011-10-26 Thread Anand
Hi There Just wanted to have your point of view on the below investigation, please read below: Target Application: Android standard Phone application (Gingerbread 2.3) Issue: On Call Log screen, shaking of phone number occurs if communication list contains an entry (Missed call/Outgoing call) fr

[android-developers] Re: 2.3.3 bugs on the Nexus One - When will Google fix this?

2011-10-26 Thread JRock
Uh, no. My phone is fine, as are the phones of the hundreds of other people who are pulling their hair out along with me: http://code.google.com/p/android/issues/detail?id=15311 On Oct 26, 11:03 pm, Zsolt Vasvari wrote: > None of these are an issue on my 2.3.6 Nexus One.  Sounds like you > hav

Re: [android-developers] extending view class not working but not throwing errors or force close

2011-10-26 Thread Chris Cullington-Johnson
Thanks TreKing the tutorial is cornboyz I believe it is fairly recent . But no worries I have some books but was getting very confused. Thanks mate. On Oct 27, 2011 1:34 PM, "TreKing" wrote: > On Wed, Oct 26, 2011 at 3:40 AM, Chris Cullington-Johnson < > chriscj...@gmail.com> wrote: > >> I shou

[android-developers] Loading Activity

2011-10-26 Thread bob
I want to create one activity for loading my 3d models and another activity for running my game. Does this make sense? Or, do they not share memory like that? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

Re: [android-developers] extending view class not working but not throwing errors or force close

2011-10-26 Thread TreKing
On Wed, Oct 26, 2011 at 3:40 AM, Chris Cullington-Johnson < chriscj...@gmail.com> wrote: > I should clarify, I have a button in XML, however java setContentView > points to another created java class. It is this class that is meant to be > able to create a canvas colored blue with an image of a c

Re: [android-developers] opengl and sketchup problem

2011-10-26 Thread J Handal
Try http://www.blender.org/ it use the .obj extension file that is compatible with OpenGL. -- 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 gr

[android-developers] Re: 2.3.3 bugs on the Nexus One - When will Google fix this?

2011-10-26 Thread Zsolt Vasvari
None of these are an issue on my 2.3.6 Nexus One. Sounds like you have a defective phone. On Oct 27, 10:55 am, JRock wrote: > I'm sorry if this is not the right forum to post this, but cannot find > any other place. I hope that someone from google can respond to this. > > Since gingerbread 2.3 t

[android-developers] Which setting determines storage space in the Emulator

2011-10-26 Thread Zsolt Vasvari
The new ICS image with Google API's only has about 9MB of storage left for apps, and I often get a "Cannot install app due to not enough storage" error. Which Emulator configuration settings determines the amount of storage avaliable for apps? I tried changing all the memory related ones, to no a

[android-developers] 2.3.3 bugs on the Nexus One - When will Google fix this?

2011-10-26 Thread JRock
I'm sorry if this is not the right forum to post this, but cannot find any other place. I hope that someone from google can respond to this. Since gingerbread 2.3 there are numerous bugs making my Nexus One, which only a year and a half ago was the state of the art Android phone, run like a piece

Re: [android-developers] which activity to launch

2011-10-26 Thread TreKing
On Wed, Oct 26, 2011 at 6:58 PM, bob wrote: > What is the easiest way to specify which activity to launch when an Android > app has multiple activities? > Read the documentation for startActivity() and Intent. -

[android-developers] Sending files with specific MIME types over Bluetooth.

2011-10-26 Thread Zsolt Vasvari
In my app, I have a "Share" menu. Here's the code that creates the Chooser: Intent intent = new Intent(); intent.setAction(Intent.ACTION_SEND); if (TextUtils.isEmpty(mimeType)) intent.setType("*/*"); //$NON-NLS-1$ else intent.setType(mimeTy

[android-developers] Bottom 25% of screen is invisible.

2011-10-26 Thread Rob
In every Activity of the app that I am creating, the bottom 1/4 of the screen is clipped, nothing will display in that region. Could there be a simple explanation for why that might happen? Yes, my parent layouts are set to fill_parent. -- You received this message because you are subscribed to

Re: [android-developers] ViewPager in a ListView - how to lock the scrolling axis?

2011-10-26 Thread Dianne Hackborn
How exactly do you recycle the list view items correctly? This is... crazy. On Wed, Oct 26, 2011 at 2:25 AM, Zsombor wrote: > I have a ViewPager widget in every row of a ListView. This provides a > shelf-like UI, so the user can scroll around searching for a shelf > vertically, and then scroll

Re: [android-developers] Re: Account suspended

2011-10-26 Thread Christopher Van Kirk
I believe that the answer is that they do not do any verification. What happens is that the original author of the copyrighted content complains to them, then as part of the process of determining who is right, they suspend your account. This is all codified in the DMCA, which unfortunately i

[android-developers] Re: How to publish an app requiring mp3 files on sd card

2011-10-26 Thread Studio LFP
You could pack the MP3's in the APK and then copy them from the APK to the SD card. They will still be in the APK, but you will have them on the SD card also. You can also publish the APK without them then check for them when you run, and if they aren't there, download them from a server. Is t

[android-developers] Re: undefined reference to `android::AudioTrack::set(...)

2011-10-26 Thread HamdiHamZ
Ok, I get your point Thanks for your help On Oct 26, 5:56 pm, David Turner wrote: > On Wed, Oct 26, 2011 at 1:19 AM, HamdiHamZ wrote: > > Hi Dianne and thank you for your reply, > > >     Sorry, I can't get your point, do you mean that we can't use C++ > > at all with the NDK? So why we can see

[android-developers] which activity to launch

2011-10-26 Thread bob
What is the easiest way to specify which activity to launch when an Android app has multiple activities? -- 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

Re: [android-developers] Re: Account suspended

2011-10-26 Thread Kristopher Micinski
Your point is a true one, but everyone I've seen so far, when I *actually* investigated the matter, had a bunch of wallpaper apps they were charging some small amount for, and not much else. (As in, I haven't seen somebody who had a complicated application with a minor infringement, it's pretty ob

Re: [android-developers] Connect tablets without 3G network and WiFi Ad-Hoc Bluetooth PAN

2011-10-26 Thread Jim Graham
On Wed, Oct 26, 2011 at 08:14:52AM -0700, ricardo garcia wrote: > I would like the Android tablet, especially with OS honeycomb or ICE > CREAM Sandwith had the support to connect to the internet via WiFi or > Ad-Hoc Bluetooth PAN. > Because many of these tablets do not have the WiFi I've never he

Re: [android-developers] how to stop market updates

2011-10-26 Thread Jim Graham
On Wed, Oct 26, 2011 at 07:10:21AM -0700, aravindak wrote: > hi am using samsung galaxy pop 2.2 froyo...i need to stop the > automatic update of market I assume you mean the market app itself. As far as I know, the only way you can prevent that, is to take your device off of WiFi AND 3G/4

Re: [android-developers] Re: Account suspended

2011-10-26 Thread Ricardo Amaral
This got me thinking about my own app and how Google verifies these things. Depending on the material, it can be very easy for them to know if the material is copyrighted and if the developer in question have a license to use it. In my case, I don't think it's that easy. I'm developing an app w

[android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Bluemercury
Hi again skyler, thanks for the reply, yes the code im using in the doInBackground deals with the logic i want to do in the background that each activity has, in this case the method doBackgroundRequest is the method every activity uses if it wants to use an async task...but it seems this struc

[android-developers] opengl and sketchup problem

2011-10-26 Thread netskink
Hi, I have a problem using opengl on android to draw a simple rectangle. This is what I have done. I drew a simple rectangle with sketchup. I exported the result using a 3d-model collada .dae file. I then copied the vertices data from the .dae (xml) file and put in an array. I copied the array

[android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Skyler
Yes, you can safely use activity references in onPreExecute and onPostExecute, because those are run on your application's main thread, the same thread that all framework components run on. So by referencing your activity in onPreExecute and onPostExecute you wont need to contend with with any sync

[android-developers] Change activity-wide density-configuration so that Resources decode from another res-folder.

2011-10-26 Thread arberg
I would like to change the density configuration so that I can force a certain size. Specifically I want all 720p screens including xhigh- density phones AND large medium-density tablets to use the same bitmap, and to have the same text size relative to the screen resolution. The result will be tha

[android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Bluemercury
Hey Skyler, thanks for the link. so i need to get rid of activity reference on the doInBackground...i assume its possible to use the activity reference in the preExecute and post -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

Re: [android-developers] eBook publishing

2011-10-26 Thread Miguel Morales
Maybe try: http://books.google.com/support/bin/answer.py?answer=185615&ctx=tspromo On Tue, Oct 25, 2011 at 2:09 PM, NwSkipper wrote: > I'm a small publisher that would like to distribute my books via the > Android market... I've searched and searched and can't find out how to > do this. > > How

Re: [android-developers] Tutorial, example code

2011-10-26 Thread Joel Witherspoon
On Wed, Oct 26, 2011 at 10:33 AM, newbee12 wrote: > can anyone help me locate a source code that do something simular to > this. I learn easiest by doing and testing and this is my 2nd day > codeing. > > Looking for an app (source code) that do some basic things 1. initial > screen with some text

[android-developers] How to publish an app requiring mp3 files on sd card

2011-10-26 Thread GIMMESHELTER
I have not been successful locating a doc telling me how to publish an app requiring mp3 files on sd card... My app needs to publish with 7-8 mp3 files. How do I do this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] Google maps on custom device

2011-10-26 Thread Osvaldo Junior
Hi, I'm facing a problem with my app running on android 2.2 device. On startup the log shows: ERROR/PackageManager(5041): Package com.abc.abcd requires unavailable shared library com.google.android.maps; failing! I observed that there's no com.google.android.maps.jar at device file system /syste

[android-developers] How to image Samsung Table rom?

2011-10-26 Thread JavaSrvcs
I want to do a number of things. I have a Samsung Galaxy 10.1 Tablet 1) I want to make an image and save it on my local machine 2) I want to run that image under virtual box or an emulator (with Internet connectivity as if I were actually using the device) 3) I want to be able to install the late

Re: [android-developers] happy diwali

2011-10-26 Thread M Teguh A Suandi
Happy Diwali Raju... On Wed, Oct 26, 2011 at 9:43 AM, RAJU V wrote: > *Wish you Happy Diwali* > > > > > ~~RAJU~~ > ~~www.itdoall.co.cc~~ > > -- > 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] DevicePolicyManager lockNow Functionlity Not Working

2011-10-26 Thread Sandeep Ghosh
I tried lockNow before and was working in HTC Sense as its locks the screen straight away and if there is a device password setted before(pin/password or Pattern) it asks for the same but dont know why its not working now.Its perfectly working in the emulator. -- You received this message because

[android-developers] Android speech recognition grammar

2011-10-26 Thread Nadia Cinque
Hi guys, I need some help about speech recognition on Android. I would to know if it is a native solution to create and set a grammar for ASR, or if there are other solutions (api javascript for example) to achieve this goal. Best Regards Nadia C. -- You received this message because you are subs

[android-developers] Tutorial, example code

2011-10-26 Thread newbee12
can anyone help me locate a source code that do something simular to this. I learn easiest by doing and testing and this is my 2nd day codeing. Looking for an app (source code) that do some basic things 1. initial screen with some text and small picture, click picture to get to next page 2. the ma

[android-developers] Hide\show aplication and restart activity

2011-10-26 Thread ecspertiza
HI all. If i hide and show application i see to my log how activity restart, (onCreate ... blablabla) . Thereby many function work not correct. Why activity restart ? How to do hide\show without restart ? -- You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Trigger the recent task switcher

2011-10-26 Thread Gabriel
I'm wondering if there is a way, in code, to trigger the recent task switcher not just by long pressing home? -- 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 unsubs

[android-developers] ice cream to samsang galaxy S ii

2011-10-26 Thread TJ
any official upgrades available soon? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@goog

[android-developers] want all vidio tutorials to learn android developing plz send download links..

2011-10-26 Thread Amol student
hello sir\madam am student i want vidio tutorials to learn developing android applications i request you plz... send links.. thank you -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] how to stop market updates

2011-10-26 Thread aravindak
hi am using samsung galaxy pop 2.2 froyo...i need to stop the automatic update of market the new version takes more time to load and mobile hangs while laoding There is no option to stop the updates Now when ever i use market am uninstalling the updates and then using pls tel me how to stop

[android-developers] Where to send my Dutch translation of Eyes-free Shell strings.xml?

2011-10-26 Thread A.A. Van Campen
I am not a developer, but have translated Eyes-free Shell strings.xml into Dutch and don't know where to send it for it to be included in a future update of the app. Is there anyone on this list who could give me the address? Thanks so much. Tony -- You received this message because you are s

[android-developers] How to remove a context instance from the createPackageContext method ?

2011-10-26 Thread shuren
How to remove a context instance from the createPackageContext method ? I used below createPackageContext. context = _context.createPackageContext(package, Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY); klass = Class.forName(classpath, true, context.getClassLoader()); instance

[android-developers] Phone State Listener

2011-10-26 Thread Alex Fu
Does anyone know if the phone's state changes when Airplane mode is on? Because if it does, my onServiceStateChanged function isn't getting triggered. I'm a little confused because here is what Logcat says when I enter Airplane mode... 10-26 09:44:06.080: ERROR/SML(4691): [PHONESTATUS] onServiceS

Re: [android-developers] Re: Account suspended

2011-10-26 Thread bh@nu
hi frnd, can you send material for android or any e-books... i am very new to android... On Wed, Oct 26, 2011 at 7:15 PM, Kristopher Micinski wrote: > http://www.androidzoom.com/android_developer/simon-platten_fcwi.html > > It's a pretty easy answer: you're charging for copyrighted material > y

[android-developers] audio abnormal behaviour

2011-10-26 Thread houxiang zhu
Hello, I am porting android to HDK7108 board which is a sh4 architecture CPU. I have alsa driver/alsa-lib/alsa-utils/alsa_asound compiled into the system, and when system start up: If I don't run "stop media", "alsa_aplay" will report device busy. I "stop media", then "alsa_aplay" works. then if

[android-developers] Connect tablets without 3G network and WiFi Ad-Hoc Bluetooth PAN

2011-10-26 Thread ricardo garcia
I would like the Android tablet, especially with OS honeycomb or ICE CREAM Sandwith had the support to connect to the internet via WiFi or Ad-Hoc Bluetooth PAN. Because many of these tablets do not have the WiFi concção, nor in any lulgar that there will a WiFi network available. There are applicat

[android-developers] SensorEvent timestamp doesn't always update

2011-10-26 Thread markus
Hello all, I'm doing some calculations on sensor data where I need to use the timestamp of the sample. See some sample code here: http://pastebin.com/2X4LzLdC The problem is, a lot of the time (actually, most of the time), the timestamp doesn't get updated in the SensorEvent, so the time diffe

[android-developers] eBook publishing

2011-10-26 Thread NwSkipper
I'm a small publisher that would like to distribute my books via the Android market... I've searched and searched and can't find out how to do this. How do I publish book on the Android eBook store? If this is the wrong place to ask, my sincerest apologies... Skipper -- You received this mess

[android-developers] Re: CountDownTimer question

2011-10-26 Thread Larry/MavrickProductions
Scratch all that - my whiteboard tells me I'm going about this all wrong. **NEW QUESTION**: Here's what I think the code should look like: ... Time TimerSet = new Time(); TimerSet.set(0, 0, 0, 8, 0, year); // set the date to Jan 8, (declared year), 12am (a family birthday) TimerSe

[android-developers] Re: What's the best method to "force" the user to rate my program?

2011-10-26 Thread lbendlin
The best method is to make your programs more awesome. -- 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

[android-developers] Android Augmented Reality

2011-10-26 Thread Raghav Sood
Does anybody have good links to tutorials about Augmented Reality on Android? I tried with Google and ended up with mostly Stackoverflow questions leading nowhere and one good tutorial by Chris Haseman on devx. Anybody knows about any others? Thanks -- Raghav Sood http://www.androidactivist.org/

[android-developers] Library Projects with Resources to Jar using r14

2011-10-26 Thread drasticp
When I saw the update notes for r14 regarding library projects, I was ecstatic. It's a dream come true to be able to export a library project as a JAR file! From the latest release notes, it looks like things are coming along, however it appears that resources are still not bundled in the new Jar f

Re: [android-developers] Re: Account suspended

2011-10-26 Thread John Coryat
This is a good lesson to every developer. Examine closely every single image and source of data you're currently using in any of your apps. If you don't have clear permission to use that source, you'll eventually and rightfully have your apps pulled and your account closed. Copyright laws have

[android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Skyler
I'm surprised Mark hasn't posted this yet. This may be of help to you, "AsyncTask and Screen Rotation" http://commonsware.com/blog/2010/09/10/asynctask-screen-rotation.html. On Oct 26, 1:18 pm, Bluemercury wrote: > How so? each activity launches its own async task with its own specific > logic..

[android-developers] "Recently published apps not appearing in Android Market"

2011-10-26 Thread Doug
Does anyone know what this alert actually means in the market console? Is this saying that NEW apps published aren't showing up? Or that ANY published update will not be visible? Or worse, that ANY published update might cause the entire app to disappear from the market? I have an update to pus

[android-developers] Re: about layout sizes

2011-10-26 Thread hectordu...@yahoo.com
thank you guys ... this works :-) . DisplayMetrics metrics = new DisplayMetrics(); float _density = metrics.density; ((RelativeLayout) (app.main_gui.get(RoulleteGlobals.WHEEL_1_3_IDX))).setVisibility(VISIBLE); ((RelativeLayout) (app.main_gui.get(Roull

[android-developers] Re: CountDownTimer question

2011-10-26 Thread Larry/MavrickProductions
> > Noob question: Can I tell the app to run/transition to a different > > java file (from countdown.java to birthday.java) and then have the > > next file transition back to the first java file to restart the > > countdown? > > That doesn't really make sense - a java file is not something you "run

Re: [android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Bluemercury
How so? each activity launches its own async task with its own specific logicwhen you rotate you just detach the current activity from the async task, the activity gets destroyed, a new one is created and attached to the SAME async task -- You received this message because you are su

[android-developers] Re: Need help on Saving bunch of images in a slideshow video(.3gp)

2011-10-26 Thread Mamun
Hi, I posted the topic on stackoverflow 6 days earlier. But I did not get any response there. Can anyone suggest me where can I get the answer? Its really important for me now. Thanks Mamun On Oct 20, 11:01 am, Mamun wrote: > Thank you very much. I posted it in stackoverflow. > > On Oct 20, 6:29

[android-developers] ViewRoot and the repaint process

2011-10-26 Thread Dave Bryson
I'd like to get pixel access to the Bitmap to be able to transmit graphics over the wire. It seems this could be possible via the Canvas Bitmap. But since ViewRoot is final I'm not sure "where" I can intercept this information in the drawing process. Is there an appropriate spot in the rendering

[android-developers] Re: Help needed to troubleshoot code

2011-10-26 Thread Studio LFP
Couple of things here... 1. You are calling run() on the thread, not the one you have defined in your activity. 2. You don't want to call run() on the thread, you want to call start(). 3. You either need to create a Runnable to post to the thread or you need to extend Thread and insert your own

Re: [android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Mark Murphy
On Wed, Oct 26, 2011 at 11:31 AM, Bluemercury wrote: > Well the thing is, this Asynctask is binded to a parent activity, that the > subactivities use when they want  to do some background work. They each > implement the method you see in the code i've posted, > the activity.doBackGroundRequest();

Re: [android-developers] Re: Account suspended

2011-10-26 Thread Kristopher Micinski
I feel like this is a case where they're fairly obviously copyrighted, and since so many of your apps are in violation, I think you'd be better off just opening a new account.. Kris On Wed, Oct 26, 2011 at 11:23 AM, Simon Platten wrote: > I am very happy to remove any offending applications fro

Re: [android-developers] Re: Cache issue

2011-10-26 Thread Studio LFP
The way you cache and access that cache can change depending on how you display the items. If you have that many images, you may want to make thumbnails of them and display those first. This would speed up load times. You could load and hold onto the reference to the full image as the user sele

Re: [android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Kostya Vasilyev
This happens during orientation changes, correct? What you have is two threads accessing and modifying the same variable "at the same time". Take some time to learn about multithreaded programming in Java: concurrent access and modification of a variable is one of the things that fall under

[android-developers] Re: Data values not populating in the gridview on screen orientation using onConfigurationChanged

2011-10-26 Thread Studio LFP
Regardless of which way you choose to go, configChanges or not, you'll want to cache any response you receive via HTTP. There are a lot of ways to cache these items. You could use static variables, save them temporarily to files on the internal or external (SD Card), add them to a database, et

[android-developers] Re: Help needed to troubleshoot code

2011-10-26 Thread naman
Can someone help me out please ... I have tried everything but am unable to run the thread in the code posted at this question... Thanks On Mon, Oct 24, 2011 at 1:48 AM, naman wrote: > Hello all, > > I am trying to build an app for android and am having issues with HTTP > authentication I

Re: [android-developers] Re: undefined reference to `android::AudioTrack::set(...)

2011-10-26 Thread David Turner
On Wed, Oct 26, 2011 at 1:19 AM, HamdiHamZ wrote: > Hi Dianne and thank you for your reply, > > Sorry, I can't get your point, do you mean that we can't use C++ > at all with the NDK? So why we can see cpp classes in the android > sources? is it only to build libs and after that libs should b

[android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Bluemercury
yes, but how can i get the method from the activity that contains the logic to do in the background from the context, is this possible? im getting null exception for the activity after verifying if the activity is not null: if(activity!=null){ return activity.doBackGroundRequest()

[android-developers] Re: The current state of C2DM

2011-10-26 Thread Studio LFP
I don't have any battled tested apps using it at the moment, but I have been testing it on some internal applications for a company. The whole process was fairly simple and seems to be reliable so far. Again, I'm in the testing phase so I'm not sending a large amount of requests a day. It took

[android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Skyler
activity#getApplicationContext returns the Application context, which is a reference to this class, http://developer.android.com/reference/android/app/Application.html, and is available for the livetime of your application. On Oct 26, 11:40 am, Bluemercury wrote: > Also wouldnt using the activit

[android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Bluemercury
Also wouldnt using the activity.getApplicationContext() result in the same problem??? if activity is null i would stil lget the null exception??? regards, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Bluemercury
Well the thing is, this Asynctask is binded to a parent activity, that the subactivities use when they want to do some background work. They each implement the method you see in the code i've posted, the * activity.doBackGroundRequest(); * I've actually had errors even after the line if(activity

[android-developers] Getting values in wheel demo

2011-10-26 Thread vani reddy
HI friends, I just got the code of wheel demo(customized date picker ) from http://code.google.com/p/android-wheel/source/checkout but the problem is i am not able to get the selected values.How to get it. Please reply. Thanks:) -- Regards, Vani Reddy -- You received this message because you ar

Re: [android-developers] Re: Account suspended

2011-10-26 Thread Simon Platten
I am very happy to remove any offending applications from the market. I believed 'wrongly' that the images I was using were not copyrighted. On Wed, Oct 26, 2011 at 3:07 PM, Streets Of Boston wrote: > Yep, > > If that's indeed his set of apps, Sy's using images and artwork that are > copyrighted

[android-developers] What's the best method to "force" the user to rate my program?

2011-10-26 Thread Zwiebel
I made some programs, but I saw that only few people rate them on the market. What's the best method to help the user rate my programs? I thought that I will add a plus button, which will redirect the user to the market's site to my application. Is this the best, or is there anything more better /

Re: [android-developers] AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Bluemercury
yes the detach is called on the activity thread in the onReatainNonConfigurationInstance method...: *@Override* * public Object onRetainNonConfigurationInstance() {* * if(task!=null)* * task.detach();* * * * return(task);* * }* And here's the method that attachs the activity back to the t

[android-developers] Re: undefined reference to `android::AudioTrack::set(...)

2011-10-26 Thread Dan
On Oct 25, 7:19 pm, HamdiHamZ wrote: > Hi Dianne and thank you for your reply, > >      Sorry, I can't get your point, do you mean that we can't use C++ > at all with the NDK? So why we can see cpp classes in the android > sources? is it only to build libs and after that libs should be used > fr

[android-developers] Re: Android library project: how to overwrite an activity?

2011-10-26 Thread Chenna
Ok I got it. Make your SecondActivity as abstract class in yr library and create a clientSecondActivity class and extend SecondActivity OverRide onCreate() method and add required views. thanks Chenna On Oct 26, 7:47 pm, Francesco wrote: > Ok, thanks Chenna, for your help .. > > maybe i didn

[android-developers] Re: Android library project: how to overwrite an activity?

2011-10-26 Thread Francesco
Ok, thanks Chenna, for your help .. maybe i didn't make my self very clear, I'm very sorry... Setting the text resource from my client app to library was just an example.. I was actually trying to modify the Activity library behavior, overwriting it on the client app that is using the library (if

[android-developers] Re: function texture2D not supported on target

2011-10-26 Thread cybice
Thank you a lot, also i have an answer from arm mali -- The specification says that some number of texture units are available to vertex shaders. There is a query to get the number of vertex shader t

Re: [android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Mark Murphy
On Wed, Oct 26, 2011 at 9:22 AM, Streets Of Boston wrote: > First, i would suggest trying not to use an Activity reference in your > doInBackground at all. Maybe you can just use a Context > (activity.getApplicationContext()) instead. Or, get the data you need out of the activity in the construct

[android-developers] Re: SD Card Mount, Unmounted.

2011-10-26 Thread Bob
For some Android devices, Environment.getExternalStorageDirectory() does not return the path of the SD card. In fact, there is no API support that will enumerate SD card mount points. If you want to see what is mounted, you are left to parsing the contents of /proc/mounts. See http://stackoverf

[android-developers] How can stop the media playing in BroadcastReceiver from current Activity?

2011-10-26 Thread eman
I have a Activity and from that activtiy I toggle(from a button) the alarm called "OneShotAlarm". When the alarm start,I play a .mp3 for example,it is playing. 1. How to stop it in the activity side? 2. How can I have a button that stops the media from playing? 3. Is there a way to know that there

[android-developers] SD Card always mounted as "nodev"?

2011-10-26 Thread Bob
In Android, is an SD card always mounted with option "nodev"? -- 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-dev

Re: [android-developers] Re: Account suspended

2011-10-26 Thread Streets Of Boston
Yep, If that's indeed his set of apps, Sy's using images and artwork that are copyrighted That's a big no-no, even if he wasn't charging for it. Sy, unless you can forge a deal with all these companies (Marvel, bunch of photographers, etc) or unless you create your own artwork, your accou

Re: [android-developers] Re: Account suspended

2011-10-26 Thread Kristopher Micinski
http://www.androidzoom.com/android_developer/simon-platten_fcwi.html It's a pretty easy answer: you're charging for copyrighted material you didn't create.. It makes sense that your account was suspended because you violated copyright law, right? Kris On Wed, Oct 26, 2011 at 9:26 AM, Streets O

[android-developers] Re: Android library project: how to overwrite an activity?

2011-10-26 Thread Chenna
As per my understanding you have two activities in your library. So you want to provide your library for another apps to use it. You want to set text resource from your client app to your library activity. If you want only resource. Create a class Configurator and declare a static variable testdata

[android-developers] Re: Android library project: how to overwrite an activity?

2011-10-26 Thread Francesco
Thanks, Chenna, for your reply; but I have some doubts more... Could you better explain me , with sample code? You say: "Declare your activity as abstract class in library" => ok, in this way (right?) ** public abstract cla

[android-developers] Re: Account suspended

2011-10-26 Thread Streets Of Boston
Sorry, you'll not be able to get help here to get your app or account re-instated. At best we can be help you try to figure out *why *you got suspended. But since we don't know anything about your app(s), that'll be difficult. -- You received this message because you are subscribed to the Goog

  1   2   >