[android-developers] Re: main,out.xml

2012-07-31 Thread Andros
Actually guys there is a much easier way. Amaan has the idea. The problem is this: you are currently in your xml files and you try to run/debug your program. Because the way eclipse behaves, it will try to execute that file which you are currently focused on. simple navigate to the root folder

[android-developers] Load Testing The Push Service - GCM/C2DM

2012-07-31 Thread Manish Jalan
Testing the functionality of the push service (GCM as well as C2DM) has been very nicely explained in the documentation. We want to test beyond the functionality. We want to test our server component responsible for pushing notifications to our application on the android devices for 1. Its

[android-developers] PDF - Android Developer Guide

2012-07-31 Thread Decibel
Hello Is the Android Developer Guide available in *PDF* format? This guide: (http://developer.android.com/guide/) If not, I think it would be beneficial to create one. A paper copy would make learning easier as you are not restricted to reading just on the computer. Please advice,

Re: [android-developers] Json parsing problem using gson

2012-07-31 Thread jay
07-30 10:50:34.773: I/System.out(441): Exception com.google.gson.JsonParseException: Type information is unavailable, and the target is not a primitive: On Tuesday, March 6, 2012 8:04:22 PM UTC+5:30, Marcelo H wrote: code ??? 2012/3/6 T.M.S.VIJAYKUMARR iamvijayaku...@gmail.com Hi, i

[android-developers] Talk on(talk bag) application is working properly in nexus s

2012-07-31 Thread chaitu
HI, I am using samsung Google nexus S phone. Just i have updated the phone to Jelly Bean. But the Talk on(Talk Bag) application doesn't allow me to scroll down through the setting list(in fact any list). I couldn't find the way to switch off this application. Thanks chaitu -- You received

[android-developers] GCC linker controlling where globals get placed.

2012-07-31 Thread hdxpete
Hello, I'm currently working on a project where i have a need to control where 2 globals get placed in the data sections. I've never done this before and am having some difficultly finding a newbie guide to gcc and the linker and controlling a variable's data section address. I really could

[android-developers] Re: TTS / Jellybean

2012-07-31 Thread Klemens
Same problem here. I suppose this will break the usability of a lot of existing apps. -- 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,

[android-developers] playing video in android from youtube

2012-07-31 Thread kefong
Hi, I am working on youtube application.In this i am fetching the data from youtube gdata api. i am using the openyoutubeplayer to play the videos. i am passing the videoid to play the videos in openyoutubeplayer. it playing upto some time and getting the error like media server died. some

[android-developers] Trouble running application on real device/emulator

2012-07-31 Thread MalancheK
Hello, I don't know if it's a real problem or just a configuration issue. Whenever I create an application from scratch, as I load it to a real device or run it on the emulator, Eclipse (which I use) loads the activities as separate applications, even though, they still communicate between

[android-developers] Youtube Media Server Died Problem in Android

2012-07-31 Thread kefong
I am working on android youtube application. We can fetch data and all the other things perfectly. By using openyoutubeplayer to play the youtube videos. We are passing videoid to play the videos in openyoutubeplayer. While video is playing we encounted with *Consumer closed input channel or

[android-developers] problem while compiling android source

2012-07-31 Thread Alessandro Bugliarelli
hello, i'm trying to compile android 4.1 for my device, but i get this error and the compilation stops. i don't know how to fix it and i need help. That's what happens: target thumb C++: audio.primary.goldfish = device/generic/goldfish/audio/AudioHardwareGeneric.cpp target thumb C++:

[android-developers] how to augment a video over Marker

2012-07-31 Thread afsar
Hi, Can anybody help me on how to go ahead in playing a video when a marker is being detected.How can i apply the translation/rotation/scalling to the video view. Thanx in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Make My CustomCamera App appear on the Select files to upload Dialog when click on input type='file' control on a webpage

2012-07-31 Thread Benny Chan
Hi, As mentioned in the subject line, can you please advice how I can achieve that? Thank you. Regards, Benny -- 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: Unexpected NoSaveStateFrameLayout with support Fragment

2012-07-31 Thread Luciano Lorenti
Same Issue El viernes, 2 de diciembre de 2011 17:39:46 UTC-3, randyv2 escribió: I'm using the v4 support package to get Fragment support in older devices. I've got a fragment that I would like to include in an Activity, and I've done the following: 1. Added the fragment to the Activity's

[android-developers] Trying to send a message to second activity and then change the second activity textView text to that message

2012-07-31 Thread zep
Hi. For the main acitivity I have this code: package com.example.myapp_0; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.EditText; public class MainActivity extends Activity {

[android-developers] Does googlequciksearchbox open source?

2012-07-31 Thread Chen Dai
Hi all, I installed the googleQuicksearchbox.apk, and I find there is an open source license in it, and the license is Apache. So where can I get these source code? There is a quciksearchbox in AOSP, but it is not googleQuicksearchbox. Thanks, Chen -- You received this message because you

[android-developers] No Android in the preferences panel

2012-07-31 Thread Miky Papa
Hi! I'm very upset as I am a new Android developer and i've installed Eclipse, ADT SDK several times. I've been using Eclipse Indigo for a while on a Mac. As the emulater got slower and slower every day I've decided to cancel the device and update the tools. Then I've updated Eclipse too. Me

[android-developers] Re: Beginner

2012-07-31 Thread Trevor Sullivan
Hello Rithanya, You'll probably want to learn the Java language also. Oracle (formerly Sun Microsystems) has some great tutorials on the Java language. http://docs.oracle.com/javase/tutorial/essential/index.html http://docs.oracle.com/javase/tutorial/java/index.html The Android

[android-developers] Live-Streaming to Android mobiles: Which format? (no Flash!)

2012-07-31 Thread MarciAndro
Hello! I researched for hours but could not find out a serious answer. I want to stream audio from a web or streaming server to my Android application. Very important point here: It must be a realtime streaming with a minimum of latency. Latency must be 1 second. Sure, Flash streaming is

[android-developers] How to keep SlidingDrawer show 1/2 screen when closed? Please help me.

2012-07-31 Thread Tai Pham
I want to use slidingDrawer, when closed, it displays half screen, when open it full screen as shown attached. Please help me. 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] What is the right variant of persistence?

2012-07-31 Thread Valentin Taranenko
I'm developing an app, which uses REST api to get data. Basically it is something like online cinema app. So i have a list of various films,cartoons, tvseries.(json with their description, actors and so on) Now persistence is made with the help of caching json files of each request in disc

[android-developers] New developer

2012-07-31 Thread Oscar
I developed a native android aplication with Android 2.2 - Level 8, my question is: will it work well on android devices with versions 2.3 or superior or it will present crashes? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Configure WiFi Parameters Over The Air

2012-07-31 Thread Nivas Varma
Dear Friends, I am working in the device management part of the mobile industry. I could set up Internet[APN], WAP, MMS, Bookmarks etc over the air on to my Android devices [where ever the OMA CP client is developed by the OEM]. Now I have new requirement where I need to set up the WiFi

[android-developers] User prompt to allow VPNService is no longer prompted after uninstall.

2012-07-31 Thread mcconnma
In the toyvpn example, if i install/run, it prompts the user to accept the vpn usage. If I uninstall, and reinstall, the prompt no longer appears. I'd like for the prompt to reappear after re-install. What is preventing it from reprompting? Thanks, -- You received this message because you are

[android-developers] Crosscompiling PJSUA for Android.

2012-07-31 Thread Monty Python
Greetings everyone! I'm trying to crosscompile a Native-C application, using only the crosscompilers and linkers without ndk-build. After the crosscompilation is done, my application seems to launch the following signal (using android emulator's strace): sigaction(48472, {0xb00144c4, [],

[android-developers] Re: Image Capture

2012-07-31 Thread sham gowda
Dude can you mail me the source code to capture images and to store in SD card plz On Friday, 12 June 2009 20:11:17 UTC+5:30, hanged_man wrote: i've written a class to capture an image and save it to the SD card, if you wish to take a look at it, PM me and id be more than willing to send

[android-developers] ScrollView in Android 4.1 not working

2012-07-31 Thread Shogun
Hello. I have worked with Android 4.0 and my application has worked very well. But after updating to 4.1 I found that an activity in my application not working. LogCat shows exception: 07-31 09:54:41.008: E/AndroidRuntime(11886): java.lang.ArrayIndexOutOfBoundsException: length=244; index=339

[android-developers] Possibility to see if boot loader unlock was successful?

2012-07-31 Thread Stefan
Is there a possibility to see if boot loader unlock was successful? Mobile: Neo V with Icecream Sandwhich Bootloader unlocked due to http://unlockbootloader.sonymobile.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Detect a NFC tag removal

2012-07-31 Thread Winnie Zhang
*Hi Nick,* * * *Your code only work for tag. What about the phone detection? Is there a way to detect the NFC phone in or lost the field?* 在 2011年8月3日星期三UTC+8上午12时46分33秒,android user写道: Hello David, Here is some code try { tag.connect();

Re: [android-developers] Solution for Find the android device is mobile or tablet

2012-07-31 Thread Winner Weng
How about below API? public String http://developer.android.com/reference/java/lang/String.html getDeviceId () Since: API Level 1http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels Returns the unique device ID, for example, the IMEI for GSM and the MEID or ESN for

Re: [android-developers] Trying to send a message to second activity and then change the second activity textView text to that message

2012-07-31 Thread Asheesh Arya
have you declared your second activity in manifest file!! check it out!! -- 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] Audio Capture

2012-07-31 Thread Meena Rengarajan
I have created a file name music_1.amr.. When i recording audio it will capture and stored in music_1.amr . So i can do play, stop or save.. Now i wanna do is, whenever i create a new audio recording that previous recorded audio should be deleted automatically and this new audio capture must

[android-developers] Re: Set bounds for one layer of LayerDrawable?

2012-07-31 Thread skink
W dniu poniedziałek, 30 lipca 2012 18:44:34 UTC+2 użytkownik Jonathan Koren napisał: I'm creating a custom View that looks like a horizontal ProgressBar but doesn't always have to touch the left edge. My approach is to use a LayerDrawable in which one layer uses different bounds (computed

Re: [android-developers] Audio Capture

2012-07-31 Thread Asheesh Arya
create a file with the same name in your source 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] Re: Set bounds for one layer of LayerDrawable?

2012-07-31 Thread Dianne Hackborn
On Mon, Jul 30, 2012 at 11:34 PM, skink psk...@gmail.com wrote: as far i know this is not true: you can change the bounds of one layer without affecting the other layers. try to: d.setBounds(left, top, right, bottom); d.invalidateSelf(); in some callback method e.g. onClick(View v)

Re: [android-developers] Fragments Bitmap Recycling + a bunch of bitmap oriented questions.

2012-07-31 Thread gjs
Hi, I saw recently I could take out an insurance policy that had unlimited cover amount, I guess the premium has unlimited cost as well ;-) Regards On Tuesday, July 31, 2012 10:51:11 AM UTC+10, Dianne Hackborn wrote: Btw, I love how more and more I see people dragging out this quote every

[android-developers] Meesage From android

2012-07-31 Thread Rahul Kaushik
Hi, I want to open the android built-in messaging service from my activity and i want the mb no to be embedded which i pass thru my activity, like when i send an email on click in site it open ms outllook and To is already filled with an email id. Thanks RK -- You received this message

[android-developers] Re: Reverse Geocoder null locality and wrong city

2012-07-31 Thread Rajen Raiyarela
I m too facing the same issue for my apps developed for my client, in italy. Earlier geocoder.getfromlocation(lat,lng) used to successfully return city from address.getlocation(), but now for all the locations in italy we are getting null for address.getlocation(). But for India that is my

[android-developers] Re: Move the virtual keyboard to the top of the screen (SIP - IME)

2012-07-31 Thread yakobom
Hi, Did any of you find a solution for this? Thanks, yakobom On Monday, March 8, 2010 4:43:06 AM UTC+2, tnkirk wrote: Please let me know if you find anything. I'm trying to make a custom keyboard layout that is stuck to the right side of the screen, and have been banging my head against the

Re: [android-developers] Re: Image Capture

2012-07-31 Thread Raghav Sood
Dude can you mail me the source code to capture images and to store in SD card plz How much are you paying me? Thanks -- Raghav Sood Please do not email private questions to me as I do not have time to answer them. Instead, post them to public forums where others and I can answer and

[android-developers] use big size Bitmap in AppWidget

2012-07-31 Thread Ethan Gao
hi all: I am attempting to create an android Widget application which display more than 10 images in ListView. The image size depends on screen resolution, so the image might be 300*300 pixel on some high resolution devices. When scrolling the listview Widget, the widget looks laggy

[android-developers] Re: Set bounds for one layer of LayerDrawable?

2012-07-31 Thread skink
On Jul 31, 8:42 am, Dianne Hackborn hack...@android.com wrote: If you are suggesting to do this on one of the child drawables that you have placed in the LayerDrawable, then you are relying on the framework never calling setBounds() again on that Drawable itself. This is a very dangerous

Re: [android-developers] New developer

2012-07-31 Thread TreKing
On Mon, Jul 30, 2012 at 1:53 AM, Oscar oscar.al@gmail.com wrote: will it work well on android devices with versions 2.3 or superior or it will present crashes? That really depends on what your code does. The only way to know this for sure is to test it. That's what the emulator is for.

Re: [android-developers] Shared Pref data passing is not working.

2012-07-31 Thread TreKing
On Sun, Jul 29, 2012 at 10:07 AM, Cythes cytheshic...@gmail.com wrote: right now I'm still working on the same code I posted from before I just fixed the mentioned NPE, now the data I enter and load is not loading up properly in another class. It saves with in the setting activity but as soon

Re: [android-developers] Trying to send a message to second activity and then change the second activity textView text to that message

2012-07-31 Thread fahad mullaji
*marcelopalmadenoronha*, Check below code and also check manifest settings whatever asheesh was asking you to check Intent i = new Intent(getApplicationContext(), NewActivity.class); i.putExtra(new_variable_name,value); startActivity(i); Then in the new Activity, retrieve those values: *Bundle

Re: [android-developers] which default layout in new eclipse android app project

2012-07-31 Thread TreKing
On Sat, Jul 28, 2012 at 3:01 PM, Albrecht Frick albrechti...@googlemail.com wrote: Any Ideas? About what? You didn't ask a question. - TreKing http://sites.google.com/site/rezmobileapps/treking -

Re: [android-developers] is it possible to make tab on top and bottom of screen

2012-07-31 Thread Rocky
Larry, NP, i'm trying to make tab on both the place (header footer), let me know if you can do it It will great RD for develper. On Mon, Jul 30, 2012 at 7:51 PM, Larry Meadors larry.mead...@gmail.comwrote: Aw crap - sorry misread your question - that's JUST at the bottom. :-/ Larry On

Re: [android-developers] New developer

2012-07-31 Thread fahad mullaji
*Oscar*, You can download android APIs till version 16 that is Jelly Beans android 4.1. Switch to these APIs and find out that you are getting any compile errors or not. If you are good there then create emulators for all the versions or APIs that you want to check your code on. *Thanks* Fahad

Re: [android-developers] which default layout in new eclipse android app project

2012-07-31 Thread fahad mullaji
*Albrecht*, In early days when i used to create android application it by default used to create Linear Layout. But in recent it drops Relative Layout. You can any time change the layout no issues with that. *Thanks* Fahad Mullaji On Sun, Jul 29, 2012 at 1:31 AM, Albrecht Frick

Re: [android-developers] PDF - Android Developer Guide

2012-07-31 Thread TreKing
On Sun, Jul 29, 2012 at 8:20 PM, Decibel grumpygranny...@gmail.com wrote: Is the Android Developer Guide available in *PDF* format? I don't think so. This guide: (http://developer.android.com/guide/) If not, I think it would be beneficial to create one. A paper copy would make learning

Re: [android-developers] problem while compiling android source

2012-07-31 Thread TreKing
On Mon, Jul 30, 2012 at 8:30 AM, Alessandro Bugliarelli a.bugliare...@gmail.com wrote: i'm trying to compile android 4.1 for my device You need to ask your question on one of the groups dedicated to building the source. Like platform or porting or whatever they're called.

[android-developers] Re: Music Player Issue

2012-07-31 Thread srikanth
Thank you so much i got the answer.. On Friday, July 20, 2012 2:49:19 AM UTC+5:30, bob wrote: I would suggest you get a real device and not mess with the Emulator SD Card (or the Emulator at all, quite frankly). On Thursday, July 19, 2012 6:25:00 AM UTC-5, srikanth wrote:

Re: [android-developers] Trouble running application on real device/emulator

2012-07-31 Thread TreKing
On Sun, Jul 29, 2012 at 3:23 PM, MalancheK carlos_malan...@ciencias.unam.mx wrote: I don't know if it's a real problem or just a configuration issue. Whenever I create an application from scratch, as I load it to a real device or run it on the emulator, Eclipse (which I use) loads the

Re: [android-developers] Meesage From android

2012-07-31 Thread TreKing
On Tue, Jul 31, 2012 at 2:25 AM, Rahul Kaushik rahulkaushi...@gmail.comwrote: I want to open the android built-in messaging service from my activity What is built-in messaging service? and i want the mb no to be embedded What is mb no?

Re: [android-developers] is it possible to make tab on top and bottom of screen

2012-07-31 Thread Kostya Vasilyev
Um, ultimately, their are just views with some backgrounds and a bit of code behind them. You could copy some code and drawables out of the Android sources, or search GitHub / Google Code / etc. for some similar widgets. Perhaps try ActionBarSherlock, since it has its own action bar style tabs

Re: [android-developers] Fragments Bitmap Recycling + a bunch of bitmap oriented questions.

2012-07-31 Thread Kostya Vasilyev
An insurance policy that covers out of memory exceptions? 2012/7/31 gjs garyjamessi...@gmail.com Hi, I saw recently I could take out an insurance policy that had unlimited cover amount, I guess the premium has unlimited cost as well ;-) Regards On Tuesday, July 31, 2012 10:51:11 AM

