Re: [android-developers] Endless scrolling in GridView

2011-03-19 Thread Robin Talwar
Yes exactly that is what i need. How to find that the user has reached the end of the scroll in grid view?? On Sat, Mar 19, 2011 at 3:10 AM, Shane Isbell shane.isb...@gmail.comwrote: You don't need to customize the view. Implement pagination of the xml doc on the server. When the user reaches

[android-developers] Re: cube2wallpaper demo settings screen semi-transparent?

2011-03-19 Thread Peter Webb
Sorry, found it. android:theme=@android:style/Theme Instead of android:theme=@android:style/Theme.LightWallpaper.wallpapersettings My excuse: I only do wallpapers, and so have never seen or used a theme before. On Mar 19, 4:05 pm, Peter Webb r.peter.w...@gmail.com wrote: When you go into

[android-developers] Double press home button side effect...

2011-03-19 Thread MagouyaWare
I have an task switching app on the Android Market called AppSwipe! and one of the most commonly requested features is the ability to launch my app by long-pressing the home button. Since this is not possible, I created a way to launch AppSwipe! by double-pressing the home key. This feature has

Re: [android-developers] Re: How to install market app in emulator?

2011-03-19 Thread Justin Anderson
LOL... Sounds like somebody has some candy bars to return to the 7-11! Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 18, 2011 at 8:12 PM, TreKing treking...@gmail.com wrote: On Fri, Mar 18, 2011 at 12:08 AM, Maps.Huge.Info (Maps API Guru)

Re: [android-developers] plz suggest

2011-03-19 Thread Justin Anderson
Try Illustrator and Photoshop Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 18, 2011 at 2:21 PM, rishabh agrawal android.rish...@gmail.comwrote: plz suggest any software for better icon designe,i am a fresher and no knowledge about how to

Re: [android-developers] Communication between activities in tab

2011-03-19 Thread Justin Anderson
My advice is to change your tabs to each display a view instead of an activity... Displaying activities is not fully supported and goes back to the early Android 1.0/1.1 days. That way you only have 1 activity that you need to manage so all the views have access to the same data. It seems like

Re: [android-developers] menu doesnt get pop up unless tab activity is focussed

2011-03-19 Thread Justin Anderson
Thanks for sharing... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 18, 2011 at 12:05 AM, Majid majidalib...@gmail.com wrote: menu is not shown in groupactivity of tabbar activity .but when i change tab and come back to same tab it shows

[android-developers] Frrend

2011-03-19 Thread suhail ahmed
Velvet I received my apple iphone4 64gb ordered on a online shop ( www.ioffrt.com ) today. So exciting , it's genuine and as good as they promised ,but much cheaper than it is in our country .Glad to share this news with you . Cheers! May all goes well for you. Hi, received my information? Wish

Re: [android-developers] Re: Developers Phone Program

2011-03-19 Thread Justin Anderson
How about eBay? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 18, 2011 at 7:24 AM, oldskool73 oldskoo...@gmail.com wrote: http://android.brightstarcorp.com/index.htm That just forwards you to your market page, you then need to click the

[android-developers] (JSON) Download fails in 2.1 but works in 2.2

2011-03-19 Thread Stephan Wiesner
Hi, I use JSON as an interface and my code works fine on 2.2 devices but fails on motorola 2.1 devices The reason is that not the whole JSON file is downloaded, but only some (always the same) part and than it stops. URL url = new URL(http://www.somelink;); picCounter = 0; URLConnection ucon =

[android-developers] how can i use an API from full debug build

2011-03-19 Thread Bruce Xia
hi, I want to use PreferenceManager.inflateFromResource() in my application. It's only available in the full build: framework_intermediates-classes-full-debug.jar How can I can use it? Thanks, Bruce -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] What does android:isScrollContainer do?

2011-03-19 Thread Justin Anderson
* Can anyone kindly explain what this description means?* I believe this is for handling how your view behaves when the on-screen keyboard is visible or not. * What is a scrolling container in this case?* A container that... get ready for it... scrolls! * What kind of input method is

Re: [android-developers]

2011-03-19 Thread Justin Anderson
Wow this is annoying. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 18, 2011 at 5:26 AM, Raja bharathiraja.andr...@gmail.comwrote: X Sent from my Motorola phone. -- You received this message because you are subscribed to the Google

Re: [android-developers] Anyone seen or used cheap Android phones from shenit.com or chinavision.com

2011-03-19 Thread Justin Anderson
Not really sure... A coworker of mine did buy some cheap tablet knockoffs from China for his kids for Christmas. They were great for the kids, but complete pieces of junk in regards to development. Usually you get what you pay for... Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] Is there a way to prompt the user for the input method ?

