Re: [android-developers] BitmapFactory.Options inTempStorage

2012-04-26 Thread Romain Guy
inTempStorage is just a buffer used while reading/decoding bitmaps from a file or a stream. The total size of the file doesn't really matter. This array is used to invoke this method: http://developer.android.com/reference/java/io/InputStream.html#read(byte[], int, int) Changing the buffer size

Re: [android-developers] Carousel || Coverflow with LinearLayout Views

2012-04-26 Thread Abhilash baddam
Hi, I have implemented carousel demo example with reference to http://www.codeproject.com/Articles/146145/Android-3D-Carousel but when I am using 11 images in this i am not getting proper position of each item... How can I get the proper position of each item...? Could anyone help me on

Re: [android-developers] AlphabetIndexer with Custom Adapter managed by LoaderManager

2012-04-26 Thread Etienne
I now got this to work. The solution is here http://stackoverflow.com/questions/10224233/alphabetindexer-with-custom-adapter-managed-by-loadermanager On Wednesday, April 25, 2012 9:30:36 PM UTC-7, Etienne wrote: Here is the stack trace: 04-25 01:37:23.280: E/AndroidRuntime(711): FATAL

[android-developers] get image from gallery and set in fragment

2012-04-26 Thread vani reddy
Hi friends, I need to access gallery and select an image from gallery and after selecting image i need to come back to my fragment. But after selecting image from gallery my application is closing.(But no force close). I used the following code to open gallery. Intent intent = new

[android-developers] Re: Dynamic loading of components

2012-04-26 Thread Hemant Chaudhari
Thanks Dallas.. And to ever body else for replying. I posted this query just to know whether is it possible. As i mentioned *I have requirement just like PRISM framework in .Net.* Other solution to this is better to go for Web App instead of Native. -Thanks Hemant -- You received this

[android-developers] Re: onPreviewFrame returning wrong information?

2012-04-26 Thread gjs
Hi, Read this post it might help. http://groups.google.com/group/android-developers/browse_thread/thread/65796050ccf3e022/067df0e92c366937?lnk=gstq=compressToJpeg#067df0e92c366937 or search for compressToJpeg in this forum. regards On Apr 26, 3:11 pm, Taylor Niver tniver1...@gmail.com wrote:

[android-developers] Handling remote control buttons

2012-04-26 Thread Jeremy Villalobos
Hello: I followed the advice from this blog to receive the bluetooth buttons for my app: http://android-developers.blogspot.com/2010/06/allowing-applications-to-play-nicer.html The buttons work on the average case. However, if the user opens two instances of my app (one by starting the app,

[android-developers] Eclipse Logcat: Jump into native code after doubleclick

2012-04-26 Thread Zohob
Hello! If you double click on a logcat-message containing the string at (SomeName.java:44) in Eclipse, the cursor automatically jumps into SomeName.java at line 44. Now I want Logcat to jump into a native code file. The following versions don't work: at (SomeName.h:44) at (jni/SomeName.h:44) at

[android-developers] Re: how to add icon to Quick contact badge

2012-04-26 Thread Shuki
Well, thanks guys, that works, however I want a separate icon for my application to appear in the QuickConnectBadge. With these intent-filters, when i click on call or sms icon i get the pop-up saying Complete the action using in which I can see my app. But I want a dedicated button which user

[android-developers] multi press

2012-04-26 Thread shihab shiha
Hi All, I have been developing a small app that would benefit greatly from a user being able to press 2 buttons at one time. What is the best method for achieving this? I dont think that an OnClickListener works like that, and I have seen examples for doing this with an OnTouch event. However, I

Re: [android-developers] Fragment.onActivityResult is not called

2012-04-26 Thread Kostya Vasilyev
The bug is in the compatibility library, not the platform, so no firmware updates are involved. The native platform implementation of this is different. It appears fixed in the current version of the compat library (v7?), I believe it has been for a long time. -- K 26 апреля 2012 г. 6:32

Re: [android-developers] newbie SQL Light Question

