Re: [android-developers] Problems with new ADT (14) library building

2011-10-24 Thread Marco Alexander Schmitz
Hi, I had the same problem with a library project. In fact I got a dalvic error 1 so that the toolchain couldnt work so that no R.java was created... My solution was to add thos line to the .classpath of the library project: Hope this helps. Greetings, Marco Am 25.10.2011 06:13 schrieb "Jeremy

Re: [android-developers] Re: Suspended Account - Please Help - Red Alert

2011-10-24 Thread Raghav Sood
BTW, shouting out on this list isn't going to help you out very much. The people you mentioned aren't on the market team. The market team is a rare species which has only recently started to make contact with us mere mortals. Thanks On Tue, Oct 25, 2011 at 6:10 AM, Zsolt Vasvari wrote: > So you

[android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Sunil Mishra
Thanks Robert and Mark, the suggestion given by Robert is working fine!! On Oct 25, 10:36 am, Mark Murphy wrote: > On Tue, Oct 25, 2011 at 1:27 AM, Sunil Mishra wrote: > > I want to check whether inbuilt media player is active and playing > > media or not. Any sample code for that? > > First, th

[android-developers] Re: Android Emulator internet connectivity Problem

2011-10-24 Thread Andriod Beginer
Hello manish Just Remove your DNS Server IP from LAN Settings. Internet works Automatically on your Emulator On Oct 21, 11:01 am, manish sandhan wrote: > I m new in android... > I m not able to connect my android emulator to internet neither from my app > nor from the android browser. > I ha

Re: [android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Mark Murphy
On Tue, Oct 25, 2011 at 1:27 AM, Sunil Mishra wrote: > I want to check whether inbuilt media player is active and playing > media or not. Any sample code for that? First, this is a list for development with the Android SDK. MediaPlayer is a class in the Android SDK. Referring to other things as "

[android-developers] Re: onCallStateChanged(int state, String number)

2011-10-24 Thread Sunil Mishra
Hi, i think for idle it will not give any phone number, just imagine how can u get phone no on a idle phone? For the off-hook mode you can catch the phone number into a variable when phone call state changes to phone ringing and then try working with the phone no. On Oct 24, 6:52 pm, ch wrote:

[android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Sunil Mishra
But doing so, will it create a new media player instance or it will be able to fetch the current ongoing session? I want to check whether inbuilt media player is active and playing media or not. Any sample code for that? On Oct 24, 8:42 pm, Studio LFP wrote: > You can't use MediaPlayer.isPlaying

[android-developers] How to set orientation programmatically without disabling activity transitions

2011-10-24 Thread Stefan Alder
We need to set the orientation of our app to reverse landscape. Unfortunately, this is only supported in api 9+, so as suggested by a Google engineer below, we need to set the orientation programmatically based on android.os.Build. 1) We've tried doing this in onCreate, but it prevents the activit

[android-developers] Types of mobile application

2011-10-24 Thread Manikandan M
Hi All, I am new android development i want to know what are the different ways to create mobile applications. 1. Native App 2. Using jquery mobile to create web app 3. Using webview is webview and jquery mobile are same and any other types we can create mobile app. Thanks Manikandan -- You

[android-developers] How to create Google map application and run?

2011-10-24 Thread venugopal reddy
Hi friends, How to create Google map application and run , is their any specification... Can i run Google map application direct in our emulator? Please help me Is it possible give me step by step by procedure -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Problems with new ADT (14) library building

2011-10-24 Thread Jeremy Statz
I have a large set of support classes contained in a library that's shared between about 40 projects, and since updating to the newest ADT (14) I'm having major problems with any classes involving UI. In particular these do things like create a color picker when you tap on a preference item, or di

Re: [android-developers] SMS is auto-replied in a loop.

2011-10-24 Thread Isaac Wesley
If I have got your question right, for your app to app method. You can store the first time value or I'd as a shared prefrences. In your second device. So if your second device gets a new or different I'd. You can stop the receive in device 2. (P.S you can set an auto incremental is for this) On Oc

[android-developers] Re: WallpaperService.Engine.onOffsetsChanged() gone in ICS?

2011-10-24 Thread Jeremy Statz
I've made a lot of live wallpapers, and this honestly made me break out into a cold sweat. Please tell me this isn't broken. It'll basically wreck the personalization category. :/ On Oct 24, 10:42 pm, Darren K wrote: > To clarify...Duarte's presentation, not Rubin. -- You received this messa

[android-developers] Re: WallpaperService.Engine.onOffsetsChanged() gone in ICS?

2011-10-24 Thread Darren K
To clarify...Duarte's presentation, not Rubin. -- 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+unsubsc

[android-developers] Android 3.2 and the emulator

2011-10-24 Thread Zsolt Vasvari
How can I "reserve" the bottom button bar's space using the emulator? In other words, on 3.2+ (or 3.1?), a 1280x800 screen is reported as having display metrics of 1280x752 or 1232x800 depending on the orienation, but I don't seem to be able to do this with the emulator, or at least I cannot find

[android-developers] Re: Will getFilesDir().getAbsolutePath() ever change?

2011-10-24 Thread RLScott
On Oct 24, 9:09 pm, Dianne Hackborn wrote: > Is this being saved in persistent storage somewhere? Yes. Strings are saved using prefs = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); ed = prefs.edit(); ed.putString(currentFolderKEY, relativeCurrentFolder); ed.comm

[android-developers] Re: Will getFilesDir().getAbsolutePath() ever change?

2011-10-24 Thread RLScott
On Oct 24, 9:09 pm, Dianne Hackborn wrote: > Is this being saved in persistent storage somewhere? Yes. Strings are saved using prefs = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); ed = prefs.edit(); ed.putString(currentFolderKEY, currentFolder); ed.commit(); -- Yo