2011-03-19 Thread Justin Anderson
* I want to make a custom keyboard for my word game app. But it's not very user friendly for the user to go to Language Settings and enable it there and then hold on some text input and select my custom input method. Is there a built-in call that i could use to prompt the user to select a

[android-developers] Updated XMLAdapters sample available?

2011-03-19 Thread j.s. mammen
Is there an updated version of XMLAdapters in the sdk sample as it has lot of bugs in it. http://developer.android.com/resources/samples/XmlAdapters/index.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] PendingIntent, Service and AsyncTask.

2011-03-19 Thread Justin Anderson
Woops... my BarAsyncTask class didn't have the line of code wrapped in a method... Oh well, you get the idea. That's what happens when answering questions late at night. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Mar 19, 2011 at 1:31 AM,

Re: [android-developers] Endless scrolling in GridView

2011-03-19 Thread Robin Talwar
Ok now i am able to get the log printed when the scroll has reached end. I have used a custom adapter and in getView i have this code :- if(p==(getCount()-1)){ Log.d(TAG++, REACHED BOTTOM); if(scs!=null){ scs.onPageChanged();

[android-developers] Re: SimpleOnGestureListener code not working in Android 2.2...

2011-03-19 Thread MagouyaWare
Anyone? I'm getting pretty desperate... No matter what I try, I can't get this to work. It seems that this issue might be related to this bug: http://code.google.com/p/android/issues/detail?id=8233 For more information, there is also a stackoverflow question, as mentioned in a previous post...

[android-developers] Re: Developers Phone Program

2011-03-19 Thread String
If you're already logged in, it doesn't forward you. The OP asked is there a dev phone program; that URL is it. Mark had already suggested just buying one in a store - which is good advice, but didn't answer the question as asked. String -- You received this message because you are

[android-developers] Re: Android SDK, Market and Cupcake compatibility.

2011-03-19 Thread Farproc
Thank you. Yes, it's good and I'm young. ;) On 3月19日, 下午1时19分, Zsolt Vasvari zvasv...@gmail.com wrote: What I mean here is letting Google know this issue. Good one, young padawan. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Developers Phone Program

2011-03-19 Thread Zsolt Vasvari
Unfortunately they are both old (G1 Nexus1) and no cheaper than buying new now, so I'd not recommend this route at all. What other phone can you buy for $529 that's: a) better than a Nexus One b) gets updated to the newest version of Android? -- You received this message because you are

[android-developers] Re: Is there a way to prompt the user for the input method ?

2011-03-19 Thread Zsolt Vasvari
No, an app has absolutely no control over which input method the user installs and uses at any particular time. On Mar 17, 6:54 pm, Keeper Hood keeper.h...@gmail.com wrote: I want to make a custom keyboard for my word game app. But it's not very user friendly for the user to go to Language

Re: [android-developers] Re: Home Button in Android

2011-03-19 Thread Ashish Raut
Hi, When i installed the application (Without closing last confirmation screen which automatically come up after installed) and open directly there are two buttons OPEN and DONE (Without pressing DONE) i will open the application and going to the last screen of my app. and then press HOME button

Re: [android-developers] Endless scrolling in GridView

2011-03-19 Thread Kostya Vasilyev
19.03.2011 10:48, Robin Talwar ?: *Present Situtation :-* 10 images come and then after 3 seconds these 10 images are replaced by new 10 images due to the parser running in onPageChanged. The Adapter is being set again and again. I want the new adapter to append the images to the

Re: [android-developers]