[android-developers] How to deal with random hangs without stack dump?

2012-07-31 Thread Francisco M. Marzoa Alonso
Hi there, I am facing some random hangs without neither stack dump or force close message. My app is simply closed without no message about. I am even using critercism for reporting crashes, but in these situations there is even no report. My guess is that something is crashing below Dalvik, at

[android-developers] APP2Friend ?

2012-07-31 Thread Terry
I have noticed a new free app (APP2Friend) which claims to be able to send APK-files from a device to your friends. I tried it - to send some apps to my friends, but they haven't received anything yet. Anyway; Is it possible to buy an app, and share it with your friends? If this (APP2Friend)

Re: [android-developers] Meesage From android

2012-07-31 Thread Rahul Kaushik
What is built-in messaging service? From where we send our/compose our message in our android mobile What is mb no? Mobile no to whom the message is to be send Thanks RK On Tue, Jul 31, 2012 at 2:42 PM, TreKing treking...@gmail.com wrote: On Tue, Jul 31, 2012 at 2:25 AM, Rahul Kaushik

[android-developers] How to deal with random hangs without stack dump?

2012-07-31 Thread Francisco M. Marzoa Alonso
Hi there, I am facing some random hangs without neither stack dump or force close message. My app is simply closed without no message about. I am even using critercism for reporting crashes, but in these situations there is even no report. My guess is that something is crashing below Dalvik, at

