[android-developers] It is posible create folders with permissions?

2010-11-24 Thread Lisa
hello everybody, (^_^)/ I have a question, I to create folders on the SD memory card with permission. How do you make? is that I want to create a folder with permission, so when the music players make search, I do not want to display my folder. It is this possible? if yes, how could it? (·_·?)

Re: [android-developers] It is posible create folders with permissions?

2010-11-24 Thread Kumar Bibek
Nope, Not possible. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 1:41 PM, Lisa lpk...@gmail.com wrote: hello everybody, (^_^)/ I have a question, I to create folders on the SD memory card with permission. How do you make? is that I want to

[android-developers] It is posible create folders with permissions in the SD card?

2010-11-24 Thread Lisa
hello everybody, (^_^)/ I have a question, I to create folders on the SD memory card with permission. How do you make? is that I want to create a folder with permission, so when the music players make search, I do not want to display my folder. It is this possible? if yes, how could it? (·_·?)

[android-developers] Re: Json paser showing array length as 0.. pls help

2010-11-24 Thread Sarwar Erfan
On Nov 24, 12:33 pm, Atik atik0...@gmail.com wrote: hi guys this the class where i m parsing the values                         resultsJsonArray = jsonObject.getJSONArray(resuslt); Is this spelling mistake in your actual code? (You wrote resuslt instead results) Regards Sarwar Erfan --

[android-developers] can we create magnifier in android

2010-11-24 Thread Atik
hi.. can we create magnifier in android to read the text on some surface like newspaper etc. i need to save the zoom level for that perticluar appl ..is it possible in android.. pls reply -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: How to get MAC address?

2010-11-24 Thread Sarwar Erfan
Hi, Try getMacAddress() in WifiInfo class. http://developer.android.com/reference/android/net/wifi/WifiInfo.html Regards Sarwar Erfan On Nov 24, 9:21 am, Alex Xin xinxi...@gmail.com wrote: Hi, guys I'd like to know how to get WIFI MAC address on Android system? Does anyone know how to do

[android-developers] Re: Query Other App Permissions

2010-11-24 Thread m88m
Thanks Guys! On Nov 24, 8:58 am, Dianne Hackborn hack...@android.com wrote: http://developer.android.com/reference/android/content/pm/PackageMana..., int) http://developer.android.com/reference/android/content/pm/PackageMana..., int)With

[android-developers] Re: Json paser showing array length as 0.. pls help

2010-11-24 Thread Atik
thx bro..aftre changing the key now its giving me null pointer exception for the same code.. for the following lines line number 51 in JSONHelper Class JSONObject jsonObject = getJSONObject(httpResponse); line number 160 in JSONHelper Class if

[android-developers] What are differences between onRetainNonConfigurationInstance() and onSaveInstanceState()

2010-11-24 Thread Suresh Pal
Hi guys, Currently, I am studying handling configuration changes. In this process I look in this method onRetainNonConfigurationInstance(). As par APIs it is called whenever the activity is restarted because of configuration changes. I have also looked the onSaveInstanceState() method, which is

[android-developers] Becoming 'System App' - Not rooted devices

2010-11-24 Thread m88m
Hey guys! Is it possible for an application to transfer itself to a system app on not-rooted devices? (Of course with the permission of the user). Thanks M. -- 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] Becoming 'System App' - Not rooted devices

