[android-developers] Google Map Error

2011-02-21 Thread Nesim TUNÇ
Hi Awesome Developers! I'm trying to use Google Map in my Android App. My SDK version is 2.1 update 1 (Level 7), I added the Google Map Lib (maps.jar) - Level 7 but still getting this error .. Here is my codes: Manifest file: is child node of application tag and these permissons are request

[android-developers] How to implement a filter with an expandablelistview backed by a cursor

2011-02-21 Thread Richard Marsh
I'm just a little stumped on this. I would like to implement some sort of filter or search functionality with my ExpandableListView. As the title mentions, I'm using database data with my own custom SimpleCursorTreeAdapter object. I can't really find tutorials or guides on this. Any advice or

[android-developers] Re: How to display,exactly?

2011-02-21 Thread cool.manish
Create an variable of MapView.LayoutParams and set it as the layoutParam of your overlay. You can also use params.mode = MapView.LayoutParams.MODE_MAP; to varied its location after panning or zooming On Feb 21, 11:37 am, Abhilash baddam wrote: > Hi, > >     In my app i can be able to display  ma

[android-developers] Conversion is '' in preferences

2011-02-21 Thread mort
Hi, my app uses a PreferenceActivity. From some users, I get the following exception, but I'm not able to reproduce it. Any idea how this could happen and what to do to avoid it? java.util.UnknownFormatConversionException: Conversion is '' java.util.Formatter$FormatSpecifierParser.advance(For

[android-developers] cts test result

2011-02-21 Thread Goodwin
hi all, I study the cts test recently,and I hava a query about the cts test result. the result shows "time out" when run some cases. what does the time out mean? any idear will be appreciated! -- You received this message because you are subscribed to the Google Groups "Andro

Re: [android-developers] Image comparision

2011-02-21 Thread Daniel Drozdzewski
Try here: http://mindmeat.blogspot.com/2008/07/java-image-comparison.html and here http://stackoverflow.com/questions/843972/image-comparison-fast-algorithm Daniel On Mon, Feb 21, 2011 at 7:44 AM, TreKing wrote: > On Mon, Feb 21, 2011 at 1:15 AM, Jayanthi wrote: >> >> Hi, >>  I want sample

Re: [android-developers] cts test result

2011-02-21 Thread Marcin Orlowski
On 21 February 2011 10:20, Goodwin wrote: > hi all, > >       I study the cts test recently,and I hava a query about the cts > test result. >       the result shows "time out" when run some cases. what does the > time out mean? >      any idear will be appreciated! It usually means that the time

[android-developers] Create a pipe file

2011-02-21 Thread Christina Loop
Hello everyone, I would like to ask, if anyone knows how can we create a file which acts like a pipe. For instance I would like it to have 2MB size. The system should access this file as a FIFO, ie when the space of 2MB is over, the system should write on the file from the start of it. Is there

Re: [android-developers] Create a pipe file

2011-02-21 Thread Daniel Drozdzewski
Christina, You could write a utility class that would do rolling file for you, or you could plug in RollingFileAppender from log4j Apache logging library. http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html Daniel On Mon, Feb 21, 2011 at 10:00 AM, Christina

[android-developers] Re: "Conversion to Dalvik format failed with error 1" when using jmDNS.jar

2011-02-21 Thread Marcus Wolschon
Doesn't that mean that the code is compiled but the jar not included in the apk => class not found error at runtime unless jmDNS is a part of Android. On 17 Feb., 01:40, scott_ggle wrote: > I had resolved this compile error by adding JmDNS as user library. See > tip posted by CuteAndroid > > ath

[android-developers] Re: Exception while calling web service----java.net.SocketException: Permission denied

2011-02-21 Thread grace
hi, go through the link..it might help you.. http://stackoverflow.com/questions/4253233/exception-with-web-service-java-net-socketexception-permission-denied-in-andr On Feb 18, 2:06 pm, Ravi wrote: > Yeah I given the internet permission in manifest file. -- You received this message because yo

