[android-developers] What is the best way to display facebook profile in android app?

2011-10-28 Thread Lidia
Hi, I am displaying a list of facebook friends in my app, and on a friend click i need to display his profile in a dialog. I am looking for a solution to load a facebook profile customised for mobiles, that contains only basic profile informations, because if a load the whole page by using:"http:/

[android-developers] Re: Sending files with specific MIME types over Bluetooth.

2011-10-28 Thread Zsolt Vasvari
Since nobody replied to this, I supposed no one knows the answer. Since in my app Bluetooth is the option that makes the most sense for transferring files, I was thinking of directly calling the BT APIs and doing the transfer myself. But before I dive into it, is this even feasible with the publi

[android-developers] Re: How to detect bluetooth headset is connect in SDK 9?

2011-10-28 Thread 驼峰
Does anyone know whether it is possible? On Oct 28, 10:51 am, 驼峰 wrote: > Is it possible that I get notified when the bluetooth headset plugged > in instead of polling through isBluetoothA2dpOn()? > > On Oct 27, 7:31 pm, lbendlin wrote: > > > > > > > > > it may not be the optimal way but I use >

Re: [android-developers] First Question ... be gentle

2011-10-28 Thread Francisco Dalla Rosa soares
http://lmgtfy.com/?q=java+override I can't of nicer way to do this :) 2011/10/28 JBlaza > I have looked on several other forums. i am new to the java programming > community, and i am looking for a clear understanding of the @overide > annotation, and what it does, or signifies. > > -- > You

Re: [android-developers] New to Android

2011-10-28 Thread MANISH RAJ
Hi Sean Thomas, As you wrote there you want run a project which is already you have. If you have project file then it is very easy. You first create a new android project then uses option create project from existing source and navigate to the project files. If you want to change the

Re: [android-developers] Re: will you suggest me

2011-10-28 Thread bh@nu
no sir.. i have to learn basic knowledge in android rgt nw then aftr i wil search for a job, but i shud knw the famliar websts related to android na On Fri, Oct 28, 2011 at 11:29 AM, midhun midhunvp wrote: > Are you planning to learn android or search job in android ? > > -- > You received th

Re: [android-developers] Unable to get Latitude and Longitude of Address using Geocoder

2011-10-28 Thread MANISH RAJ
HI, I was facing the same problem then i used the following code to convert Addresses to Latitude and Longitude. In your case you are using Locale.ENGLISH. I think use default Locale that may resolve this Geocoder geocoder = new Geocoder(this, Locale.getDefault()); try { Li

[android-developers] Re: USB Tethering doesn't work with 3G

2011-10-28 Thread Eric Wong (hdmp4.com)
Check if your computer's USB tethering driver is correctly installed. Windows XP requires you to install USB tethering driver manually. Windows 7 have build-in driver. On Oct 28, 12:45 am, fycd wrote: > hi all: > >     I've got a problem here. my phone's USB tethering dosen't work with 3G. > > w

Re: [android-developers] Re: will you suggest me

2011-10-28 Thread Jovish P
You can refer following link s http://developer.android.com/index.html Links of few blogs which I used to refer android-journey.blogspot.com androidcore.com www.androidengineer.com andmob.wikidot.com iamvijayakumar.blogspot.com pareshnmayani.wordpress.com saigeethamn.blogspot.com On Fri, Oct

[android-developers] How can i get emulator(device) hardware specification ..

2011-10-28 Thread venugopal reddy
Hi friends, Using android code , how can i find the device hardware and software specifications... pls help me -- 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

[android-developers] Re: How to reactivate an older APK?

2011-10-28 Thread Dusk Jockeys Android Apps
Yeah, I guess if you have a database then you might have issues with forward compatibility. My stuff is widgets and wallpapers, so less changes in settings required between versions. Thus for the general case I guess I can see where they are coming from. But if you have released a version, the rea

Re: [android-developers] Re: USB Tethering doesn't work with 3G

2011-10-28 Thread fycd
hi I use ubuntu 10.04 and windows7. Actually, 3G+tethering worked well a month ago, but now it doesn't work.. 2011/10/28 Eric Wong (hdmp4.com) > Check if your computer's USB tethering driver is correctly installed. > > Windows XP requires you to install USB tethering driver manually. > Windows

Re: [android-developers] ANDROID WIDGETS

2011-10-28 Thread Isaac Wesley
Is the app you are trying to start, a service? On Fri, Oct 28, 2011 at 11:48 AM, Omollo Ateng wrote: > Hi there, am developing an application using both activity and service. I > would like a widget to be on the screen such that if clicked (tapped), it > starts my app, and if again tapped - in a

[android-developers] Re: error message "Application has stopped unexpectedly please try again" in android

2011-10-28 Thread Isham Mohamed Iqbal
I corrected my code but the error message still coming -- 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-develo

[android-developers] How to get updated c2dm registration Id.

2011-10-28 Thread Manikandan M
Hi All, As i know c2dm registration id periodically refreshed, how do i get the refreshed c2dm registration id. Is i want to register again at particular interval? Thanks in Advance Manikandan. -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] APK removing time message popup