2010-11-24 Thread Kostya Vasilyev
No. System apps are signed with the platform key, and you can only do this if you build your own firmware. -- Kostya 24.11.2010 11:58, m88m пишет: Hey guys! Is it possible for an application to transfer itself to a system app on not-rooted devices? (Of course with the permission of the

[android-developers] Help needed for Context object: GPS implementation

2010-11-24 Thread cool.manish
In my application I want to start GPS. I have to pass context object to it. Can I start my GPS listener from one activity and can fetch coordinate in some other activity? We get locationManager object using Context. Now if I have get LocationManager using first activity's context then can't I use

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
As i told that I used EditText content = (EditText) findViewById(R.id.content); twitter.updateStatus(content.getText().toString() + #testing); If i remove EditText content = (EditText) findViewById(R.id.content); and directly post. twitter.updateStatus(Testing my tweets #testing); then it

[android-developers] Re: Json paser showing array length as 0.. pls help

2010-11-24 Thread Sarwar Erfan
I think you understand that it has nothing to do with the line you specified. However, I suggest you do the followings: #1: Check whether you have added the INTERNET permission to android menifest. You need to add this: uses-permission android:name=android.permission.INTERNET / It is required to

[android-developers] Re: Creating 2D games with Android and Blender

2010-11-24 Thread Ruben
Hi Miguel, Thanks for the suggestions. Egg Savior relies a lot on scroll, so updating just the modified part of the screen would only help on some situations. I have a HUD on top of the scroll, which voids the typical scroll optimizations also. First of all, I would suggest using traceview to

[android-developers] Re: Json paser showing array length as 0.. pls help

2010-11-24 Thread Atik
i have checked the permission in menifest and i replaced the code snippet as u gave me , but still its giving me null pointer exception and i m still too much worried.. thx for the help sir.. waiting for ur helpfull reply On Nov 24, 2:23 pm, Sarwar Erfan erfanonl...@gmail.com wrote: I think

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
I posted two messages here. One of them is missing... Let again explain everything.. I do all this stuff in single activity. onCreate I list articles.. On click on any single article I open that article. So there are options to share. On click of that I open a page in same activity using

[android-developers] Google Map Pin

2010-11-24 Thread pedr0
Hi at all, I am looking for a default marker for overlay items in the maps, but I haven't finded it, something is wrong or really Google Map API don't offers this feature? I have to draw manually my pin or make it via some graphic tool like GIMP? Another question is about the copyright of pin

[android-developers] Re: Activity state

2010-11-24 Thread pedr0
Hmm it's okay, but there isn't a way to show the activity stack of my application? On 23 Nov, 07:33, Kumar Bibek coomar@gmail.com wrote: YEs, Switch to the Logcat window, and you will see it, else type adb logcat in the commant prompt, and it will show you the logs. On Nov 22, 2:00 

Re: [android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread Kumar Bibek
Umm, I am still confused. How are you changing the content view of the Activity. Is it really required? If you are getting NullPointer exception, then it means that the EditText that you are trying to initialize is not presently on the Activity. It's simple enough, if you see the EditText on your

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
See.. I have page which show article. On menu click a function it sets new content as below setContentView(R.layout.sharing); Now this layout has edittext and button. On click on button ..It goes as given in that tutorial.. But when use authenticates.. Then in onResume I get error because I

Re: [android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread Kumar Bibek
I really cannot suggest you anything without looking at your whole code now. Sorry. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 3:23 PM, umakantpatil umakantpat...@gmail.comwrote: See.. I have page which show article. On menu click a function it

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
Emailed you the code. Its not that complicated. I have also described in email , which functions does what.. Hope you help me out.. My head has gone mad. I cant get it anymore.. Thanks On Nov 24, 2:58 pm, Kumar Bibek coomar@gmail.com wrote: I really cannot suggest you anything without

Re: [android-developers] Re: Creating 2D games with Android and Blender

2010-11-24 Thread Miguel Morales
Thanks for your tips, I'm fairly sure that the 30FPS limit I'm getting is due to the rendering not being optimized. I've tried turning off the network thread and the logic thread with the same results. This is my first game using OpenGL, thanks for the info about sorting the objects before

[android-developers] push notifications on emulator 2.2

2010-11-24 Thread kavitha b
Hi All, Is it possible to work with PushNotifications on emulator 2.2? Does emulator get push notifications? Because I don't have 2.2 update on my device. And we have to use 2.2 push notifications in our project. Thanks Kavitha -- You received this message because you are subscribed to the

[android-developers] How to make an image stay above all applications(including Launcher)

2010-11-24 Thread kearnel_android
I've just installed an application called Smart Taskbar, which creates an icon that always stays above all other applications, including the Launcher. You can click on the icon to launch Smart TaskBar whenever you want, even in playing games in full-screen mode. I'm curious of the way

Re: [android-developers] Allowing one .apk to install another?

2010-11-24 Thread Olivier Guilyardi
On 11/23/2010 10:01 PM, Biosopher wrote: We are providing an Android Service to multiple customers for packaging into their .apks and need to ensure that only a single instance of our Service is running at a time. The ideal situation would be this: When one of our customers's apps is

[android-developers] Download count static for free app

2010-11-24 Thread Alex
The download count for my free app has remained static for several days, yet I know that plenty of people have downloaded it. Is there a bug in the Market? -- 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] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
I logged all the functions and got to know the thing. But I don't know why its happening. just need suggestion from somebody. When Im in Activity A. I open browser for twitter authentication. That time i logged. On pause, on stop are called in activity. Now when i authenticate in browser then

Re: [android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread Kumar Bibek
If it is stopped, then it will call onCreate. You cannot escape that. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 5:23 PM, umakantpatil umakantpat...@gmail.comwrote: I logged all the functions and got to know the thing. But I don't know why its

[android-developers] INVIYE U TO PARTICIPATE ANDROID PROGRAMS

2010-11-24 Thread kokila vani
http://123maza.com/35/access159/ -- 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

Re: [android-developers] Download count static for free app

2010-11-24 Thread Evgeny V
I've opened support call for this issue. I think they have some problem with particular accounts. On Wed, Nov 24, 2010 at 1:52 PM, Alex maroeb...@gmail.com wrote: The download count for my free app has remained static for several days, yet I know that plenty of people have downloaded it. Is

[android-developers] Re: Problem with AnimationDrawable

2010-11-24 Thread Serdel
I was able to launch the 2 animation by decreasing the frame number to 4 for each. It works as a single launch but the OutOfMemoryError exception still occurs. The problem is when I want to go back from the last activity to the first one (as I wrote it is a 'ring' app), or when I exit and open

Re: [android-developers] Download count static for free app

2010-11-24 Thread Evgeny V
Just checked now. The free application got update. The paid one is still no updates. On Wed, Nov 24, 2010 at 2:22 PM, Evgeny V evgen...@gmail.com wrote: I've opened support call for this issue. I think they have some problem with particular accounts. On Wed, Nov 24, 2010 at 1:52 PM, Alex

[android-developers] Re: Styling Dialog title and background - is this an impossible quest?

2010-11-24 Thread William Ferguson
OK, I see how you're doing it now. #requestWindowFeature .. interesting. But if you're going to the trouble of creating a subclass of Dialog, why not create an Activity? What's the benefit of creating a specific dialog subclass vs an Activity? On Nov 24, 5:26 pm, Kumar Bibek

Re: [android-developers] Re: Styling Dialog title and background - is this an impossible quest?

2010-11-24 Thread Kumar Bibek
Dailogs have a different use as compared to Activities. So, when you need a dialog, you have to use one. :) Simple? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 6:04 PM, William Ferguson william.ferguson.au@ gmail.com wrote: OK, I see how you're

Re: [android-developers] Re: Styling Dialog title and background - is this an impossible quest?

2010-11-24 Thread Kumar Bibek
Morever, if you create your own dialog, which you want to have your custom appearance, you can use it wherever you want in your application. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 6:04 PM, William Ferguson william.ferguson.au@ gmail.com wrote:

[android-developers] can we create app to use phone camera as magnifier

2010-11-24 Thread Atik
hi guys i need to know that can we use android phone camera as magnifier glass. i want to create such application, which will open the camera and zoom it to read some small text etc, it wont capture any picture neither it will record any video. pls suggest if any one have any ideas Thanks 'Atik

Re: [android-developers] Google Map Pin

2010-11-24 Thread Mark Murphy
On Wed, Nov 24, 2010 at 4:42 AM, pedr0 pulsarpie...@gmail.com wrote: I am looking for a default marker for overlay items in the maps, but I haven't finded it, something is wrong or really Google Map API don't offers this feature? AFAIK, there is no default marker with the Google Maps add-on

Re: [android-developers] What are differences between onRetainNonConfigurationInstance() and onSaveInstanceState()

2010-11-24 Thread Mark Murphy
On Wed, Nov 24, 2010 at 3:49 AM, Suresh Pal sureshchandra...@gmail.com wrote: It means both of these methods are called whenever there is configuration changes - because my understanding is restart is also killing the activity. Correct. So, I wonder what are differences between the two

Re: [android-developers] It is posible create folders with permissions in the SD card?

2010-11-24 Thread Mark Murphy
On Wed, Nov 24, 2010 at 3:13 AM, Lisa lpk...@gmail.com wrote: so when the music players make search, I do not want to display my folder. You can place an empty .nomedia file (note the leading period) in the directory and the MediaScanner will ignore it. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Download count static for free app

2010-11-24 Thread TreKing
On Wed, Nov 24, 2010 at 5:52 AM, Alex maroeb...@gmail.com wrote: Is there a bug in the Market? There's an understatement. Here, keep this link handy, you'll be using it a lot: http://www.google.com/support/androidmarket/bin/request.py?contact_type=publisher

[android-developers] Re: Updating the Call Log.

2010-11-24 Thread Denis Souza
I don't know if it would work to update the call log on a stock android version without having a contact. What I do know is that the HTC Sense devices are buggy and you can't do updates and inserts properly even if you DO have the contact. That happens not only on the Desire but all devices with

Re: [android-developers] Re: Display Calendar Instance

2010-11-24 Thread TreKing
On Tue, Nov 23, 2010 at 11:47 PM, paresh mayani pareshmay...@gmail.comwrote: but can you let me know where i found the Android source for the Calendar instance How would I know where you found it? If you mean you don't know where to find it, well ... neither do I :-P Searching through

[android-developers] How to build a 2d GUI to an OpenGL ES app?

2010-11-24 Thread Eyvind Almqvist
I want to make an OpenGL ES version of my M3G app Astral 3d worlds. The app has a 2d GUI, from which you can start 10 visual effects. I can port the visual effects to OpenGL ES, but how can I build the 2d GUI? Should I really use OpenGL ES for that? -- You received this message because you are

[android-developers] application in Long press Home button(Recent task info)

2010-11-24 Thread A N K ! T
i am trying to start an activity from Receiver.. with listening to phone state change...but i am having an issue with itwhen activity started from reciever and finished after operation performed my application comes in running tasks...which i dont want ... can anybody help in this issue

Re: [android-developers] What is an Adapter??

2010-11-24 Thread TreKing
On Sun, Nov 21, 2010 at 3:16 AM, Abhishek Talwar r.o.b.i.n.abhis...@gmail.com wrote: Could you please let me know what is an adapter http://en.wikipedia.org/wiki/Adapter_pattern and how can i use it?? That depends on what you're doing - there are quite a few adapters. Read the

[android-developers] how to implement Two line text with different colors on one button

2010-11-24 Thread xi developer
In my android app development, I have one button, the button text is not a single color text, it is two lines text, with each line uses different color for line text. How to implement this? Two lines can be simply implemented by adding \n in the text, I don know how to set different colors for

Re: [android-developers] Android SDK Error

2010-11-24 Thread TreKing
On Mon, Nov 22, 2010 at 1:11 AM, JCC jijoe...@gmail.com wrote: I'm trying to get the android SDK running on my computer so I can start working on some apps but when I open the android sdk and avd manager and try to download a package, I get the following error: XML verification failed for

[android-developers] Re: can we create app to use phone camera as magnifier

2010-11-24 Thread blindfold
http://www.androlib.com/android.application.com-davidparry-magnifier-qmmmA.aspx On Nov 24, 1:39 pm, Atik atik0...@gmail.com wrote: hi guys i need to know that can we use android phone camera as magnifier glass. i want to create such application, which will open the camera and zoom it to

[android-developers] Re: Google Map Pin

2010-11-24 Thread pedr0
Thanks so much! On 24 Nov, 13:57, Mark Murphy mmur...@commonsware.com wrote: On Wed, Nov 24, 2010 at 4:42 AM, pedr0 pulsarpie...@gmail.com wrote: I am looking for a default marker for overlay items in the maps, but I haven't finded it, something is wrong or really Google Map API don't

[android-developers] Re: how to implement Two line text with different colors on one button

2010-11-24 Thread pedr0
If your text will never change you can apply an image at your botton, in your image you can do that without problem. On 24 Nov, 14:57, xi developer xidevelope...@gmail.com wrote: In my android app development, I have one button, the button text is not a single color text, it is two lines

[android-developers] Re: Using Google's Ajax local search API with Android

2010-11-24 Thread oriharel
How did you solve this? On Oct 7, 5:25 pm, abhishek akhani abhishek.akh...@gmail.com wrote: Solved... On Oct 6, 3:51 pm, abhishek akhani abhishek.akh...@gmail.com wrote: HI, i want to use Google's ajax local search API in my android application. but i am getting following

[android-developers] Re: make JPEG image has map

2010-11-24 Thread sal
Hi, Thanks Kostya and Leon for your suggestions Even i am going on with same approach, I have predefined set of location information , i just need to show that information on the image by mapping this location information to pixel co-ordinates of the image. i am searching for some sample codes

[android-developers] Re: Memory Leak with a ListView revisited

2010-11-24 Thread John Gaby
In my particular case, I discovered that the leak ONLY happens when I am debugging the application. So my conclusion was that my issue, at least, had to do with some sort of issue with the debugger. On Nov 23, 2:15 pm, TZ zale.ty...@gmail.com wrote: I too am finding a memory leak with the

[android-developers] Re: 1.5 quits for apparently no reason whilst animating (WIN DEATH)

2010-11-24 Thread Muleskinner
Hi, After some more experimentation it appears that this is nothing to do with the drawing per se. The app still crashes even if I just load a fullscreen image at a certain point (though it doesn't actually crash at the moment the image is loaded but about a second after) even if I remove all

Re: [android-developers] Looking for sources of Searchable Dictionary v2

2010-11-24 Thread TreKing
On Sun, Nov 21, 2010 at 6:32 PM, Christian Brehm christian.br...@gmail.comwrote: Can the souces be downloaded somewhere else? That same page is subdirectories with the src/ folder. Is that not what you need?

[android-developers] Re: Code for connecting webservices in android by using HttpClient

2010-11-24 Thread Hal
You may want to check the secure Jt web services: http://www.dev.java.net/files/documents/5553/151390/Jt.pdf http://jt.dev.java.net/ http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html This allows you to create secure Restful web services on Android (over Http). It

Re: [android-developers] Google Sky maps API

2010-11-24 Thread TreKing
On Mon, Nov 22, 2010 at 10:43 AM, Douglas Fonseca douglasinfo...@gmail.comwrote: is there a Google Sky Maps API? If a Google search for said terms does not return anything, then probably not. -

Re: [android-developers] Re: how to implement Two line text with different colors on one button

2010-11-24 Thread Richard Leggett
You can also use a SpannableStringBuilder. Here's a contrived example, but it shows the basics: TextAppearanceSpan span = new TextAppearanceSpan(mContext, R.style.MyTextAppearance); SpannableStringBuilder builder = new SpannableStringBuilder(); builder.append(First line\nSecond line);

Re: [android-developers] Re: 1.5 quits for apparently no reason whilst animating (WIN DEATH)

2010-11-24 Thread Kostya Vasilyev
SIGSEGV is a memory access violation. Some piece of code somewhere has a stray pointer, and accesses memory pages that it doesn't own. And from the information you posted, it looks like it's Dalvik (libdvm.so) that makes a call to C language utilities (libcutils.so). How complex is your

[android-developers] Re: Automatic sqllite dbhelper class builder

2010-11-24 Thread Hal
You're welcome... On Nov 23, 6:21 pm, Federico Paolinelli fedep...@gmail.com wrote: Cool, I didn't know that so I had to reinvent the wheel. I gotta give a look at your link (but not now, it's quite late here in italy :-) ) However, mine works decently, and I had some fun in writing it.

Re: [android-developers] 2.2.1 FRG83D: Existing map tiles are unnecessarily reloaded when panning, is it just me?

2010-11-24 Thread TreKing
On Tue, Nov 23, 2010 at 12:59 AM, JP joachim.pfeif...@gmail.com wrote: When panning the map view (no zooming that would trigger a complete re-load), map tiles that were already loaded, are cleared and reloaded. I have 2.2.1 on Nexus One as well and don't see anything wrong with my Maps

Re: [android-developers] What is an Adapter??

2010-11-24 Thread Robin Talwar
Hey thanks It worked and now i got an idea of what an adapter is. Well my next milestone will be how to create a custom view can you tell me something about that also? On Wed, Nov 24, 2010 at 7:25 PM, TreKing treking...@gmail.com wrote: On Sun, Nov 21, 2010 at 3:16 AM, Abhishek Talwar

[android-developers] Appearance updated application as Just in - wait 12-14 days between updates?

2010-11-24 Thread EvgenyV
Hi all, I didn't find my recently updated application in Just In view after some investigation I got answer from developer: If you recently released it won't show in Just In again, you have to wait like 12 - 14 days or something Is it some new Market rule struggling with spam programs? Thanks,

[android-developers] Windows drivers, inf file, and device ID's

2010-11-24 Thread Rich
Unless I'm doing something wrong and have wrong information, whenever I have a new device that I want to deploy an application to from a Windows dev machine, I have to make sure that I have the device ID in my android_winusb.inf file. When I switched phones recently, this was the solution I came

[android-developers] Re: SSL from Android

2010-11-24 Thread Hal
You probably want to consider secure web services based. The Jt Design Pattern Framework already implements secure web services for Android: a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library

Re: [android-developers] Windows drivers, inf file, and device ID's

2010-11-24 Thread Kostya Vasilyev
A few things you can try are: - Check Motorola's developer network site for their own driver - Use a hardware information program, such as Lavalys Everest or Piriform Speccy to find out the USB vendor and device ids (the latter is free, the former is more comprehensive and has a trial version).

Re: [android-developers] application in Long press Home button(Recent task info)

2010-11-24 Thread Kostya Vasilyev
That's not a running task list - it's a recent task list. I *think* there is a flag you can set in the Intent when launching the activity to prevent it from showing up in this list. Look up Intent in the reference, the flag starts with FLAG_ACTIVITY_ -- Kostya Vasilyev --

Re: [android-developers] how to use Apex Google Api in Android

2010-11-24 Thread TreKing
On Tue, Nov 23, 2010 at 2:39 AM, Maks maks@gmail.com wrote: Could any body provide me any help gerarding it. Help with what? You're going to have to provide much more information on what you need help with if you expect to get any replies.

[android-developers] content://telephony/carriers and HTC Incredible

2010-11-24 Thread Dan
I have code to get the current apn that looks like: private String m_apnString; private void updateApn(Context ctx) { Cursor mCursor = ctx.getContentResolver().query(Uri.parse(content://telephony/ carriers), new String[] {apn}, current=1, null, null); if (mCursor!=null) { try {

Re: [android-developers] What is an Adapter??

2010-11-24 Thread TreKing
On Wed, Nov 24, 2010 at 10:27 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Well my next milestone will be how to create a custom view can you tell me something about that also? Please spend some time reading the documentation. Like this:

Re: [android-developers] content://telephony/carriers and HTC Incredible

2010-11-24 Thread Kumar Bibek
Do not use uri's that are strings. You cannot be sure that your code will work on all devices. Use the documented uris for all the system content providers. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 11:11 PM, Dan dan.schm...@gmail.com wrote: I

Re: [android-developers] content://telephony/carriers and HTC Incredible

2010-11-24 Thread Mark Murphy
content://telephony/carriers is not part of the Android SDK. There's no telling what it does or does not do on any given device. On Wed, Nov 24, 2010 at 12:41 PM, Dan dan.schm...@gmail.com wrote: I have code to get the current apn that looks like: private String m_apnString; private void

Re: [android-developers] What is an Adapter??

2010-11-24 Thread Robin Talwar
Hey thanks man Can you provide me a link to some basic tutorial which over-rides existing button may be or just a simple custom view cause this link which you give is heavy :) I am sorry i am a beginner but quick learner Thanks once again On Wed, Nov 24, 2010 at 11:12 PM, TreKing

Re: [android-developers] java.lang.IllegalArgumentException: View not attached to window manager

2010-11-24 Thread TreKing
On Sat, Nov 20, 2010 at 4:45 AM, PaulJ pjablonsk...@gmail.com wrote: Problem occurs when a dialog progress appears and I change my phone orientation, it freezes and crashes. If you use showDialog() to show a dialog, use dismissDialog() to dismiss it. On Tue, Nov 23, 2010 at 5:35 AM, viktor

Re: [android-developers] What is an Adapter??

2010-11-24 Thread Mark Murphy
On Wed, Nov 24, 2010 at 12:56 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Hey thanks man Can you provide me a link to some basic tutorial which over-rides existing button may be or just a simple custom view cause this link which you give is heavy :) I am sorry i am a beginner but

Re: [android-developers] Re: How to embed an external Activity inside one of mine?

2010-11-24 Thread TreKing
On Tue, Nov 23, 2010 at 6:08 AM, Francesco Vadicamo f.vadic...@gmail.comwrote: Is there any way for doing it? Nope, sorry. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago

Re: [android-developers] Runtime Exception in MediaRecorder.setAudioSource() method

2010-11-24 Thread TreKing
On Tue, Nov 23, 2010 at 6:15 AM, David_Fisher davidfsh...@gmail.com wrote: But right after this when i do the mediaRecorder.setAudioSource(MediaRecorder.setAudioSource.MIC), I get a RunTime exception. And the exception and stack trace is what exactly?

Re: [android-developers] What are differences between onRetainNonConfigurationInstance() and onSaveInstanceState()

2010-11-24 Thread Suresh Chandra Pal
Thanks for your comments mark. Just for curiosity, are there any other differences besides the bundle and Object point. What will be order of execution of these methods. Also in API reference for onSaveInstance() the following is mentioned: *'Do not confuse this method with activity lifecycle

Re: [android-developers] What are differences between onRetainNonConfigurationInstance() and onSaveInstanceState()

2010-11-24 Thread Mark Murphy
On Wed, Nov 24, 2010 at 1:16 PM, Suresh Chandra Pal sureshchandra...@gmail.com wrote: Thanks for your comments mark. Just for curiosity, are there any other differences besides the bundle and Object point. What will be order of execution of these methods. They will occur in some order. Your

Re: [android-developers] What are differences between onRetainNonConfigurationInstance() and onSaveInstanceState()

2010-11-24 Thread Suresh Chandra Pal
Thanks Mark for clearing my doubts. -- Thanks, Suresh Pal *LinkedIn: * http://www.linkedin.com/in/sapientsuresh *Blogs: * http://www.sapientsuresh.blogspot.com *Twitter: *http://twitter.com/sapientsuresh -- You received this message because you are

Re: [android-developers] smooth scrolling

2010-11-24 Thread TreKing
On Tue, Nov 23, 2010 at 12:13 PM, nixspirit nixspi...@gmail.com wrote: Probably this question is answered. If it is, could you point me in the right direction then. http://developer.android.com/reference/android/widget/ScrollView.html

[android-developers] Re: content://telephony/carriers and HTC Incredible

2010-11-24 Thread Dan
On Nov 24, 9:48 am, Mark Murphy mmur...@commonsware.com wrote: content://telephony/carriers is not part of the Android SDK. There's no telling what it does or does not do on any given device. So pretty much outside of contacts, media store, and sync state, portable programs shouldn't use any

[android-developers] Re: Transfer Preferences from demo to paid app

2010-11-24 Thread Nathan
The major caveat here is that your free version needs to have created the prefs as WORLD_READABLE. I did that because I thought I might do something like this someday, and my prefs aren't anything sensitive. But if you didn't do that, then this approach won't work. I checked and I haven't

[android-developers] How to create a custom View

2010-11-24 Thread Abhishek Talwar
Hi guys I have to make a custom ToggleButton view. The purpose of that view should be that :- When the user clicks the button the background image should change thats it Please tell me how to achieve this or direct me to some tutorials for beginners. -- You received this message because you

[android-developers] Re: Windows drivers, inf file, and device ID's

2010-11-24 Thread Rich
Thanks...you were right. Motorola has their own drivers I had to install. On Nov 24, 12:12 pm, Kostya Vasilyev kmans...@gmail.com wrote: A few things you can try are: - Check Motorola's developer network site for their own driver - Use a hardware information program, such as Lavalys Everest

Re: [android-developers] How to create a custom View

2010-11-24 Thread Kumar Bibek
Use a simple ImageButton, and handle the click events to change the Images for the ImageButton. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Nov 25, 2010 at 12:26 AM, Abhishek Talwar r.o.b.i.n.abhis...@gmail.com wrote: Hi guys I have to make a custom ToggleButton

[android-developers] Re: ClassNotFoundException crash reports from Market

2010-11-24 Thread Moss
Could it be that the class loader is failing to find the right package? I just saw that you are using 'com.company.app' as your package name. Googling a bit I found that there are many apps that use the same schema. Normally I use my domain to identify my packages in a unique way like

Re: [android-developers] How to create a custom View

2010-11-24 Thread Robin Talwar
No i dont want to do it this way. I have done this much. This time i want to learn how to create a custom view. Please help On Thu, Nov 25, 2010 at 12:28 AM, Kumar Bibek coomar@gmail.com wrote: Use a simple ImageButton, and handle the click events to change the Images for the ImageButton.

[android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread gato chlr
Hi, I'm trying to customize a button in order to have a rounded button. Also i can't use an image s background. So i need to do draw a circle and set it as the background of the button. I have been trying to draw a shape and use it as button's background but, it looks like a rectangle button,

Re: [android-developers] How to create a custom View

2010-11-24 Thread Kumar Bibek
Well, the ToggleButton control basically does the same thing (sure enough). For creating custom views, you would have to either extend any of the ViewGroups/Views. You have to tell your specific requirements. Most of the time, creating custom views from scratch, ie. extending ViewGroup/View

Re: [android-developers] Re: content://telephony/carriers and HTC Incredible

2010-11-24 Thread Mark Murphy
On Wed, Nov 24, 2010 at 1:43 PM, Dan dan.schm...@gmail.com wrote: On Nov 24, 9:48 am, Mark Murphy mmur...@commonsware.com wrote: content://telephony/carriers is not part of the Android SDK. There's no telling what it does or does not do on any given device. So pretty much outside of contacts,

Re: [android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread Kumar Bibek
Well, you could use a 9 patch png for your button's background. Your approach is also fine. I guess, you need a little modificaton with your shape file. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Nov 25, 2010 at 12:35 AM, gato chlr dany...@gmail.com wrote: Hi,

[android-developers] Accessing Video Thumbnail

2010-11-24 Thread Julius Spencer
Hi, I am having trouble getting a thumbnail for a video. I am targeting 2.1 update 1. (API level 7) I would like to use MediaStore.Video.Thumbnails.getThumbnail. This works perfectly if the SD Card has been mounted / unmounted. However, when a video is first created I would like it to be

Re: [android-developers] android internationalization problem

2010-11-24 Thread TreKing
On Tue, Nov 23, 2010 at 12:45 PM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: - how to check the Norwegian language using xml file ? Not sure what you're asking. - and what the value for local if the device language is Norwegian ??? http://www.google.com/search?q=norwegian+locale

Re: [android-developers] Appearance updated application as Just in - wait 12-14 days between updates?

2010-11-24 Thread TreKing
On Wed, Nov 24, 2010 at 10:33 AM, EvgenyV evgen...@gmail.com wrote: Is it some new Market rule struggling with spam programs? This has always been the case, AFAIK. - TreKing

[android-developers] create an activity floating on another activity

2010-11-24 Thread cindy
Hi there, Is that possible to create an activity that will float on an other activity, like dialog ? Thanks! Cindy -- 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

Re: [android-developers] create an activity floating on another activity

2010-11-24 Thread Mark Murphy
http://developer.android.com/guide/topics/ui/themes.html#ApplyATheme You can use: android:theme=@android:style/Theme.Dialog in your activity element in the manifest. On Wed, Nov 24, 2010 at 2:54 PM, cindy ypu01...@yahoo.com wrote: Hi there, Is that possible to create an activity that will

[android-developers] My app deleted from android market console

2010-11-24 Thread Nicolas Thibaut
My app does'nt appear on the console. I have do this when upgrading: - add hight res icon with bad size. - try to publish - error : ok - upload apk saved to draft : ok - click on save : ok the app just disappear. ? -- You received this message because you are subscribed to the Google Groups

  1   2   3   >