Re: [android-developers] Selecting picasa photos in gallery

2011-10-24 Thread Mark Andrachek, Jr.
I'm running into something very similar trying to get thumbnails. I use this to get select the image from the gallery: Intent intent = new Intent(Intent.ACTION_PICK); intent.setType("image/*"); intent.putExtra("return-data", true); startActivityForResult(Intent.createChooser(intent,"Complete actio

[android-developers] Re: How to make an alphabetic scroll bar like that in contacts

2011-10-24 Thread Zsolt Vasvari
Just be careful with AlphabetIndexer. It's probably OK for "toy" apps, or at least those that are not localized, but if localization issues come into play, it becomes much more complicated. Look at ContactsProvider. There is even an Android specific SQLite extension called GET_PHONEBOOK_INDEX wh

[android-developers] Re: Invoking Android app from external application

2011-10-24 Thread gjs
Hi, Yes it is possible. Regards On Oct 24, 9:16 pm, mohan kumar wrote: > Hi All, > > Is it possible to communicate android application [running in AVD / > Actual Device] from external application like .NET / Java > application ? > > best regards, > Mohan -- You received this message because y

[android-developers] Re: Impossible to Create & Write to or Read From Files in the SD Card

2011-10-24 Thread gjs
Hi, As the doc says - 'This method is not generally useful' public boolean createNewFile () Since: API Level 1 Creates a new, empty file on the file system according to the path information stored in this file. This method returns true if it creates a file, false if the file already existed. Not

Re: [android-developers] Re: Will getFilesDir().getAbsolutePath() ever change?

2011-10-24 Thread Dianne Hackborn
Is this being saved in persistent storage somewhere? On Mon, Oct 24, 2011 at 6:12 PM, RLScott wrote: > OK, here is what I propose doing now. I would just like to know if it > is robust or advisable: > > I have a string named "root" that is initialized by my main activity > as: > > root=getFiles

[android-developers] Re: Getting GlobalTime App to run.

2011-10-24 Thread TropicMintDeveloper
Thank you for the answer, this makes sense now. On Oct 22, 12:40 pm, joebowbeer wrote: > AndroidGlobalTime was the subject of an early android-developers blog > entry, where it was described as "a 3D world clock developed by an > engineer at Google and may serve as an illustrative example of how

[android-developers] Re: Will getFilesDir().getAbsolutePath() ever change?

2011-10-24 Thread RLScott
OK, here is what I propose doing now. I would just like to know if it is robust or advisable: I have a string named "root" that is initialized by my main activity as: root=getFilesDir().getAbsolutePath(); And I have a string called "currentFolder" that holds the current directory. It is initia

Re: [android-developers] Re: how to get a sqlite file into a XOOM 3.2.1