2011-03-19 Thread Marcin Orlowski
On 19 March 2011 08:11, Justin Anderson magouyaw...@gmail.com wrote: Wow this is annoying. You got mail filters, so use it. Regards, Marcin Orlowski Tray Agenda http://bit.ly/trayagenda - keep you daily schedule handy... -- You received this message because you are subscribed to the

Re: [android-developers] plz suggest

2011-03-19 Thread Marcin Orlowski
On 18 March 2011 21:21, rishabh agrawal android.rish...@gmail.com wrote: plz suggest any software for better icon designe,i am a fresher and no knowledge about how to get better icon for good apps... Apps won't do any magic if you lack artistic skills Regards, Marcin Orlowski Tray

[android-developers] 3rd Party App Permission Prevents System Intent Broadcast ?

2011-03-19 Thread Pent
I'm occasionally doing this: sendBroadcast( Intent.ACTION_CLOSE_SYSTEM_DIALOGS ); I noticed in a user log recently: W/ActivityManager( 2241): Permission Denial: broadcasting Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS } from net.dinglisch.android.taskerm (pid=2815, uid=10083)

[android-developers] diffrence b/w sdk vesiron 8 10

2011-03-19 Thread rishabh agrawal
in the sdk version 8 ,back button also given by emulator but version 10 the emulator not give back button,actully i have not use any android mobile.so when i developed apps for version 10 then how to call back buttonit is nessery that back button should be create in apps when i want

[android-developers] Point sprite attenuation does not work because the points have the same size.

2011-03-19 Thread MobileVisuals
I have tried to get Point sprite attenuation to work, but it has no effect. Whatever I do, the points have the same size (maxSpriteSize). They are supposed to decrease in size with the distance from the camera. Does anyone know what is wrong with my code? gl.glEnable(GL10.GL_TEXTURE);

Re: [android-developers] PendingIntent, Service and AsyncTask.

2011-03-19 Thread Kostya Vasilyev
19.03.2011 13:57, Mahavir Jain пишет: Is it valid to call AsyncTask from PendingIntent service or activity? AsyncTask has nothing to do with pending intents or activities. It's just a utility class. Check your logcat more carefully: ERROR/AndroidRuntime(473): Caused by:

[android-developers] Re: Have to tap 2times to have the data displayed in a ListView...

2011-03-19 Thread Alaeddine Ghribi
Is it an XML problem ? On 19 mar, 01:39, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Hi, I don't know why but when tapping the calculate button to store the data calculated, when i goes to the listview the first time it tells me that there is no data, when i tap again in the button i

[android-developers] Re: Portable application running on SD-card

2011-03-19 Thread lbendlin
I am not absolutely certain but I would think that this may also lead to a premature wearing out of the SD card flash. You only have a limited number of write cycles on these cards, and an active application may use up that limit quickly. The main memory flash has a better buffering strategy

[android-developers] Display a ListView without a TextView

2011-03-19 Thread Alaeddine Ghribi
Hello, In my app i have this: ListView L = (ListView) findViewById(R.id.lv); L.setAdapter(new ArrayAdapterString(this, R.layout.list_item, s[0])); lv is my ListView and list_item is my TextView. I want to store datas in a file then have a string variable to take all this datas then display it in

[android-developers] Re: Get screen coordinates by specific location and longitude

2011-03-19 Thread lbendlin
http://code.google.com/android/add-ons/google-apis/reference/index.html click on Projection On Mar 16, 7:17 am, Adrià Carro adria.ca...@gmail.com wrote: Hy all, I have an application of augmented reality in which I have stored information such us metro, gas stations, places of interest, etc.

Re: [android-developers] Sharing assets directory across apps

2011-03-19 Thread Mark Murphy
On Sat, Mar 19, 2011 at 1:25 AM, kypriakos demet...@ece.neu.edu wrote: What is the easiest way to allow multiple apps to read from the assets directory of a particular app? It's automatic, AFAIK. Leastways, it is with regular resources, and you get at assets via the Resources object, so it

Re: [android-developers] how can i use an API from full debug build