Re: [android-developers] which default layout in new eclipse android app project

2012-07-31 Thread Albrechtidis
Thanks Fahad, that was my question. That means, I asume, my installtion is correct. I ll change the RelativeLayout in the eclipse project after creating to LinearLayout. Albrecht Am Dienstag, 31. Juli 2012 11:04:08 UTC+2 schrieb fahad mullaji: *Albrecht*, In early days when i used to create

Re: [android-developers] Meesage From android

2012-07-31 Thread Raghav Sood
From where we send our/compose our message in our android mobile There is no default SMS app in Android. Mobile no to whom the message is to be send The ability to do this varies from app to app. Thanks -- Raghav Sood Please do not email private questions to me as I do not have time to

Re: [android-developers] Meesage From android

2012-07-31 Thread Rahul Kaushik
Intent smsIntent = new Intent(Intent.ACTION_VIEW); smsIntent.setType(vnd.android-dir/mms-sms); smsIntent.putExtra(address, 12125551212); smsIntent.putExtra(sms_body,Body of Message); startActivity(smsIntent); That is am looking for Thanks RK On Tue, Jul 31, 2012 at 3:34 PM, Raghav Sood

Re: [android-developers] How to deal with random hangs without stack dump?

2012-07-31 Thread Kostya Vasilyev
SoundPool? Galaxy S2? https://groups.google.com/d/topic/android-developers/pAv5UfQgtH4/discussion -- K 2012/7/31 Francisco M. Marzoa Alonso fmmar...@gmail.com Hi there, I am facing some random hangs without neither stack dump or force close message. My app is simply closed without no