2011-10-28 Thread NAVI NEW
Hello Sir, I have a created app apk , i am installing that one on devices but i want message from side when user removing this specific application from his own device . Is this possible in android when removing the application handle that state... -- You received this message because you are

[android-developers] APK removing time message popup

2011-10-28 Thread NAVI NEW
Hello Sir, I have a created app apk , i am installing that one on devices but i want message from side when user removing this specific application from his own device . Is this possible in android when removing the application handle that state... -- You received this message because you are

Re: [android-developers] Specifying drawables for 960x540 (specifically, the Atrix)

2011-10-28 Thread Stefan Alder
What would be the better alternative? Manually scaling up an hdpi drawable ( x 7/6) ? Or accepting that it's going to be uncomfortably small for the user? Thanks On Mon, Apr 18, 2011 at 1:15 PM, Dianne Hackborn wrote: > I can not stress how much you should *not* be targeting drawables for > sp

Re: [android-developers] Re: will you suggest me

2011-10-28 Thread bh@nu
thanx... On Fri, Oct 28, 2011 at 1:53 PM, Jovish P wrote: > You can refer following link s > > http://developer.android.com/index.html > > Links of few blogs which I used to refer > > android-journey.blogspot.com > androidcore.com > www.androidengineer.com > andmob.wikidot.com > iamvijayakumar.b

Re: [android-developers] Re: will you suggest me

2011-10-28 Thread venugopal reddy
these are sample example.. http://android-coding.blogspot.com/. And best one is http://developer.android.com/ On Fri, Oct 28, 2011 at 3:26 PM, bh@nu wrote: > thanx... > > > On Fri, Oct 28, 2011 at 1:53 PM, Jovish P wrote: > >> You can refer following link s >> >> http://developer.android.com/

Re: [android-developers] ANDROID WIDGETS

2011-10-28 Thread Omollo Ateng
no it is an activity On Fri, Oct 28, 2011 at 12:02 PM, Isaac Wesley wrote: > Is the app you are trying to start, a service? > > On Fri, Oct 28, 2011 at 11:48 AM, Omollo Ateng wrote: > >> Hi there, am developing an application using both activity and service. I >> would like a widget to be on the

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-28 Thread Manikandan M
Hi All, Is that any other way to do this without registering at particular interval. Thanks Manikandan On Fri, Oct 28, 2011 at 2:52 PM, Manikandan M wrote: > Hi All, > > As i know c2dm registration id periodically refreshed, how do i get > the refreshed c2dm registration id. > > Is i want to r

[android-developers] FindBugs detector for Android

2011-10-28 Thread joebowbeer
I've shared the beginnings of a FindBugs plugin for Android: https://bitbucket.org/joebowbeer/findbugsandroidplugin To use: hg clone, mvn package, and copy the .jar to your FindBugs plugin folder. Currently, the plugin contains a single detector, which finds (non- static) android.os.Handler inne

[android-developers] close my browser

2011-10-28 Thread venugopal reddy
Hi I want to close my browser. I can go back to the home screen, but when i go back to my browser, the last page i was on is still displayed. I would like to close it completely How do i do this? -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: Unable to get Latitude and Longitude of Address using Geocoder