2011-03-19 Thread Mark Murphy
You don't, unless you are building your own firmware, in which case you are on the wrong list. On Sat, Mar 19, 2011 at 3:01 AM, Bruce Xia xia...@gmail.com wrote: hi, I want to use PreferenceManager.inflateFromResource() in my application. It's only available in the full build:

[android-developers] Re: How can i get js variable value from a HTML form ? is it possible ?

2011-03-19 Thread lbendlin
yes. Use the DOM to extract the value. On Mar 18, 7:09 pm, Eden clement.mart...@gmail.com wrote: hi, How can i get js variable value from a HTML form (via a webview maybe) ? is it possible ? thx eden -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] PendingIntent, Service and AsyncTask.

2011-03-19 Thread Mahavir Jain
No, I am not calling from onReceive() method of app-widget. I will tell you step-by-step what I am doing: 1) There is my configuration Activity of my AppWidget class which perform the FB authentication and then retrieves the wall post using FBQueryAsyncTask. It do this successfully. 2) In my

[android-developers] Re: Display Independent Pixel issues

2011-03-19 Thread lbendlin
You may want to try this without weighting. On Mar 18, 6:57 pm, Thom Shutt thomshuttimper...@gmail.com wrote: Hi, I'm having some issues with using DPs. The problem may be with my understanding of them. I'm only using weighting and DPs for my layout. The weighting works well when scaling

[android-developers] Re: No package identifier when getting value... for 1.5 on install since update

2011-03-19 Thread Lance Nanek
At some point the dev tools started automatically appending a version specifier to your resource names if your resource names used specifiers that Android 1.5 didn't understand. Android 1.5 doesn't understand the density specifiers, they were introduced after it was released. Therefore

Re: [android-developers] Re: Portable application running on SD-card

2011-03-19 Thread Kostya Vasilyev
Not necessarily. Applications installed to internal phone memory can also put their data files on the memory card, and can write as much as they like. So there is no correlation really. Running an application from the memory card would mainly result in data being read, and this already

Re: [android-developers] Display a ListView without a TextView

2011-03-19 Thread Kostya Vasilyev
If you are going to modify your data set (by loading more data), you probably don't want to use ArrayAdapter. Implementing your own adapter class (extending BaseAdapter) would let you append new data items to existing ones. After that, just call adapter.notifyDataSetInvalidated to update the

[android-developers] Re: receive GPS enable/disable settings event

2011-03-19 Thread lbendlin
Be aware that this process is severely broken and the GPS status that is reported back has little relation to reality. There are a few posts on the interwebs how to work around this, but none are covering 100% of the scenarios (like, you are standing still with a good fix) Would be interesting to

Re: [android-developers] PendingIntent, Service and AsyncTask.

2011-03-19 Thread Kostya Vasilyev
Mahavir, You should use the debugger to find out what happens in FBQueryAsyncTask.java on line 50. The next thing on the stack is Facebook API methods, which eventually crash with a null pointer exception. A probable cause for this is that you're passing a null pointer to Facebook APIs from

[android-developers] Re: Scanner GPRS

2011-03-19 Thread lbendlin
It's possible, but it still has nothing to do with GPRS. As you mentioned you will have to keep track of the station IDs, network IDs, and transmit power for each cell you're booked into while moving. Transmit power will vary with time of day, weather, location of your receiver (hand, pocket etc),

[android-developers] Re: Display a ListView without a TextView

2011-03-19 Thread Alaeddine Ghribi
In fact i have 2 edittbox and other one to show the result, then storing it. When i access to the display activity i have to show all the datas that i've been added! So, the procedure that you've talked about is it valid in this case ? Thanks. On 19 mar, 12:53, Kostya Vasilyev kmans...@gmail.com

[android-developers] Re: draw text with html format inside a rectangle

2011-03-19 Thread lbendlin
While it is possible, it is also very limited. Only a few HTML tags are honoured, like smaller/bigger, bold etc. I think that even for this little functionality you will spend a whole HTML rendering engine in memory, and that's just not worth it. If you must, use a webview. On Mar 18, 11:55 am,

Re: [android-developers] Re: Display a ListView without a TextView