Re: [android-developers] APP2Friend ?

2012-07-31 Thread Mark Murphy
On Tue, Jul 31, 2012 at 5:52 AM, Terry terb...@gmail.com wrote: I have noticed a new free app (APP2Friend) which claims to be able to send APK-files from a device to your friends. I tried it - to send some apps to my friends, but they haven't received anything yet. Anyway; Is it possible to

Re: [android-developers] Debugging a complex native application (shared libs)

2012-07-31 Thread Cyril CHAMPIER
yep! On Monday, July 30, 2012 2:10:25 PM UTC+2, the_edge123 wrote: On 30/07/2012 11:05, Cyril CHAMPIER wrote: Thank you for your great help. I indeed forgot to mention that I already read most of the tutorials on the net, and none of them speak about a complex project with 1

Re: [android-developers] APP2Friend ?

2012-07-31 Thread Terry
Sending an email or SMS with a link to the Play Store based on an installed APK would be fine. Sending the actual APK would not be. The apps sent to my friends (with APP2Friend) DID arrive - emails with real apk-files attached. So this scheme seems to work. But this is too stupid! It is hard

[android-developers] How to run animation on Custom LockScreen during booting of the device?

2012-07-31 Thread Abhishek Kumar Gupta
I have created a lock screen for ICS and it is placed in the frameworks and I can open applications using this. For the user effects I have started an animation when the lock screen is displayed. When I boot/reboot the device, animation appears after 2-3 seconds of delay. Currently, I am