2011-10-28 Thread Ali Chousein
Did you set in AndroidManifest.xml? - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com/ | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ https://marketplace.cisco.com/apphq/store/prod

[android-developers] Re: Force close error while receiving message

2011-10-28 Thread Ali Chousein
Did you set the RECEIVE_SMS permission in your AndroidManifest.xml? - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com/ | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ https://marketpla

[android-developers] How to load a html file from sd card in a webview ?

2011-10-28 Thread Jovish P
How to load an html file which downloaded to SDCard through my application in a webview ??? Regards , Jovish P -- 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

[android-developers] Disable video output on the application

2011-10-28 Thread Ricardo Silva
Hello, For security term of using and published videos, I need to disable all the video output on the android devices. How I can disable through the API or other way? Thanks Kind Regards, Ricardo Silva -- You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: ListItems in ListView with visibility set to GONE still take space

2011-10-28 Thread IcedNet
Remove them from the data set and update the adapter... I'm pretty sure what you're doing is not a good idea, though I' ve never tried it... Peace, Dan On Oct 27, 8:13 am, Peter Berkenbosch wrote: >  Hello list, > > I must be missing something stupid.. but I a list with items that can be > mar

Re: [android-developers] Re: Force close error while receiving message

2011-10-28 Thread Ratheesh Valamchuzhy
u want to dispaly the received message ? -- 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...@g

Re: [android-developers] opengl and sketchup problem

2011-10-28 Thread Latimerius
On Thu, Oct 27, 2011 at 8:38 PM, John Davis wrote: > That is what I kind of what I tried to do (I used GL_VERTEX_ARRAY, > INDEX_ARRAY was not there.): That's correct, sorry, I got distracted. GL_INDEX_ARRAY is a different thing. > Using this as a guide: > http://www.songho.ca/opengl/gl_vertexar

[android-developers] How to decompose apk files

2011-10-28 Thread venugopal reddy
hi -- 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 more options, visi

[android-developers] Android SDK is the must buggy SDK in the entire mobile ecosystem.

2011-10-28 Thread sblantipodi
http://postimage.org/image/8nqmbfarj/ Clearly no software is using the tools directly except for the SDK Manager itself. I really can't belive that google is offering similar products to developers. I have no time to loose behing this. -- You received this message because you are subscribed to t

Re: [android-developers] How to decompose apk files

2011-10-28 Thread Ratheesh Valamchuzhy
procedure to decoding .apk files---step wise method--> step 1: = make a new folder and put .apk file (which you want to decode) now rename this .apk file with extension .zip (eg:rename from filename.apk to filename.apk.zip) and save it..now you get classes.dex files etc...at this stage yo

Re: [android-developers] Unable to get Latitude and Longitude of Address using Geocoder

2011-10-28 Thread Nireesha Yarlagadda
Thanks manish On Fri, Oct 28, 2011 at 1:23 PM, MANISH RAJ wrote: > HI, > I was facing the same problem then i used the following code to convert > Addresses to Latitude and Longitude. In your case you are using > Locale.ENGLISH. I think use default Locale that may resolve this > > > Geocoder g

Re: [android-developers] Android SDK is the must buggy SDK in the entire mobile ecosystem.

2011-10-28 Thread Kostya Vasilyev
Close any processes that may be using this folder: Explorer, any command line windows, Eclipse... To be fair, installers are usually able to deal with this (file used by application "xxx", click here to close, or click here to retry, or click here to complete after reboot...) -- Kostya 28.1

[android-developers] Re: Android SDK is the must buggy SDK in the entire mobile ecosystem.

2011-10-28 Thread sblantipodi
Solution to this bugs. - Go rename you ./android/tools directory in something else. - Enter the renamed directory and run the android.bat - Install the update - Delete the renamed directory Can't belive that we still at this level. R15 and we have this kind of problems, emulator that doesn't star

[android-developers] Re: Android SDK is the must buggy SDK in the entire mobile ecosystem.

2011-10-28 Thread sblantipodi
Obviously I closed everything before posting here, the problem is that the SDK Manager isn't able to rename the folder because it is using it itself -_- On Oct 28, 2:43 pm, Kostya Vasilyev wrote: > Close any processes that may be using this folder: Explorer, any command > line windows, Eclipse...

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

