[android-developers] Re: Problem with Dialog theme when launching from another activity

2009-08-28 Thread ANKIT SOMANI
Thanks Niko, Yes I think that was the problem. It worked for me that way. Regards ~Ankit Somani 2009/8/27 niko20 nikolatesl...@yahoo.com Use the handler class with a postDelayed call on it, and in the function the handler calls it will look like this: private Runnable ShowHelpFirstTime

[android-developers] Re: Problem Using Jar File

2009-08-28 Thread Atif
Thanks Mark, But my jar file is referring number of layouts (about 10) and these layouts contains number of ids (about 100). It is difficult to pass so many ids as parameters. We also try to include the R file in jar and in code we refer this R file as com.mypackage.R.layout.* and

[android-developers] Re: how to build adb.exe for windows.

2009-08-28 Thread Kyo Yin
old framework of adb in target === means i don`t use the composite driver in target if the host is ubuntu.you know, before composite gadget driver, the adb is a single gadget driver(kernel 2.6.25). kernel 2.6.29 add a composite gadget driver, mass storage and adb are the functions of this

[android-developers] Apn Switching to default

2009-08-28 Thread santosh kumar
Hi, when ever Apn Swithed to default, if already one data application is running with the specified APN, Does it will wait up to that data application ends? or it will close that Data application also? How can we set our Specified APN from the application? Thanks Santosh.

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2009-08-28 Thread Prakash Vel
Thanks for the Reply on how to go about trying on Command Line using the DDMS.Would dig into the framebufer_service.c for more clarity. Thanks to others too for their input on it Regards Prakash Vel On Aug 27, 10:21 pm, Yusuf Saib (T-Mobile USA) yusuf.s...@t- Mobile.com wrote: DDMS sends a

[android-developers] Re: Is the limit of memory heap only 6M?

2009-08-28 Thread Ramesh
Even after trying these methods i am getting the same error. The issue is in my application i am trying to load lots of images and when i navigate from one view to other, it still increases the memory. i.e. it's not freeing up / optimizing the memory which is now unused. Any idea how to deal

[android-developers] How send DTMF in android?

2009-08-28 Thread Gulfam
Hi all, I am facing a problem on sending DTMF in android. I am sending DTMF in this format tel:+15187127050,9563547896# Its working fine on G1 but when i install the app on HTC Hero /HTC Magic its dispalying error message like this (Invalid MMI) Any one can help me regarding this. Thanks in

[android-developers] Re: USIM and ISIM Support

2009-08-28 Thread santosh kumar
Hi Suziki, Thanks for quick reply. Can you please tell me where can i find in Android Source Code? Thanks Santosh On Aug 28, 9:28 am, suziki suziki790...@gmail.com wrote: Hi santosh kumar:I think using API mapping RIL /AT command (CPIN) for check is sim card using CRSM = CLA(0x00=3G) check

[android-developers] Re: Problem Using Jar File

2009-08-28 Thread Mark Murphy
Thanks for your reply.Right now we are not using the R file of that project whose jar file is created.Jar file does not contains R files of that project.So R.layout and R.id's are created in the client project where i am using jar file. And that is precisely your problem, if the

[android-developers] Re: Can an application get event that it is installed?

2009-08-28 Thread Mark Murphy
In application, I want to do some operations when it is installed, how can I implement this feature? You can't, short of modifying the Android firmware. The user must run your application the first time. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books:

[android-developers] Re: Monitoring cpu charge/usage : is it possible?

2009-08-28 Thread DaminouU
Thanks you very much !! That's what I was searching for =D D. On Aug 27, 8:52 pm, Yusuf Saib (T-Mobile USA) yusuf.s...@t- Mobile.com wrote: Just to be clear, this does not necessarily give you all the CPU- related data you're looking for, but it's all you can get programmatically. Yusuf

[android-developers] Re: Ressource Management / Priorization of applications?

2009-08-28 Thread salza
Maybe I misunderstand something. Let's say thread A of process A has the priority very important and thread B of process B has the priority not so important. In Android every process has its own Dalvik VM instance - so thread A is in another instance than thread B. Therefor the priority of the

[android-developers] Load of applications in RAM

2009-08-28 Thread salza
Does someone know when application are loaded into RAM? I think I have do differentiate between home applications / built-in applications like the phone application and application that are not needed immediately after boot-up. So are these different types of applications loaded into RAM at

[android-developers] Re: Drawable

2009-08-28 Thread quill
Use a map to map your key and drawable id. On Aug 28, 12:48 pm, Sasi Kumar sasikumar.it1...@gmail.com wrote: my code is:- Drawabel partlycloud=res.getDrawable(R.drawable.a65_color_31); I have more images like a65_color_31 a66_color_31 a67_color_31 a68_color_31 a69_color_31

[android-developers] CPU bandwidth control for threads/apps

2009-08-28 Thread salza
Does Android provide a facility to ensure certain applications and/or threads receive a minimum of CPU bandwidth (and other apps/threads are prevented from consuming all the CPU bandwidth)? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Toggling clicked item icon in gridView

2009-08-28 Thread RickardF
I found from looking at the stack trace that only GridView (view).measure() gets called when I call myGrid.requestLayout() (see first code snippet) but never GridView(view).layout(). Is this a bug or how do I force layout to be done on my gridview? (I've tried myGrid.forceLayout()...) Thanks,

[android-developers] Re: Camera preview

2009-08-28 Thread Pavel
Hey tinyang, Could you please share the code you use for picture taking? I am working on the same thing and having weird issues with it - it does not take full sized pictures for unknown reason... And yeah, sorry, no answer to your question from my side at the moment. Pavlo On Thu, Aug 27,

[android-developers] Re: Load of applications in RAM

2009-08-28 Thread Mark Murphy
I think I have do differentiate between home applications / built-in applications like the phone application and application that are not needed immediately after boot-up. So are these different types of applications loaded into RAM at boot- up or when they are first activated or when the

[android-developers] Re: Is the limit of memory heap only 6M?

2009-08-28 Thread Ramesh
08-28 11:16:26.785: ERROR/AndroidRuntime(1433): Uncaught handler: thread main exiting due to uncaught exception 08-28 11:16:26.825: ERROR/AndroidRuntime(1433): java.lang.OutOfMemoryError: bitmap size exceeds VM budget 08-28 11:16:26.825: ERROR/AndroidRuntime(1433): at

[android-developers] Re: Mapview deprecated

2009-08-28 Thread Zod
Hi! To achive the same functionality use this code instead: mapView = (MapView) findViewById(R.id.MapView); mapView.setBuiltInZoomControls(true); As a side effect you don't need to put the mapview in a relative layout with a view for the zoom controls. Just put the mapview anywhere in your

[android-developers] playing sound on active call

2009-08-28 Thread Honest
I am playing one audio file when call arrives so the caller can receive it at other side but the issue is yet the opposite caller is not able to listen it what could be wrong in it. Can some one tell me what can be the issue in it ? --~--~-~--~~~---~--~~ You

[android-developers] Re: Monitoring cpu charge/usage : is it possible?

2009-08-28 Thread DaminouU
Thanks you very much !! That's what I was searching for =D D. On Aug 27, 8:52 pm, Yusuf Saib (T-Mobile USA) yusuf.s...@t- Mobile.com wrote: Just to be clear, this does not necessarily give you all the CPU- related data you're looking for, but it's all you can get programmatically. Yusuf

[android-developers] Re: Mapview deprecated

2009-08-28 Thread sweet
thanks for your answer Zod I've done what you say but there are an other problem but i can't find it with the debug mode. I think it's in this part of code: public void onCreate(Bundle savedInstanceState) { linearLayout = (LinearLayout) findViewById(R.id.zoomview); mapView =

[android-developers] Re: My sub activity doesn't die...

2009-08-28 Thread Charles
whaoo your command give me a large report. Do you know how to avoid the restarting of my activity B, i close it with finish(); adb shell dumpsys activity : aProcessRecord{438b96e8 2966:com.android.mms/10009} class=com.android.mms.MmsApp manageSpaceActivityName=null

[android-developers] Android Animation. How to remove flashing effect ?

2009-08-28 Thread LD
Hi, I am still trying to resolve task with animation flashing. I use two ImageViews to create animation of moving ball. The animation has following scenario: ball is moving from left to right (TranslateAnimation is started). ball stops (TranslateAnimation reached the end) in animation listener

[android-developers] Re: How to capture and save the image of Google Map(MapView)...

2009-08-28 Thread idoun
Sorry. My solution is useless. I misunderstood the processes of DDMS and maps library. You don't have to inherit MapView class and override some methods of that class. Transfering image file from an emulator or a phone to my dev computer using DDMS takes long time, about one more minute. So, I

[android-developers] Re: Problem Using Jar File

2009-08-28 Thread Mark Murphy
But my jar file is referring number of layouts (about 10) and these layouts contains number of ids (about 100). It is difficult to pass so many ids as parameters. You can try Resources#getIdentifier(). If you get this working, please cache your results, as these lookups are apparently

[android-developers] advice sought - grid of thumbnails that do something when you click on them.

2009-08-28 Thread sdphil
i want to create a scrollable grid of thumbnail images with text underneath each thumbnail. when you click on one it will do something. should i use a GridView, a multi-column ListView, a TableLayout, or other?? thoughts? tia. --~--~-~--~~~---~--~~ You received

[android-developers] Mapview deprecated

2009-08-28 Thread sweet
Hi i've tested to do the tuto HelloMapView ti the URL:http:// developer.android.com/intl/fr/guide/tutorials/views/hello-mapview.html and when i wrote the step 9: linearLayout = (LinearLayout) findViewById(R.id.zoomview); mapView = (MapView) findViewById(R.id.mapview); mZoom = (ZoomControls)

[android-developers] Re: advice sought - grid of thumbnails that do something when you click on them.

2009-08-28 Thread sdphil
http://androidsamples.blogspot.com/2009/06/how-to-display-thumbnails-of-images.html uses a GridView - but I don't see text under each photo... On Aug 28, 1:00 am, sdphil phil.pellouch...@gmail.com wrote: i want to create a scrollable grid of thumbnail images with text underneath each

[android-developers] Re: Is the limit of memory heap only 6M?

2009-08-28 Thread Mark Murphy
Even after trying these methods i am getting the same error. The issue is in my application i am trying to load lots of images and when i navigate from one view to other, it still increases the memory. i.e. it's not freeing up / optimizing the memory which is now unused. Any idea how to

[android-developers] TextView Movement Method Issue

2009-08-28 Thread skink
hi, when TextView's movement method is LinkMovementMethod i'm observing weird behavior. i have TextView inside ScrollView. TextView has some links (ClickableSpans) and its text is quite large so it doesn't fit the TextView's area. when i use DPAD down/up arrows TextView jumps on links,

[android-developers] Re: Problem Using Jar File

2009-08-28 Thread Atif Gulzar
Thanks Mark, It works, I will look into it how to optimize it. -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Fri, Aug 28, 2009 at 1:52 PM, Mark Murphy mmur...@commonsware.comwrote: But my jar file is referring number of layouts (about 10) and these layouts contains number

[android-developers] unable to get android:windowNoTitle to work when it's a style...

2009-08-28 Thread sdphil
AndroidManifest.xml === ... activity android:name=.MyScreen style=@style/my_window/ ... res/values/styles.xml resources style name=my_window item name=android:windowNoTitletrue/item item name=android:background@drawable/player_background/

[android-developers] Re: Mapview deprecated

2009-08-28 Thread sweet
I've done what you say mark but i've already the same error the mistake should not be here i will pass you the full code java: public class Map extends MapActivity { LinearLayout linearLayout; MapView mapView; ZoomControls mZoom; @Override public void

[android-developers] Re: How i can pass my String to Another page

2009-08-28 Thread Panut Sunyakorn
You can use SharedPreferences or set static variable for solve this problem. 2009/8/28 ragavendran s sraghav.ra...@gmail.com: Hi ,   I am new to Android development.I want to transfer transfer my String(username) to another page. i m having some problems on it...so wil u please tel

[android-developers] How i can pass my String to Another page

2009-08-28 Thread ragavendran s
Hi , I am new to Android development.I want to transfer transfer my String(username) to another page. i m having some problems on it...so wil u please tel me the answer. with regards S.Raghav --~--~-~--~~~---~--~~ You received this message because

[android-developers] Is it possible to add custom menu items in the native Contact list ?

2009-08-28 Thread Lex
Hi everyone, Is it possible to add custom menu items in the native Contact list ? I mean when the user selects a user from his contact list, is it possible to add a custom action there ? ( for those who are familiar with Blackberry development, something similar to the MenuItem class ) Thank

[android-developers] Re: Overlay ConcurrentModificationException (continued)

2009-08-28 Thread Lex
Zsolt, the methods are defined as follows: - receiveMessage() - Service Class - showTrafficMessages() - Activity Class - updateOverlay - ItemizedOverlay Class The receiveMessage() method is called in the run method of the receiving thread object. I see now that other methods are then executed

[android-developers] Re: Mapview deprecated

2009-08-28 Thread Mark Murphy
thanks for your answer Zod I've done what you say but there are an other problem but i can't find it with the debug mode. I think it's in this part of code: public void onCreate(Bundle savedInstanceState) { linearLayout = (LinearLayout) findViewById(R.id.zoomview); mapView =

[android-developers] Re: Is it possible to add custom menu items in the native Contact list ?

2009-08-28 Thread Mark Murphy
Is it possible to add custom menu items in the native Contact list ? Unfortunately, no. Android has a framework for this (addIntentOptions()), but last I checked, nothing in Android uses it. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books:

[android-developers] How can i transfer username to next page by Intent:

2009-08-28 Thread ragavendran s
How can i transfer username to next page by the Intent: package add.sam1; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import

[android-developers] How to customize the lock screen?

2009-08-28 Thread alucard20004
I'm building a custom Home app. I want to change the lock screen to match my theme. Forexample changing the wallpaper. What I see in the lock screen now is the default wallpaper. I've tried searching this forum but can't find the solution. Yet I found some apps on the market that can do this.

[android-developers] how to use shell command in Android app

2009-08-28 Thread tstanly
hi all, I want to use command like ls,mkdir,cd,./..etc, in the app, somebody says use Runtime class, Runtime.getRuntime().exec(ls); but there is nothing happen.. I also use logcat to observe, but have the same result. so could app use (linux) command? thanks!

[android-developers] Re: How i can pass my String to Another page

2009-08-28 Thread Mark Murphy
I am new to Android development.I want to transfer transfer my String(username) to another page. If by another page you mean another activity, use Intent#putExtra() to store the String in your Intent that you use to start the second activity, and use Intent#getStringIntent() in the

[android-developers] Re: How can i transfer username to next page by Intent:

2009-08-28 Thread Panut Sunyakorn
use startActivityForResult(intent) and implement onActivityResult(int requestCode, int resultCode, Intent data) method. startActivityForResult(new Intent(this, YouClass.class), LOGIN_REQUEST); protected void onActivityResult(int requestCode, int resultCode, Intent data) { if

[android-developers] Re: Mapview deprecated

2009-08-28 Thread Mark Murphy
I've done what you say mark Not completely. but i've already the same error the mistake should not be here i will pass you the full code java: public class Map extends MapActivity { LinearLayout linearLayout; MapView mapView; ZoomControls mZoom; You will note that

[android-developers] Can not access my own service

2009-08-28 Thread Lutz Schönemann
Hi, my current problem is to access my own service. The thing is I have 2 interfaces for my service and want to restrict one of them to applications that have a special permission. I have a service and an activity in one package. The application has that special permission but I always

[android-developers] Re: How i can pass my String to Another page

2009-08-28 Thread Lutz Schönemann
You also can put your string into the intents data bundle object if you are using intents to start your next page: Intent intent = new Intent(YourAction); intent.setExtras(Username, username); startActivity(intent); Am 28.08.2009 um 12:05 schrieb Panut Sunyakorn: You can use

[android-developers] How to call another class method.

2009-08-28 Thread Sasi Kumar
eSkyGuide.java public class eSkyGuide extends Activity implements Button.OnClickListener { public void homepage() { setContentView(R.layout.homepage); flight_schedule=(Button)findViewById(R.id.fschedule); flight_schedule.setOnClickListener(this);

[android-developers] Make some part of an image transparent: Cut a hole to see the background image

2009-08-28 Thread Raman
Hi All, I have a scenario at hand, for which I need a solution as soons as possible. Here is the problem statement: I need to show an image overlapped by some other image, 100%. The condition is that the picture in background should also be visible through the foreground picture but only

[android-developers] Re: How i can pass my String to Another page

2009-08-28 Thread Desu Vinod Kumar
HI go throught this link http://developer.android.com/guide/appendix/faq/commontasks.html#opennewscreen it vl be hwlpful for u 2009/8/28 Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de You also can put your string into the intents data bundle object if you are using intents to start

[android-developers] View with both text and progress bar

2009-08-28 Thread Deepak
I need to pass a view with both TEXT and a PROGRESS icon. can this be done with a single view.??? Here I can pass only single view , so looking for a view which can have both TEXT and PROGRESS ICON. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: AdSense Android - A Disappointed Developer's Rant

2009-08-28 Thread Photics
Hi, This story has a happy ending... somewhat :-) So, my Google AdSense account was reactivated. Although, my previous earnings were eliminated as invalid clicks. I received an email explaining the situation. Apparantly, AdSense for Content and Android Apps are not supposed to mix. How was I

[android-developers] Mobile Application Developers.

2009-08-28 Thread Sasi Kumar
http://groups.google.com/group/mobile-application-developers Join this group To share mobile application datas, ideas and doubts. Its only for mobile application developers. More Experience Guys are there to reply for free of costs. Thanks in Advance.

[android-developers] Re: Android Camera : My photo is completely black :-/

2009-08-28 Thread DaminouU
Can Nobody help me? On Aug 25, 7:44 pm, DaminouU dam.le...@gmail.com wrote: Hi, I am creating a little application where I use the Android Camera class. Everything seems to work but the result is a black picture. I think I forget to set a parameter. Do you have any ideas on which

[android-developers] Re: Mapview deprecated

2009-08-28 Thread sweet
I found it thanks again for your help ^^ On 28 août, 13:53, sweet junkybr...@gmail.com wrote: Just an other question How can i make an other itemized to switch the view (satelite view to map view) ??? On 28 août, 13:39, sweet junkybr...@gmail.com wrote: It's work very well ^^ Thanks a

[android-developers] Fullscreen IME problem

2009-08-28 Thread loctarar
Hello! I have some problems with custom editable views on devices that don't poses a hardware keyboard. Setting the device in landscape mode enables the fullscreen IME to show up. This one covers my custom view but instead provides it's on view on the top of the screen for preview (?). It

[android-developers] Re: mapview and list of images

2009-08-28 Thread Wouter
No one knows how to do this? On 20 aug, 11:39, Wouter wouterg...@gmail.com wrote: Hey, I want to make something like this: http://bto.cnet.com/i/bto/20081212/Loopt_270x675.jpg And specially the list of images at the bottom of the screen. How have they made this? Is it a listview with

[android-developers] Nice Opportunities for mobile application developers

2009-08-28 Thread Sasi Kumar
://groups.google.com/group/mobile-application-developers (use before the link http) Join this group. more experience professor to guide you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Mapview deprecated

2009-08-28 Thread sweet
Just an other question How can i make an other itemized to switch the view (satelite view to map view) ??? On 28 août, 13:39, sweet junkybr...@gmail.com wrote: It's work very well ^^ Thanks a lot guys On 28 août, 12:14, Mark Murphy mmur...@commonsware.com wrote: I've done what you say

[android-developers] How i get the Selected item from the list Adapter.

2009-08-28 Thread ragavendran s
i m a beginner for Android development How i get the Selected item from the list Adapter. for example i m having the code: Code: final Spinner spinner = (Spinner) findViewById(R.id.testSpinner); ArrayAdapterString adapter = new ArrayAdapterString(this,

[android-developers] Re: Mapview deprecated

2009-08-28 Thread sweet
It's work very well ^^ Thanks a lot guys On 28 août, 12:14, Mark Murphy mmur...@commonsware.com wrote: I've done what you say mark Not completely. but i've already the same error the mistake should not be here i will pass you the full code java: public class Map extends

[android-developers] Re: How to call another class method.

2009-08-28 Thread Lutz Schönemann
you need a reference to the class that contains the method you want to call. To access the mehtod homepage() inside the eSkyGuide from the class Weather, you need an instance of the eSkyGuide class inside the instance of the Weather class. for example: public class Weather extends

[android-developers] Re: How i can pass my String to Another page

2009-08-28 Thread Sasi Kumar
public static String username; s2.java private String df; df=s1.username; thats all!. On Aug 28, 2:22 pm, ragavendran s sraghav.ra...@gmail.com wrote: Hi ,   I am new to Android development.I want to transfer transfer my String(username) to another page. i m having some

[android-developers] Re: Fullscreen IME problem

2009-08-28 Thread loctarar
Fixed :). I read the doc in http://developer.android.com/reference/android/inputmethodservice/InputMethodService.html . I had to also implement the getExtractedText method. Sorry for wasting space on the group servers :P. On Aug 28, 3:19 pm, loctarar andrei.bu...@gmail.com wrote: Hello! I

[android-developers] Re: Make some part of an image transparent: Cut a hole to see the background image

2009-08-28 Thread Streets Of Boston
I don't understand the issue if you know how to make an image transparent. Make the foreground image transparent only in certain areas. E.g. for a photo-frame effect, make an image of a photo-frame and make the center of the image transparent. This image will then be your foreground image. To

[android-developers] Re: How i get the Selected item from the list Adapter.

2009-08-28 Thread Sasi Kumar
join the below group to discuss more http://groups.google.com/group/mobile-application-developers use like this lv=(ListView)findViewById(R.id.ListView01); lv.setChoiceMode(lv.CHOICE_MODE_SINGLE); lv.setAdapter(new ArrayAdapterString(this,

[android-developers] Re: View with both text and progress bar

2009-08-28 Thread Mark Murphy
I need to pass a view with both TEXT and a PROGRESS icon. can this be done with a single view.??? LinearLayout. RelativeLayout. TableLayout. And so on. All subclass android.view.View, and all would allow you to wrap a TextView and a ProgressBar (or ImageView or whatever) into a single View.

[android-developers] Re: Is the limit of memory heap only 6M?

2009-08-28 Thread Streets Of Boston
Examine your code. Check if you keep references to your bitmaps somewhere (e.g. caches). Clean up these references and call bitmap.recycle() on the bitmaps that you can let go. After a clean-up, call System.gc(). This should not be necessary, but i found it does actually help a little. Use as

[android-developers] Re: How to call another class method.

2009-08-28 Thread Sasi Kumar
eSkyGuide.this.methodName(); This one i tryed. but it is showing error. please give some other suggestion On Aug 28, 5:12 pm, Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de wrote: you need a reference to the class that contains the method you want to   call. To access the mehtod

[android-developers] Re: Ressource Management / Priorization of applications?

2009-08-28 Thread Streets Of Boston
*Why* do you need this? What critical code do you need to execute? Maybe there is another solution... maybe not... If you could make some code 'critical', what if other processes tried to do the same? On Aug 28, 3:00 am, salza floriansa...@googlemail.com wrote: Maybe I misunderstand something.

[android-developers] Re: How i get the Selected item from the list Adapter.

2009-08-28 Thread Martin Obreshkov
You can register public abstract void onItemSelected (AdapterView? parent, View view, int position, long id) and to retrieve the selected value from ArrayAdapter.getItem(int position) using the selected position as parameter. On Fri, Aug 28, 2009 at 3:35 PM, ragavendran ssraghav.ra...@gmail.com

[android-developers] Re: How to call another class method.

2009-08-28 Thread ragavendran s
I think u may use like this ...Intent to call another .java class if successs u reply to me...thanks weather.java public class Weather extends Activity implements Button.OnClickListener { Intent intent = new Intent(this, homepage.class); startActivity(intent); }

[android-developers] Re: advice sought - grid of thumbnails that do something when you click on them.

2009-08-28 Thread Streets Of Boston
GridView. And each item the GridView is a ViewGroup that contains an ImageView and a TextView. On Aug 28, 5:00 am, sdphil phil.pellouch...@gmail.com wrote: http://androidsamples.blogspot.com/2009/06/how-to-display-thumbnails-... uses a GridView - but I don't see text under each photo... On

[android-developers] In which layout it can easy to arrange the more number of editviewfield and textview.

2009-08-28 Thread ragavendran s
In which layout it can easy to arrange the more number of editviewfield and textview.. for example to create New user page... can u tel me pls... thanks, with regards, Raghav.S --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Is there a way to get icons for apps on the Market?

2009-08-28 Thread happydroid
It must be possible to do through a request to the Market, because websites like www.cyrket.com or www.androlib.com show the icons of the apps. On Aug 22, 6:19 pm, craiget crai...@gmail.com wrote: Just wondering if it is possible to get icons for applications on the Android Market? For

[android-developers] Re: Overlay ConcurrentModificationException (continued)

2009-08-28 Thread Lex
So, this is what I have now: public void receiveMessage(BinaryMessage binaryMsg) { ... if ( validateMessage(binaryMsg) ) { final TrafficMessage message = createMessage(binaryMsg);

[android-developers] Async Task Problem

2009-08-28 Thread glory
Hi All, I am facing the problem of timelag between execution of onPreExecute() and execution of doInbackground(String... params).On postExecute() of the Asyc task I am starting a service. First time when I am executing the async task it is working fine but If I again executing the same Async

[android-developers] Re: How to kill background applications?

2009-08-28 Thread Hong
Thanks Hackborn! It works really well! On Tue, Jul 14, 2009 at 9:51 PM, Dianne Hackborn hack...@android.comwrote: This is what the system's manage applications force stop button uses:

[android-developers] Re: How to call another class method.

2009-08-28 Thread Roman ( T-Mobile USA)
I am assuming that you want to get the activity eSkyGuide in the foreground, correct? In this case as ragavendran suggested, call an Intent to start up the new activity. Something like Intent eSkyGuideIntent = new Intent() ; eSkyGuideIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

[android-developers] Re: How i get the Selected item from the list Adapter.

2009-08-28 Thread Martin Obreshkov
Thanks a lot it's really very simple and clear using ContextMenu On Fri, Aug 28, 2009 at 3:45 PM, Sasi Kumarsasikumar.it1...@gmail.com wrote: join the below group to discuss more http://groups.google.com/group/mobile-application-developers use like this                

[android-developers] Re: Force Close pop up when uncaught exception during background service

2009-08-28 Thread Streets Of Boston
That is very handy for bug-processing. But Dianne's answer is better :=) Fix the issue that throws the exception causing the thread to exit and the activity for force-close. Or handle the exception by catching and dealing with it. On Aug 28, 1:55 am, dweebo dwe...@gmail.com wrote: I was

[android-developers] Re: Move focus to top of activity on create

2009-08-28 Thread jsdf
Thanks for the response. The answer turned out to be less intuitive than I thought. Instead of: ScrollView main = (ScrollView) findViewById(R.id.main); main.scrollTo(0,0); I used: final ScrollView main = (ScrollView) findViewById(R.id.main); main.post(new Runnable() {

[android-developers] Re: how to use shell command in Android app

2009-08-28 Thread Chris Stratton
On Aug 28, 5:54 am, tstanly tsai.sta...@gmail.com wrote: I want to use command like ls,mkdir,cd,./..etc, in the app, somebody says use Runtime class, Runtime.getRuntime().exec(ls); but there is nothing happen.. ls may not be a great choice as it's not going to have any way to display

[android-developers] Re: buttons on mapview overlay

2009-08-28 Thread Tony Wong
Thanks for your reply Zsolt, but the elements in your example don't appear to scroll with the map. The behaviour I want is seen in Google Maps, when the user scrolls around the map, the next and previous buttons are anchored to a specific OverlayItem. To state in another way, I want to have

[android-developers] Eclipse: Debug Tab - Dead Debug Sessions.

2009-08-28 Thread sdphil
Using Eclipse - in the Debug tab, when you debug, a session appears there. When you stop, and hit the Double X's it goes away. (sorry for all the technical jargon -- ha ha ha ha ha). Anyway, when your project has errors and you attempt to debug, a dialog pops up and says Your project contains

[android-developers] Re: Force screen orientation and avoid destroy call

2009-08-28 Thread Derek
Another question: android:screenOrientation=portrait locks the screen orientation, that's fine. But it is possible to do the same in Activity source code ? (i.e. removing the screenOrientation in AndroidManifest.xml). I've tried the following code to keep the initial orientation but it fails.

[android-developers] Re: some way to check available activities

2009-08-28 Thread Balwinder Kaur (T-Mobile USA)
hmm...android.content.ActivityNotFoundException is a java.lang.RuntimeException, and runtime exceptions are not enforced by the compiler to be caught, but yes, they can be caught. Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in

[android-developers] Re: User defined application properties

2009-08-28 Thread Balwinder Kaur (T-Mobile USA)
The android.preference package maybe a good candidate for what you wish to do. http://developer.android.com/reference/android/preference/package-summary.html Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those

[android-developers] Other home applications breaking our app

2009-08-28 Thread for android
Hi, Our application is being used by many users,unfortunately,when they start the app with some desktop applications the application does not open at all.This make users think that our app is buggy.Has this behaviour been noticed by other developers.This is really bad for us. Our app works

[android-developers] Re: Can not access my own service

2009-08-28 Thread Roman ( T-Mobile USA)
Only for testing purpose, instead of using your own created permission, use an already defined system permission and check whether your code works fine. If yes, you know that there are some problems with how you define and expose your own permission. -- Roman Baumgaertner Sr. SW Engineer-OSDC

[android-developers] Re: how to pass an Object from one activity to another.

2009-08-28 Thread Balwinder Kaur (T-Mobile USA)
http://developer.android.com/guide/appendix/faq/framework.html#3 Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of

[android-developers] TextView Line Breaks

2009-08-28 Thread Rud
I am trying to insert line breaks into a string resource so they appear in a TextView. I put in \\n but all I get is \n appearing. Is there a setting I'm missing? Rud --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Other home applications breaking our app

2009-08-28 Thread Chris Stratton
On Aug 28, 1:11 pm, for android forandr...@gmail.com wrote: Hi, Our application is being used by many users,unfortunately,when they start the app with some desktop applications the application does not open at all.This make users think that our app is buggy.Has this behaviour been noticed

[android-developers] Re: how to use shell command in Android app

2009-08-28 Thread Dianne Hackborn
Keep in mind that shell commands are not part of the SDK. These commands will and do change between releases, with no predictability (for example different output, etc). And for all of the commands that are simple enough that they are less likely to change (such as mkdir), it is much more

[android-developers] Re: Force screen orientation and avoid destroy call

2009-08-28 Thread Dianne Hackborn
Just call setRequestedOrientation(). onConfigurationChanged() is a really bad place to do this though -- you'd typically do it in onCreate(). Note that the transition to your app will be much better if you can specify the orientation in the manifest, since that way the system knows what

[android-developers] Re: programatically detect foreground application/ screen?

2009-08-28 Thread Hong
You can use ActivityManager to query list of running tasks (getRunningTasks(int)) On Thu, Aug 20, 2009 at 2:22 AM, Chris Stratton cs07...@gmail.com wrote: Is there any way for a backfround task to programmatically detect or recognize by learned id which application or screen (different

[android-developers] Re: Home Screen Detection

2009-08-28 Thread Hong
ActivityManager : getRunningTasks(int) On Thu, Aug 27, 2009 at 6:24 PM, GodsMoon godsm...@gmail.com wrote: That might be enough info for my app. Which api are you looking at? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: My sub activity doesn't die...

2009-08-28 Thread Dianne Hackborn
Um, finish() closes and destroys the instance. There isn't a way around that, sorry. On Fri, Aug 28, 2009 at 1:42 AM, Charles canss...@gmail.com wrote: whaoo your command give me a large report. Do you know how to avoid the restarting of my activity B, i close it with finish(); adb shell

  1   2   3   >