2011-03-19 Thread Kostya Vasilyev
Ah. No, if you always display the entire data set, then ArrayAdapter should work fine. Just use the debugger, and check what data you actually pass to the adapter. -- Kostya 19.03.2011 15:12, Alaeddine Ghribi пишет: In fact i have 2 edittbox and other one to show the result, then storing

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Syed Rakib Al Hasan
now, what do you suggest i should do... please help me out here i have been struggling with this thing for the past 2 days stackOverflow isn't coming out to be helpful either. PLEASE PLEASE PLEASE help me out on this.

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Syed Rakib Al Hasan
here is the discussion on the same topic at stackoverflow.comhttp://goo.gl/b7slO -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Mark Murphy
On Sat, Mar 19, 2011 at 9:03 AM, Syed Rakib Al Hasan syed.rakib.al.ha...@gmail.com wrote: here is the discussion on the same topic at stackoverflow.com And your answer is now on the same topic at stackoverflow.com: Your keytool appears to be from the GNU Compiler for Java. Android requires the

[android-developers] Re: draw text with html format inside a rectangle

2011-03-19 Thread Fina Perez
Hi! Thanks for your answer. For my purpose, I just need the tags you mentioned. The problem is that when I send the text to the rectangle, it loose the format. I do something like: CharSequence myString; //it has for example bHello/b world //I dont know if this is correct myString =

[android-developers] Re: (JSON) Download fails in 2.1 but works in 2.2