2011-10-28 Thread sblantipodi
This bug has been fixed in the R15 update, in any case I can't understand why I cannot see the navigation button when using WXGA resolution and API Level 14. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Newb Learning to Debug

2011-10-28 Thread nester
So I'm making progress on my first real android app (not hello world). So far everything is going pretty smooth... except for debugging. I just can't figure it out for the life of me! I've been able to insert breakpoints and inspect, but when stepping through code... it just seems to break. Other

[android-developers] Re: How to detect bluetooth headset is connect in SDK 9?

2011-10-28 Thread lbendlin
http://developer.android.com/reference/android/media/AudioManager.html#ACTION_AUDIO_BECOMING_NOISY might give you a lever. Subscribe to the notifications and see if this one gets fired. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Recoverd deleted files in a android tablet

2011-10-28 Thread maikelalonso
Guys, I need to recover deleted files from my Andriod Tablet internal storage foldet ( /mnt/sdcard ). This is mounted like a fuse filesystem. I've run Hexamob Recovery PRO from Android Market in my smartphone and it recovered very good some deleted files from my vfat storage folders (both internal

[android-developers] Error in documentation

2011-10-28 Thread Arnaud VALLAT
Hello, how can I report an error in the documentation? Regards -- 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] Newb Learning to Debug

2011-10-28 Thread John Davis
Hi On Fri, Oct 28, 2011 at 9:10 AM, nester wrote: > So I'm making progress on my first real android app (not hello world). > So far everything is going pretty smooth... except for debugging. I > just can't figure it out for the life of me! > Good. Keep at it. > I've been able to insert breakpo

[android-developers] new features of ICS

2011-10-28 Thread Zhihong GUO
Hi all, It is said in Android 4.0 platform information that: the CSS 3D transformations are supported. can someone tell me what kind of hardware required by this feature? CPU, GPU, MEMORY and others? Thanks a lot. James -- You received this message because you are subscribed to the Google Grou

Re: [android-developers] opengl and sketchup problem

2011-10-28 Thread John Davis
On Fri, Oct 28, 2011 at 7:57 AM, Latimerius wrote: > On Thu, Oct 27, 2011 at 8:38 PM, John Davis wrote: >> That is what I kind of what I tried to do (I used GL_VERTEX_ARRAY, >> INDEX_ARRAY was not there.): > > That's correct, sorry, I got distracted. GL_INDEX_ARRAY is a different thing. > >> Usi

Re: [android-developers] New to Android

2011-10-28 Thread John Davis
Hi Sean, If you have an already built .apk file, you can use the command line to install it on the emulator. adb install foo.apk John On Fri, Oct 28, 2011 at 3:35 AM, MANISH RAJ wrote: > Hi Sean Thomas, > As you wrote there you want run a project which is already you have. If > you have pro

Re: [android-developers] How do you use and debug your apps in your main phone?

2011-10-28 Thread Ricardo Amaral
I think I'll have to add that to my todo list... Too bad there are no better alternatives. :/ -- 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

[android-developers] Re: How do you use and debug your apps in your main phone?

2011-10-28 Thread Ricardo Amaral
I already use the emulator a lot for development but it's always good to test on a real device and I do it from time to time just to make sure everything works. I think I'll wait until I buy a new Android phone, I have an HTC Hero and, as you can imagine, got stuck in time; I'll use that for de

Re: [android-developers] First Question ... be gentle

2011-10-28 Thread John Davis
2011/10/28 Francisco Dalla Rosa soares : > http://lmgtfy.com/?q=java+override > I can't of nicer way to do this :) > > > 2011/10/28 JBlaza >> >> I have looked on several other forums. i am new to the java programming >> community, and i am looking for a clear understanding of the @overide >> annot

Re: [android-developers] Re: How do you use and debug your apps in your main phone?

2011-10-28 Thread John Davis
On Fri, Oct 28, 2011 at 9:58 AM, Ricardo Amaral wrote: > I already use the emulator a lot for development but it's always good to > test on a real device and I do it from time to time just to make sure > everything works. I think I'll wait until I buy a new Android phone, I have > an HTC Hero and,