2011-10-24 Thread TreKing
On Mon, Oct 24, 2011 at 4:57 PM, Igor Nesralla Ribeiro wrote: > I had a situation...i’m create a app for tablets and I using a XOOM > (3.2.1)to test ! My app uses a sqlite file and I saved him into a path > “/data/data/packagename/databases/file.sqlite” when I go to this path to > search and copy

[android-developers] The current state of C2DM

2011-10-24 Thread Chris Stewart
It's been quite awhile since I last looked into C2DM and at that time I remember a lot of developers were not recommending it for various reasons, although I don't remember those reasons today. I'm very much in need of push notification support for an app I'm building, so I've started looking into

[android-developers] Re: Suspended Account - Please Help - Red Alert

2011-10-24 Thread Zsolt Vasvari
So you are saying you have hundreds of "apps" that are probably just a WebView displaying the content of somebody else's blog. And you got your account suspended for doing that. I have one word for that: HORAY On Oct 25, 8:18 am, burton miller wrote: > My developer account has been s

[android-developers] Re: No luck with new ICS CalenderContract

2011-10-24 Thread Zsolt Vasvari
I would have expected to work, also. It's kind of frustrating that the first time we are goig to be able "put out fires", is when the general public will get hold of the first ICS device. The emulator is all but useless. On Oct 25, 12:25 am, Mark Murphy wrote: > I haven't had a chance to yet, a

[android-developers] Suspended Account - Please Help - Red Alert

2011-10-24 Thread burton miller
My developer account has been suspended. I create apps for blogs and news sites, and Google took down a handful of them for trademark issues last month. I am happy to resolve any conflicts or problems, but I can't get in touch with anyone! I have over half a million customers - and a legitimate

Re: [android-developers] Need Help with ScrollView

2011-10-24 Thread Kostya Vasilyev
You can use layout_weight on the scroll view, or... ...you can change your top level layout to Relative and position its children with layout_above, layout_below, layout_alignParentBottom, etc. -- Kostya Vasilyev 25.10.2011 2:54 пользователь "Mark Phillips" написал: > I have the following layou

[android-developers] Re: Role of the Compatibility Library?

2011-10-24 Thread ashughes
Hmm, on my Ubuntu, Eclipse Indigo, ADT 14 setup it's still called "Android Compatibility package" in the Android SDK Manager (with rev4 installed). Also, right clicking on a project -> Android Tools shows "Add Compatibility Library...", and the jar itself is stored under extras/android/compatibilit

Re: [android-developers] Re: Role of the Compatibility Library?

2011-10-24 Thread Xavier Ducrohet
It's now called the support library in the SDK manager (at least after you upgrade to rev4) On Mon, Oct 24, 2011 at 4:05 PM, ashughes wrote: > Thanks Dianne for the explanation. I forgot that that was the reason > ActionBarSherlock is a library project and not a jar (the resource > problem). > >

[android-developers] Re: Role of the Compatibility Library?

2011-10-24 Thread ashughes
Thanks Dianne for the explanation. I forgot that that was the reason ActionBarSherlock is a library project and not a jar (the resource problem). FYI, it's still called the "Android Compatibility package" in the Android SDK Manager. I understand your reasoning for it being called the "support libr

[android-developers] Re: Scenario where initLoader() does not call onLoadFinished()

2011-10-24 Thread aleksej
I can't see this was fixed in rev.4, actually. But workaround using android:configChanges suggested by Mark did the job pretty well for me. On Oct 24, 11:46 pm, kaciula wrote: > The new revision (rev. 4) of android support package fixes these issues. -- You received this message because you are

Re: [android-developers] Re: ROM

2011-10-24 Thread Kristopher Micinski
This group isn't intended for custom rom building. If you would like to do that, please have a look at: source.android.org There are a few videos you can find on how to build a custom version of the source (building the source by hand isn't too bad, and is a good exercise for those looking to ge

[android-developers] Need Help with ScrollView

2011-10-24 Thread Mark Phillips
I have the following layout: LinearLayout - vertical TableLayout ScrollView TableLayout LinearLayout When I fill the TableLayout in the ScrollView with rows, it pushes the bottom LinearLayout off the screen. How do I get these three layouts to work together so all three appear on the

[android-developers] Re: ROM