2012-04-26 Thread Kostya Vasilyev
String concatenation, yes, SQL statement compilation, yes. However, query() does not inject query arguments into the query string. The ? argument notation is preserved and arguments are bound and passed into SQLite as, well, arguments. -- K 26 апреля 2012 г. 3:15 пользователь Mark Murphy

Re: [android-developers] multi press

2012-04-26 Thread David Olsson
Have you actually tried http://stackoverflow.com/questions/2528160/multiple-button-presses-for-android-2-x ? You don't really need to make 2 new questions for the same issue in a couple of hours. And searching through the list you have asked it several times and gotten several answers on ideas

Re: [android-developers] Re: how to add icon to Quick contact badge

2012-04-26 Thread Live Happy
if u want ur application appear in contact badge its different than make ur application provide call or send sms ur application will be in contact badge when u will have sync adapter and than ur application will have contact who add to contact list than uwill see ur application in contact badge

[android-developers] Re: Backporting stagefright and NuPlayer to Android 2.2?

2012-04-26 Thread b0b
I wouldn't care about Android 2.2 at this point, as the MediaPlayer is really incomplete and buggy in this version and lower. It is a lot better in 2.3.x and above. Most third party video players use ffmpeg as the media framework. -- You received this message because you are subscribed to the

Re: [android-developers] Total Available memory for Memory Management logic.

2012-04-26 Thread Daniel Drozdzewski
The thing is that Android OS will allocate the memory according to the needs of a process (up to maximum memory allowed). So, if were able to establish the amount of free memory that your app has available, the OS might increase this allowance as soon as you allocate next bitmap, therefore the

[android-developers] Re: GPS Location returns zero speed always

2012-04-26 Thread lbendlin
https://www.google.com/search?q=google+nexus+s+gps+issuessourceid=ie7rls=com.microsoft:en-us:IE-Addressie=oe = -- 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] Re: GPS Location returns zero speed always

2012-04-26 Thread lbendlin
https://www.google.com/search?q=google+nexus+s+gps+issues -- 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] Preventing the app from closing, killing, deleting

2012-04-26 Thread Behroz Sikander
Hello All, I am trying to make a parental control application. This will be installed on the children android phone. Now, the kid can do the following 1- Close the application 2- Kill the process from task manager 3- Delete the files from file system. 4- Uninstall the application How can i

[android-developers] Launch Intent for Native Gallery only

2012-04-26 Thread AKuhn
Currently I am launching an intent for the gallery to select an image. Intent intent = new Intent(Intent.ACTION_PICK); intent.setData(Media.EXTERNAL_CONTENT_URI); startActivityForResult(intent, R.string.choose_picture); Normally this works well, but on one of our platforms someone installed an

[android-developers] Bug on Fragment multi-pane Layout???

2012-04-26 Thread Abdul Haris Ilmawan
hey,, is there anyone notice this?? I test the Multipane layout from source sample of multipane layout let me ilustrate it.. In portrait condition,, i choose the 2nd item.. it show the detail on another activity -- normal then rotate it to landscape, now the detail is side by side with the

[android-developers] Stereo AudioRecord

2012-04-26 Thread Akshay Malhotra
I want to capture Stereo signals on my Galaxy Nexus Prime and Galaxy Note phones usibg Audio Record. But when do this the data captured by both left and right microphones is same(bit exact). Is it possible to record audio in STEREO mode on Samasung phones? I am able to do this on motorola and sony

[android-developers] About customized mobile torrent

2012-04-26 Thread Sharath babu
Hey guys, I'm trying to build a customized mobile torrent app. This is a bluetooth based torrent, where in the app can communicate over bluetooth, explore files and start the download. When ever the device goes out of range or any other problem occurs the file downloads has to pause

[android-developers] Re: Select Tag - Item text not displayed in android tablet same as in Desktop browser

2012-04-26 Thread arvind
So anyone has a resolution to this issue ? On Android 3.2 the Select listbox - only shows first selected item of the list But on Android 2.3 it shows all the items of the list in html page. Whats wrong with webkit-appearance not working for ANdroid 3.2 rgds Arvind On Monday, August 15,

[android-developers] Battery Charging Animation (Boot) - How to change the battery animation