Re: [android-developers] how to make app run forever with out exit

2011-10-28 Thread John Davis
Hi Sureshmca, Try to search for 10 innovations in Android presentaion. One of them is that apps never exit. The apps are suspended. You can use the application manager to force stop or uninstall the application. I am not certain if you can use this method to uninstall another applicaiton thoug

Re: [android-developers] emulator

2011-10-28 Thread John Davis
You are not specifying a virtual disk image. In other words, you are running just the emulator but not an emulator running a specific machine. Put in terms of vmware, you are running a vmware software, but not the vmware software plus your pc's disk image. In terms of real hardware, you are boot

Re: [android-developers] Android developer discussion forums?

2011-10-28 Thread John Davis
I like #android-dev on irc.openprojects.net. -- John F. Davis 独树一帜 -- 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 and

Re: [android-developers] Re: Install an android app on Google TV

2011-10-28 Thread John Davis
I have a logitech revue. Will they ever enable marketplace on these things? I would love to install AngryBirds on my 55" tv. On Thu, Oct 27, 2011 at 7:32 AM, Punith Raj wrote: > Hi dillipk, > > Google TV is supported only for android version 3.1 and above, Install > the updated versions and you

Re: [android-developers] A question regarding publishing an application in android market

2011-10-28 Thread John Davis
Possibly. The marketplace app filters available apps by the host platform capabilities. On Thu, Oct 27, 2011 at 6:16 AM, Kobi wrote: > I developed an application which has the following permissions on its > "androidManifest.xml" file: > android.permission.CALL_PHONE" > android.permission.READ_PH

Re: [android-developers] HTC opengles blank screen (and ANR) issues.

2011-10-28 Thread John Davis
Enable the opengl debugging so that output goes to the logcat. It will also cause an exception to break execution if an opengl error occurs. On Thu, Oct 27, 2011 at 3:02 AM, Affine Studios wrote: > We're having an issue with our app/game on what seems to be many HTC > devices where a blank scree

Re: [android-developers] How do you use and debug your apps in your main phone?

2011-10-28 Thread Studio LFP
You can always change the package name to add "beta" or something in it somewhere. The same application can live on your device twice if the package names aren't the same. I've done it before and as long as you are using storage that is specific to the app instead of a common directory on the S

[android-developers] Re: Including SWF file in my android project

2011-10-28 Thread Jeremy Dagorn
And? What do you want to do exactly? If you want to play the file, you have to opened it in a webview I guess, or maybe just open it (if there is a flash player on your phone it will play it without issues probably..). You could stored it in the assets' folder of your application. Could you be mor

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-28 Thread Manikandan M
Hi All, Any ideas. Thanks Manikandan On Fri, Oct 28, 2011 at 3:50 PM, Manikandan M wrote: > Hi All, > > Is that any other way to do this without registering at particular > interval. > > > Thanks > Manikandan > > > On Fri, Oct 28, 2011 at 2:52 PM, Manikandan M wrote: > >> Hi All, >> >> As i kn

Re: [android-developers] HTC opengles blank screen (and ANR) issues.

2011-10-28 Thread Raghav Sood
I don't have an HTC, but this happens on my Optimus One occasionally. If I use the phone without restarting for around 30-40 days, the apps will work fine for ages and then suddenly every single opengl app starts showing a black screen. Restarting fixes it instantly. I'm running 2.3.3, stock. Than

[android-developers] Re: Newb Learning to Debug

2011-10-28 Thread Studio LFP
Check out the log functions here: http://developer.android.com/reference/android/util/Log.html You drop them in and around the functions you want to debug to output variables and status. Doing this helps you confirm in real-time that things are going well. There are times where you will not be

[android-developers] How i can make that a polygon fill the 80% of the width of the screen?

2011-10-28 Thread saex
I have a simple square (polygon), and i want that it fills the 80% of the width of the screen In other words, i want to position the square on the center on the center of the screen, but with a width of the 80% of the total width of the screen How can i do it? I can't find examples/tutorials abou

[android-developers] 3G+USB_tethering doesn't work on http

