[android-developers] How to set duration for video capture

2012-10-16 Thread ravi .
I have code for capturing a video clip on Android. But this is not working Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); intent.putExtra(android.intent.extra.durationLimit, 3000); startActivityForResult(intent, REQUEST_VIDEO_CAPTURED); Thanks ravi -- You received this message

[android-developers] sending large file transfer problem

2012-10-16 Thread akash roy
this is a code for sending data streaming for file transfer. sender : File myFile = new File(message.toURI()); nosofpackets=Math.ceil(( (int)myFile.length())/4096); //mChatService.writeda(message.getName(), myFile.length()); for(double i=0; inosofpackets; i++) {

[android-developers]

2012-10-16 Thread akash roy
this is a code for sending data streaming for file transfer. sender : File myFile = new File(message.toURI()); nosofpackets=Math.ceil(( (int)myFile.length())/4096); //mChatService.writeda(message.getName(), myFile.length()); for(double i=0; inosofpackets; i++) {

[android-developers] meeting trouble when i am try to build my apk using the source code

2012-10-16 Thread Nio
Dear, I am try to build a apk using android source code but meet a error when build.When I use command mmm framework/base/samples to build the apk,it prompts like below: make: Entering directory `/home/luodaliang/android4' touch out/target/common/obj/APPS/Helloapk_intermediates/src/R.stamp

[android-developers] Re: meeting trouble when i am try to build my apk using the source code

2012-10-16 Thread Nio
I can't attach my source file . But I guess it is fine. -- 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: meeting trouble when i am try to build my apk using the source code

2012-10-16 Thread RichardC
Why are you building from the framework samples? This is the Android SDK group and the samples are for the Android SDK are in the installed SDK samples folder. If you do need to build from the framework samples then the AOSP support groups are here:

[android-developers] Re: Getting to SharedPreferences from CustomListAdapter

2012-10-16 Thread Piren
This doesn't really have anything to do with SharedPreferences or your ListAdapter... this is Java basics. getApplication() isn't some global static function that can be called from anywhere, it can be called however from an Activity. Since your adapter is an instance with the Activity as a

[android-developers] Information about publication of an app

2012-10-16 Thread Hamza Karmouda
I 'd like to know if i can publish my application on play store . This application is a logger for different Database on the phone.it permite to his owner to send logs to a dedicated server. it work like a spy.all the permissions are declared. -- You received this message because you are

[android-developers] Re: Getting to SharedPreferences from CustomListAdapter

2012-10-16 Thread Piren
This doesn't really have anything to do with SharedPreferences or your ListAdapter... this is Java basics. getApplication() isn't some global static function that can be called from anywhere, it can be called however from an Activity. Since your adapter is an instance with the Activity as a

[android-developers] Re: Finish all previous Activities?

2012-10-16 Thread ToTo
Did it worked? not for me :( On Tuesday, June 2, 2009 1:20:43 AM UTC+5:30, guruk wrote: !!! thanks !!! looks great chris -- 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] How to import sample.zip of android training

2012-10-16 Thread Musashi
I know how to use Eclipse but I can not import sample zip on Eclipse smoothly. Please teach me how to import sample zip file of android training on Eclipse. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] My Android App does not support all mobiles.

2012-10-16 Thread Avnish Choudhary
I have developed an Android application that communicate with our web application through Xml parsing .It works correctly on some devices like carbon phones,Samsung galaxy note (Android 4.0).But it does not work on some devices like Samsung galaxy S3.It shows message like force close.How can i

[android-developers] How to import sample.zip of Android training material.

2012-10-16 Thread Musashi
Hello there, I'm studying Android development according to Android training session on android developer site. But I can not import sample.zip file well. Could you tell me how to import sample.zip file into Eclipse? Sincerely, Musashi -- You received this message because you are subscribed

[android-developers] Re: Webview question - text selection and highlighting

2012-10-16 Thread Bijaya
hi Mike Jones, i ran through your post, i have also working on web view text selection and highlighting. i am not understand how to implement this. i need some idea or sample example. can u please help me. Thank you for your work Bijaya Guin -- You received this message because you are

[android-developers] Ctrl+F11 key for Mac

2012-10-16 Thread Musashi
Hello there, I would like to switch view of emulator of ADT using keyboard. I know how to use key for Windows machine it's Ctrl+F11 to switch view. But I don't know about Mac. Please teach me how to do on Mac. -- You received this message because you are subscribed to the Google Groups

[android-developers] Can I tell if a Bitmap is blank?

2012-10-16 Thread AndroidCompile
Hi, Does anyone know if there's an easy way to tell whether a Bitmap is all black (blank)? Thank you -- 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

[android-developers] Virtual device doesn't work?

2012-10-16 Thread Bob S
Hello, I was trying to test out some OpenGL sample code, but it doesn't run on the AVD I set up. It does run directly on my device, a Samsung Galaxy Note N7000. How can I tell what to change about the emulator to get it to run? I am new to Android development. After the emulator boots up,

[android-developers] Special commands with NFC

2012-10-16 Thread berni69
Hi all, I've started designing an application who needs send some special commands from my NFC reader to my TAG, but Android API doesn't provide me this freature, what can i do to send this special commands. Are there any example for this purpose or any guidelines to follow? Regards, Berni69

[android-developers] Is there a way to determine locations inside buildings ?

2012-10-16 Thread bader
Hi guys ,These days I work on a program to locate a user application inside the buildings, I think it can done by GPS . But I read on the Internet that GPS does not work inside buildings, is there a way to determine the user's location inside the building or user tracking inside the building.

[android-developers] Changes in AndroidManifest.xml for Status notification to work

2012-10-16 Thread Anish
I have a program (for API 16) that generates status notification. The issue I have is on clicking that notification, it neither gets cleared from list nor opens the intended activity. I wonder if I need to do any changes in the AndroidManifest.xml file for this notification to work. -- You

[android-developers] How to get resourceID from Image Path?

2012-10-16 Thread Ankuj Gupta
0 down vote favoritehttp://stackoverflow.com/questions/12879035/how-to-get-imageid-from-image-path# I have an imagepath in android .This image exits on the sdcard of the device. How can i find resourceID of it ? I need to send it to decodeResource function. I am trying to detect faces on

[android-developers] Does Nexus 7 support USB Host Mode ?

2012-10-16 Thread Arpan Patel
Hi, Does Nexus 7 support USB Host Mode ? I want to connect the Nexus 7 via USB Host to a SoC and transfer data between them. Connection will be like this *Nexus 7 --- USB OTG -- SoC.* * *I should be able to use *android.hardware.usb *api's to enumerate and communicate between the two

[android-developers] moderated posts?

2012-10-16 Thread Bob S
Hi, I posted a newbie question here, and it never showed up. I guess it was moderated? If you don't have a forum for new users how are people supposed to adopt Android? Did I just miss my post, or was it inappropriate? Also now I can't find even a list of my own posts so that I can copy

[android-developers] Extending LinearLayout / #getVirtualChild*

2012-10-16 Thread Max Hille
I am extending LinearLayout to have an easy way of building lists with header and footer views. While doing this, I want to maintain the LinearLayout's API (e.g. XML-added views). To do this, I have to override LinearLayout#getVirtualChildAt(int) and LinearLayout#getVirtualChildCount(). These

[android-developers] Re: Just created an open source library for choosing the best font (avoid squares)

2012-10-16 Thread Rob Hawkins
For any other Anki users seeing squares on Android 2.3.3 who come across this, I believe this is because there is not a supported way to add fonts or update the unicode. I found a way to install an additional font :

[android-developers] Re: SKIA FimgApiStretch:stretch failed

2012-10-16 Thread zxcvbnius
i met the same problem... hope it can help you http://stackoverflow.com/questions/12068110/whats-the-reason-of-fimgapistretchstretch-failed-in-android Tamás Kovács於 2012年7月26日星期四UTC+8上午8時09分51秒寫道: My app keeps gets this error message often in logcat under the SKIA tag:

[android-developers] Re: File not found

2012-10-16 Thread Taimoor Changaiz
Thanks for help :) Am new to andriod and your post make able me to do this thing On Friday, 12 October 2012 05:55:40 UTC+5, Anbu Laxman wrote: Hi, I am Anbu. Start the SDK manager as Administrator. -- - Right Click SDK Manager - Select Run As

[android-developers] Re: Does Android cache http-requested data?

2012-10-16 Thread Thanh Tung Nguyen
thanks a lot Vào 14:58:55 UTC+7 Chủ nhật, ngày 14 tháng mười năm 2012, Keith Wiley đã viết: Does Android cache http-requested data? I keep a small text file with various app-settings on my webserver. When my app launches, it sends an http request to my webserver to grab the text file

[android-developers] Advices about TalkBack

2012-10-16 Thread geourge
Dear TalkBack developers, We are the TalkBack for Android phones Chinese users, and are very pleased to contact you by email. We hope you could hear the feedback and advices from Chinese TalkBack users, in order to improve TalkBack services. Android is a very excellent smartphone

[android-developers] Extremely slow turnaround when building and running

2012-10-16 Thread Tilekab
Hi. I'm sure people have ranted about this in other threads, but here goes. I work for a company that builds a suite of big (=lots of layouts, lots of graphical resources, lots of everything) apps for iPhone, Android and Windows phone. The apps are 'identical' (obviously they are nativized for

[android-developers] Open Acrobat Reader and specify the author name for annontations programatically

2012-10-16 Thread Thomas Fétiveau
Hi ! Here is a way to open Acrobat Reader on Android: try { Intent intent = new Intent(); intent.setClassName(com.adobe.reader, com.adobe.reader.AdobeReader); intent.setAction(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(doc), application/pdf); startActivity(intent); }

[android-developers] hi i am new learn android how to do the find address location

2012-10-16 Thread upenderreddy surakanti
hi i am new learning android how to do the finding address in Map i got a out put, it is only display the map but i need some address Like using Text bar we give the address, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Sqlite android

2012-10-16 Thread thyne
if You use ORMLite, You might want to check the following out: http://stackoverflow.com/questions/7301418/ormlite-inner-join-on-three-tables -- 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] Nexus 7 files not visible when using USB (MTP) connection to Windows XP

2012-10-16 Thread Cognos
I have an app that writes data to a .txt file on the Nexus 7 internal storage. The file is fine, I can read it on the device using the application itself, and can see and view it using FX file explorer. But when I connect the Nexus to my PC using the USB connection (connecting as a media

[android-developers] Send message from PC to android mobile

2012-10-16 Thread Tomo Novak
I want to send a message to evry users who connect to the wireless. Actually, I want the user to receive a message on the device immediately after connecting to the wireless router. Never mind that the device in question, whether mobile or PC. This means, when someone connects to my

[android-developers] Re: Getting Google Play requires that the certificate used to sign the apk be valid until at least October 22, 2033. Create a new certificate. message while submitting app

2012-10-16 Thread tzach solomon
Did any one solved this thing? On Monday, 18 June 2012 12:49:43 UTC+3, Gaurav Khera wrote: Hi All, I have an app already available at Play Store. Now when I am submitting a newer version of app, I am getting following error: Google Play requires that the certificate used to sign the apk

Re: [android-developers] Does Nexus 7 support USB Host Mode ?

2012-10-16 Thread Nikolay Elenkov
On Tue, Oct 16, 2012 at 2:40 PM, Arpan Patel arpan...@gmail.com wrote: Hi, Does Nexus 7 support USB Host Mode ? I want to connect the Nexus 7 via USB Host to a SoC and transfer data between them. Connection will be like this Nexus 7 --- USB OTG -- SoC. I should be able to use

[android-developers] Automated Testing Tool.

2012-10-16 Thread yogendra G
Hi All, I need help in finding out automated testing tool for testing my android applications or best way for testing android apps. Thanks Br, Yogendra G. -- 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] Special commands with NFC

2012-10-16 Thread Nikolay Elenkov
On Sat, Oct 13, 2012 at 2:55 AM, berni69 berni.emer...@gmail.com wrote: Hi all, I've started designing an application who needs send some special commands from my NFC reader to my TAG, but Android API doesn't provide me this freature, what can i do to send this special commands. You might

[android-developers] Re: meeting trouble when i am try to build my apk using the source code

2012-10-16 Thread Nio
Ok,thanks for reminding. 在 2012年10月16日星期二UTC+8下午5时04分02秒,RichardC写道: Why are you building from the framework samples? This is the Android SDK group and the samples are for the Android SDK are in the installed SDK samples folder. If you do need to build from the framework samples then the

[android-developers] Re: Automated Testing Tool.

2012-10-16 Thread RichardC
Have you read: http://developer.android.com/tools/testing/testing_android.html On Tuesday, October 16, 2012 10:21:07 AM UTC+1, yogi wrote: Hi All, I need help in finding out automated testing tool for testing my android applications or best way for testing android apps. Thanks Br,

[android-developers] Re: It seems easy to get rid of a competitor’s app

2012-10-16 Thread Piotr Buła
On Sunday, October 14, 2012 10:51:49 AM UTC+2, Terry wrote: Two of my apps have been removed from the Google Play Store, (a free/trial version and a pro version of the same app). A developer of a similar app asked for them to be removed. The reason for removal was given as “Alleged

Re: [android-developers] how to play recorded audio ? using AudioTrack

2012-10-16 Thread Tamil Arasi
Hi rahul, Thank u for ur code. this code is very useful to me . On Mon, Oct 15, 2012 at 2:54 PM, rahul B tech.rah...@gmail.com wrote: Here I am posting some sample which works fine with me.. package com.audiotrack; import java.io.File; import java.io.FileInputStream; import

[android-developers] Re: moderated posts?

2012-10-16 Thread RichardC
See below: On Monday, October 15, 2012 7:18:46 PM UTC+1, Bob S wrote: Hi, I posted a newbie question here, and it never showed up. I guess it was moderated? If you don't have a forum for new users how are people supposed to adopt Android? Did I just miss my post, or was it

[android-developers] Re: App with google map in offline(with out wifi or gprs connection)

2012-10-16 Thread Martin
Look at mapsforge: http://code.google.com/p/mapsforge/ And OSMDroid: http://code.google.com/p/osmdroid/ mapsforge supports offline vector maps - not very useable on a low powered device but good with a reasonable spec device. OSMDroid can be used with an offline tile cache (traditional raster

Re: [android-developers] Re: Automated Testing Tool.

2012-10-16 Thread yogendra G
Hi Richard, Thanks for reply,Yes ofcourse have read that and also tried a tool called Robotium but my requirement is am doing something with NFC were my testing should wait and take my NFC tag to be tapped,so this is not happening in this tool am using.So,need any other tool which does my thing.

Re: [android-developers] how to play recorded audio ? using AudioTrack

2012-10-16 Thread rahul B
Hi, My pleasure.. On Tue, Oct 16, 2012 at 3:09 PM, Tamil Arasi arasi...@gmail.com wrote: Hi rahul, Thank u for ur code. this code is very useful to me . On Mon, Oct 15, 2012 at 2:54 PM, rahul B tech.rah...@gmail.com wrote: Here I am posting some sample which works fine with me..

Re: [android-developers] how to play recorded audio ? using AudioTrack

2012-10-16 Thread Tamil Arasi
Hi, R u know about how to send and receive the voice call in between android mobile?. if u know about that please help me On Tue, Oct 16, 2012 at 3:21 PM, rahul B tech.rah...@gmail.com wrote: Hi, My pleasure.. On Tue, Oct 16, 2012 at 3:09 PM, Tamil Arasi arasi...@gmail.com wrote: Hi

[android-developers] Re: Extending LinearLayout / #getVirtualChild*

2012-10-16 Thread skink
Max Hille wrote: I am extending LinearLayout to have an easy way of building lists with header and footer views. While doing this, I want to maintain the LinearLayout's API (e.g. XML-added views). To do this, I have to override LinearLayout#getVirtualChildAt(int) and

[android-developers] how to communicate between two android devices using audio?

2012-10-16 Thread Tom
Hi, If any one know how to communicate between two android devices using audio please tell me Thanks, Tom -- 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

[android-developers] Dear TalkBack developers

2012-10-16 Thread geourge
Dear TalkBack developers, We are the TalkBack for Android phones Chinese users, and are very pleased to contact you by email. We hope you could hear the feedback and advices from Chinese TalkBack users, in order to improve TalkBack services. Android is a very excellent smartphone

[android-developers] How to get a button id from an app(I don't have the source)

2012-10-16 Thread srikanth
Hi, I want to get the element/button id in an app(I don't have the apk).. can any one please tell me on how to get the id? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: How to get a button id from an app(I don't have the source)

2012-10-16 Thread skink
srikanth wrote: Hi, I want to get the element/button id in an app(I don't have the apk).. can any one please tell me on how to get the id? Thanks what? what do you want to do with that id even if you manage to get it (which is impossible imho)? pskink -- You received this message

[android-developers] Android Chatting

2012-10-16 Thread Rahul Kaushik
Hello, I want to develop an chat application Q1 : I want it to work on mobile and tablet and it should be compatible with all android version , and by default which version of android and api i should start my developmet?? Q2 : i have goggled this and found *smack(3.2.2)* as a good option (if

[android-developers] WifiP2pManager.ConnectionInfoListener onConnectionInfoAvailable (WifiP2pInfo info)

2012-10-16 Thread Zach
Hi I am working on wifi direct. After sending a connect request I was expecting a call back to the onConnectionInfoAvailable call back. But that wont happen always for some reason. And at times it takes a while when i finally receives a callback. What am i doing wrong here? Is this call back

Re: [android-developers] Android Chatting

2012-10-16 Thread Rafael Maas
Q1: API 7 ( android 2.1 ) http://developer.android.com/about/versions/android-2.1.html. Q2: Yes, smack is a good open Source XMPP (Jabber) client library ( http://xmpp.org/xmpp-protocols/) 2012/10/16 Rahul Kaushik rahulkaushi...@gmail.com Hello, I want to develop an chat application Q1 : I

[android-developers] Re: spread sheet

2012-10-16 Thread Haris
I think this linkhttp://www.mysamplecode.com/2011/10/android-read-write-excel-file-using.htmlmay help you On Wednesday, 10 October 2012 17:11:14 UTC+5:30, Nachi.R nach wrote: hai i'm new to androidd platform, i want to create excel in android project..,i don't know to create plz

Re: [android-developers] Extremely slow turnaround when building and running

2012-10-16 Thread Latimerius
My project's turn-around had been OK (not exactly fast, but bearable) until I added a bunch of external jars. Since then, build times are in minutes for a program that has some 3-4 lines of Java, roughly 10 megs of assets and barely any resources. I googled it and it appears that dexing

[android-developers] Re: My Android App does not support all mobiles.

2012-10-16 Thread RichardC
What problem? You need to give the people in this group who might help you more of a clue. If you are getting a Force Close there will be a log of the problem in the LogCat window of Eclipse. Post the Java stack trace from LogCat here so people can comment on it. On Monday, October 15, 2012

[android-developers] Re: Ctrl+F11 key for Mac

2012-10-16 Thread RichardC
Try this thread: https://groups.google.com/d/msg/android-developers/kDVfgZpzTD4/fj4tcMZyzCkJ On Monday, October 15, 2012 11:38:49 AM UTC+1, Musashi wrote: Hello there, I would like to switch view of emulator of ADT using keyboard. I know how to use key for Windows machine it's Ctrl+F11 to

Re: [android-developers] [HELP] AVD does not show control keys (home button, keyboard, back)

2012-10-16 Thread Marina Cuello
I know this is a little old, but the no keys look is how an AVD looks if you choose a resolution other than the standard ones, because there is no pre-made skin for them. You can still use your keyboard to access functionality. Check the documentation for a list of the shortcuts. Marina On Oct

[android-developers] Re: It seems easy to get rid of a competitor’s app

2012-10-16 Thread Terry
Thank you, Piotr, for an extremely interesting - but shocking comment. You wrote: Any reason you have not issued fake DMCA takedown notice against your oppressor? My answer to that is that I do not know (yet). HOW do you issue a fake DMCA takedown notice - and to WHOM? Terry kl. 10:51:49

Re: [android-developers] Extremely slow turnaround when building and running

2012-10-16 Thread Kostya Vasilyev
My current project is about 80K lines of code, a fair amount of resources, and produces ~ 2M APK file. Building in Eclipse takes 5-10-15 seconds and launching is almost instant (2-3 seconds). These are the things that I believe are important: - I'm on Linux (Debian / Wheezy, 64 bits, Liquorix

Re: [android-developers] Re: RDP for Android

2012-10-16 Thread Nirav Parmar
Thanks Brad bob for your suggestions...i appreciate your help.. On Mon, Oct 15, 2012 at 8:53 PM, bob b...@coolfone.comze.com wrote: You could always look at the source to VNC. Mainly, what you will be doing is constantly sending a screen capture back to the client. To minimize

[android-developers] How to save registration id to database with php? (GCM)

2012-10-16 Thread Fariz Izzan
i have tried to find how to save the registration id to database. i dont understand about how to get the registration id from the GCM server, what php sytax and parameters of the sytax to get the reg id? is that i must use the $_REQUEST or what ?? i'm sorry for my bad english. :) -- You

[android-developers] Android APIMiner: Documenting the Android API with examples

2012-10-16 Thread João Eduardo Montandon
Hi everyone, I would like to share with you a platform created as part of my Msc dissertation, called Android APIMiner: http://www.apiminer.org In a few words, Android APIMiner is a platform that provides a version of the Android API documentation enriched with thousands of real examples,

[android-developers] Problems launching a 2 activities program

2012-10-16 Thread Ignacio Alonso Larré
Hi!! I'm starting programming in Android and I'm creating a very simple 2 activities app following a tutorial. Here is the code of both activities: 1- package android.nacho.Textpsycologico; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import

[android-developers] I want to find guy to develop android vpn app

2012-10-16 Thread ttsaon
who can do this ? app like play.google.com/store/apps/details?id=com.yesvpn.en contact 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 unsubscribe from this

[android-developers] How to make a 3d app into livewallpaper

2012-10-16 Thread depankar dutta
hi i am learning to make live wallpaper and i have made a 3d rotating cube , can anybody tell how to make changes in manifest file and using wallpaperservice should i make it a live wallpaper.? Help me with some code to understand,i am using opengles 1.0 thank -- You received this message

[android-developers] Re: Google Cloud Message can't parse intent

2012-10-16 Thread Fariz Izzan
I havesome problem.. -- 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

[android-developers] disable date time setting in android

2012-10-16 Thread Faisal Ibrahim Silitonga
hi i want to build an aplication that make the date time setting in adroid disable and cannot change the date time. Is that possible? -- 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: How to read data from external device using android USB Host Api ?

2012-10-16 Thread German Schwengber
Hola gente, a mi me pasaba algo parecido. Podía crear el UsbManager, pero deviceList.size() me daba 0. Despues de averiguar me entere que el problema no era de mi app, sino de la config del la tablet (superchina A10-MID 7, android 4.0.3). Me di cuenta usando una App gratuita USB Device Info.

[android-developers] Message passing between 2 instances of 1 Android application

2012-10-16 Thread Bhuvi
Hi, I m beginner to Android programming.I have 2 instances of my application. I want to pass message(file) from phone 1 to phone 2(using HTTP protocol). Phone 2 acknowledges and processes the file. It sends the updated file as a message to phone 1. This should go on forever. Please let me know

[android-developers] BouncyCastle Jar causing Java Heap Space Problem

2012-10-16 Thread Prashant Gami
I ran into a problem while trying to create X509Certificate using bouncycastle Provider. I added bouncycastle provider jar which caused GC overlimit and Java Heap Space Problem. Here is my code which is just from BouncyCastle example. public static X509Certificate createMasterCert(

[android-developers] Tracking referral keywords from Google Play

2012-10-16 Thread Euwyn Poon
I've seen some mentions in blogs about tracking keywords that have led people to download your app from Google Play, but I can't seem to figure out how exactly to track this. For example, I'd like to know how many users found my fishing game with fishing game and fish free as the keywords.

[android-developers] LD_LIBRARY_PATH ignored on Android sometimes

2012-10-16 Thread Simone Margaritelli
Hi there, i have an android app which spawns many native executables dinamically linked with libraries i distribute with the package. To launch those binaries, i use the LD_LIBRARY_PATH environment variable to make them aware of the place to load the libraries from, but on some devices this

[android-developers] Re: How to get a button id from an app(I don't have the source)

2012-10-16 Thread Dhruv Kumar
Without Application you can't get the id . By the way you can get id e.g text = (TextView)findViewById(R.id.text); where id mention in xml file. On Tuesday, October 16, 2012 6:55:11 AM UTC-4, srikanth wrote: Hi, I want to get the element/button id in an app(I don't have the apk).. can any

[android-developers] trace.html does not be opened as the result of systrace in the jellybean.

2012-10-16 Thread daewoo kwak
hi , I am studying the performance trace tool that introduced at the 2012 goolge IO . that is systrace . I have generated that trace.html in the linux OS . but , I can not open with Browser . ( FireFox ) also I have tested in the Window ( Explore ) . the result is the same. when I open

Re: [android-developers] Problems with start a Map Activity from other Activity

2012-10-16 Thread İLKER SARAC
I also have the similar problem. I added a simple button to the hello world screen. This button need to start the activity described here (https://developers.google.com/maps/documentation/android/hello-mapview) When I click that single button, instead of showing a map my application gives

[android-developers] hi

2012-10-16 Thread bahmani iman
hi friend i study android programing i have a question how to i can a app for education for example have quiz and learning and ... please everyone can help me answer my question thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Force open apk file with PackageManager, avoiding application selection

2012-10-16 Thread Pascal Ehlert
Hey folks, I am working on a non-market application that is used within our company. It has an updater that downloads apks from a web server and is supposed to install them. When I use the following code (tested on Android 4.0) to open the apk, I am presented with a selection of applications

[android-developers] In app purchase test with example app and static responses fails.

2012-10-16 Thread athos bacchiocchi
Hello, I'm testing in-app purchase procedure using the Dungeons Example app, but it fails. I added my public key where indicated by the docs, generated a signed apk, installed and launched the app. For all of the static responses I get Play to open and the fake purchase page to display, but

[android-developers] Message passing in Android between 2 instances

2012-10-16 Thread Bhuvi
Hi, Can someone tell me a solution for this? http://stackoverflow.com/questions/12911706/message-passing-between-2-instances-of-android-phones-in-same-application Thanks in advance! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] MTK6573 Handphone Dilemma

2012-10-16 Thread Shaarani Mohd Tahir
I desperately need help because i know that you all are my life saver. As it goes I'm having an unrooted chinese hand phone and there are no ways to root my phone other then to flash it. The dilemma is that i need to do a full backup before flashing but in order to do full backup i need to root

Re: [android-developers] Force open apk file with PackageManager, avoiding application selection

2012-10-16 Thread Mark Murphy
On Sat, Oct 13, 2012 at 2:16 PM, Pascal Ehlert dad...@googlemail.com wrote: I am working on a non-market application that is used within our company. It has an updater that downloads apks from a web server and is supposed to install them. When I use the following code (tested on Android 4.0)

[android-developers] Re: Extremely slow turnaround when building and running

2012-10-16 Thread Streets Of Boston
Same here. If you just change Java Code, it isn't that bad. However, as soon as you change a resource or after you had a compile error (how odd), it can take a few minutes from build to launch (my 'record' is abt 5 minutes). It is sometimes excruciatingly slow. On Friday, October 12, 2012

Re: [android-developers] Re: SDK Manager doesn't show anything, only already installed packages

2012-10-16 Thread Pratyush Nalam
Same problem here. I cleared the cache. Still doesn't reload. Tried http also. No progress. Pls help. On Friday, October 5, 2012 1:30:25 AM UTC+5:30, Mark Murphy (a Commons Guy) wrote: Clear your cache and reload. The clear-cache button is in Tools Options in the SDK Manager, and reloading

[android-developers] Android Shell Scripting

2012-10-16 Thread Sumeet
Hi, We are developing a Ruby script to launch an Android emulator and then run some calabash tests on it. The ruby script just executes a bunch of shell commands: PID = fork do Signal.trap(HUP) { puts PROCESS ENDED; exit } exec emulator -avd TestDevice1 end fork { sleep(55)

[android-developers] Display an Integer[] who's inside an ArrayList

2012-10-16 Thread Michel Cabillot
I have an arraylist with some Integer[] inside and I want to display elements of my Integer[] into a ViewFlipper. I have the function which works if you include directly an Integer[] : View addImageView(int resId) { ImageView iv = new ImageView(this); iv.setImageResource(resId); return iv;

[android-developers] WebView - requestFileSystem causes Fatal signal 11 (SIGSEGV)

2012-10-16 Thread Marvin Brach
I'm developing an offline app where I have to save files in html5 fs-sandbox. At desktop in Chrome everything works fine. But my android device (Samsung Galaxy Tab 10.1 - OS 4.0.4) is crashing with 10-12 10:49:53.953: A/libc(9231): Fatal signal 11 (SIGSEGV) at 0x (code=1)until I'm

[android-developers] Re: the Welcome to Android Development window doesn't appears

2012-10-16 Thread Marco Guida
I have Mac OSX 10.5.8. I have verified on eclipse about eclipse Installation details Installed software, i have installed the Android ADT but doesn't work, Android buttons doesn't appears and in the eclipsePreferences i can't see Android and i can't select SDK path. -- You received this

Re: [android-developers] Package Data in Database with App?

2012-10-16 Thread Jacob Ingvar Hansen
Are there any progress on this ? (sorry for the thread revive) On Friday, March 14, 2008 8:19:02 PM UTC+1, Megha wrote: Hi, Packaging SQLite3 database with application is not supported for now. You may want to log this as a feature request in the android issue tracker. thanks, Megha On

[android-developers] How to respond to focused item change in ListView

2012-10-16 Thread Ryan Harter
I have a ListView which contains all of my TV Series in my Google TV app. My goal is that when the user uses the d-pad to move to a different TV Show, without selecting it (clicking the center button) the background of the main view will change to match the currently focused show. Selecting

Re: [android-developers] Android APIMiner: Documenting the Android API with examples

2012-10-16 Thread Mark Murphy
Interesting concept! Note that it crashes when trying to view android.content.Intent. I am also not completely sure how you are choosing the lines of code to display in the examples, but sometimes it is just one line of code (e.g., dialog.dismiss(); as an example of how to call dismiss() on a

Re: [android-developers] Package Data in Database with App?

2012-10-16 Thread Mark Murphy
On Fri, Oct 12, 2012 at 5:33 AM, Jacob Ingvar Hansen jacob.ingvar.han...@gmail.com wrote: Are there any progress on this ? (sorry for the thread revive) Use SQLiteAssetHelper: https://github.com/jgilfelt/android-sqlite-asset-helper -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Latest Android ADT wizard gives wrong app name

2012-10-16 Thread Ryan Warner
Hey everyone, Forgive me if this is already well known, but I went through the wizard of the latest android ADT and when filling in the appropriate fields the application ends up installing as the main activity's title name. I.e. I make an application named Test1 and the main menu of the

[android-developers] Re: moderated posts?

2012-10-16 Thread NilsBe
Hi Bob, I am exactly in the same position. I also posted a question and it didn't show up. Maybe it takes some time longer? Nils On Monday, October 15, 2012 8:18:46 PM UTC+2, Bob S wrote: Hi, I posted a newbie question here, and it never showed up. I guess it was moderated? If you

[android-developers] SlidingTab on Lock Screen vibrates when unlocking regardless of the global settings about haptic feedback

2012-10-16 Thread Nils Belde
When unlocking my android 2.3.3 phone on the simple lock screen it vibrates once the slider is touched and a second time little longer when the slider has been pulled completely to the other side. I found it a little annoying and so I thought I could somehow switch it off in the settings as I

[android-developers] running applications on the android device using asp.net code

2012-10-16 Thread vikas
hello android developer team I am .net developer,i am able to listing the attached android devices with my PC using c# code(ADB.exe) now my next requirement is to list attached android mobile running applications . please suggest me helping reference links Thanks and Regards KIS --

[android-developers] Creating an updated Android.jar file

2012-10-16 Thread JungTae Kim
Hello Community, I'm trying to make some customization to classes in the Android framework on ICS. I want my eclipse to pick up on these changes, but I can't seem to figure out where the android.jar gets outputted to. could someone please help me out with this issue? Thanks -- You received

  1   2   3   >