2012-04-26 Thread AJParag
I want to change the battery charging animation that lights up when the phone is charged while it is still switched-off. Does anyone has an idea which file triggers this animation? Can someone help me out with this? Can someone share the the path of the system file/folder which must be modded

[android-developers] Android : Do something when battery is at a defined level

2012-04-26 Thread Antoine Estrade
0 down vote favorite 1 share [g+] share [fb] share [tw] I'm stuck with a little problem here ! I want my app to do something, but only when the battery is at 10%. My app doesn't watch constantly the battery level it just wait for a LOW_BATTERY intent. It works if i don't specify a level but it

[android-developers] GridLayout not clipping text to column width

2012-04-26 Thread Barkside
I'm attempting to use GridLayout so I can generate a complicated layout on the fly. However text inside TextViews is not getting clipped to columns as I would imagine they would. To demonstrate what I mean, below is a simple example. GridLayout

[android-developers] Drop Call or Failed Call ?

2012-04-26 Thread Abdullah
Hi everybody.i want to get drop call or failed call in android.but i did'nt find anything method in android.Can you help me please!!! -- 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] Fragment problems (converting an app)

2012-04-26 Thread Bas Verhoog
Shameless copy from SO (without a solution as of yet, obviously): I am currently converting my app over to Fragments, and have run into a number of problems. I hope to be able to solve them all with your help, and will edit my post once I have solved a certain part of the conversion. **First

Re: [android-developers] Drop Call or Failed Call ?

2012-04-26 Thread asheesh arya
not posssible -- 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

[android-developers] Android spinner is not left aligned when set to wrap_content

2012-04-26 Thread Binh Nguyen
Hello experts, I realize that on 2.3, the spinner layout width will base on spinner item content, while as it fixes for widest content, and doesn't change for the others on 4.0. There is no problem if the spinner layout is set to fill_parent, but I need a wrap_content spinner... Do you know

Re: [android-developers] BitmapFactory.Options inTempStorage

2012-04-26 Thread Jim Graham
On Wed, Apr 25, 2012 at 10:53:16PM -0600, Justin Anderson wrote: Sorry Jim, I don't know the answer... Maybe Dianne or Romain will come across this post and they can shed some light on the subject. And I just can't resist... I HAVE to comment on this... I find it extremely amusing that the

Re: [android-developers] BitmapFactory.Options inTempStorage

2012-04-26 Thread Jim Graham
On Wed, Apr 25, 2012 at 11:01:40PM -0700, Romain Guy wrote: Using this field will not help you avoid out of memory errors. Ok, thanks for clearing that up. Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)| Now what *you* need is a proper pint of

Re: [android-developers] Preventing the app from closing, killing, deleting

2012-04-26 Thread Mark Murphy
You are welcome to modify the firmware to integrate such capabilities. A discussion of modifying the firmware is off-topic for this list -- please visit http://source.android.com. On Tue, Apr 24, 2012 at 6:51 PM, Behroz Sikander behro...@gmail.com wrote: Hello All, I am trying to make a

Re: [android-developers] Launch Intent for Native Gallery only

2012-04-26 Thread Mark Murphy
On Wed, Apr 25, 2012 at 2:55 PM, AKuhn awk...@gmail.com wrote: Normally this works well, but on one of our platforms someone installed an alternate image picker.  When the above code is executed it does not launch the native gallery, it bring up a Complete action using menu which lets you

Re: [android-developers] Battery Charging Animation (Boot) - How to change the battery animation

2012-04-26 Thread Mark Murphy
This has nothing to do with this list, which is for developing applications with the SDK. For firmware questions, please visit http://source.android.com. On Wed, Apr 25, 2012 at 6:56 AM, AJParag ajpa...@gmail.com wrote: I want to change the battery charging animation that lights up when the

[android-developers] BroadcastReceiver Spawning New Process onReceive

2012-04-26 Thread beachboy
As I understand it from a previous post and behavior I have seen in my application under certain instances Android will spawn a new process for a BroadcastReceiver onReceive. If this is true I have a couple of questions: 1) If I create the BroadcastReceiver as: private BroadcastReceiver