Re: [android-developers] Audio Book

2012-07-31 Thread Ray da Costa
Look, my tip is to separate the file, ie, in separate chapters and confome it is using the audio drops, as he listens to an audio already is lowering others and so on, all in the backend, the separation is the key ... 2012/7/30 Plabon Modak plabonmo...@gmail.com Hi Guys, I am working on an

Re: [android-developers] Byte [] image

2012-07-31 Thread Numair Qadir
Hi Graham, Thank you very much. It worked. :) On Mon, Jul 30, 2012 at 9:59 PM, Jim Graham spooky1...@gmail.com wrote: On Mon, Jul 30, 2012 at 07:12:52AM -0700, Numair Qadir wrote: I'm working on an app, in which i convert the byte[] image to bitmap, but it showed me some weird image, (in

Re: [android-developers] Re: Byte [] image

2012-07-31 Thread Numair Qadir
Thank you sir, Got it! On Tue, Jul 31, 2012 at 7:03 AM, gjs garyjamessi...@gmail.com wrote: Hi, YUV conversion is only required for camera preview images not camera photos. Regards On Jul 30, 12:59 pm, Jim Graham spooky1...@gmail.com wrote: On Mon, Jul 30, 2012 at 07:12:52AM -0700,

Re: [android-developers] APP2Friend ?

