Re: [android-developers] To make a separate tablet HD version or an Universal one?

2012-02-20 Thread YuviDroid
Considering 1.5 users are 0.6% of the total Android devices (according to http://developer.android.com/resources/dashboard/platform-versions.html) I would abandon 1.5 support :) Otherwise you could considering creating a separate app, since the Market allows multiple apk uploads for different

[android-developers] Re: Android Button Customization

2012-02-20 Thread skink
moktarul anam wrote: public class cButton extends Button{ public OnPressButton(Context context) { super(context); } public OnPressButton(Context context, AttributeSet attrs){ super(context, attrs); } @Override protected void onDraw(Canvas canvas) { //sets the button image

[android-developers] Re: DOUBT

2012-02-20 Thread Dusk Jockeys Android Apps
To rephrase, it makes no sense whatsoever as a title for a post to Android Developers Google Groups. :o) On Feb 20, 3:05 pm, Kristopher Micinski krismicin...@gmail.com wrote: And please note, a Doubt is a disbelief in something. It makes no sense whatsoever as a title.

[android-developers] MediaScanner Thumbnails

2012-02-20 Thread uday kiran jandhyala
Hi, (Am sorry if this question was already asked and answered... but honestly when I searched this group, majority of the answers were relevant to Android 2.1 2.2 times. I had also asked this on android platform group lately) My requirement : If I want to write an application on Android

[android-developers] AudioTrack class only plays the first half of sound track

2012-02-20 Thread dara kok
Hi, I've got a sample class demoing the use of Android AudioTrack class. It's a very simple one which make use of 2 threads. One to read data from a wav file chunk by chunk and another thread to play it back. My issue is that it only play the first half and then the sound vanishes. Please

[android-developers] Re: AudioTrack class only plays the first half of sound track

2012-02-20 Thread dara kok
additional observation: a system call to GG_EXPLICIT is made before the audio stop playing. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-20 Thread Raul Ruiz
I try Android 4.0.4 on Samsung Nexus S and the bug isn't fixed. Regards On 9 feb, 17:52, Raul Ruiz spekwh...@gmail.com wrote: Hi all, I will test the new version of Android 4.0.4 on Monday. I will comment if the problem is fixed or not. Regards. On 9 feb, 16:04, jfernandez

[android-developers] Re: about Permission Denial: not allowed to send broadcast android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED

2012-02-20 Thread xi xia
i'm not send. i just receive~~~ On 2月17日, 下午8时45分, Mark Murphy mmur...@commonsware.com wrote: Only the firmware can send that broadcast. On Fri, Feb 17, 2012 at 12:12 AM, xi xia xiaxi@gmail.com wrote: I creat an IntentFilter which manually calls BT broadcast receiver as

Re: [android-developers] Re: how to create Pdf files from some data

2012-02-20 Thread Chandra Sekhar
Hi Ankur, try this one Do this one in onCreate() method (All the best) * ArrayAdapterString adapter; ArrayListString listItems=new ArrayListString(); File[] imagelist; String[] pdflist; File images =

[android-developers] Re: is Card Emulation supported in Android with NFC?

2012-02-20 Thread Michael Roland
Hallo Anatoly, I Suppose SE is Secure Element am i Right? Right. Is there any way to communicate with reader, without modyfing firmware? No. Android has no support for card emulation from software. From an external ISO 14443 reader you can only access the secure element. With a reader that

[android-developers] Re: Troubles with Utils.matToBitmap

2012-02-20 Thread adiel ashrov
nevermind,got it./ Thanks On Feb 19, 6:18 pm, adiel ashrov adiel.ash...@gmail.com wrote: Hey everyone, I have s small app which takes a picture and i want to threshold it. for some reason the function Utils.matToBitmap crashes when I use it after the threshold, any thoughts on how to solve

[android-developers] Re: Handling a Checkbox Click Event

2012-02-20 Thread davemeetsworld
Ok, 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 from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] get meminfo using NDK

2012-02-20 Thread paula castellanos
Hi everybody!! I'm new in development using NDK, but I need get all information about virtual and physical memory of my smartphone. I find that's possible use the command /proc/meminfo, but I don't know how use itCan you help me? Thanks. -- You received this message because you are

[android-developers] Re: Subject: emulator: WARNING: Unable to create sensors port: Unknown error

2012-02-20 Thread Artemix22
have you ever try to klik and drag locked on the screen to the right side (unlocked) On Dec 27 2011, 11:37 am, OpaSmurf opasmur...@gmail.com wrote: Responding to post from: From: snowgoon snowgo...@googlemail.com Date: Thu, 22 Dec 2011 00:05:43 -0800 (PST) Local: Thurs, Dec 22 2011 2:05 am

[android-developers] Quiz Application

2012-02-20 Thread subramaniam.sanka...@googlemail.com
Hi, I am a beginner and I am stuck whilst developing a simple quiz application in android. The code is below. onClick next button is not displaying the next random question. Any help? package com.quiz; import java.util.Random; import android.app.Activity; import android.content.Intent; import

[android-developers] How to Save image from drawable to sqlite database in android

2012-02-20 Thread WASEEM
Hi Android Developers I am facing problem to save my images in database from android drawable folder if you know the solution of this problem please tell me with source code thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Set state list drawable as a background is getting resized

2012-02-20 Thread acidcromaticle
Hello, I am having a TextView and in xml I am setting its background to a state list drawable. After I inflate the view everything is working well but if I want to change it's background drawable to other state list drawable after the invalidate, the TextView shrinks and the background drawable is

[android-developers] parental control

2012-02-20 Thread muhammed haris
hey there i m new to android i wanted to create a parental control app which could block some apps from starting specified by user.. can any1 suggest me where to start with i know that eventlog could be of help but cant find how... -- You received this message because you are subscribed to the

Re: [android-developers] Re: Help! Monkeyrunner Press and Touch event

2012-02-20 Thread Mahesh Sankeshwar
hey plz send me the code for the android app. text to speech and speech to text . On Sun, Feb 19, 2012 at 4:28 AM, Diego Torres Milano dtmil...@gmail.comwrote: I couldn't reproduce the problem with either 2.3 and 4.0 emulators. Perhaps there's something in the part you removed from your code.

[android-developers] Working code for getting frame from video

2012-02-20 Thread Valentin Rogovskiy
Hi everyone, Here that I have - I need to get a frame from the specific time in the video. my application should work on all SDK starting from 1.6 (so MediaMetadataRetriever is not an option for me) As far as I understand the only way is to use ffmpeg with everything related to it, is that

Re: [android-developers] Re: Please provide me the Mediarecorder documentation?

2012-02-20 Thread Mahesh Sankeshwar
i hav jst installed the android software tats itplz send me the code for the application speech to text and text to speech. On Sun, Feb 19, 2012 at 7:41 PM, Chris Mawata chris.maw...@gmail.comwrote: What do you have so far? Are you sure that such a document exists? (e.g. Do you have a

[android-developers] Android emulator does not show any thing

2012-02-20 Thread Muhammad sohail
when i run an android app the emulator starts but does not show anything. there is a black screen on it.. and the following messages are showed in the console section. [2012-02-18 11:51:37 - LunchList] -- [2012-02-18 11:51:37 - LunchList] Android Launch! [2012-02-18

[android-developers] Reading encrypted video data from mediaplayer

2012-02-20 Thread Sid
According to the link http://developer.android.com/guide/appendix/media-formats.html android media player can support RTSP for all versions of android. My server will transmit the encrypted data to the client (android device here) as it has propriety content. I want to know whether media player

[android-developers] Accessing the camera from an application

2012-02-20 Thread santy
I'm trying to access the emulator camera but the only thing I see is this image http://s2.subirimagenes.com/imagen/previo/thump_7449264captura-de-pantalla.png I've tried different codes but I always get the same result. The strange thing is that I can access the default camera application and

[android-developers] The service restart but not retaining socket

2012-02-20 Thread Nitin Gaikwad
Hi Friends, 1 I am developing one application where i write one service using broadcast receiver. 2 In this service i use the socket programing where i communicate with client. 3 the application works like after the device boot the service will start and listen the port to get the data. 4 this

[android-developers] OpenGL: Big values of verticies coordinates on Android emulator

2012-02-20 Thread Zveroid
Hello! Sometimes I'm need to draw my objects with pretty hight coordinates (more than 20). But when I trying to render even objects with coordinates about 1, there's nothing on my emulator. But on my Samsung Galaxy S2 there's all ok! I tried to change coordinates and found highest

[android-developers] ActivityManager: Can't dispatch DDM chunk.. And more

2012-02-20 Thread Soeholm
Hi there I'm new to Android development, and I'm having trouble with a simple Hello World app.. It worked yesterday on the emulator, on a virtual device with Android 1.5 When I run the app a day after, it's stuck at the android startup screen continuously outputting the following: [2012-02-17

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-20 Thread Jan Burse
The blinker runs in the UI thread. And it is kept alive and it keeps itself aliver in posting delayed messages. You find the source code here: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/widget/TextView.java#TextView.Blink There is a

[android-developers] Using Google Voice Input with pre-recorded audio files

2012-02-20 Thread pvans
I need to use the speech-to-text functionality of Google Voice Input / Google Voice Search, but I need to provide it with pre-recorded audio files stored on the phone (currently using .3gp format) instead of having the user generate the files on the spot when the service is invoked. I have seen

[android-developers] Re: To make a separate tablet HD version or an Universal one?

2012-02-20 Thread sly
abandon it. On 2月20日, 上午10时48分, opok vir...@gmail.com wrote: I have an App support Android 1.5+ I want to extend this app to add Fragment for supporting tablet. The Android Compatibility library only starts from Android 1.6, that means if I want to build an Universal one, I need to abandon

[android-developers] Apparatus force close Logcats

2012-02-20 Thread Josh Downey
I really wanna be able to play on PC (win7 x64) the app works fine on phone but force closes in emulator any help would be great, ive searched and searched but cant find an answer Thanx in advance I/ActivityManager( 70): Starting: Intent { act=android.intent.action.MAIN cat=

[android-developers] I would need some help with regard to sample projects in Eclipse

2012-02-20 Thread GABRIEL
Hello everyone, This is my first post, I usually find everything on the web but this one is just impossible to find (for me at least) I am trying to open the Sample Project (or sample code) : NewsReader into Eclipse. First, it does not appear in the File/New project/Sample project. I tried

[android-developers] Re: HTTP Post Json to IIS Service

2012-02-20 Thread T
So it looks like your trying to connect to a server What remote web services are you using. For a scanner project I created last semester, I used XAMPP locally(just to see code work correctly), then I used Teamviewer when I went live. On the remote server file, I placed a php file with the

[android-developers] Limit the decimal numbers in a numberDecimal

2012-02-20 Thread rmg
Hi! I'm starting to developing android applications with eclipse. I have a doubt about how I can limit de decimal numbers in a EditText. For example, I have this EditText: EditText android:id=@+id/euroEditText android:layout_width=match_parent

[android-developers] The project target (Android 2.2) was not properly loaded.

2012-02-20 Thread Tejas
I have install eclipse helios on windows 7. And imported existing project . In that project when I open Xml file I got this error message The project target (Android 2.2) was not properly loaded. Can any one help me on this plz. -- You received this message because you are subscribed to the

[android-developers] Contact Manager Sample Code

2012-02-20 Thread Michael Ennovium
The Contact Manager Sample code has given me hours of frustration. The sample code displays all the contacts in a List View and also provides for adding new contacts. I have no difficulty with the Add Contact portion. The listing of the contact gives different results for the list on diffent

[android-developers] Problem with Android 4.x OS

2012-02-20 Thread KingKong
Hi Android Guru's, I am currently facing an issue with my application(via PhoneGap) and Android 4.x os Device. the app frequently crashes, its working fine in general with old android operating system. I tried running the application through Android Simulator and its working fine. but when i

[android-developers] [Google Map] Handle click on route

2012-02-20 Thread Benjamin DJAHANDIDEH
I'm trying to validate a clickable route functionality using google map API. I established route display between two coordinates using the map API. To realize this, I used the following tutorial http://csie-tw.blogspot.com/2009/06/android-driving-direction-route-path.html , which basically parse

[android-developers] Multitouch Animations

2012-02-20 Thread Future Leaders
Is it possible to put a sprite animation from the same sheet (starting only when that finger touches) under each finger and have it follow your fingers until lifted? Thanks in advance. Jesse -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Google Map API usage

2012-02-20 Thread Krishna Kumaar Natarajan
Hi All, I am new to android development. Can I get some links where I can learn using google Maps API ? Thanks in advance -- Regards, Krishna Kumaar N.I. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] java.net.SocketException: sendto failed: ETIMEDOUT (Connection timed out)

2012-02-20 Thread ankit singh
Hi All, I am facing java.net.SocketException: sendto failed: ETIMEDOUT (Connection timed out) exception in ICS. After above exception, I am not able to do data transfer through sslSocket, which i created. Please help me on this. I have some doubts and correct me if i am wrong : Steps: 1. Make a

[android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-20 Thread moktarul anam
Hi BTDdetecetwithV7Activity in ur android Manifest file activity name=BTDdetecetwithV7Activity/\ Enjoy moktarul On Feb 20, 12:26 am, Soyer mblack...@gmail.com wrote: Hello everyone, Can anyone explain to me what this following error means? have anyone faced the same? ERROR: 02-19

[android-developers] Re: What is the significance of main.xml.out file?

2012-02-20 Thread moktarul anam
Hi, Manually just delete this file Moktarul On Feb 18, 9:27 am, Kedar dattatrayhkulka...@gmail.com wrote: What is the  significance of main.xml.out file? Sometimes while debugging the application, I am getting an error in the main.xml file -- You received this message because you are

Re: [android-developers] Contact Manager Sample Code

2012-02-20 Thread poncho
Hi, Since the code worked on a real device and not on emulators, I just have to ask: Did you try to add any contact to the emulator before running the sample code? /Poncho On 02/19/2012 10:59 PM, Michael Ennovium wrote: The Contact Manager Sample code has given me hours of frustration. The

[android-developers] Android: How Can you send/receive data along a phone call ?

2012-02-20 Thread Ganesh Kumar R.
Hi All., I created one sample phone app to dial a entered number by *Intent callIntent = new Intent(Intent.ACTION_CALL,Uri.parse(tel:+9090909090);* Am able to call the dialed number. I have create one service to get the phone state [Ringing or idle or offhook]. Am able to receive the state

Re: [android-developers] Customizing Button

2012-02-20 Thread TreKing
On Mon, Feb 20, 2012 at 1:09 AM, shihab shiha shihabkp.andr...@gmail.comwrote: But what kind of condtion i can give for activate the visible part ? I'm not sure what you're asking. - TreKing

Re: [android-developers] Google Map API usage

2012-02-20 Thread dEEPESH PPM
Hi, Please refer the following links https://code.google.com/apis/console/#project:58720998082:access http://eagle.phys.utk.edu/guidry/android/mapOverlayDemo.html http://blog.pocketjourney.com/2008/03/19/tutorial-2-mapview-google-map-hit-testing-for-display-of-popup-windows/

Re: [android-developers] get a code

2012-02-20 Thread dEEPESH PPM
Hi, Use this code; final Intent emailIntent = new Intent( android.content.Intent.ACTION_SEND); emailIntent.setType(plain/text); startActivity(emailIntent); Deepesh On Sun, Feb 19, 2012 at 8:43 PM, Jim Graham spooky1...@gmail.com wrote: On Sun, Feb 19, 2012 at 06:55:34AM -0800,

[android-developers] Re: How to manually dispatch key event for power button in android

2012-02-20 Thread Chris
Kristopher Micinski krismicinski at gmail.com writes: Additionally, it's not even possible to lock the phone at all, by code, in any ways that can't be easily defeated and are essentially nothing more than parlor tricks. kris It's possible. Download the Toddler Lock App. There are uses

[android-developers] Re: SDK for Augmented Reality for real world objects Android ?

2012-02-20 Thread sagare
Hi, Thanks for reply so what are the alternatives. What i want to do is when the user opens my application and launches the camera preview mode and sees a real car wheel i want to display him information about the wheel when user sees the car head light through camera preview i want to show

[android-developers] Re: SDK for Augmented Reality for real world objects Android ?

2012-02-20 Thread JP
Depending how serious you are, I'd recommend a trip to Santa Clara for the are 2012 conference, here: http://augmentedrealityevent.com/ Beyond my professional angle I'm a huge fan. Find out where things are at; there's also a vendor floor where you can chat with the creators of SDKs and tools.

[android-developers] Re: the listener only responses to last item added to main view.

2012-02-20 Thread Chris Mawata
Your onClick() is empty so one would expect nothing to happen. What was the expected behavior? On Feb 18, 8:59 am, furkan katman furkan.kat...@gmail.com wrote:  here is the code .. package com.android.KickOffPro; import java.util.Random; import android.app.Activity; import

Re: [android-developers] Contact Manager Sample Code

2012-02-20 Thread Michael Ennovium
I appreciate your response but the answer is yes. It also fails to show contacts on a (real) tablet with nearly 100 contacts. On Mon, Feb 20, 2012 at 4:02 AM, poncho poncho...@gmail.com wrote: Hi, Since the code worked on a real device and not on emulators, I just have to ask: Did you try

Re: [android-developers] start at boot app gives instantiationException:

2012-02-20 Thread TreKing
You have the following: public abstract class StartAtBootActivity extends *BroadcastReceiver*{ *activity *android:name=.StartAtBootActivity See the problem with this scenario? - TreKing

Re: [android-developers] get adapter from OnItemSelectedListener?

2012-02-20 Thread TreKing
On Sun, Feb 19, 2012 at 11:28 PM, Ray Tayek rta...@ca.rr.com wrote: can one discover the array adapter for the spinner from the OnItemSelectedListener class?

Re: [android-developers] Eeagarding teating app

2012-02-20 Thread TreKing
On Sun, Feb 19, 2012 at 11:54 PM, Dhaval Varia dhavalkva...@gmail.comwrote: Is it required to test my app by making test project ...? No. - TreKing

Re: [android-developers] Quiz Application

2012-02-20 Thread TreKing
On Sun, Feb 19, 2012 at 9:19 AM, subramaniam.sanka...@googlemail.com subramaniam.sanka...@googlemail.com wrote: @Override public void onClick(View v) { finish(); Bundle tempbundle = new Bundle();

Re: [android-developers] [Google Map] Handle click on route

2012-02-20 Thread TreKing
Tip: Don't post a giant blob of unformatted, unreadable code. Post the least bit of code that will get the point across. No one is going to read through all that, it makes your post hard to read, and increases the chances of people ignoring your post because they never get to the bottom where the

Re: [android-developers] Apparatus force close Logcats

2012-02-20 Thread TreKing
On Mon, Feb 20, 2012 at 3:20 AM, Josh Downey joshdowney...@gmail.comwrote: I really wanna be able to play on PC (win7 x64) the app works fine on phone but force closes in emulator This forum is for developing apps against the Android SDK. You're not going to get much help debugging a specific

[android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Thomas
Actually, I don't. What should the manifest be in this case? Tom B On Feb 20, 10:05 am, TreKing treking...@gmail.com wrote: You have the following: public abstract class StartAtBootActivity extends *BroadcastReceiver*{ *activity *android:name=.StartAtBootActivity See the problem with

[android-developers] Android Game Developement

2012-02-20 Thread suresh
Hi Friends I would like to learn android gaming development. is there any tools available in market to develop games on android. -- 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 create a polygon with the dimensions of a texture?

2012-02-20 Thread saex
i'm trying to develop a simple opengl ES 1.1 app that must show a square polygon with a texture. The texture haves a rectangular resolution of 1536x2048 pixels. I'm learning opengl with the NEHE tutorials, but they didn't eplain how to create a polygon with the dimensions of the textures. This

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread TreKing
On Mon, Feb 20, 2012 at 9:34 AM, Thomas tbirchm...@usa.net wrote: Actually, I don't. That's what you posted - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit

[android-developers] How should one make an SQL database correctly send/receive booleans. How should one make an SQL database correctly send/receive booleans. How should one make an SQL database corre

2012-02-20 Thread Jeresam515
I created a database with the following variables: public static final String KEY_VALUE = x; public static final String KEY_ISROOT = y; public static final String KEY_ROWID = _id; public static final String KEY_REALROWID = _ids; public static final String KEY_ISPOWER = z;

[android-developers] How should one make an SQL database correctly send/receive booleans

2012-02-20 Thread Jeresam515
I created a database with the following variables: public static final String KEY_VALUE = x; public static final String KEY_ISROOT = y; public static final String KEY_ROWID = _id; public static final String KEY_REALROWID = _ids; public static final String KEY_ISPOWER = z;

Re: [android-developers] Re: Avoiding FAILED BINDER TRANSACTION error when updating lots of widget bitmaps

2012-02-20 Thread YuviDroid
Yep I played with the xml attributes (such as scaleType)...but none would change the density being used. Or did I miss that? On Mon, Feb 20, 2012 at 7:36 AM, Dusk Jockeys Android Apps duskjock...@gmail.com wrote: Could you not play with the xml settings of the ImageView itself? I think there

[android-developers] Re: Inserting Recorded Audio file (AMR) in another one

2012-02-20 Thread Raneez
Anyone there to help me? I am stuck with this part and I really need some help. Please On Feb 19, 3:05 pm, Raneez rane...@gmail.com wrote: My Android app records audio in both AMR and WAV format. And my application needs to insert second recorded audio file inside the first one at a position

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Ted Scott
Review the components section here http://developer.android.com/guide/topics/fundamentals.html You are confusing a BroadcastReceiver with an Activity, and there's nothing you can add to the manifest to correct that since an activity tag can't describe or invoke a receiver. If you want to

[android-developers] Re: The web page contains error message in Android 3.0

2012-02-20 Thread ramya
Does anybody know a workaround.I am using localstorage,but what happens is,inside loop,the variables gets overridden:( and only last value is set. On Feb 16, 9:07 am, ramya ramya@gmail.com wrote: bounce... On Feb 15, 5:49 pm, ramya ramya@gmail.com wrote: I am

[android-developers] Re: problem android and eclipse

2012-02-20 Thread KKoenen
Solution (workaround) : turn off Teredo Tunneling Pseudo-Interface. This probably converts IP4 to IPv6 addresses or something, resulting in an IPv6 address for your localhost (strange though, that a PING still results in IP4). Anyway, turning it off (Device manager View Show hidden devices

[android-developers] Re: Enabling both normal wifi and wifi hotspot to get RSSI values of wi-fi hotspots

2012-02-20 Thread SyncMaster
thanks. :) On Feb 15, 5:23 pm, lbendlin l...@bendlin.us wrote: AFAIK only one mode is possible at a time. I think Wireless Hotspot is just a glorified version of Ad Hoc. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] VideoView

2012-02-20 Thread bob
If you need to draw some custom controls on top of a VideoView playing a video, what would be the most sensible way to achieve this? 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] Re: VideoView

2012-02-20 Thread skink
bob wrote: If you need to draw some custom controls on top of a VideoView playing a video, what would be the most sensible way to achieve this? Thank you. put a VideoView and your custom controls inside a FrameLayout pskink -- You received this message because you are subscribed to the

Re: [android-developers] How should one make an SQL database correctly send/receive booleans

2012-02-20 Thread Kostya Vasilyev
Sqlite implements data typing somewhat differently from big sql databases, you can find the details on their site. For a boolean, you typically use: cursor.getInt(column) != 0 20.02.2012 20:20 пользователь Jeresam515 jeremyschiff...@gmail.com написал: I created a database with the following

Re: [android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-20 Thread Kostya Vasilyev
Ruled out? Is seems your log output shows the opposite. IIRC, view focusing is only applied if the enclosing window is in activated state (not sure about the exact name), you might want to look into this. 20.02.2012 14:26 пользователь Jan Burse janbu...@fastmail.fm написал: The blinker runs

Re: [android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-20 Thread Mohamed Gougam
Hi Moktarul, What is in the the manifest file, you mean i have to remove the . ? i don't think that's it, the . has to be there. Thanks guys for the help, Kris is it wrong if somebody try to learn something different, out of his field !! Thanks for the help though i really appreciate it. On Mon,

Re: [android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-20 Thread Farhan Tariq
quiet irrelevant though but ... can you please cut out on your 'bye's ... don't know about others but, i'm sure its irritating to them too 2012/2/20 Kostya Vasilyev kmans...@gmail.com Ruled out? Is seems your log output shows the opposite. IIRC, view focusing is only applied if the

Re: [android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-20 Thread Kristopher Micinski
Thanks guys for the help, Kris is it wrong if somebody try to learn something different, out of his field !! Thanks for the help though i really appreciate it. If a NullPointerException is out of your field, then your field certainly isn't programming Java. Students learn about this extremely

[android-developers] Re: RPC failed with status 1

2012-02-20 Thread Markos Fragkakis
Although I never found out what caused the problem, I guarded my code like this: if(isOnline()) { // dangerous code here ... } else { // handle showing a message ... } and this is the isOnline method: private boolean isOnline() { ConnectivityManager cm =

[android-developers] Re: How should one make an SQL database correctly send/receive booleans

2012-02-20 Thread Jeresam515
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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options,

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-20 Thread Jan Burse
Hi, Kostya Vasilyev schrieb: IIRC, view focusing is only applied if the enclosing window is in activated state (not sure about the exact name), you might want to look into this. Well I checked the state of isFocused() of the text view I am interested in and which should blink. I don't see

[android-developers] Why doesn't this delete method work to vacuum the Database?

2012-02-20 Thread Jeresam515
I have a datbase with the following method: public void deleteNote(long rowId) { mDb.delete(DATABASE_TABLE, KEY_REALROWID + = + rowId, null); int x = (int) rowId; int y = testCount(); while(xy) {x++; Cursor note= fetchNote(x);

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-20 Thread Jan Burse
Hi, Farhan Tariq schrieb: quiet irrelevant though but ... can you please cut out on your 'bye's ... don't know about others but, i'm sure its irritating to them too You should see a mental health professional. Maybe your epilepsy medication doesn't work. Bye -- You received this message

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-20 Thread Jan Burse
Here is a picture what happens: The two tabs were made via: tabHost.addSpec(spec1); tabHost.clearAllTabs(); tabHost.addSpec(spec1); tabHost.addSpec(spec2); Situation 1: The TabHost: +-+--+ | Tab 1 | Tab 2| +---+ |

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-20 Thread Jan Burse
Jan Burse schrieb: +-+--+ | Tab 1 | Tab 2| +- P.S.: The tabs do not stretch to the screen width, since I have placed the tabwidget inside a HorizontalScrollView. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-20 Thread Mohamed Gougam
This is included in the program... PS: i am not a student i am a hardware person, this is a parallel program i am getting into, and yes i did java programming and web designing using javaservlet and JSP by using MySQL...you maybe didn't get my question in the post or i dint express my self

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-20 Thread Jan Burse
Jan Burse schrieb: tabHost.addSpec(spec1); tabHost.clearAllTabs(); tabHost.addSpec(spec1); tabHost.addSpec(spec2); More precisely: tabHost.addSpec(spec1); tabHost.clearAllTabs(); tabHost.addSpec(spec1); tabHost.addSpec(spec2); tabHost.setCurrentTab(1);

[android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Thomas
I'll make another request then. Please post the code and manifest for a simple something that will start the helloworld app at bootup. The helloworld app is just a test case to see if things are working at bootup. I have a far more complicated embedded application to test after that. Best, Tom B

Re: [android-developers] get adapter from OnItemSelectedListener?

2012-02-20 Thread Ray Tayek
At 07:06 AM 2/20/2012, you wrote: On Sun, Feb 19, 2012 at 11:28 PM, Ray Tayek mailto:rta...@ca.rr.comrta...@ca.rr.com wrote: can one discover the array adapter for the spinner from the OnItemSelectedListener class? ...

[android-developers] Manifest Not Building : android:configChanges=screenOrientation

2012-02-20 Thread Matt Clark
I am trying to get my app to handle its own Screen Orientation changing as opposed to the app reloading the activity every time. I found that to get the app to do this I need to add android:configChanges=screenOrientation however the Manifest will no longer build giving me this error: error:

Re: [android-developers] Manifest Not Building : android:configChanges=screenOrientation

2012-02-20 Thread Kostya Vasilyev
It's orientation not screenOrientation http://developer.android.com/guide/topics/manifest/activity-element.html#config -- K 21.02.2012 0:47, Matt Clark ?: I found that to get the app to do this I need to add android:configChanges=screenOrientation however the Manifest will no longer

[android-developers] Re: Manifest Not Building : android:configChanges=screenOrientation

2012-02-20 Thread Matt Clark
Thanks for that. Now i am feeling pretty stupid. xD On Feb 20, 3:50 pm, Kostya Vasilyev kmans...@gmail.com wrote: It's   orientation not screenOrientation http://developer.android.com/guide/topics/manifest/activity-element.h... -- K 21.02.2012 0:47, Matt Clark ?: I found that

[android-developers] VIZIO VTAB1008 on Windows 7?

2012-02-20 Thread bob
Has anyone gotten the VIZIO VTAB1008 to work for development on Windows 7? 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@googlegroups.com To unsubscribe from this group, send

Re: [android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-20 Thread Kristopher Micinski
On Mon, Feb 20, 2012 at 2:06 PM, Mohamed Gougam mblack...@gmail.com wrote: This is included in the program... PS: i am not a student i am a hardware person, this is a parallel program i am getting into, and yes i did java programming and web designing using javaservlet and JSP by using

Re: [android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-20 Thread Mohamed Gougam
Alright will do that.thanks. On Tue, Feb 21, 2012 at 1:51 AM, Kristopher Micinski krismicin...@gmail.com wrote: On Mon, Feb 20, 2012 at 2:06 PM, Mohamed Gougam mblack...@gmail.com wrote: This is included in the program... PS: i am not a student i am a hardware person, this is a parallel

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread TreKing
On Mon, Feb 20, 2012 at 1:26 PM, Thomas tbirchm...@usa.net wrote: Please post the code and manifest for a simple something that will start the helloworld app at bootup. Have you tried a Google search for something like Android start at boot example? I would guess there is plenty of

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Ted Scott
On 2/20/2012 2:26 PM, Thomas wrote: I'll make another request then. Please post the code and manifest for a simple something that will start the helloworld app at bootup. The helloworld app is just a test case to see if things are working at bootup. I have a far more complicated embedded

[android-developers] Re: The service restart but not retaining socket

2012-02-20 Thread Gene
I am not an expert on this, but am pretty sure you will have to implement onDestroy() and do an orderly close on the sockets you are using. On Feb 18, 2:30 am, Nitin Gaikwad nitin.m.gaik...@gmail.com wrote: Hi Friends, 1 I am developing one application where i write one service using broadcast

[android-developers] Re: Limit the decimal numbers in a numberDecimal

2012-02-20 Thread RMDub
There are probably numerous ways to do this. One way is using NumberFormat in code as follows: NumberFormat nf; nf = NumberFormat.getInstance(); nf.setMaximumFractionDigits(2); and an example of the use of the number formatter in an assignment is as follows:

Re: [android-developers] How to get total call duration of last call as well as all call duration

2012-02-20 Thread jagruti.sangani
Thanks On Sun, Feb 19, 2012 at 7:05 AM, fei ji ufo22940...@gmail.com wrote: Have you ever move cursor to next? Since the orginal cursor is reference to -1, so if you get the data directly before moving one step next, it will always give this error. I found there is

  1   2   >