2011-03-19 Thread Stephan Wiesner
Solved it by using: /** * This seems to work in both Android 2.1 and 2.2 */ public static String loadStream(String link) throws Exception { URL url = new URL(link); Log.d(TAG, Loading from URL= + url); InputStream

[android-developers] Re: Display a ListView without a TextView

2011-03-19 Thread Alaeddine Ghribi
Sorry but how to do it with my instructions ? ListView L = (ListView) findViewById(R.id.lv); L.setAdapter(new ArrayAdapterString(this, R.layout.list_item, s[0])); log.d(..) ? Thanks. On 19 mar, 13:42, Kostya Vasilyev kmans...@gmail.com wrote: Ah. No, if you always display the entire data

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Syed Rakib Al Hasan
On Saturday, March 19, 2011 7:08:26 PM UTC+6, Mark Murphy (a Commons Guy) wrote: Try using the keytool from a supported Java environment. how do i do that -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Mark Murphy
On Sat, Mar 19, 2011 at 9:20 AM, Syed Rakib Al Hasan syed.rakib.al.ha...@gmail.com wrote: On Saturday, March 19, 2011 7:08:26 PM UTC+6, Mark Murphy (a Commons Guy) wrote: Try using the keytool from a supported Java environment. how do i do that I'd start by installing a supported Java

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Syed Rakib Al Hasan
On Saturday, March 19, 2011 7:08:26 PM UTC+6, Mark Murphy (a Commons Guy) wrote: Try using the keytool from a supported Java environment. how do i do that can you please help me with providing some steps on how to get such a keytool? -- You received this message because you are

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Syed Rakib Al Hasan
On Sat, Mar 19, 2011 at 7:24 PM, Mark Murphy mmur...@commonsware.comwrote: I'd start by installing a supported Java environment. well, I believe i do have that what exactly do you mean by a * SUPPORTED* java environment? I have the Sun-Java-6 installed in my Linux Ubuntu. how do i use

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Mark Murphy
On Sat, Mar 19, 2011 at 9:29 AM, Syed Rakib Al Hasan syed.rakib.al.ha...@gmail.com wrote: On Sat, Mar 19, 2011 at 7:24 PM, Mark Murphy mmur...@commonsware.com wrote: I'd start by installing a supported Java environment. well, I believe i do have that what exactly do you mean by a

Re: [android-developers] PendingIntent, Service and AsyncTask.

2011-03-19 Thread Mahavir Jain
Thanks for time. Very silly mistake, i just forgot the restore the Facebook session. Regards, Mahavir On Sat, Mar 19, 2011 at 5:25 PM, Kostya Vasilyev kmans...@gmail.com wrote: Mahavir, You should use the debugger to find out what happens in FBQueryAsyncTask.java on line 50. The next

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Syed Rakib Al Hasan
thanks man.. i have found my solution by using the keytool from the Java6 bin directory. and it has worked in a snap. however, to understand this thing better.. seeing from the link you suggested i have tried the following in my terminal and this is what i found

[android-developers] Re: diffrence b/w sdk vesiron 8 10

2011-03-19 Thread rishabh agrawal
PLZ REPLY On Mar 19, 3:20 pm, rishabh agrawal android.rish...@gmail.com wrote: in the sdk version 8 ,back button also given by emulator but version 10 the emulator not give back button,actully i have not  use any android mobile.so when i developed apps for version 10 then how to call back

[android-developers] Re: Copy/Paste

2011-03-19 Thread perumal316
Hi Murphy, Where should I have the javascript method which I want to execute or load using loadURL()? It should be within the Android application? Regards, Perumal On Mar 17, 11:57 am, Mark Murphy mmur...@commonsware.com wrote: On Thu, Mar 17, 2011 at 11:26 AM, perumal316 perumal...@gmail.com

Re: [android-developers] Re: diffrence b/w sdk vesiron 8 10

2011-03-19 Thread Mark Murphy
On Sat, Mar 19, 2011 at 9:58 AM, rishabh agrawal android.rish...@gmail.com wrote: PLZ REPLY Please in English is spelled please, not PLZ. On Mar 19, 3:20 pm, rishabh agrawal android.rish...@gmail.com wrote: in the sdk version 8 ,back button also given by emulator but version 10 the emulator

Re: [android-developers] Re: Display a ListView without a TextView

2011-03-19 Thread Kostya Vasilyev
Use the debugger and verify that the values in s[0] are what they should be. If not, find out why and fix it. In addition to the above, I think you're setting the adapter twice - first directly in onCreate, then from a method called from onCreate. This should not be necessary. -- Kostya

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Mark Murphy
That may be a bug in the Ubuntu update-java-alternatives, then. It should fix up all those references. I use Ubuntu, but I do not have GCJ installed, so I get the right keytool by default. You can either: -- remove GCJ, if you are not otherwise using it, and update-java-alternatives again --

[android-developers] Several Overlays on Mapview

2011-03-19 Thread CJ
Hi guys, I am pretty new to Android and have a problem. I am working on a navigation app and found a source I am working with for getting a route by start and end location (here: http://code.google.com/p/j2memaprouteprovider/w/list). Now I am trying to add several overlays like circles or even

[android-developers] Several Overlays on Mapview

2011-03-19 Thread CJ
Hi guys, I am pretty new to Android and have a problem. I am working on a navigation app and found a source I am working with for getting a route by start and end location (here: http://code.google.com/p/j2memaprouteprovider/w/list). Now I am trying to add several overlays like circles or even

[android-developers] Re: diffrence b/w sdk vesiron 8 10

2011-03-19 Thread Lance Nanek
Are you saying you can't press the back button on some emulator configurations? I see back buttons on the default emulator skin for API 8 and 10. Maybe you are using a different skins? Regardless, you should just be able to press ESC key to send the back button as per:

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-19 Thread Syed Rakib Al Hasan
@MarkMurphy - thank you so very much.. things are making much more sense now. so... in case anyone is having any SIMILAR kind of problem with the keytool.. here is what i wrote down summarizing all the findings and help from you guys.

[android-developers] Re: Display a ListView without a TextView

2011-03-19 Thread Alaeddine Ghribi
This this the necessary code: public class Saves extends Activity { private Context context; protected String[][] s; protected String fileDir; protected Activity activity; private static AlertDialog alert_reset; public void updatelv(Activity

[android-developers] Re: How many of you are creating promotional videos for your app?

2011-03-19 Thread Lance Nanek
Whatever you do, don't record with an HTC Evo 4G in the dark. That was my first attempt at a video and it came out pretty ugly: http://www.youtube.com/watch?v=r0NMcEfeLLU I'm getting slightly better. Here's a webcam and lots of light: http://www.youtube.com/watch?v=9GfJfFZejU8 On Mar 17, 5:34 

Re: [android-developers] Re: Display a ListView without a TextView

2011-03-19 Thread Kostya Vasilyev
19.03.2011 18:05, Alaeddine Ghribi пишет: I tried making Log.d(carburant,s[0]), i have an error message: The method d(String, String) in the type Log is not applicable for the arguments (String, String[]) Right, s[0] is an array of strings, you can't log it with a single statement like this

[android-developers] Refresh previous activity on Back Button Press

2011-03-19 Thread Laxmi Verma
Hi All, I am creating an android application and want to reload the previous activity after pressing back button. Currently it is not reloading the previous activity and just showing the data from the history. Please help in how to reload or refresh the previous activity again. Thanks Regards,

[android-developers] Re: Display a ListView without a TextView

2011-03-19 Thread Alaeddine Ghribi
Sorry Kostya but i searched for how to debug an array of string in this 3 links ad others and i can't find an example(i used often debugging but just in a simple variables). On 19 mar, 16:20, Kostya Vasilyev kmans...@gmail.com wrote: 19.03.2011 18:05, Alaeddine Ghribi пишет: I tried making

[android-developers] Re: Copy/Paste

2011-03-19 Thread perumal316
This could be possible using the JavaInterface method. But I don't want to change the backend. Is it possible to write a javascript method in Android and load that in using loadURL()? Or include the .js file within the Android project and make reference to it? Regards, Perumal On Mar 19, 10:03 

[android-developers] Re: Display a ListView without a TextView

2011-03-19 Thread Alaeddine Ghribi
I tried this but i have a FC: for (int i = 0; i s.length; i++) { Log.d(Saves,s[0][i]); } On 19 mar, 16:40, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Sorry Kostya but i searched for how to debug an array of string in this 3 links ad others and i

[android-developers] How to receive a Notification for a new installed application

2011-03-19 Thread argongold
Hi, My application keep a data base for currently installed application on device and I want to update this database once a new application is installed. How I should listen for this event? Regards, argongold -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: No camera changes in 2.3.3 but camera apps break going from 2.3 to 2.3.3.

2011-03-19 Thread Streets Of Boston
I've not seen any regressions in my camerap app (camera module of Snap FX) when my Nexus One was upgraded to 2.3.3. I do set and retrieve camera parameters and such and it seems to work fine. -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] How to receive a Notification for a new installed application

2011-03-19 Thread Justin Anderson
http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_ADDED Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Mar 19, 2011 at 10:09 AM, argongold argongol...@gmail.com wrote: Hi, My application keep a data base for

[android-developers] Re: Double press home button side effect...

2011-03-19 Thread Kevin TeslaCoil Software
Android gives priority to the default Home application, to prevent it from being removed from memory. Launchers require lots of memory. Without this protection there is a good chance the actual launcher will be killed and need to reload, which is slow and the user sees the widgets redraw on the

Re: [android-developers] Refresh previous activity on Back Button Press

2011-03-19 Thread Justin Anderson
Use the onResume() method to do what you need to do to refresh... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Mar 19, 2011 at 9:35 AM, Laxmi Verma laxmiverma.andr...@gmail.comwrote: Hi All, I am creating an android application and want to

[android-developers] Re: when to (NOT) use fragments

2011-03-19 Thread Streets Of Boston
You're right. And you shouldn't put any possible sub-division of a screen into a Fragment. But if you plan to have your app support both regular/large and extra-large screens and want to have tablet-specific layouts (extra-large), then Fragments are an excellent way to go, enabling to re-use

Re: [android-developers] Re: Copy/Paste

2011-03-19 Thread Mark Murphy
On Sat, Mar 19, 2011 at 11:44 AM, perumal316 perumal...@gmail.com wrote: This could be possible using the JavaInterface method. But I don't want to change the backend. Is it possible to write a javascript method in Android and load that in using loadURL()? Yes. That is what I suggested. This

Re: [android-developers] Re: Display a ListView without a TextView

2011-03-19 Thread Kostya Vasilyev
The loop condition should be: for ( i s[0].length ; ... ) As for debugging: Eclipse has a panel that shows local variables, which are updated as you step through the code. Once you're in the Debug perspective, use the menu bar: Window - Show View - Variables. You can expand arrays

Re: [android-developers] Refresh previous activity on Back Button Press

2011-03-19 Thread Streets Of Boston
Yep, and if you only want to refresh when coming back from an activity that was started by your original activity (startActivityForResult), implement onActivityResult callback as well. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Patrick
Hallo! I'm suffering again a layout issue. My requirnments are: * header which is always visible * scrollview containing a table (with 2 edittexts (single line) and a edittextfield, that is multisline and should fill up all the rest of the screen (except a button at the bottom of the screen).

Re: [android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Kostya Vasilyev
If it's the view I think it is, try setting its height to fill_parent, and either get rid of its enclosing TableRow, or set its height to fill_parent as well. And layout_span=4 seems excessive - I don't see any rows with 4 columns in your layout. -- Kostya 19.03.2011 19:31, Patrick пишет:

Re: [android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Patrick
Unfortunately didn't work. I tried setting a * android:layout_height=fill_parent* to both, the table row and the EditText itself. However there was no change... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Refresh previous activity on Back Button Press

2011-03-19 Thread Laxmi Verma
Hi, Can you please provide some code example on startActivityForResult for back button refresh problem. Using onResume() method is not solving this problem. The reason is I am having a list item activity. From there I am calling List Item Body Activity. List Item Body Activity contains

Re: [android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Kostya Vasilyev
What happens if you get rid of that last TableRow, so that the EditText is directly inside the TableLayout? 19.03.2011 20:33, Patrick ?: Unfortunately didn't work. I tried setting a /android:layout_height=fill_parent/ to both, the table row and the EditText itself. However there was no

Re: [android-developers] Re: How is your sales model changing with the introduction of Android 3.0 and tablets, or is it?

2011-03-19 Thread Chris Stewart
Anyone have any comments on this quote from me? I do think it's important to note that if you follow approach #1, users that purchased your app will still have access to it on the tablet, it just won't be tailored to that device's experience. I'm not sure that asking them to pay for the

Re: [android-developers] Edittext fill up space inside scrollpane and releative layout

2011-03-19 Thread Patrick
Thanks that did the trick. I never thought of putting a EditText directly into TableLayout. But it really worked. Thanks for your help... -- 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] about android application

2011-03-19 Thread kajal patil
Hi All, I developed an android application.I want to send http request from my android application on button click to servlet in eclipse.But I am not able to send http request to my servlet from my android application.I have searched a lot but i didn't get any correct code.Can u please give me

Re: [android-developers] about android application

2011-03-19 Thread Ranveer
you need to configure port to call localhost in emulator or host on any http (with other than local ip). On Saturday 19 March 2011 11:51 PM, kajal patil wrote: Hi All, I developed an android application.I want to send http request from my android application on button click to servlet in

Re: [android-developers] about android application

2011-03-19 Thread Dalvinder Singh
//open stream on URL InputStream inputStream = null; try { URLConnection urlConnection = url.openConnection(); urlConnection.setConnectTimeout(value); // here value is an int. value urlConnection.setReadTimeout(value1); // here value1 is an int. value

[android-developers] Re: draw text with html format inside a rectangle

2011-03-19 Thread lbendlin
I thought you are using a textview. I don't know if the canvas actually supports it. do something like myTextView.setText(Html.fromHtml(myHtmlString)) by the way, I found the list of supported tags: •br •p •div •em •b •strong •cite •dfn •i •big •small •font •blockquote •tt •monospace •a •u

Re: [android-developers] Re: draw text with html format inside a rectangle

2011-03-19 Thread Kostya Vasilyev
Fina, TextView draws text using this: http://developer.android.com/reference/android/text/Layout.html - note the draw() method Specifically, it uses this subclass, which may be only necessary for editing (not just drawing):

[android-developers] Re: Install Adobe AIR Runtime on emulator?

2011-03-19 Thread PatternMusic
Last I tried this (with the emulator running) just run adb install -r pathToRuntime/Runtime.apk where pathToRuntime/Runtime.apk is the path and name of the current AIR runtime. Runtime.apk should be included with the AIR 2.5+ SDK download. Try your question here:

  1   2   >