2011-10-28 Thread fycd
Hi all: Now I find that when I use 3G+USB_tethering. my PC can't access any website. but,it can access MSN, access ftp, it can sand and receive Email with Email-client(such as Evolution). and it just CAN'T access any website. I don't know whether it is wrong with the configuration of my PC's bro

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-28 Thread Studio LFP
I don't think the ID you get for the device expires. If you give the user the option of unregistering, then you would use the same register routine again to get a new ID. If the user uninstalls the application, it also unregisters and you would need to get a new ID if they reinstalled. If neith

[android-developers] Re: Android SDK is the must buggy SDK in the entire mobile ecosystem.

2011-10-28 Thread Peter Sinnott
There are a lot of tools for helping with issues like this. http://www.emptyloop.com/unlocker/ Kinda sad really. It makes it look like no one in the installer team bothers to test with the most popular platform. On Oct 28, 1:48 pm, sblantipodi wrote: > Obviously I closed everything before posti

[android-developers] Best practices for bundling a custom ringtone/notification sound with your app?

2011-10-28 Thread Russell Stewart
I have been developing for Android for quite a while now, but for the first time I am going to be bundling a few custom notification sounds with my app. I am curious if there is any standard practice for making those sounds available to the user? I currently have the mp3 files in in the "assets

Re: [android-developers] How i can make that a polygon fill the 80% of the width of the screen?

2011-10-28 Thread John Davis
Hello Saez, This looks like opengl code which uses glut library for windows/linux. I suggest you look into Ed Burnette's Hello Android book. It shows you how to draw a cube in opengl on android. Start there. John F. Davis 独树一帜 -- You received this message because you are subscribed to the G

[android-developers] get first row from cursor

2011-10-28 Thread André
cursor.moveToFirst(); while (cursor.moveToNext()) { ...} When I use this code the first row in my cursor seems to be skipped. It feels wrong to make the cursor jump back one step in while every time. How would I get the first row ? //André -- You received this message because you are subscribed

Re: [android-developers] get first row from cursor

2011-10-28 Thread Kostya Vasilyev
28.10.2011 19:12, André пишет: cursor.moveToFirst(); while (cursor.moveToNext()) { ...} When I use this code the first row in my cursor seems to be skipped. Of course - the code moves to first row, then moves to next row, then does "..." It feels wrong to make the cursor jump back one ste

[android-developers] Re: get first row from cursor

2011-10-28 Thread Studio LFP
Remove the cursor.moveToFirst(). The moveToNext() will move the pointer to the first row the first time through the while statement. If you need to reset the cursor before the while loop, try using cursor.moveToPosition( -1 ). Steven Studio LFP http://www.studio-lfp.com On Friday, October 28

Re: [android-developers] Update Fragment View

2011-10-28 Thread raunak
Yes, you are right! 1 Fragment represent one UI. Better way to tackle my problem would be to include both layout in one xml, and use hide/show in setVisibility();. This approach would be much cleaner than de-attaching, re-attaching the fragment. Thanks for your input, which led me to the answer

[android-developers] Re: Load Map