2012-07-31 Thread Mark Murphy
On Tue, Jul 31, 2012 at 7:18 AM, Terry terb...@gmail.com wrote: Sending an email or SMS with a link to the Play Store based on an installed APK would be fine. Sending the actual APK would not be. The apps sent to my friends (with APP2Friend) DID arrive - emails with real apk-files attached. So

Re: [android-developers] How to run animation on Custom LockScreen during booting of the device?

2012-07-31 Thread Mark Murphy
On Tue, Jul 31, 2012 at 7:19 AM, Abhishek Kumar Gupta akgaec2...@gmail.com wrote: I have created a lock screen for ICS and it is placed in the frameworks and I can open applications using this. For the user effects I have started an animation when the lock screen is displayed. When I

[android-developers] why TrafficStats values reset?

2012-07-31 Thread thejaswi s
I referred the following link http://code.google.com/p/android/issues/detail?id=19938 Is there any reason why TrafficStats values might be reset apart from on Shutdown? and found that values get reset when reboot or when we move from WiFi to 3g. But its a long value. * *If it exceeds the limit is

Re: [android-developers] Fragments Bitmap Recycling + a bunch of bitmap oriented questions.

2012-07-31 Thread lbendlin
There's your problem Kostya - your paying for the wrong thing - you need insurance for/against out of memory errors, not exceptions. On Tuesday, July 31, 2012 5:34:19 AM UTC-4, Kostya Vasilyev wrote: An insurance policy that covers out of memory exceptions? 2012/7/31 gjs

Re: [android-developers] Audio Capture