2011-10-24 Thread Jerrick Davis
you are welcolm raju but anyone please help i need answers On Oct 24, 8:49 am, RAJU V wrote: > thank u for information > > ~~RAJU~~ > ~~www.itdoall.co.cc~~ > > > > On Mon, Oct 24, 2011 at 8:18 PM, Jerrick Davis wrote: > > if anyone would like to help email me at lamabo...@gmail.com > > >

Re: [android-developers] Re: speech recording

2011-10-24 Thread Asım Turgut SOMUNCUOĞLU
hi jeremy, my code is ; import java.io.IOException; import android.app.Activity; import android.media.MediaRecorder; import android.os.Bundle; import android.view.View; import android.widget.Button; public class SesdenemeActivity extends Activity { /** Called when the activity is first created.

[android-developers] Re: how to get a sqlite file into a XOOM 3.2.1

2011-10-24 Thread Igor Nesralla Ribeiro
Hi, I had a situation...i'm create a app for tablets and I using a XOOM (3.2.1)to test ! My app uses a sqlite file and I saved him into a path "/data/data/packagename/databases/file.sqlite" when I go to this path to search and copy sqlite file into my computer I not found ..what are happened ?

Re: [android-developers] Re: When my app force closes, does it also close the associated service?

2011-10-24 Thread Ricardo Amaral
I said "when", hypothetically speaking. Not necessarily meaning it's already crashing. I was just wondering about the behavior, in case it does really crash. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] New updates tools with Ant build R14 gives Duplicate files at the same path inside the APK.

2011-10-24 Thread Joachim
Since the update to the R14 my ant builds have stopped working even after updating the projects. I get the following error -package: [apkbuilder] Creating App1-debug-unaligned.apk and signing it with a debug key... [apkbuilder] Found duplicate file for APK: com/test/spinner/lib/ DS_recipe_email.h

Re: [android-developers] Will getFilesDir().getAbsolutePath() ever change?

2011-10-24 Thread Dianne Hackborn
There are definitely going to be situations where this path is different from the particular constant you see today on your device. Whether this path could change on you after a platform update where your app's data is still left intact... I doubt that would happen, and if it did we'd probably ha

Re: [android-developers] Re: Role of the Compatibility Library?

2011-10-24 Thread Dianne Hackborn
On Mon, Oct 24, 2011 at 1:40 PM, ashughes wrote: > There is now an ActionBarCompat sample code demo ( > http://developer.android.com/resources/samples/ActionBarCompat/index.html). > Is there a reason the ActionBar not been added to the ACL? Are there any > plans to add it to the ACL? No, nothin

Re: [android-developers] Re: Role of the Compatibility Library?

2011-10-24 Thread Dianne Hackborn
On Tue, Jul 19, 2011 at 12:40 PM, Ecthelion wrote: > +1 for ActionBar support in the compat library. ActionBarSherlock is > certainly nice, but for those who - like me - don't use Eclipse it is > not so good that it requires using a library project instead of a jar > library. > Anything we provi

Re: [android-developers] Re: When my app force closes, does it also close the associated service?

2011-10-24 Thread Dianne Hackborn
Er your subject line on this thread is "when my app force closes..." Force close == crash. Anyway, what will happen at that point depends on what previously happened. If you crash once, the service will be restarted. If you continue to crash, the system will eventually decide that your app is b

[android-developers] Re: SDK 4, if I select WXGA resolution, emulator doesn't start.

2011-10-24 Thread sblantipodi
bumping the question. -- 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.com For

Re: [android-developers] Re: Role of the Compatibility Library?

2011-10-24 Thread ashughes
There is now an ActionBarCompat sample code demo ( http://developer.android.com/resources/samples/ActionBarCompat/index.html). Is there a reason the ActionBar not been added to the ACL? Are there any plans to add it to the ACL? -- You received this message because you are subscribed to the Goog

[android-developers] Re: When my app force closes, does it also close the associated service?

2011-10-24 Thread Ricardo Amaral
The app is not crashing, I never said it was... -- 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+unsubs

[android-developers] Re: When my app force closes, does it also close the associated service?

2011-10-24 Thread Ricardo Amaral
I will look into that, 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 to android-developers+unsubscr...@googlegro

Re: [android-developers] Re: Bitmap issues - failing silently, not OOM

2011-10-24 Thread Kumar Bibek
} catch (Exception e) { > Exception xcp = e; > xcp = null; > }catch(Error e){ > Error xcp = e; > xcp = null; > } > return null; Try logging the exceptions here. It should give you some kinds of hints. *Thanks

Re: [android-developers] Google Map : Replacing zoom buttom to a customize button and giving control to them

2011-10-24 Thread MANISH RAJ
Thank you TreKing for your answer. I got it ! Regards, manish Manish Kumar Computer Science and Engineering (2008-2012) Govt. Model Engineering College Cochin-21 +919287301035 manishrajja...@gmail.com -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Re: Bitmap issues - failing silently, not OOM

2011-10-24 Thread mjmeyer
I have seen something similar when using the unbuffered variants of stream readers when getting from urls. Youre using a BufferedInputStream which might have the same effect. I successfully use the following to get images into bitmaps and was having similar problem until it was changed to use Buff

[android-developers] Will getFilesDir().getAbsolutePath() ever change?

2011-10-24 Thread RLScott
My app manages a set of data files organized into folders. Of course they are all under the app's root folder of: getFilesDir().getAbsolutePath() As part of my saving of the application state in onPause, I need to save the current directory. Because of the way I navigate up and down the fold

Re: [android-developers] Re: Text on VideoView

2011-10-24 Thread Sambhav
Thanks Mark. Relative layout worked :) On Tue, Oct 25, 2011 at 12:13 AM, Mark Murphy wrote: > On Mon, Oct 24, 2011 at 2:27 PM, Sambhav wrote: > > The current way I am doing is have Video View and TextView widgets side > by > > side. > > I came across Canvas API with drawText function. exploring

[android-developers] Re: Android - dynamic web image - GUI

2011-10-24 Thread Tomas
Thanks, look interesting. So does it mean that I need to handle image dimensions by myself depending on the device density? And also that I can't have the image with/height predefined in layout xml so GUI tool will correctly display the layout? Regards. On Oct 25, 3:29 am, Peter Liu wrote: > T

Re: [android-developers] Re: Text on VideoView

2011-10-24 Thread Mark Murphy
On Mon, Oct 24, 2011 at 2:27 PM, Sambhav wrote: > The current way I am doing is have Video View and TextView widgets side by > side. > I came across Canvas API with drawText function. exploring how it can be > used to overlay text of video view. Just put the VideoView and the TextView in a Relati

[android-developers] Re: about layout sizes

2011-10-24 Thread Studio LFP
I think when you assign it programmatically it defaults to standard pixels. You would need to get the DisplayMetrics and multiply your pixels by the DisplayMetrics.density to get the same thing as dip/dp in the XML. Steven Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 1:29:2

Re: [android-developers] about layout sizes

2011-10-24 Thread Mark Murphy
Use Hierarchy View to see what values may be different. On Mon, Oct 24, 2011 at 2:29 PM, hectordu...@yahoo.com wrote: > hi guys, > > I am finding out that a layout (or button) size is different when > doing the definition as folows: > >                ((RelativeLayout) > (app.main_gui.get(Roullet

[android-developers] Re: Google Maps do Android

2011-10-24 Thread Ali Chousein
The following links could be interesting for you: http://developer.android.com/guide/topics/location/index.html http://code.google.com/android/add-ons/google-apis/ http://code.google.com/android/add-ons/google-apis/mapkey.html - Ali Chousein Weather

[android-developers] about layout sizes

2011-10-24 Thread hectordu...@yahoo.com
hi guys, I am finding out that a layout (or button) size is different when doing the definition as folows: ((RelativeLayout) (app.main_gui.get(RoulleteGlobals.WHEEL_1_3_IDX))).setVisibility(VISIBLE); ((RelativeLayout) (app.main_gui.get(RoulleteGlobals.WHEEL_1_3_IDX

[android-developers] image (slide)show without images sliding, just changing

2011-10-24 Thread André
I'm trying to make an image slideshow for android. What I want for it is a play and pause button, restart button and a previous image button. And a seek bar for changing the speed the image change. At the moment I have the file names of the images stored in a database and the images on the sd-card.

Re: [android-developers] Re: Text on VideoView

2011-10-24 Thread Sambhav
The current way I am doing is have Video View and TextView widgets side by side. I came across Canvas API with drawText function. exploring how it can be used to overlay text of video view. On Mon, Oct 24, 2011 at 2:42 PM, Zsolt Vasvari wrote: > I assume you have tried it and having some kinf

Re: [android-developers] Google Maps do Android

2011-10-24 Thread Ray da Costa
Sorry Greetings ... Person does anyone know if my application could go to google maps application that is installed on my machine for it to generate a coordinated wheel, or show this route on the map .. 2011/10/24 TreKing > You should post in English ... like the quote in your signature ... >

[android-developers] Re: setRoaming in ServiceState

2011-10-24 Thread Priyank
anyone? On Oct 20, 4:16 pm, Priyank wrote: > Hi, > > I was trying to set data roaming on my phone programmatically. > But when I try to do it using the setRoaming method available in the > ServiceState class, I dont see the change take place on my phone. > > I am doing something like this: > Serv

Re: [android-developers] android bluetooth send string other device (like j2me,iphone,balcberry ...etc)

2011-10-24 Thread TreKing
On Mon, Oct 24, 2011 at 5:21 AM, pankaj sharma wrote: > Hi, >i m newbie in android devlopment. and i am tryning to connect and > send string continous other devices with bluetooth. > > > pls help me . > > thnks http://catb.org/~esr/faqs/smart-questions.html --

Re: [android-developers] Re: No luck with new ICS CalenderContract

2011-10-24 Thread Mark Murphy
I haven't had a chance to yet, and probably won't for a few weeks. Since the Calendar app is in the emulator, I would have expected that content provider to work. It's possible that it is an emulator bug -- without hardware as a point of reference, it is difficult to tell. On Mon, Oct 24, 2011 at

Re: [android-developers] Google Map : Replacing zoom buttom to a customize button and giving control to them

2011-10-24 Thread TreKing
On Sun, Oct 23, 2011 at 8:19 AM, manish wrote: > I am > able to putting the button at bottom of the map but unable to give > zoom control to them. Please give me some suggestion regarding this > problem. > RTM: http://developer.android.com/reference/android/widget/ZoomControls.html

[android-developers] Re: Alternative Camera Interfaces

2011-10-24 Thread sandeep kumar
can u tell what exactly u want to do? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@goog

[android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Robert Nekic
What about the AudioManager's isMusicActive? http://developer.android.com/reference/android/media/AudioManager.html#isMusicActive() On Oct 24, 11:42 am, Studio LFP wrote: > You can't use MediaPlayer.isPlaying() as a static method as it is an > instanced method. You can have the MediaPlayer i

Re: [android-developers] How to make an alphabetic scroll bar like that in contacts

2011-10-24 Thread Mark Murphy
http://stackoverflow.com/questions/5122749/create-easy-alphabetical-scrolling-in-listview On Mon, Oct 24, 2011 at 2:44 AM, Abhishek Mukherjee wrote: > I am new to android developement and have only started to learn the > basics. I have been asked to make an alphabetic scroll bar like that > in th

[android-developers] Re: Network related

2011-10-24 Thread Studio LFP
Try this out. I don't recommend using this as is. You'll want to register a receiver for this intent while your app is being used and then unregister it when you are done. This is just so you can see how it works. public class TestService extends BroadcastReceiver { @Override public void

Re: [android-developers] Play two videos simultaneously

2011-10-24 Thread Mark Murphy
On Sun, Oct 23, 2011 at 7:33 AM, kacho wrote: > So is it possible to play two videos at the same time? AFAIK, no. I was under the impression that you cannot have two SurfaceViews in the same activity.. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://c

Re: [android-developers] Regarding system font size change system wide

2011-10-24 Thread Mark Murphy
On Mon, Oct 24, 2011 at 1:03 AM, alhad wrote: >     I have a requirement where i need to provide an option for the > customer to change font size "Small, Medium and Large". When user > chooses an option out of these 3, i want to change the system font as > per the selection system wide. > > Is the

Re: [android-developers] Maximum number of activities in a project...

2011-10-24 Thread Mark Murphy
On Sat, Oct 22, 2011 at 5:23 AM, Silju MC wrote: > I want to create a project with number of activities (Activity). Is > there any limit? There is no hard limit. > If i move foreword any memory issue will be there? You can run out of memory. This is not strictly tied to the number of activities

[android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-10-24 Thread Nightwolf
That's odd. Anyway I've just resent you email. The point sprites project works OK on HTC G1 (Android 1.6). On 24 окт, 11:25, MobileVisuals wrote: > No, I didn't get the sample project, but it would be interested to see > it, so could you send it again? Have you tested it on HTC devices? > > I do

Re: [android-developers] Re: Handling asynchronous events and blocking

2011-10-24 Thread Studio LFP
Nice, I'll have to play with that too. I never ran into any exceptions because I use touches very little in the game I am playing around with. Steven Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 7:16:47 AM UTC-5, TreKing wrote: > > On Mon, Oct 24, 2011 at 1:20 AM, Peter Web

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

2011-10-24 Thread Studio LFP
Are you repopulating the information into the new layout you are switching to? Regardless of if you use configChanges or not, you need to repopulate your view. This is automatically invoked without configChanges since your app interface is removed and remade (calling onCreate again for you). If

[android-developers] Re: Handling asynchronous events and blocking

2011-10-24 Thread Peter Webb
ConcurrentLinkedQueue. Exactly what I want. Thankyou. On Oct 24, 11:16 pm, TreKing wrote: > On Mon, Oct 24, 2011 at 1:20 AM, Peter Webb wrote: > > This must be a very common problem, and I would expect a simple standard > > solution. As I mentioned, on other platforms I have used a guaranteed at

[android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Studio LFP
You can't use MediaPlayer.isPlaying() as a static method as it is an instanced method. You can have the MediaPlayer instance you create/use be in a static variable and work with it from there. Steven Studio LFP http://www.studio-lfp.com On Monday, October 24, 2011 9:38:39 AM UTC-5, Sunil Mishr

Re: [android-developers] Network related

2011-10-24 Thread Kristopher Micinski
No, I don't have code lying around for that. What you would do is create a callback for the ConnectivityManager that would send a message to your UI thread (or perhaps fire an intent at it?) to tell it to change the value of the TextView. You can read up on Messengers, but the point is that you wi

[android-developers] Re: Storing database of information?

2011-10-24 Thread Studio LFP
Have you considered just making the application come without data and then pull the data from a server? It would be much easier on you to not have to republish the application every time you wanted to change some of that data. The basic steps would be something like this: 1. Publish app withou

Re: [android-developers] Re: alarm type application: alarm manager not waking up application

2011-10-24 Thread Studio LFP
Have you considered using a MediaPlayer instead of just a straight Ringtone object? You can pass the URI of the Ringtone to the MediaPlayer and have better functionality. I use the MediaPlayer and create a MediaPlayer.OnCompletionListener to watch for the end of the playing. This doesn't always

Re: [android-developers] Access to voice/microphone during call

2011-10-24 Thread Mark Murphy
On Mon, Oct 24, 2011 at 3:02 AM, Danny S. wrote: > I am searching for a possibility to access the voice during a call - > no recording: I want to change the spoken text live. Is this possible > at all? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsg

[android-developers] Re: 3D Engine

2011-10-24 Thread bdk
hi, check out http://unity3d.com/unity/publishing/android.html -- Mathieu On Oct 24, 12:26 pm, muizz wrote: > Assalam o aliukum. > I am a student of BS-Computer Science. > I want to make 3D android game on poultry form. > I want to discuss that what is the best tool for 3D graphics handling > an

Re: [android-developers] Re: ROM

2011-10-24 Thread RAJU V
thank u for information ~~RAJU~~ ~~www.itdoall.co.cc~~ On Mon, Oct 24, 2011 at 8:18 PM, Jerrick Davis wrote: > if anyone would like to help email me at lamabo...@gmail.com > > On Oct 24, 8:18 am, Jerrick Davis wrote: > > how do i create a custom ROM of android 4 for the sprint HTC

[android-developers] Re: ROM

2011-10-24 Thread Jerrick Davis
if anyone would like to help email me at lamabo...@gmail.com On Oct 24, 8:18 am, Jerrick Davis wrote: > how do i create a custom ROM of android 4 for the sprint HTC Hero -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Sunil Mishra
Can i use MediaPlayer as a static object? On Oct 24, 6:57 pm, Jeremy Dagorn wrote: > Hi, > > http://developer.android.com/reference/android/media/MediaPlayer.html... > > MediaPlayer.isPlaying()? > > On Oct 24, 9:23 am, Sunil Mishra wrote: > > > > > > > > > Hi, > > > Is there any api through whic

[android-developers] Re: Android - dynamic web image - GUI

2011-10-24 Thread Peter Liu
Try androidquery.com library look for image loading and aspect ratio. On Oct 24, 7:31 am, Tomas wrote: > Hi there, > > I am struggling how to define the image in my relative layout which > will differ in size for different densities (but I am going to load > this image from the web so I guess I

[android-developers] help me

2011-10-24 Thread RAJU V
how to run c,c++ program in terminal... ~~RAJU~~ ~~www.itdoall.co.cc~~ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, se

[android-developers] Re: No luck with new ICS CalenderContract

2011-10-24 Thread Zsolt Vasvari
Nobody tried this new API yet? On Oct 24, 2:57 pm, Zsolt Vasvari wrote: > I am trying to convert my Calendar code to the new ICS APIs. > > For starters, I am trying the simplest possible operation -- reading > the list of Calendars. > > I am using the following code: > > context.getContentResolve

[android-developers] ROM

2011-10-24 Thread Jerrick Davis
how do i create a custom ROM of android 4 for the sprint HTC Hero -- 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

Re: [android-developers] Eclipse crashes when open layout designer

2011-10-24 Thread Tor Norbye
When the VM itself crashes that's a Java bug -- it looks like you're running Java 1.5.0_06 -- you might want to update to a newer version (such as Java 1.6.0_29). -- Tor On Mon, Oct 24, 2011 at 4:15 AM, ya3qoob wrote: > I have a problem with eclipse, Whenever i try to open layout graphical > des

[android-developers] Re: speech recording

2011-10-24 Thread Jeremy Dagorn
Hi, Could you give some code and raised error(s)? Jeremy On Oct 21, 8:36 pm, ktuluceng wrote: > how to make speech recording application for android please help me my > cod is true but ı dont understand application has stopped  erorr :S > > ı folllow this > linkhttp://www.brighthub.com/mobile/

[android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Jeremy Dagorn
Hi, http://developer.android.com/reference/android/media/MediaPlayer.html#isPlaying%28%29 MediaPlayer.isPlaying()? On Oct 24, 9:23 am, Sunil Mishra wrote: > Hi, > > Is there any api through which we can figure out whether media player > is currently playing any media or not? -- You received t

[android-developers] Re: onCallStateChanged(int state, String number)

2011-10-24 Thread ch
Hi Sunil, As far as i know the onCallStateChanged callback is called when a phone call state is changed (ringing,offhook and idle). On the callback is called for ringing, the phone number is provided for offhook and idle, the phone number is empty. Andrei On Oct 24, 4:24 pm, Sunil Mishra wrote

[android-developers] Storing database of information?

2011-10-24 Thread Todilo
Hi, sorry for a bad subject name, just couldn't name it in a good way. I have an application which is basicly like a wiki which presents information and images. This information will change frequently (and images) as well so I was wondering the best way to set it up. It basically is a list of units

[android-developers] Re: possible bug in AsyncTask?

2011-10-24 Thread Streets Of Boston
I found this out the hard way too a while ago :) I worked around it by just having the first AsyncTask class reference being handled on the main UI thread. If you do that, all other instances of AsyncTask in your app can be created from any thread. E.g. in your Application object's *onCreate *yo

[android-developers] Re: onCallStateChanged(int state, String number)

2011-10-24 Thread Sunil Mishra
Hi, can you describe about "other 2 cases" and what you mean by that? On Oct 24, 5:38 pm, ch wrote: > Hi, > > I observed an undocumented behavior of the method > PhoneStateListener.onCallStateChanged(int state, String > incomingNumber). > > When the method is called on a new ringing call the inc

[android-developers] Check whether media player is playing media or not

2011-10-24 Thread Sunil Mishra
Hi, Is there any api through which we can figure out whether media player is currently playing any media or not? -- 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 un

Re: [android-developers] Hello Grid View Tutorial

2011-10-24 Thread TreKing
On Sun, Oct 23, 2011 at 12:11 AM, Hopette wrote: > For some reason, my code debugs, but I get this error at runtime: "The > application HelloGridView (process com.example.hellogridview) has > stopped unexpectedly. Please try again. > Your application threw an exception. Use your debugger and Log

  1   2   >