[android-developers] Re: Any plans to make a DownloadManager library/jar available for pre-Gingerbread support?

2011-02-21 Thread Marcus Wolschon
On 18 Feb., 18:48, Dianne Hackborn wrote: >  I am just > thinking to only use the networking pieces from it, and write your own > front-end (posting notifications if that is what you want, or doing whatever > UI you want). Then what would be the benefit left? Before the download manager you wro

Re: [android-developers] Re: Using google-api-java client

2011-02-21 Thread cuil yahoo
Thanks, for the reply. I did have a look at this before, and i say a beginner just to keep my feet on the ground. ^^ (This doesn't imply i am a expert either) . I tried using the the other library, https://code.google.com/p/oauth-signpost/ . It works smoothly with this. -- Cuil On Mon, Feb 21,

[android-developers] Deploying Application into Device

2011-02-21 Thread Sivaprakash
Hi Could you please pass me step-by-step procedure on how to deploy application into Android Device (my Phone)? I believe multiple options should be there like from Eclipse and from Command Line (typically when we buy an app from Android store). -- - Prakash. -- You received this message beca

[android-developers] Re: Exception while calling web service----java.net.SocketException: Permission denied

2011-02-21 Thread grace
Hi, http://stackoverflow.com/questions/4253233/exception-with-web-service-java-net-socketexception-permission-denied-in-andr On Feb 18, 2:06 pm, Ravi wrote: > Yeah I given the internet permission in manifest file. -- You received this message because you are subscribed to the Google Groups "An

[android-developers] MapActivity with inflate layout problem

2011-02-21 Thread Dani
Hi, I have a strange problem: I'm trying to inflate a layout with a button over a MapView, after the user click on a marker on the map. This layout appears on the map but every kind of button I put in the xml there seem to be "frozen", they do not respond at the click action (no animation). popup.x

[android-developers] AlphaAnimation

2011-02-21 Thread dashman
I'm doing an AlphaAnimation from 0 to 0.5 the problem is that at the end of the animation it resets to opaque (1.0). any way to just go from 0 to 0.5 and stop. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

Re: [android-developers] Simultaneous existence of Wi-Fi Service and Cellular Call Service(Call only)

2011-02-21 Thread Mark Murphy
On Mon, Feb 21, 2011 at 1:08 AM, Ash wrote: > I want to do socket based network operation using Wi-Fi connection > during a phone call (initiation, conversation, termination). I mean > while conversation over the phone, in background my network service is > also running and exchanging IP packets u

Re: [android-developers] Re: How can i control room lights with my android phone :)

2011-02-21 Thread Mark Murphy
On Mon, Feb 21, 2011 at 3:18 AM, Kristopher Micinski wrote: > P.s., This approach carries the added fear that someone's going to break > into your network and turn your lights on and off in some obnoxious pattern. OTOH, this makes an interesting plot device for a horror movie... :-) -- Mark Mur

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-21 Thread Fox Mulder
@Samuh Many thanks for your help and the bug notifications...I was wondering from where you got the httplive info !! How could we guess ??? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

Re: [android-developers] Simultaneous existence of Wi-Fi Service and Cellular Call Service(Call only)

2011-02-21 Thread Kostya Vasilyev
Ash, If I understand you correctly, you simply want to run some network communication over WiFi while a phone call is happening, and *not* trying to route the phone call over WiFi or anything like that. That is, two independent things happening at the same time: the voice call and networking

Re: [android-developers] Re: How can i control room lights with my android phone :)