2012-07-31 Thread Meena Rengarajan
This is my code. I am beginner in Android .Can anyone tell me ? What mistake i have done here String OUTPUT_FILE=Environment.getExternalStorageDirectory()+/music_1.amr; private void beginRecording() throws Exception { bMediaRecorder(); //try{ File outFile=new

Re: [android-developers] Debugging a complex native application (shared libs)

2012-07-31 Thread Cyril CHAMPIER
I have made more simple tests, and the problem comes from the fact that the jni part is not on the application project, but on the library one. I will post the question on the ndk forum too. On Tuesday, July 31, 2012 1:06:11 PM UTC+2, Cyril CHAMPIER wrote: yep! On Monday, July 30, 2012

[android-developers] Re: Audio Capture

2012-07-31 Thread Meena Rengarajan
Once USB is connected i could able to record the audio and playing well in mobile. But once if i closed my application or disconnected USB then i couldnt able to record the audio in direct access. So again if i opened and recorder as a fresh one its not recording the audio ! Whats the problem

Re: [android-developers] Debugging a complex native application (shared libs)

2012-07-31 Thread Kristopher Micinski
On Tue, Jul 31, 2012 at 8:23 AM, Cyril CHAMPIER ner...@gmail.com wrote: I have made more simple tests, and the problem comes from the fact that the jni part is not on the application project, but on the library one. I will post the question on the ndk forum too. Yes, this kind of debugging is

Re: [android-developers] New developer

2012-07-31 Thread Kristopher Micinski
this should go to the ndk group. It sort of depends on what code you've written.. kris On Mon, Jul 30, 2012 at 2:53 AM, Oscar oscar.al@gmail.com wrote: I developed a native android aplication with Android 2.2 - Level 8, my question is: will it work well on android devices with versions

Re: [android-developers] problem while compiling android source

2012-07-31 Thread Kristopher Micinski
that's right, platform or porting would be appropriate, you might get more help on porting, .. platform is very general. kris On Tue, Jul 31, 2012 at 5:07 AM, TreKing treking...@gmail.com wrote: On Mon, Jul 30, 2012 at 8:30 AM, Alessandro Bugliarelli a.bugliare...@gmail.com wrote: i'm trying

[android-developers] how to display a toast after 10 seconds from starting Asynctask

2012-07-31 Thread Narendra Singh Rathore
Hi all, please suggest me how to execute something after 10 seconds from the start of AsyncTask. I have used AsyncTask for different purpose. But, now I want to update my UI after 10 seconds. Or to show a toast after specific time. I actually want to perform some other task after 10 seconds,

Re: [android-developers] Debugging a complex native application (shared libs)

2012-07-31 Thread Cyril CHAMPIER
maybe it will be simpler with the arm tools ? http://www.arm.com/products/tools/software-tools/ds-5/community-edition/ds-5-community-edition-debug.php did you try them ? On Tuesday, July 31, 2012 2:33:45 PM UTC+2, Kristopher Micinski wrote: On Tue, Jul 31, 2012 at 8:23 AM, Cyril CHAMPIER

[android-developers] Merge two bitmaps

2012-07-31 Thread Numair Qadir
I want to merge two bitmaps, here is my code / / Camera arg conversion to Bitmap Bitmap cameraBitmap = BitmapFactory.decodeByteArray (arg0, 0, arg0.length); / / FrameLayout to Bitmap FrameLayout mainLayout = (FrameLayout) findViewById (R.id.frame); Foreground =

Re: [android-developers] Creating Tab Control in android

2012-07-31 Thread |-NK-|
On Monday, July 30, 2012 2:52:43 PM UTC+5:30, fahad mullaji wrote: *Nirvan*, Call function in which create new reference of tab-host. Try to position it by assigning it properties. Have not tried by myself but this should work according to me. But again assigning layouts for different

Re: [android-developers] Debugging a complex native application (shared libs)

2012-07-31 Thread Kristopher Micinski
Nope, I don't need to debug enough at that level for it to make a huge difference. kris On Tue, Jul 31, 2012 at 8:52 AM, Cyril CHAMPIER ner...@gmail.com wrote: maybe it will be simpler with the arm tools ?

[android-developers] Transporting to Server Problems

2012-07-31 Thread Evan Ruff
Hey guys, I'm having some trouble getting my phone collected data up to my servers. I thought that I was getting old fashioned SocketTimeouts due to the phones having a bad connection or something of the like. After jacking up the timeouts WAY up on the phone (120 seconds) and the timeout WAY

[android-developers] SharedPreferences clarification

2012-07-31 Thread Sergio Panico
Hi all, I need your help to have a clarification for the preferences framework of Android. Accordingly to Google API Reference (http://developer.android.com/reference/android/preference/PreferenceActivity.html) I created my app preferences section by extending the PreferenceActivity class

[android-developers] Re: SharedPreferences clarification

2012-07-31 Thread RichardC
http://developer.android.com/reference/android/preference/PreferenceManager.html#getDefaultSharedPreferences(android.content.Context) On Tuesday, July 31, 2012 2:55:25 PM UTC+1, Sergio Panico wrote: Hi all, I need your help to have a clarification for the preferences framework of Android.

Re: [android-developers] SharedPreferences clarification

2012-07-31 Thread Mark Murphy
On Tue, Jul 31, 2012 at 9:55 AM, Sergio Panico sergio.pan...@gmail.com wrote: 1. Google API documentation talks about 2 styles for creating preference sections of an app: one deprecated old style, and one newest technique fragment-based. As per my understanding, with the first old method, all

[android-developers] Re: how to display a toast after 10 seconds from starting Asynctask

2012-07-31 Thread blake
I don't understand the role the AsyncTask plays in your question, so it is a bit hard to answer. If you are just trying to schedule a Toast 10 seconds from now, you probably want to use Handler.postDelayed. G. Blake Meike Marakana The second edition of Programming Android is now on-line:

[android-developers] Re: Merge two bitmaps

2012-07-31 Thread bob
Maybe change your canvas constructor to this? Canvas c = new Canvas (cameraBitmap); Then, draw foreground on canvas. On Tuesday, July 31, 2012 7:57:47 AM UTC-5, Numair Qadir wrote: I want to merge two bitmaps, here is my code / / Camera arg conversion to Bitmap Bitmap cameraBitmap

Re: [android-developers] Re: how to display a toast after 10 seconds from starting Asynctask

2012-07-31 Thread Kristopher Micinski
i'm guessing his plan was to use asynctask to control the timing.. kris On Tue, Jul 31, 2012 at 10:10 AM, blake blake.me...@gmail.com wrote: I don't understand the role the AsyncTask plays in your question, so it is a bit hard to answer. If you are just trying to schedule a Toast 10 seconds

[android-developers] Re: Transporting to Server Problems

2012-07-31 Thread bob
If you are getting a variety of errors, as opposed to a single reproducible error, it could indeed be something goofy with your connection. Why not at least switch to a solid Wifi connection so you can eliminate that possibility? On Tuesday, July 31, 2012 8:35:42 AM UTC-5, Evan Ruff wrote:

Re: [android-developers] Meesage From android

2012-07-31 Thread Kristopher Micinski
that's right. As others have noted you might not have a device with a number, and you should catch the intent in the case that it fails.. kris On Tue, Jul 31, 2012 at 6:09 AM, Rahul Kaushik rahulkaushi...@gmail.com wrote: Intent smsIntent = new Intent(Intent.ACTION_VIEW);

Re: [android-developers] Re: Transporting to Server Problems

2012-07-31 Thread Evan Ruff
Right, the thing is, I NEVER get the the problem when I'm testing. It's only happening in the field. What's really weird is that it's just not THAT much data. I mean, I'd say the average payload size is 200kb! Thanks! E On Tue, Jul 31, 2012 at 10:27 AM, bob b...@coolfone.comze.com wrote: If

[android-developers] Re: Use of weak password to protect Android keystore

2012-07-31 Thread howa
But suppose they don't have the login into my Android Developer Console, I don't need to worry? On Sunday, July 29, 2012 5:53:31 PM UTC+8, howa wrote: Are there any drawback in using weak password to protect Android keystore? Seems even someone stole my keystore file, they can't login into

[android-developers] Re: Is it possible to reduce the variability of camera shutter lag time?

2012-07-31 Thread greg
Thanks for the suggestions. Based on them I tried disabling all the camera auto parameters. There is still a range of about 0.2 s in the shutter lag time. In this application (and perhaps there are others), I'm more concerned about the variability and not the average duration of the lag time.

Re: [android-developers] Re: Use of weak password to protect Android keystore

2012-07-31 Thread Nikolay Elenkov
On Tue, Jul 31, 2012 at 11:38 PM, howa howac...@gmail.com wrote: But suppose they don't have the login into my Android Developer Console, I don't need to worry? It doesn't matter. They can load you app with malware, put it on some 'sharing' site and it will look like it came from you. It will

[android-developers] Re: User prompt to allow VPNService is no longer prompted after uninstall.

2012-07-31 Thread mcconnma
The solution is disconnect the vpn from the dropdown menu from top. Then when you reinstall, you will get the dialogue. On Monday, July 30, 2012 1:28:43 PM UTC-4, mcconnma wrote: In the toyvpn example, if i install/run, it prompts the user to accept the vpn usage. If I uninstall, and

  1   2   >