Re: [android-developers] BroadcastReceiver Spawning New Process onReceive

2012-04-26 Thread Mark Murphy
On Thu, Apr 26, 2012 at 7:53 AM, beachboy jfma...@gmail.com wrote: As I understand it from a previous post and behavior I have seen in my application under certain instances Android will spawn a new process for a BroadcastReceiver onReceive. If a process for your app is not running, and your

[android-developers] Re: BroadcastReceiver Spawning New Process onReceive

2012-04-26 Thread beachboy
I did omit the registerRecevier() in the example but it is my code. From the logs I am receiving onReceive is being called on a new process and my Application.onCreate() is being called where i print the Process Id and these new Process Id are all different. My receiver is being used in my

[android-developers] Refresh current list after receiving notification

2012-04-26 Thread rachana govilkar
Hello, I have an application in which i display list of messages between two users. Whenever i receive notification for new message,i have written a code to click on that notification and show details of it. But i don't know how to write a code if i am already on Message List screen and

Re: [android-developers] newbie SQL Light Question

2012-04-26 Thread Mark Murphy
2012/4/26 Kostya Vasilyev kmans...@gmail.com: String concatenation, yes, SQL statement compilation, yes. However, query() does not inject query arguments into the query string. The ? argument notation is preserved and arguments are bound and passed into SQLite as, well, arguments. Correct.

Re: [android-developers] Re: BroadcastReceiver Spawning New Process onReceive

2012-04-26 Thread Mark Murphy
On Thu, Apr 26, 2012 at 8:25 AM, beachboy jfma...@gmail.com wrote: I did omit the registerRecevier() in the example but it is my code. From the logs I am receiving onReceive is being called on a new process and my Application.onCreate() is being called where i print the Process Id and these

Re: [android-developers] newbie SQL Light Question

2012-04-26 Thread Mark Murphy
On Thu, Apr 26, 2012 at 12:46 AM, Justin Anderson magouyaw...@gmail.com wrote: You ALWAYS need to guard against SQL injection attacks if you are forming your query based on user input... If that user input might come from another program, yes (e.g., exported ContentProvider). If the only way

[android-developers] samuel could we get facepreview20120218.zip

2012-04-26 Thread karan hans
-- 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, visit

Re: [android-developers] Drop Call or Failed Call ?

2012-04-26 Thread Kristopher Micinski
afaik that's right. At least at the SDK level this isn't possible, you can only check for outgoing, incoming, or missed calls.. kris On Thu, Apr 26, 2012 at 7:10 AM, asheesh arya asheesharya...@gmail.com wrote: not posssible -- You received this message because you are subscribed to the

[android-developers] Re: How to record and Save to FLAC file format

2012-04-26 Thread Syarif Hidayatullah
no body?? On Wednesday, 11 April 2012 14:02:24 UTC+7, Syarif Hidayatullah wrote: Hi Android developer, I want to be able to record a sound in android and save it as FLAC Audio Format. is there any example source code? tnx. BR/Syarif -- You received this message because you are

[android-developers] How to change language setting of the whole system in android without Intent?

2012-04-26 Thread Garlic Tseng
I'm trying to change the language of the whole system of Android Phone on my application, cause our goal is to customized a Settings application. I've tried this, but didn't work: Configuration conf = Resources.getSystem().getConfiguration(); conf.locale = toSet; //toSet is a Locale which I

[android-developers] Implement Windows Phone 7 Pager (Tab switching, pivots etc) UI in Android App?

2012-04-26 Thread Brijesh Bharadwaj
Can someone help me figure out how to code in Windows Phone 7 like Pager UI into an Android app? I am refering to the behavior of switching between several tabs(or pages if you will). I know how to use View Pagers, but im unable to figure out the logic to do this. Very Specifically i would

[android-developers] Re: How to get video to play in stock browser??

2012-04-26 Thread Dan MacDonnell
I am seeing the same issue on some devices. Specifically 2.3 devices such as the HTC EVO and LG Spectrum, just to name two. I would love to know if there was a way to suppress this prompt without using a HTML5 video player. On Thursday, September 9, 2010 4:12:36 PM UTC-4, Peter Eastman wrote:

