[android-developers] Re: Difference between user-induced screen on and programmatically induced screen on.

2012-04-05 Thread Deep
Hi, One possible solution for this can be : When you broadcast screen-on intent through your code, put an extra key kind of flag contains is from code and value is true. So, when you receive this intent and if it contains that flag key it means that it is sent from program else screen-on done

[android-developers] Re: Video Sharing to Facebook from Android App using share intent FAIL :( .

2012-04-05 Thread Ali Chousein
Look at the following lines in your logcat. Your implementation throws NullPointerException. You have your source code, so only you can solve this problem, by debugging it and by finding what causes this NullPointerException. Your question contains the answer that you need actually.

[android-developers] Re: Difference between user-induced screen on and programmatically induced screen on.

2012-04-05 Thread Put_tiMe
No no, I don't broadcast screen on intent. It's done by the OS. On Thursday, April 5, 2012 12:27:54 PM UTC+5:30, Deep wrote: Hi, One possible solution for this can be : When you broadcast screen-on intent through your code, put an extra key kind of flag contains is from code and

Re: [android-developers] Re: MapActivity: Couldn't get connection factory client

2012-04-05 Thread Vo Trung Liem
Do you have a valid map key? Please use new key store to build and display map. On Thu, Apr 5, 2012 at 5:22 AM, lbendlin l...@bendlin.us wrote: I still get that error a lot even with a correct map key (map tiles are loading). Apart from the error message, do you see any negative effects in

Re: [android-developers] Re: Large data downloads from a Web app to Android client getting Out of memory error

2012-04-05 Thread Vo Trung Liem
Follow the code may will help you. URL url = new URL(path); URLConnection cn = url.openConnection(); cn.connect(); InputStream stream = cn.getInputStream(); if (stream == null) throw new RuntimeException(stream is null);

Re: [android-developers] customAdapter how to print out content of array in TextView.setText() of getview

2012-04-05 Thread Vo Trung Liem
Hello, I think you just use mData is enough to display value and key. About your adapter please refer the way create customer baseAdapter from http://stackoverflow.com/questions/5324689/custom-adapter-for-gridview-in-android Regards Liem Vo On Wed, Apr 4, 2012 at 9:52 PM, Graham Bright

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-05 Thread Kostya Vasilyev
Oh, I see. Rather than coming up with an API to enumerate and access multiple storage locations, the entire feature was made explicitly unsupported for third-party applications. Nice. -- K 5 апреля 2012 г. 8:43 пользователь Nathan nathan.d.mel...@gmail.comнаписал: Well, what do you know.

Re: [android-developers] Re: ScrollView and programmatically scrolling

2012-04-05 Thread Kostya Vasilyev
TextView most certainly does not have a ScrollView bundled in it. It does have its own scroll functionality, but that's different. As for the original problem, if you're trying to call scrolling methods immediately after calling setText on the text view, it may not work because the view hasn't

[android-developers] anoop ajay wants to chat

2012-04-05 Thread anoop ajay
I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! --- anoop ajay wants to stay in

Re: [android-developers] Re: MapActivity: Couldn't get connection factory client

2012-04-05 Thread giles ian
Thanks All, So i has first delete the corrupt debug.keystore and then regenerate a new one. Then the map key generated from this forked fine On Thu, Apr 5, 2012 at 1:36 PM, Vo Trung Liem lie...@gmail.com wrote: Do you have a valid map key? Please use new key store to build and display map.

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-05 Thread Nikolay Elenkov
2012/4/5 Kostya Vasilyev kmans...@gmail.com: Oh, I see. Rather than coming up with an API to enumerate and access multiple storage locations, the entire feature was made explicitly unsupported for third-party applications. Nice. Nice indeed. To add more unsubstantiated rumours, it appear

Re: [android-developers] Re: Video Sharing to Facebook from Android App using share intent FAIL :( .

2012-04-05 Thread s.rawat
The exception is coming form inside the *com.facebook.katana.service.method.VideoUpload.getRealPathFromURI that is a part of android.jar I guess. *..pain is temporary.quitting lasts forever. My Blog http://techshek4u.blogspot.in/ On Thu, Apr 5, 2012 at 12:39 PM, Ali Chousein

[android-developers] xml ok - same android code fails

2012-04-05 Thread alex b
This xml in my layout file displays a line... ImageView android:layout_width=320dp android:layout_height=2dp android:background=@drawable/bg_line/ This code in my activity fails (notice the similarity to the xml above) ImageView lbl=new

[android-developers] Developing android apps on an android phone?

2012-04-05 Thread John Bernhardsson
Hello World! (:p) Is is possible to develop android apps coding from an android phone and is there any software(apps) for this? I use eclipse with ADK on my computer and it would bee awesome to have something similar on the phone. I'm not thinking on coding whole programs on the phone but maybe

[android-developers] how to start serviice testing while using activitytestcase2 for activity testing

2012-04-05 Thread greetcode
Hello, I have an application in which after login one service get starts and i need to test that service which is in background and at the same time i need to test front activity. i have used Activitytestcase2 along with Robotium for functional testing of activities in one class . and

[android-developers] problem in sending binary sms

2012-04-05 Thread azmat ali khan
Hi, I got stuck in a problem,let me explains it you- I am making an sms encryption aplication which sends data in binary form,and listens to a particular port. I am using SmsManager.sendDataMessage(String destinationAddress, String scAddress, short destinationPort, byte[] data, PendingIntent

[android-developers] Baseband unknown with android 2.3.7 builded from sources

2012-04-05 Thread fada
Hello, I need to build a custom version of android 2.3.x for nexus s, so i followed this guide:http://source.android.com/source/downloading.html And everything works fine execpt that my radio is not recognized by the phone. When i go to About phone i just see Baseband version: unknown. I tried

[android-developers] problem in sending binry sms

2012-04-05 Thread azmat ali khan
I got stuck in a problem,let me explains it you- I am making an sms encryption aplication which sends data in binary form,and listens to a particular port. I am using *SmsManager.sendDataMessage(String destinationAddress, String scAddress, short destinationPort, byte[] data, PendingIntent

[android-developers] terminal(Motorola MB525) has to alarm and displayed in notification area but it is not happening .

2012-04-05 Thread madan gopal
i am developing a android app, where the terminal(mobile device) will receive the notification from server whenever a failure occurs. terminal has to alarm and displayed in notification area but it is not happening . The terminal is Motorola MB525 and its happening in other devices also. It is

[android-developers] ICS build error:GC overhead limit exceeded

2012-04-05 Thread kcobra
The error is as following: UNEXPECTED TOP-LEVEL ERROR: Exception in thread main java.lang.OutOfMemoryError: GC overhead limit exceeded make: *** [out/target/common/obj/JAVA_LIBRARIES/ framework_intermediates/noproguard.classes-with-local.dex] Error 1 I make ICS on Ubuntu 10.10 with jdk

[android-developers] Help needed to build AOSP

2012-04-05 Thread Siva Siva
I have followed the instruction present in source.android.com. Currently got stuck at here: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../ lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/ bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/

[android-developers] Re: android.telephony

2012-04-05 Thread Felix Oranžový
Can you post your result please? About BSIC, Neighbor info.. On Thursday, March 5, 2009 10:18:32 PM UTC+1, run99ner_ff wrote: Okay, I have found a way to get the cell id, lac, ncc, bcc, (bsic), rxLev, rxQual, C/I, neighbor info, gsm umts information. Launch the Dialer app and type

[android-developers] How can I call search dialog on button click in android

2012-04-05 Thread Ali
Hi, I created a searchInterface for my Activity, So when I click on my hardware search button, my own searchbox pops up : http://developer.android.com/guide/topics/search/search-dialog.html Then I created a action bar : http://developer.android.com/resources/samples/ActionBarCompat/index.html I

[android-developers] editing apk file

2012-04-05 Thread catpunch
I'm trying to edit a run-in apk file, just to delete old mp3 and insert newer song. what tools do i need to extract it out and save it back as it is? currently I'm using 7zip it didn't work. regards PunchCat -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Advice on the importance of licensing

2012-04-05 Thread metasoma
Hi Aplogies if this has been covered before but i'm after some advice on licensing. I've developed my app and i'm all ready to publish it. I want to sell the app for a small amount, i'm talking pennies not pounds, yet i'm wonderring if the whole licensing option is a bit overkill for an app that

[android-developers] Android is missing from Eclips

2012-04-05 Thread imcoolmann4u
hi, i am new to android, i was trying for installing the eclips with android. i have installed eclips and SDK and ADK. also downloaded the new software(ADT 17.0 plugin) for eclips as given in http://developer.android.com/sdk/installing.html; link. my eclips was having compiler for C,c++. after

[android-developers] YV12 format

2012-04-05 Thread Cédric OCHS
Hi there ! I'm requesting YV12 buffers from camera callback Camera.PreviewCallback.onPreviewFrame in Java and passing them to C++ via JNI. Then I need to encode them in Xvid using official Xvid library. But when specifying the Xvid image format to YV12, I noticed Android YV12 U and V

[android-developers] How to enable 24/32 bit color depth in the emulator (android 2.3.3)?

2012-04-05 Thread Erik Nijkamp
Hey guys, we are experiencing dithering artifacts in the emulator. Most probably due to 16 bit colors - see [1] for an example. Thus we tried to enable true colors by inserting hw.lcd.depth=32 in the config.ini file. Strangely, this works for 4.x, but doesnt do the trick in 2.3.x. This is a

[android-developers] retrieve minSdkVersion from manifest file programmatically

2012-04-05 Thread Kamal Kambe
Hi, I need to retrieve the minSdkVersion value from AndroidManifest.xml from a java class. I need to enable a flag based on its value. Is there any way to do it? All I can get is targetSdkVersion from ApplicationInfo but not the minSdkVersion. Thanks, Kamal -- You received this message

Re: [android-developers] Get an app's api level programmatically

2012-04-05 Thread Kamal Kambe
I need to retrieve minSdkVersion from AndroidManifest.xml programmatically. I need to enable a flag based on its value. Is there no way to do it? On Saturday, March 24, 2012 2:50:22 AM UTC+5:30, Chris Stratton wrote: On Friday, March 23, 2012 2:50:13 PM UTC-4, Kostya Vasilyev wrote: Perhaps

[android-developers] terminal(Motorola MB525) has to alarm and displayed in notification area but it is not happening .

2012-04-05 Thread madan gopal
Hi all, i am developing a android app, where the terminal(mobile device) will receive the notification from server whenever a failure occurs. terminal has to alarm and displayed in notification area but it is not happening . The terminal is Motorola MB525 and its not happening in other devices

[android-developers] Apply theme to my application from SD card

2012-04-05 Thread Terry
Hi, I'm trying to implement a theme plugin system. New themes can be installed via new apk files, just like the themes for many 3rd party launchers. I have a theme (along with color, drawable, and value folders) in the SD card. How can I apply it to my application? I only theme function I

[android-developers] Re: Get activity theme from network and apply it programmatically

2012-04-05 Thread Terry
Have you figured out how to perform task 3? Thanks, Terry On Monday, March 14, 2011 1:34:38 AM UTC-7, Premier wrote: I want to download themes.xml from network because i need dinamically change application theme. So after application starts, download file themes.xml from network, saves

[android-developers] Need Help with Android Monkey

2012-04-05 Thread naieem.khan
Hi, I need help with android monkey. I am using sdk version 4.0.3, API 15. I am getting the same error/warning in every section. The error is as follows: java.io.FileNotFoundException: /mnt/sdcard/scriptlog.txt: open failed: EROFS (Read-only file system) I don't have any sd card mounted, and

[android-developers] SurfaceView works with the Progress Bar, Porgress Bar can't show.

2012-04-05 Thread GeekSnail
I am developing a chess game, there is progress bar to indicating the computer is thinking. At the start of the game, the progress bar will be hidden in default, it will be set to visible when the computer is thinking. The game board use a surfaceview to draw itself, so the progress bar is works

[android-developers] Bluetooth game structure

2012-04-05 Thread Vivek Punjabi
I am developing a multiplayer card game using bluetooth. I've developed the singleplayer game and now want to convert it to multiplayer game using bluetooth. Can someone please suggest the modifications(if needed) or do I have to built the entire game again? Thanx in advance. -- You received

[android-developers] Android ItemizedOverlay onTap calling an Intent

2012-04-05 Thread Mohamed
Hi there, I am currently developing an application where it displays veterinary locations on the mapview, this i have been able to do successfully, in addition i have also got the users current location as well. When users click on the ItemizedOverlay they can see the Veterinary Title and below

[android-developers] button click event listener

2012-04-05 Thread Vivek Punjabi
I am having problem with onclick event listener.I am building a card game for which i have to wait for button click by the user, after each round. So I've used a recursive function. My code looks like oncreate() { function1( ); //wait for onclick event function2( ); //After some calculation,

[android-developers] Re: SurfaceView works with the Progress Bar, Porgress Bar can't show.

2012-04-05 Thread Xin Wang
This has been resolved, I set the progress bar as gone, it will works correctly.[?] On Wed, Apr 4, 2012 at 2:52 PM, GeekSnail tremendoustur...@gmail.comwrote: I am developing a chess game, there is progress bar to indicating the computer is thinking. At the start of the game, the progress bar

Re: [android-developers] record video with camera

2012-04-05 Thread Nguyen Xuan Nam
Thanks, your article very well. There are a lot of very useful information about the camera you can refer to: camera quan sat http://www.cameraquansat24h.vn/ bao gia camera quan sat http://www.cameraquansat24h.vn/bao-gia.html Vào 18:36:36 UTC+7 Thứ tư, ngày 28 tháng ba năm 2012, shashidhar đã

[android-developers] Re: E/dalvikvm: Could not find class 'xxx', referenced from method yyy

2012-04-05 Thread Steve
I met this issue too. I can't find the way to work around or fix it Anyone can help me? On Friday, March 9, 2012 6:46:15 PM UTC+8, alex2k8 wrote: I have migrated to adt-17-preview (http://tools.android.com/download/ adt-17-preview http://tools.android.com/download/adt-17-preview),

Re: [android-developers] Can we use Android on embedded device without LCD?Are there any devices in the market with this option?

2012-04-05 Thread deb-account
On 31/03/12 23:34, AndroidGuy wrote: Hello Friends, Android is mainly designed for phones and Tablets. But lot of embedded devices doesn't have LCD display or in fact any user input device.Can we use Android on embedded system without LCD? Can't you use a standard embedded OS instead ? --

Re: [android-developers] How to put a MapView (Google API) in a layout?

2012-04-05 Thread deb-account
On 03/04/12 14:52, Alexandre LOCTIN wrote: 04-03 14:40:33.670: E/AndroidRuntime(414): Caused by: java.lang.IllegalArgumentException: MapViews can only be created inside instances of MapActivity. Your code is: public class AR_course extends Activity{ I maybe not using the right way to do

Re: [android-developers] همت کنید

2012-04-05 Thread chicanh
Can you translate into English?. -- Cảnh -- 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] Re: How to send a message using sendDataMessage() for more than 133 bytes in android?

2012-04-05 Thread azmat ali khan
Hi Priya I am also facing same problem. Did u get any solution for this problem...? If yes please help me out On Thursday, October 20, 2011 5:42:39 PM UTC+5:30, priya wrote: I am developing an SMS application where i am sending a message using sendDataMessage function of API level 3,but if i

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-05 Thread Kostya Vasilyev
It's not me or Nathan. It's the users of our apps who wish to use the memory card slot on these devices. And it's Google's imaginary view of the world where there can only one external storage location per device. That would be like Microsoft not implementing support for printing in

[android-developers] Can not using In-app Billing features on Google Play

2012-04-05 Thread Alex Andro
I have uploaded as Unpublished an application that use in-app billing. I have provided correct billing permission, this can also be seen in the application description. I have successfully tested with the the reserved product ID (android.test.purchased). I have also created a Google Checkout

[android-developers] problem in SmsManager.sendDataMessage()

2012-04-05 Thread azmat ali khan
Hi, I am trying to send an sms containing binary data. The length of the sms can be from 125 to 1000 bytes. I can send successfully small amount of data(upto 133 bytes) but, while sending data more that that the sendDataMessage() giving NullpointerException. Have you folks tried

Re: [android-developers] Android binary SMS sending and receiving is not working

2012-04-05 Thread alikhan . azmat
Hi Ganesh , you reciever part if fine. There is problem on sender's send, i am also facing same problem and learn that the sendDataMesassage() could not send more than 133 bytes in a single message. Did u find any solution for this problem..? On Wednesday, February 16,

[android-developers] What needs to be considered about memory/management usage

2012-04-05 Thread srikanth
Hi , I wanted to know some information regarding memory management of android while writing system level tests. I am new to android and android architechture. While writing test/ cases related to system testing, what needs to be considered under point of reference when comes to memory management

Re: [android-developers] Help needed to build AOSP

2012-04-05 Thread Mark Murphy
On Thu, Apr 5, 2012 at 5:21 AM, Siva Siva android.research@gmail.com wrote: I have followed the instruction present in source.android.com. Please go back to http://source.android.com, click on the Community tab, and find a list relevant for your question. This list is for developing Android

Re: [android-developers] editing apk file

2012-04-05 Thread Mark Murphy
If the MP3 file is in assets/, simply updating the APK as a ZIP file should work, though you need to do this before signing and zipalign-ing it. If the MP3 file is in res/, you are better off rebuilding the APK from scratch IMHO. On Tue, Apr 3, 2012 at 11:21 PM, catpunch markr...@gmail.com

Re: [android-developers] How to put a MapView (Google API) in a layout?

2012-04-05 Thread Vo Trung Liem
Do you declare: uses-library android:name=com.google.android.maps / in your manifest? On Wed, Apr 4, 2012 at 3:48 PM, deb-account theedge...@free.fr wrote: On 03/04/12 14:52, Alexandre LOCTIN wrote: 04-03 14:40:33.670: E/AndroidRuntime(414): Caused by:

Re: [android-developers] Help needed to build AOSP

2012-04-05 Thread Siva Siva
Thanks Mark. Sorry for posting it here. On 5 April 2012 16:22, Mark Murphy mmur...@commonsware.com wrote: On Thu, Apr 5, 2012 at 5:21 AM, Siva Siva android.research@gmail.com wrote: I have followed the instruction present in source.android.com. Please go back to

[android-developers] Re: can i get a dynamically change user interface in android?

2012-04-05 Thread ramalakshmi
Yes I am using my own custom adapter and te code is ListAdapter adapter1 = new SimpleAdapter(Main.this, mylist1 , R.layout.main, new String[] { Symbol, Bid, Ask }, new int[] { R.id.item_title, R.id.item_title1,

Re: [android-developers] editing apk file

2012-04-05 Thread Mark R Bui
Thanks Mark Murphy, Yes, it is in the res folder. If only I knew how to do it from scratch, I'm a complete noob. Any better solution? On Thu, Apr 5, 2012 at 3:54 AM, Mark Murphy mmur...@commonsware.com wrote: If the MP3 file is in assets/, simply updating the APK as a ZIP file should work,

[android-developers] Re: running javascript

2012-04-05 Thread ramalakshmi
How can u read the html code ? -- 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] editing apk file

2012-04-05 Thread Mark Murphy
On Thu, Apr 5, 2012 at 7:22 AM, Mark R Bui markr...@gmail.com wrote: If only I knew how to do it from scratch, I'm a complete noob. Build it from Eclipse. Or, built it from the command line using Ant. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Re: Video Sharing to Facebook from Android App using share intent FAIL :( .

2012-04-05 Thread Jim Graham
On Thu, Apr 05, 2012 at 03:11:37PM +0530, s.rawat wrote: The exception is coming form inside the *com.facebook.katana.service.method.VideoUpload.getRealPathFromURI that is a part of android.jar I guess. The null pointer exception, however, is not. Use Log.d statements at the point where it

Re: [android-developers] Developing android apps on an android phone?

2012-04-05 Thread Raghav Sood
AIDE seems to be what you want. Raghav Sood Sent from my Nexus S On Apr 5, 2012 3:25 PM, John Bernhardsson johnbernhards...@gmail.com wrote: Hello World! (:p) Is is possible to develop android apps coding from an android phone and is there any software(apps) for this? I use eclipse with ADK

[android-developers] Re: Ant build fails since upgrading SDK to latest revision

2012-04-05 Thread Dirk Vranckaert
If you'dd like to test something yourself, the code is available at http://code.google.com/p/worktime/source Op donderdag 5 april 2012 07:24:52 UTC+2 schreef Dirk Vranckaert het volgende: In my application I use RoboGuice and the configuration for RoboGuice requires to add an

Re: [android-developers] Re: can i get a dynamically change user interface in android?

2012-04-05 Thread Ankita Kashyap
Basically, for example if you refreshing list on buttonclick then you can simply use adapter1.notifyDatasetChanged(); You can refer to this to understand the use of notifyDatasetChanged() http://stackoverflow.com/questions/3669325/notifydatasetchanged-example On Thu, Apr 5, 2012 at 4:48 PM,

[android-developers] how to add picture into android Content Provider

2012-04-05 Thread zhenghuili...@yahoo.cn
as we know,if we want to add phone number or email adress into Content Provider,we can write codes as follow --- ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation(); int

[android-developers] Need help about Play Store banned application.

2012-04-05 Thread Tolriq
Hello, I've got a little problem with my app being banned from Play Store with the reason : *REASON FOR REMOVAL*: Violation of the intellectual propertyhttp://www.android.com/us/developer-content-policy.html#IPand impersonation or deceptive

[android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread btai...@gmail.com
I've faced problem that animation of view is too slow and with Galaxy Note which has 1280x800 and 320dpi display. Actually, I use ScaleAnimation and TransAnimation with RelativeLayout in code and I'm pretty sure that code is not incorrect. Size of Image animated is 67.5 kb. Device with 800x480

[android-developers] How can I make this Android code more efficient?

2012-04-05 Thread Stuart Westgate
I'm developing an Android App were users can watch videos that are streamed offline from the press of a button (OnClick). How could I make the code more efficiant (Less code.) What I'd like to do is create a global variable: VideoView videoview1 = (VideoView)

[android-developers] Cant Figure out how to use onPause() and onResume() with Tabs!

2012-04-05 Thread Nathan Kellert
I have been working on this for quite a while and cannot seem to figure it out. I am kind of new to android so Im not sure how it works. I tried using mTabHost.onPause(); which would bring up the tab and then the content inside it. in the onPause class. But Im not sure What else to do. The

[android-developers] Re: Need help about Play Store banned application.

2012-04-05 Thread sparky
The email from Google Play should have told you how to follow up. I don't have access to the reasons why your app was suspended, but if it the app is okay, maybe your screen shots had a problem. On Thursday, April 5, 2012 1:37:01 PM UTC+2, Tolriq wrote: Hello, I've got a little problem

Re: [android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread Mark Murphy
On Thu, Apr 5, 2012 at 6:42 AM, btai...@gmail.com btai...@gmail.com wrote: I've faced problem that animation of view is too slow and with Galaxy Note which has 1280x800 and 320dpi display. Actually, I use ScaleAnimation and TransAnimation with RelativeLayout in code and  I'm pretty sure that

[android-developers] Re: Need help about Play Store banned application.

2012-04-05 Thread Tolriq
Well they give a link to the site that says to answer to the email. That's what I did without any feedback :( For the screenshots they were the same on the free and full app. I've changed them on the free one day after the ban in case of. But the situation where only one of two identical apps

Re: [android-developers] Re: Need help about Play Store banned application.

2012-04-05 Thread Sparky Rhode
I'm going to contact you off-list. On Thu, Apr 5, 2012 at 3:07 PM, Tolriq tol...@gmail.com wrote: Well they give a link to the site that says to answer to the email. That's what I did without any feedback :( For the screenshots they were the same on the free and full app. I've changed them

[android-developers] Re: How can I make this Android code more efficient?

2012-04-05 Thread lbendlin
Under res/values create a resource array with the video URLs. That will automatically give you the enumeration that you can then use in the code. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Advice on the importance of licensing

2012-04-05 Thread TreKing
On Wed, Apr 4, 2012 at 5:43 AM, metasoma metas...@gmail.com wrote: i'm wonderring if the whole licensing option is a bit overkill for an app that isn't really worth much. This is a matter of opinion. What is your time worth? Do you you have better things to do with your time that trying to

Re: [android-developers] File Manager

2012-04-05 Thread TreKing
On Wed, Apr 4, 2012 at 7:23 PM, Mohamed Essam memai...@gmail.com wrote: please what is the code to open file in sd card Please read the documentation. - TreKing

Re: [android-developers] button click event listener

2012-04-05 Thread Justin Anderson
oncreate() { function1( ); //wait for onclick event function2( ); //After some calculation, calls function1( ) } That won't work... The UI will not show up until after onCreate() and onResume() are called. Why are you explicitly waiting for a click event? What are you doing to do that,

Re: [android-developers] Advice on the importance of licensing

2012-04-05 Thread Kristopher Micinski
Also, if i download an app from the market is the apk copied locally to the mobile device or is it removed after install? If you're asking whether it's easy for someone to get a copy of your apk, the answer is yes, it's quite easy. kris -- You received this message because you are

Re: [android-developers] retrieve minSdkVersion from manifest file programmatically

2012-04-05 Thread Justin Anderson
I need to retrieve the minSdkVersion value from AndroidManifest.xml from a java class. AFAIK there is no way to get that... I need to enable a flag based on its value. What is the end result of what you are trying to acocmplish? Perhaps we can suggest some other ways to get similar

Re: [android-developers] Get an app's api level programmatically

2012-04-05 Thread Justin Anderson
I need to retrieve minSdkVersion from AndroidManifest.xml programmatically. I need to enable a flag based on its value. Is there no way to do it? You already asked this in your own thread, which I have responded to. Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] Re: Someone use GridLayout (ADT-17) in v7?

2012-04-05 Thread Siddharth Menon
Thanks Tor I tried using *android.support.v7.widget.GridLayout* gives me no error but I will not render as grid. Has anybody successfully got this working? On Wednesday, April 4, 2012 6:56:48 PM UTC+5:30, Tor Norbye wrote: You need to use android.support.v7.widget.GridLayout. -- Tor On

Re: [android-developers] How can I call search dialog on button click in android

2012-04-05 Thread TreKing
On Wed, Apr 4, 2012 at 6:24 PM, Ali ali.rezae...@gmail.com wrote: I want to load my SearchInterface again when I click on a button on my action bar ( The same like hardware search button) I've never done anything with search. So I went to the docs and searched for search in Activity class:

Re: [android-developers] Problem Fetching RSS XML Feed

2012-04-05 Thread TreKing
On Tue, Apr 3, 2012 at 7:55 PM, Kaushal Kathwadia kaushu...@yahoo.co.inwrote: When it goes to RSS.writeFeed() line, it goes in to IO Exception. Use your debugger to inspect the exception you get, read the description of the exception to determine what caused it, then fix it.

[android-developers] getting extra camera parameters

2012-04-05 Thread Jim Graham
I recently found the following in an old post on Stack Overflow, regarding how to get the camera parameters for which there are no SDK methods (in this case, nv-picture-iso-values): (Note that this is slightly edited---not the code---for brevity.) --- CUT HERE

Re: [android-developers] Android ItemizedOverlay onTap calling an Intent

2012-04-05 Thread TreKing
On Wed, Apr 4, 2012 at 8:15 PM, Mohamed mo201...@gmail.com wrote: If anyone can help me with this i would be most grateful, i need to finish this off for my university project and the deadline is in 2 weeks :( From what you wrote, you don't have a specific problem you need help with, you

[android-developers] rotating map

2012-04-05 Thread RedBullet
So, I successfully took the MapView sample that demonstrates rotating a map based on device orientation. What I am not liking about it is that the text and such are rotating with the view. So, when you turn 180 degrees all the text is upside-down. I am wondering if perhaps I missed something

[android-developers] Re: Need help about Play Store banned application.

2012-04-05 Thread John Coryat
How do you manage your donate option? Is it using Google pay system or something like PayPal? -John Coryat -- 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] rotating map

2012-04-05 Thread TreKing
On Thu, Apr 5, 2012 at 10:33 AM, RedBullet scottedchap...@gmail.com wrote: I am wondering if perhaps I missed something in my implementation? Maybe I need to invalidate a view or something? You've provided almost no information about your implementation, so it would be quite difficult for

Re: [android-developers] rotating map

2012-04-05 Thread RedBullet
Like I said, it is derrived from the sample that is provided with the Google API. But here is the onCreate for the activity: public void onCreate(Bundle bundle) { super.onCreate(bundle); String APIKey = mykey; mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); // Create

Re: [android-developers] rotating map

2012-04-05 Thread RedBullet
And for completeness for the rotation I do the following: public void onSensorChanged(SensorEvent event) { RideRouterApp.i(String.format(Sensor Name: %s, oriented %f, event.sensor.getName(), event.values[0])); synchronized (this) { mHeading = event.values[0];

Re: [android-developers] Can we use Android on embedded device without LCD?Are there any devices in the market with this option?

2012-04-05 Thread mike digioia
Yes try the pandaboard. It has nothing but can run android well On Wed, Apr 4, 2012 at 1:32 AM, deb-account theedge...@free.fr wrote: On 31/03/12 23:34, AndroidGuy wrote: Hello Friends, Android is mainly designed for phones and Tablets. But lot of embedded devices doesn't have LCD display

Re: [android-developers] getting extra camera parameters

2012-04-05 Thread Mark Murphy
On Thu, Apr 5, 2012 at 11:12 AM, Jim Graham spooky1...@gmail.com wrote: I tried this, and the result returned is null (and then I noticed that someone else had responded to the post saying the same thing for their device).  So clearly, the above is either incorrect, not supported on all

RE: [android-developers] Problem with dynamic table layout

2012-04-05 Thread rambabu
In your activity your calling setContentView(R.layout.main); method ...remove this method and try it -- 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

Re: [android-developers] getting extra camera parameters

2012-04-05 Thread mike digioia
Not sure what you are trying to do but gstreamer is one i have used for camera testing and access to the devices and internal framwork. http://gstreamer.freedesktop.org/wiki/CameraBin On Thu, Apr 5, 2012 at 9:00 AM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Apr 5, 2012 at 11:12 AM,

Re: [android-developers] getting extra camera parameters

2012-04-05 Thread Jim Graham
On Thu, Apr 05, 2012 at 12:00:59PM -0400, Mark Murphy wrote: On Thu, Apr 5, 2012 at 11:12 AM, Jim Graham spooky1...@gmail.com wrote: I would guess that it is not supported on all devices. I believe the generic get()/set() are for manufacturer-specific capabilities. Arrr I was so

Re: [android-developers] getting extra camera parameters

2012-04-05 Thread Jim Graham
On Thu, Apr 05, 2012 at 09:10:00AM -0700, mike digioia wrote: Not sure what you are trying to do but gstreamer is one i have used for camera testing and access to the devices and internal framwork. I'm working on a camera app, and there are some settings (ISO format, contrast, etc.) that don't

[android-developers] Re: Need help about Play Store banned application.

2012-04-05 Thread Tolriq
The donate version was a full version only available on the Market. Only using Google since it's in the rules. I'm waiting for Google Play team feedback right now. Le jeudi 5 avril 2012 17:35:39 UTC+2, John Coryat a écrit : How do you manage your donate option? Is it using Google pay system

[android-developers] Re: How can I use Google Maps in Android Apps

2012-04-05 Thread g...@deanblakely.com
Mark, ok, let me start over... I built the app in the resource center that uses the google mapview (or whatever they call it). It shows where I am. My whole neighborhood is not built yet on the map! My tract is 6 years old. I go to Google Maps on the Web and my tract is there looking like it

Re: [android-developers] Re: Video Sharing to Facebook from Android App using share intent FAIL :( .

2012-04-05 Thread s.rawat
I coulnt find the answer but created a post here for further follow up : http://stackoverflow.com/questions/10029371/video-sharing-on-facebook-using-the-android-share-intent Thanks @Mike above. ..pain is temporary.quitting lasts forever. My Blog http://techshek4u.blogspot.in/ On

Re: [android-developers] Re: How can I use Google Maps in Android Apps

2012-04-05 Thread Mark Murphy
On Thu, Apr 5, 2012 at 1:06 PM, g...@deanblakely.com g...@deanblakely.com wrote: I built the app in the resource center that uses the google mapview (or whatever they call it).  It shows where I am.  My whole neighborhood is not built yet on the map!  My tract is 6 years old. Conversely, I can

[android-developers] Find The Position of Radio Button

2012-04-05 Thread Rahul Vijay
I have 4 Radio button in a radio group. They are all arrange in vertical order. 0 option1 0 option2 0 option3 0 option4 like that I am find it, select any one of the radio button,it give the position. like that,I have click option3,so it give me corresponding 3 position. Again I am click option2

[android-developers] How to set theme using resources from another application?

2012-04-05 Thread Terry
I'm able to use getResourcesForApplication and getIdentifier to get the individual resources from another application. However, when I try to call setTheme using a remote theme.xml from another app, the references inside theme.xml point to the app that I'm running, not pointing to the remote

  1   2   >