2011-10-28 Thread Andrei
Did this check does not work ( On 28 окт, 05:42, lbendlin wrote: > you can  make your mapview a singleton and then check it via > > if (myMapView != null) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: Account suspended

2011-10-28 Thread JackN
You? http://www.chillingeffects.org/dmca512c/notice.cgi?NoticeID=131464 On Oct 26, 5:27 am, Sy wrote: > I received an email yesterday informing me that my developer account > has been suspended. > > "Your Android Market Publisher account has been suspended due to > multiple suspension violatio

[android-developers] Scrolling a Table

2011-10-28 Thread Mark Phillips
I have a table with 10 columns and 11 rows. All the columns are the same size, except the first and last. I only want to display three columns at a time - the first, a middle column, and the last column. Vertical scrolling is handle normally. My layout is: LinearLayout ScrollView (for vertica

[android-developers] Re: get first row from cursor

2011-10-28 Thread André
Thanks both of you. It worked! On Oct 28, 5:35 pm, Kostya Vasilyev wrote: > 28.10.2011 19:12, André пишет: > > > cursor.moveToFirst(); > > while (cursor.moveToNext()) { > > ...} > > > When I use this code the first row in my cursor seems to be skipped. > > Of course - the code moves to first row,

Re: [android-developers] Re: Account suspended

2011-10-28 Thread Kristopher Micinski
That's for a chrome extension... so I'd say... no. Kris On Fri, Oct 28, 2011 at 11:56 AM, JackN wrote: > You? > > http://www.chillingeffects.org/dmca512c/notice.cgi?NoticeID=131464 > > > > On Oct 26, 5:27 am, Sy wrote: >> I received an email yesterday informing me that my developer account >> h

Re: [android-developers] Re: Install an android app on Google TV

2011-10-28 Thread Mark Murphy
http://googletv.blogspot.com/2011/10/update-on-google-tv.html 2011/10/28 John Davis : > I have a logitech revue. Will they ever enable marketplace on these > things? I would love to install AngryBirds on my 55" tv. > > On Thu, Oct 27, 2011 at 7:32 AM, Punith Raj wrote: >> Hi dillipk, >> >> Goog

Re: [android-developers] A question regarding publishing an application in android market

2011-10-28 Thread Mark Murphy
On Thu, Oct 27, 2011 at 6:16 AM, Kobi wrote: > I developed an application which has the following permissions on its > "androidManifest.xml" file: > android.permission.CALL_PHONE" > android.permission.READ_PHONE_STATE" > The problem is that I cannot download this application through > "Android Mar

Re: [android-developers] Disable video output on the application

2011-10-28 Thread Mark Murphy
On Fri, Oct 28, 2011 at 7:45 AM, Ricardo Silva wrote: > For security term of using and published videos, I need to disable all > the video output on the android devices. > How I can disable through the API or other way? There is no concept of video output in the Android SDK. Device manufacturers

Re: [android-developers] How to load a html file from sd card in a webview ?

2011-10-28 Thread Mark Murphy
webView.loadUrl(Uri.fromFile(...).toString()) where ... is a File object pointing to your file and webView is your WebView. On Fri, Oct 28, 2011 at 7:41 AM, Jovish P wrote: > How to load an html file which downloaded to SDCard  through my application > in a webview ??? > > > Regards , > Jovish P

Re: [android-developers] How do you use and debug your apps in your main phone?

2011-10-28 Thread Ricardo Amaral
Yes, that's another solution. But something I really wanted to avoid. If the whole thing was automatic, it would be great. For instance, the android:debuggable attribute could be used for something like this. As long as that attribute is true, the app could behave as an app with a different pac

Re: [android-developers] APK removing time message popup

2011-10-28 Thread Mark Murphy
On Fri, Oct 28, 2011 at 5:29 AM, NAVI NEW wrote: > I have a created app apk , i am installing that one on devices  but i > want message from side when user removing this specific application > from his own device . Fortunately, this is not supported. > Is this possible in android when removing t

[android-developers] Re: Android SDK is the must buggy SDK in the entire mobile ecosystem.

2011-10-28 Thread sblantipodi
If you read better, I posted a solution two minutes later that I opened this thread that doesn't require external tool. This is only one of the dozens of problems with this alpha sdk without quality control. I can say for sure that this is the worst SDK in the mobile market. On Oct 28, 4:52 pm,

[android-developers] SDK 4, R15, where is the navigation button?

2011-10-28 Thread sblantipodi
As title. Where is the navigation button? I can see this button in WXGA800 resolution only. Why? -- 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 t

[android-developers] Fwd: Android Calendar to sync after adding events programmatically

2011-10-28 Thread David Toledo
Hi All is possible that some trigger in Android Calendar can be to sync new events after adding events programmatically. Thanks David -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

Re: [android-developers] How do you use and debug your apps in your main phone?

2011-10-28 Thread Kristopher Micinski
Except that there are people who distribute debuggable apks... Kris On Fri, Oct 28, 2011 at 12:17 PM, Ricardo Amaral wrote: > Yes, that's another solution. But something I really wanted to avoid. > > If the whole thing was automatic, it would be great. For instance, the > android:debuggable attr

Re: [android-developers] close my browser

2011-10-28 Thread Kristopher Micinski
Not a question for this list, but in general, you don't "close" applications. Why do you want to do this? I suspect that any problems with this can be solved by clearing the history.. kris On Fri, Oct 28, 2011 at 6:49 AM, venugopal reddy wrote: > Hi > > I want to close my browser. I can go bac

Re: [android-developers] How do you use and debug your apps in your main phone?

2011-10-28 Thread Josh Lefler
Depending on how your app stores data, you could adb pull the data files prior to installing the development version, do your testing, reinstall the production version, then adb push the data files back to your device to restore the production state.I do this with a small app of mine that uses sqli

[android-developers] Synchronizing video events...

2011-10-28 Thread blake
Does anyone have any suggestions about how to force video events to happen at an exact time? I've been thinking about an application that would require two adjacent phones to display the same thing at exactly the same time and I'm wondering what that granularity of "exact" is going to be. Some te

[android-developers] Re: How do you use and debug your apps in your main phone?

2011-10-28 Thread MB
You could store your data in sdcard instead of storing it in per-app storage area. Deleting the app does not wipe the data the app stores on the sdcard. The best option would be to buy a low end Android device from Craigslist/Amazon/Ebay etc. Your time is much more valuable than what a low end dev

[android-developers] How to call native (JNI) code from test application

2011-10-28 Thread mellery451
I'm building an app and I have a corresponding test application for it. One of the first items I have added is some native code for a well- encapsulated computation (hashing). I now want to test this native code from my test application. I've imported the JNI wrapper class into my InstrumentationTe

[android-developers] Re: Xperia Neo bootloader unlock question

2011-10-28 Thread Danny.Zubiate
As stated on the Unlocking the Boot Loader article at http://unlockbootloader.sonyericsson.com/, "you may void the warranty of your phone and/or any warranty from your carrier if you unlock the boot loader." The warranty is only voided if you unlock the boot loader. Getting the code from the webs

[android-developers] Re: How to call native (JNI) code from test application

2011-10-28 Thread Studio LFP
The static initializer of your Java wrapper should be loading the library. Do you have a System.loadLibrary() call in there? If you do, make sure you have copied the .so file into the proper location in the libs directory of your project. Steven Studio LFP http://www.studio-lfp.com On Friday,

[android-developers] Re: How do you use and debug your apps in your main phone?

2011-10-28 Thread Ricardo Amaral
Thank you all for all the answers, I have lot to think about now :) -- 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 andro

[android-developers] Re: How to call native (JNI) code from test application

2011-10-28 Thread mellery451
argh - you are correct. I just checked the LogCat output and I now see that the library is in-fact being loaded, but the method call itself is failing to resolve. Upon further inspection, it turns out I renamed my method but forgot to rename it in the native implementation file. Fixed that and now

[android-developers] protected mode?

2011-10-28 Thread bob
On the recent x86 desktop processor, protected mode is used to ensure processes don't jack with other processes' memory. How does Android and the ARM processor typically handle this? One reason I'm wondering is because my VIZIO tablet got jacked up and required a factory reset. I called VIZIO tr

[android-developers] Contact Prediction

2011-10-28 Thread David Toledo
Hi All Exist some way for make Contact Prediction, I've saw that some apps dialer or contact list, ("Go Dialer", "Youlu Address Book"). Appears in your contact list, contact from gmail or skype, these infomation is saves in some "provider" Best Regards David -- You received this message becau

[android-developers] Should I use the same certifcate for all my apps or a different one per app?

2011-10-28 Thread Ricardo Amaral
I suppose the documentation recommends one certificate per developer, so all apps belonging to someone, are, somehow, associated to that one developer. But I'm wondering if there is anyone out there using one different certificate per app and what are the advantages of doing so? If any... But

[android-developers] Re: Contact Prediction

2011-10-28 Thread Studio LFP
You may want to check out the AutoCompleteTextView here: http://developer.android.com/reference/android/widget/AutoCompleteTextView.html You can put a cursor adapter behind it that connects to the contacts in the device. Steven Studio LFP http://www.studio-lfp.com On Friday, October 28, 2011

  1   2   >