[android-developers] Service failing after first boot from flash

2012-04-26 Thread caredur
I am working on a project that creates custom images for an Android device. We edit the kernel and other os files. Our system init calls init.herring.rc which is where we have our 'module' starting from. service ourapp /data/local/ourapp --daemon class core user root group root

[android-developers] TimePicker with fragment help

2012-04-26 Thread Denis
I've tried multiple ways using the techniques in http://stackoverflow.com/questions/10298619/dialogfragment-use-to-launch-timepicker Could somebody PLEASE just show me a way at doing this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Open Source Software Links

2012-04-26 Thread OSS LINKS
Hi, I just found a cool website that lists a number of open source software. http://www.osslinks.com Don't worry, it's not a spam. Cheers -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Jframe in Android UI

2012-04-26 Thread csselo
Hi I am coding a board game but android is diffrent.Which class is used for designing a board? Thanks for all -- 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] service failing on first boot after flash

2012-04-26 Thread caredur
I am working on a project that creates custom images for an Android device. We edit the kernel and other os files. Our system init calls init.herring.rc which is where we have our 'module' starting from. service ourapp /data/local/ourapp --daemon class core user root group root

[android-developers] MediaPlayer buffering in Gingerbread

2012-04-26 Thread Ultraman69
I did implement an Activity that plays a stream from an external URL. I tried using the MediaPlayer based on the sample in the Androïd SDKhttp://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/media/MediaPlayerDemo_Audio.html. Works fine with 2.1, not very well in

[android-developers] Youtube app fullscreen

2012-04-26 Thread dend9031
I have code for lauch an android youtube application private String video_id[] = { gZiKrWSzNBo, mzpJq23cuKc }; private final static String YOUTUBE_URL = http://www.youtube.com/watch?v=;; private final static String YOUTUBE_APP = com.google.android.youtube; Intent youtube_intent = new Intent();

[android-developers] fonction paste with android level 7

2012-04-26 Thread kao
hello, I tried to implement the function copy and paste into android level 7,but I hadn't find the correct code because there are many methods offred by android to do this but for API level 11.So if someone could help me I will be very thankful. -- You received this message because you are

[android-developers] Generate new content i Java

2012-04-26 Thread Christopher Carlsson
Hello! I'm working with some friends on an application, we're all beginners but so far it's going pretty well. Unfortunately we've hit a roadblock, and since our native language isn't English we don't know if we're searching for the right tags, because we're not finding anything on this subject.

Re: [android-developers] how to add icon to Quick contact badge

2012-04-26 Thread hckr
I have an extension to the same question. I can invoke my application by using the intents. However, I want to add a separate icon for my application in QuickContactBadge. How can I do that? -hckr -- You received this message because you are subscribed to the Google Groups Android

[android-developers] eclipse android project change sdk version

2012-04-26 Thread fachhoch
I am a new bee trying writing simple applications using eclipse. I tried to change the sdk version using project properties android sdk version, but the sdk version never changes t, is this bug in eclipse?, if not from eclipse can i change my project sdk verrions in any other way?, I also

[android-developers] DRM Sample

2012-04-26 Thread kunlamp
HI all: I want to develop a Sample on android for read DRM image. You know google release drm api after Android sdk verison 11. But I can't find DRM image now. So can any one give me a DRM image,or some thing that i can get a drm imge. BR -- You received this message because you are

[android-developers] Re: Once again the INSTALL_FAILED_INSUFFICIENT_STORAGE error

2012-04-26 Thread milkysmart prashanth
Run this in command prompt. android-sdk\tools\emulator.exe @avd-name -partition-size 1024 On Monday, 5 September 2011 20:20:18 UTC+5:30, Palsson wrote: Hello, Hardware: AM3517 OS: Froyo release Suddenly I'm not able to install, run and debug applications on my target, using eclipse.

[android-developers] Changing the frame rate of the camera

2012-04-26 Thread gregory st-jean
Hi, My OV14825 camera runs at 60FPS (FULL-HD) on Pandaboard with ICS 4.0.3 but I want only to change the frame rate to 30FPS in the code of the Camera application. Does anybody know how to change it without touching OV14825 ? Thank you for helping me. -- You received this message because you