2011-02-21 Thread Kostya Vasilyev
Yet another possibility is to use the phone to push the light switch. Works best with devices covered with soft plastic (won't slip). For increased distance, one could tie the phone to a broom with a shoe lace. ;-) -- Kostya 21.02.2011 16:01, Mark Murphy пишет: On Mon, Feb 21, 2011 at 3:18 A

[android-developers] Re: How to receive WAP push programatically

2011-02-21 Thread karteek
I am able to receive wap push with small change in AndroidManifest,xml file as But now we have integrated now sms with our server which will send wap push to nowsms which intern send it to device. Android device is receiving the wap sms but at the system level android is discarding this sms

Re: [android-developers] Simultaneous existence of Wi-Fi Service and Cellular Call Service(Call only)

2011-02-21 Thread Mark Murphy
Oh, whoops, sorry, I misread the question. On Mon, Feb 21, 2011 at 8:25 AM, Kostya Vasilyev wrote: > Ash, > > If I understand you correctly, you simply want to run some network > communication over WiFi while a phone call is happening, and *not* trying to > route the phone call over WiFi or anyth

[android-developers] Re: Freescale board image mounting.

2011-02-21 Thread ttk
I am using imx515 board.. I am working on linux kernel On Feb 19, 2:37 am, giangiammy wrote: > hi, > > I'm starting to work on a Freescale board too (based on MPC5121) > which board are you using? > Which kernel are you using? I will need to port the kernel to my > board, and i must verify if I h

[android-developers] DevicePolicyManager - unlock method

2011-02-21 Thread hwit
Hello, the DevicePolicyManager (API8) allows applications to add and remove admin users and to lock the device with the lockNow() method. Is it planned to also add a complementary unlockNow() method? We developed a modular authentication system, which can be extended by modules (graphical authenti

Re: [android-developers] Deploying Application into Device

2011-02-21 Thread Justin Anderson
*> Could you please pass me step-by-step procedure on how to deploy application into Android Device (my Phone)? * http://developer.android.com/guide/developing/eclipse-adt.html#RunningOnDevice *> I believe multiple options should be there like from Eclipse and from Command Line (typically when we

[android-developers] Re: How to get the best double buffering?

2011-02-21 Thread MobileVisuals
Your approach worked! This is the code that I used to fix the double buffering: in init: bitmap=Bitmap.createBitmap(width,height, Bitmap.Config .ARGB_); in run, c is the canvas here: if(c!=null) {c.setBitmap(bitmap);

Re: [android-developers] view animation

2011-02-21 Thread Justin Anderson
I'm not sure where the dimensions are set exactly, but have you tried putting it in onResume? I think dimensions are set at that point. On Sun, Feb 20, 2011 at 8:58 PM, dashman wrote: > i'd like to animate a view... > > but it's dependent on the dimensions of the view and parent. > > during onc

[android-developers] Re: Issue with AppWidget Reinstall and Services

2011-02-21 Thread Jake Colman
So what are you suggesting? I see in the log that the appwidget is still starting the service and that the service is running. I only seem to have a problem is I install a new APK while the widget is still running. Once that happens, unless I reboot the service won't update the widget. So is

[android-developers] Is it possible to hold onto a DialogFragment pointer in its parent activity?

2011-02-21 Thread Satya Komatineni
The reason I am not able to do this is because 1. To hold on to this fragment pointer I need to save/restore the pointer through the save bundle 2. I am using putFragment() method to do this (via the activity onsaveinstancestate) 3. putFragment() seem to require that the fragment is added to the f

[android-developers] Re: Google Map Error

2011-02-21 Thread Spiral123
are you using the standard libraries and manually adding the Google Map jar? if so, change the properties of your app to point to the Google APIs instead. On Feb 21, 3:31 am, Nesim TUNÇ wrote: > Hi Awesome Developers! > > I'm trying to use Google Map in my Android App. My SDK version is 2.1 up

Re: [android-developers] Cannot fetch information from internet

2011-02-21 Thread Justin Anderson
Do you have a proxy setup? Are you testing this on an actual device or on an emulator? On Sun, Feb 20, 2011 at 10:50 AM, Boozel wrote: > I'm trying to use a separate service to fetch tweets using twitters search > API > I have given permission in the android manifest file > here is my manifest

[android-developers] Re: Using google-api-java client

2011-02-21 Thread Spiral123
well use the signpost example that works with Google Services as a reference then. On Feb 21, 6:08 am, cuil yahoo wrote: > Thanks, for the reply. > > I did have a look at this before, and i say a beginner just to keep my feet > on the ground. ^^ (This doesn't imply i am a expert either) . > > I t

[android-developers] Re: IllegalStateException: database not open

2011-02-21 Thread javaxmlsoapdev
yes. both apps are uninstalled but unable to remove database from the phone, which originally was created by app1 (and subsequently app2 used the same db name, which screwed up the things)? I also tried context.deleteFile(DATABASE_NAME); context.deleteDatabase(DATABASE_NAME); withou

Re: [android-developers] Cannot fetch information from internet

2011-02-21 Thread Boozel
Its on the emulator, not behind a proxy. it works fine on a phone on the same network. ive tried deleting the avd and recreating Any ideas -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

Re: [android-developers] Re: IllegalStateException: database not open

2011-02-21 Thread Kostya Vasilyev
Each application has its own private data files, including the databases. Uninstalling should remove those. So either somehow the files didn't get removed (which is strange by itself), or else something even more strange is going on. Are the databases, perhaps, not private to the respective a

Re: [android-developers] Re: IllegalStateException: database not open

2011-02-21 Thread Mark Murphy
2011/2/21 javaxmlsoapdev : > yes. both apps are uninstalled but unable to remove database from the > phone, which originally was created by app1 (and subsequently app2 > used the same db name, which screwed up the things)? That's not possible, AFAIK. An uninstall should remove all files. > how to

Re: [android-developers] Cannot fetch information from internet

2011-02-21 Thread Justin Anderson
I'm not really sure... Doing a google search I came up with this URL: http://marakana.com/forums/android/examples/69.html There is a person on there who is having a similar problem with the emulator, and this is what someone posted as a reply: The answer is in the last line of the output you pro

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-21 Thread Fox Mulder
@samuh Are the encrypted streams you are testing public ? If so can you provide the URL ? I tested Apple's Streams (gear1/gear2/gear3) on HoneyComb and emulator they work fine (I will be able to test HLS on a XOOM Tablet very soon). By the way do you know how to retrieve the streaming information (

Re: [android-developers] Cannot fetch information from internet

2011-02-21 Thread Boozel
Thanks, i did try changing the site and it didnt help and the emulators browser didnt work so it wasnt a twitter problem It just started working by itself a while ago. Have no idea why! thanks for the help. -- You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] aaptexec doesn't support the "apkbasename" attribute

2011-02-21 Thread Dennis Miller
Hi all, I am trying to build a 2.3.1 project with ANT and getting this error. Does anyone know what is causing this? I have synced all packages in AVD Manager as well. Thanks, Dennis -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

Re: [android-developers] AlphaAnimation

2011-02-21 Thread Cliff Davies
Using xml script fillAfter or Animation.SetFillAfter() should achieve this for you On 21 Feb 2011 12:35, "dashman" wrote: > I'm doing an AlphaAnimation from 0 to 0.5 > > the problem is that at the end of the animation > it resets to opaque (1.0). > > any way to just go from 0 to 0.5 and stop. > >

[android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Aaron Buckner
Can anyone give me any ideas here this is really frustrating I can't think of any other way to implement this and I have to assume the user would mess up and need to reach this dialog again. -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Justin Anderson
What method is this code in? On Mon, Feb 21, 2011 at 11:58 AM, Aaron Buckner wrote: > Can anyone give me any ideas here this is really frustrating I can't think > of any other way to implement this and I have to assume the user would mess > up and need to reach this dialog again. > > -- > You r

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Aaron Buckner
Its all in the main method I have, part of the onCreate. Should I put it outside the onCreate section? -- 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] DevicePolicyManager - unlock method

2011-02-21 Thread Dianne Hackborn
Hm, it doesn't allow applications to add and remove "admin users". (Not sure what those even are actually.) There won't be an "unlock now" method added. This is *not* intended as an API to replace the lock screen, which would be a much different facility. The APIs here are intended to allow lim

Re: [android-developers] Is it possible to hold onto a DialogFragment pointer in its parent activity?

2011-02-21 Thread Dianne Hackborn
You can only maintain a fragment pointer if it is actually added to the fragment manager. On Mon, Feb 21, 2011 at 7:24 AM, Satya Komatineni < satya.komatin...@gmail.com> wrote: > The reason I am not able to do this is because > > 1. To hold on to this fragment pointer I need to save/restore the >

Re: [android-developers] Re: Any plans to make a DownloadManager library/jar available for pre-Gingerbread support?

2011-02-21 Thread Dianne Hackborn
If you don't need the networking code, I don't think there is much benefit. The rest of the download manager is involved with lots of complexity for handling multiple clients and protecting them from each other (lots of that wrapped up in the content provider), the UI for looking at the downloads

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Sunil Lakhiyani
please refer this link http://www.androidpeople.com/android-alertdialog-example/ and http://www.tutorialforandroid.com/2009/01/displaying-alertdialog-in-android.html

[android-developers] indexOf(ENTER)

2011-02-21 Thread André
I know this is more of a java question than a android question, but I know most of you are pro's here an both so I'll ask it here! Is it possible to search a string that I have taken from an edittext for when ever the value for new line comes? But this string might include \n so I want it to ignore

[android-developers] Where can I find information about sending/receiving MMS messages, and receiving MMS notifications?

2011-02-21 Thread E.
I'm trying to write an app that interfaces with a PC to allow sending and receiving MMS using the phone, but I'm having a hard time finding any documentation. I can query the content provider to see and delete existing messages. However, I am not sure how to send new messages, receiving notificati

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Aaron Buckner
Ok, well those helped out to a point... they helped me narrow down the line of code that is causing the problem... "alert.setView(input);" If I comment it out the dialog opens as much as I need it to, of course that also prevents the user from being able to enter any input in... which is calle

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Sunil Lakhiyani
http://stackoverflow.com/questions/3968170/android-prompt-users-input-using-a-dialog On Mon, Feb 21, 2011 at 12:11 PM, Aaron Buckner wrote: > Ok, well those helped out to a point... they helped me narrow down the line > of code that is causing the problem... > > "alert.setView(input);" > > If

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Justin Anderson
Whenever I create dialogs, I use onCreateDialog() and let the Activity handle creation... http://developer.android.com/reference/android/app/Activity.html#onCreateDialog%28int,%20android.os.Bundle%29 To display the dialog use showDialog()... http://developer.android.com/reference/android/app/Activ

[android-developers] Re: Newest version of Android Emulator is throwing back DNS errors, extremely limited network connection [Win7x64]

2011-02-21 Thread hmmwhatsthisdo
Hmm. Another interesting development - Honeycomb can connect to the network just fine. -- 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,

Re: [android-developers] Re: Freescale board image mounting.

2011-02-21 Thread Rogério de Souza Moraes
I am working on the same board, can you post the logcat error messages? Regards, Rogerio 2011/2/21 ttk > I am using imx515 board.. I am working on linux kernel > > On Feb 19, 2:37 am, giangiammy wrote: > > hi, > > > > I'm starting to work on a Freescale board too (based on M

[android-developers] Re: indexOf(ENTER)

2011-02-21 Thread DanH
If the string really does include the character SEQUENCE "\n" then simply searching for the CHARACTER '\n' will not find it but will find a newline character. This is because '\n' is simply a convenience for producing the 0x0A (newline) character value -- it's not conceptually two separate charact

Re: [android-developers] indexOf(ENTER)

2011-02-21 Thread Kostya Vasilyev
21.02.2011 22:50, André пишет: But this string might include \n so I want it to ignore that a go for the value 10 instead. (which is the value for new line if I remember correctly) The \n *is* the newline marker. So is \12, \x0A, and "char ch = (char) 10". By the time you get to string.indexOf

[android-developers] Re: DevicePolicyManager - unlock method

2011-02-21 Thread Pent
> There won't be an "unlock now" method added.  This is *not* intended as an > API to replace the lock screen, which would be a much different facility. >  The APIs here are intended to allow limitations to be placed on the kind of > lock screens / passwords the user can use. There is a great dema

[android-developers] Developing for tablets

2011-02-21 Thread Doug Gordon
I've not paid much attention to the Honeycomb SDK issues since I figured it's better to wait until something final is available, but I am definitely wondering if we will be getting any specific information or guidance from the Android folks regarding developing for device with the larger tablet

[android-developers] WIFI AP mac address

2011-02-21 Thread Xian Chen
Hi, How can I obtain the MAC address of current associated WIFI AP? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

Re: [android-developers] Developing for tablets

2011-02-21 Thread Mark Murphy
On Mon, Feb 21, 2011 at 4:36 PM, Doug Gordon wrote: > Mainly, it seems like many applications would be better off being redesigned > or offered in separate versions for tablets as opposed to simply being > handled by different layouts within a single app. A device like the Xoom has > a resolution

[android-developers] Re: HELP: App wont open on selected mobiles (LG Ally, Dell Streak 7, Xperia X10 mini)

2011-02-21 Thread String
On Friday, February 18, 2011 4:16:31 PM UTC, fully wrote: Well the installs fine as far as im aware, but upon loading the app > you see it load then immediately closes no warning or error. > I've also seen messageless errors (which kill the app) resulting from using recycled bitmaps in drawabl

Re: [android-developers] WIFI AP mac address

2011-02-21 Thread Kostya Vasilyev
You probably mean the BSSID, not MAC. First you call this: http://developer.android.com/reference/android/net/wifi/WifiManager.html#getConnectionInfo() and get a WifiInfo object back (or null). Then you call this to get the BSSID: http://developer.android.com/reference/android/net/wifi/WifiIn

Re: [android-developers] Re: DevicePolicyManager - unlock method

2011-02-21 Thread Dianne Hackborn
It's just something we haven't had time to do. A production quality implementation of this is quite a bit of effort, and there have been many other higher-priority things. On Mon, Feb 21, 2011 at 1:29 PM, Pent wrote: > > There won't be an "unlock now" method added. This is *not* intended as >

[android-developers] Changing of the ContentProvider

2011-02-21 Thread Neo Apostol
Hi there, I need to receive a notification about changing of the ContentProvider. With wat class it can be achieved.(ContentResolved or ContentObserver). I would like to see an example of this, if it is possible. -- You received this message because you are subscribed to the Google Groups "Androi

[android-developers] Long and Lat value in Textfield

2011-02-21 Thread Atif Musaddaq
Hi, All I get value of Longitude and Latitude whenever user Location changes. double lat = loc.getLatitude(); double lon = loc.getLongitude(); I would like to display it in Text view final TextView Longitude = (TextView) findViewById(R.id.lang); final TextView Latitude= (TextView) findViewById

[android-developers] Re: Long and Lat value in Textfield

2011-02-21 Thread Samsung Galaxy
Found Solution: pasting it for future reference double lat = loc.getLatitude(); double lon = loc.getLongitude(); TextView Longitude = (TextView) findViewById(R.id.lang); TextView Latitude= (TextView) findViewById(R.id.lat); Longitude.setText(String.valueOf(lon)); Latitude.setText(String.valueOf(

[android-developers] Re: ClassNotFoundException when using Android libraries

2011-02-21 Thread Bret Foreman
I should mention that this is using 2.2. I'm going to switch to 2.3 and see what that does. On Feb 21, 2:51 pm, Bret Foreman wrote: > I recently moved some code into libraries and I'm now getting the > following runtime error. I rebuilt everything from the ground up but > the error persists. Any

[android-developers] Re: ClassNotFoundException when using Android libraries

2011-02-21 Thread Bret Foreman
Identical results with 2.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 android-developers+unsubscr...@googlegroups.c

Re: [android-developers] ClassNotFoundException when using Android libraries

2011-02-21 Thread TreKing
On Mon, Feb 21, 2011 at 4:51 PM, Bret Foreman wrote: > I recently moved some code into libraries and I'm now getting the following > runtime error. I rebuilt everything from the ground up but the error > persists. Any ideas about what might be wrong? > Hey Bret, was going to respond to the other

[android-developers] ClassNotFoundException when using Android libraries

2011-02-21 Thread Bret Foreman
I recently moved some code into libraries and I'm now getting the following runtime error. I rebuilt everything from the ground up but the error persists. Any ideas about what might be wrong? I haven't changed the code from when it worked in the monolithic form, just moved some classes into librari

[android-developers] Re: ClassNotFoundException when using Android libraries

2011-02-21 Thread Bret Foreman
I think I found the source of the trouble, but I'm not sure how to fix it. During the course of building the project from scratch, I changed its name. Somehow, there is an auto-generated java file in the gen folder by the old name. So the next question is, where are the settings that tell Eclipse

[android-developers] Re: ClassNotFoundException when using Android libraries

2011-02-21 Thread Bret Foreman
Aha! Eclipse automagically stuck in an import com.old_package_name.R into all the project files. -- 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 th

[android-developers] imports not working with Android libraries

2011-02-21 Thread Bret Foreman
So after rebuilding all my library projects and main project from the ground up, it's still clear that classes in Android libraries are not being properly imported. There are no build errors, but at runtime I see errors like this: 02-21 15:53:43.042: ERROR/dalvikvm(26040): Could not find class 'co

Re: [android-developers] imports not working with Android libraries

2011-02-21 Thread Mark Murphy
Have you played with any existing library projects that are known to work? Most of the CWAC projects on my GitHub page are Android library projects, with a demo/ sub-project that references the library project: https://github.com/commonsguy None are Eclipse projects, though. You mentioned trying

[android-developers] Need Android Developer in Hollywood, CA

2011-02-21 Thread Chiru
Hi My client is looking for Android Developer in Hollywood, CA. if you are available please send me your resumes to chiru @ ittalentsearch.com Title : Android Software Engineer Location : Hollywood, CA Duration : 6-12 months Requirements / Qualifi

[android-developers] Re: imports not working with Android libraries

2011-02-21 Thread Bret Foreman
Well, I wanted to take one more try at getting things to work with Eclipse. But building it up from scratch very carefully has convinced me that Eclipse can't handle Android library projects. This is probably why I've never seen a working example of one. Moving even one class into an Android librar

[android-developers] lockNow() doesnot work as expected on LG ally and Droid X which are verizon devices

2011-02-21 Thread JAVANAND
Hi friends, I am using the DevicePolicyManager api code as in the Device admin sample code, for my application, when I do force lock using lockNow() method, the device locks, but its not password protected it unlocks on sliding. I have set the password for the device lock, even then it is not prom

[android-developers] Re: imports not working with Android libraries

2011-02-21 Thread William Ferguson
Bret, are you only componentising classes or do you have resources too? If you are only looking to abstract classes then my suggestion is to use something that handles it well like Maven. I'm using IntelliJ instead of Eclipse, but you shouldn't have any problem with Eclipse either (its also worked

Re: [android-developers] Is it possible to hold onto a DialogFragment pointer in its parent activity?

2011-02-21 Thread Satya Komatineni
Dianne, Thanks. I do wonder though, would it have been possible, architecturally, to separate "showing" a fragment from "adding" a fragment to the fragment manager. For example when I "show" a dialog fragment it does both "adding" and "showing" of that fragment. Sameway when I dismiss a dialog, i

[android-developers] Set Options Menu Position Programmatically?

2011-02-21 Thread Paul
I have a full screen Activity in my app that due ot the nature of the way the user interacts with it, is locked to the portrait orientation. This of course means that the Options Menu, when activated, is always in the same location, regardless of orientation. A perfect solution would be the Activ

[android-developers] What name would get more attention

2011-02-21 Thread brian purgert
My game is called space bike and i put it out for a day and good good reviews but i took it down because of low active installs, i had a friend play it and realized it was to hard for the average user, so i fixed it up and added alot of things to make is easyer. In my game you control gravity and

Re: [android-developers] Set Options Menu Position Programmatically?

2011-02-21 Thread Dianne Hackborn
Sorry, this is not supported. You would need to write your own options menu from scratch. On Mon, Feb 21, 2011 at 5:47 PM, Paul wrote: > I have a full screen Activity in my app that due ot the nature of the > way the user interacts with it, is locked to the portrait > orientation. This of cour

Re: [android-developers] Re: Any plans to make a DownloadManager library/jar available for pre-Gingerbread support?

2011-02-21 Thread Mark Carter
On 22 February 2011 02:39, Dianne Hackborn wrote: > If you don't need the networking code, I don't think there is much benefit. > The rest of the download manager is involved with lots of complexity for > handling multiple clients and protecting them from each other (lots of that > wrapped up in

Re: [android-developers] imports not working with Android libraries

2011-02-21 Thread TreKing
On Mon, Feb 21, 2011 at 6:04 PM, Bret Foreman wrote: > So after rebuilding all my library projects and main project from > the ground up, it's still clear that classes in Android libraries are > not being properly imported. > Did you try my suggestions in your other thread? -

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Aaron Buckner
I follow the concept but I always have problems converting dev.android.com documentation to real world use... can you show me some code to create an activity managed dialog or point me to an online example. I'm looking around and not finding very many examples (none that seem to work)... Thanks

Re: [android-developers] Re: Any plans to make a DownloadManager library/jar available for pre-Gingerbread support?

2011-02-21 Thread Dianne Hackborn
So the source code is there up in the repository, anyone can take it and turn it into whatever kind of stand alone library they want. On Mon, Feb 21, 2011 at 7:11 PM, Mark Carter wrote: > On 22 February 2011 02:39, Dianne Hackborn wrote: > >> If you don't need the networking code, I don't think

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Dianne Hackborn
API demos has a sample of creating a bunch of different alert dialogs as managed dialogs: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/AlertDialogSamples.html On Mon, Feb 21, 2011 at 7:38 PM, Aaron Buckner wrote: > I follow the concept but I always ha

[android-developers] How to use drawBitmapMesh method for image warping

2011-02-21 Thread loril...@gmail.com
Hi, I need to apply mesh warping on an image in android. Method drawBitmapMesh can be used to define a mesh and apply the bulge warp effect on an image. This is the algorithm that can be used: Remap pixels according to: For each x, y x' -> rn*Cos[a] + .5 y' -> rn*Sin[a] + .5 where a = ArcTan[x

[android-developers] any idea to get control for setting the default launcher app through programming

2011-02-21 Thread Dev Android
Guys, Do you have any idea to get control for setting the default launcher app through programming? Please suggest your views on this problem. -- thanks Dev -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] How to change the Width and Height of the AVD

2011-02-21 Thread Sivaprakash
Hi I have created an AVD emulator but I want to change the Width and Height because it is going to out my Laptop screen size. Any thoughts? http://developer.android.com/guide/developing/tools/avd.html#hardwareopts Here I see there are commands -s - but I don't know how/where to find Android comm

Re: [android-developers] How to change the Width and Height of the AVD

2011-02-21 Thread Kostya Vasilyev
Use "scale to real size" in the launch dialog, play with the scaling factor (0.5 is a good start for an emulated tablet). 22.02.2011 10:30 пользователь "Sivaprakash" написал: > Hi > > I have created an AVD emulator but I want to change the Width and Height > because it is going to out my Laptop sc

[android-developers] App list of Android Booth at MWC2011

2011-02-21 Thread AKIRA
Hi, I came back from Spain. I made App list of Android Booth at MWC2011. https://sites.google.com/a/gclue.jp/mobile2020/event/mwc2011-apps And, share all pictures of Android booth. https://picasaweb.google.com/gclue.akira/AndroidMwc2011# Many people collected pin back of Android at MWC2011 :>