[android-developers] Re: Persistent build error

2012-04-26 Thread James Taber
make sure whomever checked it into svn did not leave any absolute path references; verify there are no missing required projects - or whatever their netbeans equivalent is. On Monday, April 23, 2012 10:17:15 PM UTC-5, Luiz Santos wrote: Hello everybody. I'm trying to build a project on

[android-developers] Changing system country to US

2012-04-26 Thread Gilles Guinet
I'm doing some developing for Infuse 4G. The phone is branded with Rogers Canada. In set language the language says English (Canada). I tried editing data/property/persist.sys.country but everytime I do factory reset it changes back to Canada. I tried adding that to the build.prop but the system

[android-developers] Problems with Ubuntu 11.10 and Samsung Galaxy S2

2012-04-26 Thread Fran
Hi there, I am trying to use my Samsung Galaxy S2 to debug Android applications developed within Eclipse in an Ubuntu 11.10 Linux distribution. I have installed the SDK and all needed Eclipse plugins, and they are working fine. I have created some test programs and run them on the emulator

[android-developers] Playing RTSP with authentication and encryption

2012-04-26 Thread foxfling
Hello, I want to create an app which plays a RTSP stream with authentication and data encryption. I checked VideoView/MediaPlayer which can handle basic RTSP URL. But cannot find any info linked to encryption or authentication. Any ideas? Thanks. -- You received this message because you are

[android-developers] sd card file system (fat32)

2012-04-26 Thread kayX
Hi. I'm trying to play around with the external sd card (fat32 formatted) file system. I'm trying to read the sector size, sector per cluster...etc so that I can search for deleted file like those popular undelete software. I am able to do this under windows using cpp when I connect my phone to my

[android-developers] fragments, buttons and activities

2012-04-26 Thread Fausteric
I am searching for a fragments example for my purpose. I have made a app which has 7 pages with icons and each icon represents a tool. Now i want to make a special layout for Tablets. I want to place all the icons on the left side of the screen and on the right side i want to show the tool.

[android-developers] Placing Fragment into Listview item

2012-04-26 Thread spotleo
I know it is possible to place ListView into Fragment, aka. ListFragment. But is it possible to place Fragment into ListView? What I'm trying to achieve is I created a reusable Fragment A that works fine anywhere outside ListView using setContentView, but when I try to inflate Fragment A into a

[android-developers] Problem when placing Fragment into Listview item

2012-04-26 Thread spotleo
Hi, I know it is possible to place ListView into Fragment, aka. ListFragment. But is it possible to place Fragment into ListView? What I'm trying to achieve is I created a reusable Fragment A that works fine anywhere outside ListView, but when I try to inflate Fragment A into a ListView item,

[android-developers] Android/JVM difference in RSA decryption

2012-04-26 Thread Joseph
I am trying to decrypt a String, that I have encrypted elsewhere. Here is my code: private void test() { try { String stringMessage=Sf3O7Lr2+WN5szGyLejL3CjuBRZtQ72+ZBmgVTgWnatQZxUElzaBqFa1p0SVBqe9VWVxCxdEkejMVtDGEr0UJSVSK8EB/

[android-developers] Changing the frame rate of the camera

2012-04-26 Thread gregory st-jean
Hi, My OV14825 camera runs at 60FPS (FULL-HD) on Pandaboard with ICS 4.0.3 but I want only to change the frame rate to 30FPS in the code of the Camera application. Does anybody know how to change it without touching OV14825 ? Thank you for helping me. -- You received this message because you

[android-developers] WISPR support in Samsung ICS ROM

2012-04-26 Thread Hamster
Hi lads, Yesterday I have received ICS 4.0.3 upgrade to my branded (T-Mobile Poland) SGS2. When I connect my handset to WISPR-capable hotspot I receive 'Sign in to a Wi-Fi network' notification (with SSID name below). As expect - tapping on notification open browsers with WISPr login form.

[android-developers] USB Host - a simple app to send signals to the camera

2012-04-26 Thread Magda
Hi, I am writing an app that is supposed to communicate with a camera via USB, Samsung Galaxy S2 with Android 4.0.3 being the host. I have trouble with understanding how it has to be done. I am trying via bulkTransfer and the code goes like this: char ch = (char)34; char[] record =

[android-developers] SampleSyncAdapter

2012-04-26 Thread Graphene
I have been reading through the sample code and i don't understand something. The comment on FinishLogin(String authToken) explains: We store the authToken that's returned from the server as the 'password' for this account - so we're never storing the user's actual password locally. But then i

[android-developers] getOrientation() method returns bad results

2012-04-26 Thread Lukáš Sztefek
I'm creating 3D Compass application. I'm using getOrientationhttp://developer.android.com/reference/android/hardware/SensorManager.html#getOrientation%28float%5B%5D,%20float%5B%5D%29 method to get orientation (almost same implementation like

[android-developers] mixing views and overlays

2012-04-26 Thread James Taber
I have a custom map view on which I am placing overlays and three additional views. The additional views contain heads-up display (HUD) type information as well as a ZoomControl object. The overlays always draw over the HUD views. I have tried the following to remedy: 1. In my main

[android-developers] Button Style programmaticaly

2012-04-26 Thread Joel
Hi, I am a new Android developer and i have a problem with buttons and styles. I have to create buttons with java code and I want set a specific style. My code: in values directory -- styles.xml ?xml version=1.0 encoding=utf-8? resources style name=ButtonText item

[android-developers] Directly access the camera hardware by a c/c++ program (/dev/msm_camera/*)

2012-04-26 Thread fLiPr3VeRsE
Hi everyone, before describing my problem: yes, i know that i can get an image through the android java api. but i need a raw image. the android api has a bug regarding the raw callback for Camera.takePicture(). Does anyone knows a way to deal with /dev/msm_camera/* and /dev/pmem* to get a raw

[android-developers] SIM access - how to bypass cache

2012-04-26 Thread genedyne
I need raw access to the contents of the SIM card. This application involves both hardware software. The contents of the SIM may change (invalidating the contents of the SIM cache), without the OS being aware of the change. I'm not sure if there is a way for an application to invalidate the

[android-developers] Safe to add Fragment into ListView?

2012-04-26 Thread spotleo
Hi, I have a reusable UI component Fragment A that has been used throughout various Activities and they all worked fine. The controller logic is placed inside Fragment A whereas the view layer is defined in Fragment A's layout file. Now I have a requirement to add Fragment A into part of

[android-developers] Re: Android DRM Sample Tutorials.

2012-04-26 Thread kunlamp
hi did you get a encrypt jpeg/png file? I want do a sample about it ,but i have such a test image. thanks. On Monday, April 2, 2012 11:15:01 PM UTC+8, animesh kumar bhadra wrote: Hi All, I wanted to make a simple DRM application just to learn how Android DRM works. My idea is, 1)

[android-developers] C2DM Registration Issue

2012-04-26 Thread gaurang patel
Hi All... I am developing an app to get notification using android c2dm. I have filled up the registration form with all required details to the following link: https://developers.google.com/android/c2dm/signup I got one email on my contact gmail id that ..Information on

[android-developers] Unable to relayout when dialog shown with ICS

2012-04-26 Thread Gicci
In my app main activity I have a View which starts with height 0, embedded in a FrameLayout LinearLayout ScrollView. I set the height programmatically with setLayoutParams() when I get the knowledge of its width. Before upgrading to ICS everything worked fine, now if a dialog is shown on

[android-developers] how to send command line parameters to native c executable running through android application with root permissions??

2012-04-26 Thread karan
hi,here is my small query I am executing a C native test application using android application as root.Here i need to pass few command line arguments to the test app. Currently i am giving static cmd parameters by declaring it as string.it is of the form below..

[android-developers] Re: How to Read E-pub File in android from sd card and with formatted output

2012-04-26 Thread shirish herwade
Hi.. I'm also developing a application like e-pub readers. And I'm really struggling, because, i couldn't find any help about reading e-pub files in android. So, if you succeeded in what you were trying, please help me giving sample codes or even some links. Thanks in advance. On Wednesday,

[android-developers] DRM image

2012-04-26 Thread kunlamp
Hi : I want to write a sample about DRM ,but I don;t have a DRM image,So can anyone give me a DRM image or tell me how to get it DRM image. BR -- 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: BroadcastReceiver Spawning New Process onReceive

2012-04-26 Thread beachboy
Here is the log. BatteryChanged onReceive events. As you can the onReceive is executing on process 2072 which is the service process just fine until 20:52. At 20:52 new processes are spawned and my Application onCreate is called. My service is not being killed and restarted because I would seen

Re: [android-developers] Directly access the camera hardware by a c/c++ program (/dev/msm_camera/*)

2012-04-26 Thread Mark Murphy
Questions regarding firmware development belong one of the Google Groups at http://source.android.com. Questions regarding the NDK belong on the android-ndk Google Group. On Mon, Apr 23, 2012 at 6:03 AM, fLiPr3VeRsE flipr3v...@googlemail.com wrote: Hi everyone, before describing my problem:

[android-developers] Re: RelativeLayout layout_alignParentRight changes parent

2012-04-26 Thread pnemonic
in RelativeLayout.java we find private void applyHorizontalSizeRules(LayoutParams childParams, int myWidth) { ... if (0 != rules[ALIGN_PARENT_RIGHT]) { if (myWidth = 0) { childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; } else

[android-developers] Selling paid apps at Google Play

2012-04-26 Thread Narek Gevorgyan
Hi, I am going to sign up for a developer account but I have one question, Can I sell apps from the name of my company which is registered at US Delaware state but I am an Armenian citizen and my residency is in Armenia. As I am from Armenia I can't sell paid apps, but can I do that via my US

[android-developers] NFC foreground didspatch issue

2012-04-26 Thread Ralf Wondratschek
Hi, I have a specific problem with Android tasks and the NFC foreground dispatch behavior. My app has a MainActivity with other activities, which is straightforward. Next to it, I have another activity (I call it activity B), which can only be launched from a specific URI (in general launched

[android-developers] Communication between apps

2012-04-26 Thread Peter Nijem
Hi, I am currently looking for a good tutorial/material that will help me to get to know the mechanism of communication between two apps in Android. Please share links If you have any. Thanks, Peter -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Video blending between ImageButton (View) and VideoView (SurfaceView) with transparent PNG

2012-04-26 Thread robertfoster
Hi all, I'm attempting to get blending between an ImageButton and VideoView working correctly, basically the transparent pixels aren't blending correctly when the video begins to play. On Destroy of the activity the pixels will show okay again. To help show the issue, I've created a sample app at

[android-developers] Browsing a file

2012-04-26 Thread murali ch
Can we write code of Browsing a file from our device in android.? Please send me replies u got.! -- 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

[android-developers] Is there any way to simulate reverse Portrait with api level 8?

2012-04-26 Thread nguillot
Hello, My constraints are: * portrait orientation for my activities * min sdk = API level 8. So according to http://developer.android.com/guide/topics/manifest/activity-element.html I use portrait for android:screenOrientation attribute. I also added orientation to android:configChanges

[android-developers] why I can't use nfc p2p between two android phone

2012-04-26 Thread npa...@163.com
I can't use nfc p2p between two android phone,one is a nexus S, the other is htc s715e,both sdk is 2.3.4. below is my code! IS anyone can give me some help, thanks! public class MyNFCDemoP2PActivity extends Activity { private NfcAdapter mNfcAdapter; private TextView mInfoText;

[android-developers] Android app- Requires continuous updates of current location-is not working properly

2012-04-26 Thread Maneesh Janyavula
I am developing an Android app, which routes the user from current location to a Parking spot(some random location) as the user moves on the road. I am using GPS_PROVIDER to get the current location. locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 500,0,locationListener); I

[android-developers] Start default music player with music playing by default

2012-04-26 Thread Sarvesh Syal
am developing an application where I need to start the default music app and play all the songs. I have tried a number of codes but nothing seems to work. Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage(com.android.music.MediaPlaybackActivityStarter); startActivity(

  1   2   >