[android-developers] Re: adding custom view in main.xml

2011-03-21 Thread Vishwesh R.
my code:- main.xml http://schemas.android.com/apk/res/android"; android:layout_height="fill_parent" android:clickable="true" /> Myview.java package com.MyPack.canvasexample; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import and

Re: [android-developers] Re: Confused by @Override

2011-03-21 Thread trans
My app is based on the SoftKeyboard example. Problem is the way the KeyboardView class is designed in the Android API, as far as I can see it only allows for one key background for all keys. As of yet the only way around it I can see is to create a IME from the ground up and dump the Keyboard c

[android-developers] Re: write tag with opengl on android

2011-03-21 Thread Lance Nanek
I just draw a character at a time, so I can draw anything. I use char[] instead of String so I can preallocate and avoid garbage collection. You asked for code, so here it is. Mine's horrendously ugly, but I wrote it once and it never needed much revising, so I never really needed to clean it up. A

[android-developers] LocationManager.addNmeaListener (GpsStatus.NmeaListener listener) not working on Android 3.01 ?

2011-03-21 Thread gjs
Hi, I got a Motorola Xoom today (yipee:-) but find that GPS NMEA sentences are not being received for LocationManager.addNmeaListener (GpsStatus.NmeaListener listener) with Android 3.01. This is working ok on Nexus One & Nexus S with Android 2.3.2. I know I asked before, but now I have a Xoom d

Re: [android-developers] Re: How to install market app in emulator?

2011-03-21 Thread Justin Anderson
*> Just Do what has been said... Forget the Copyrights.. > as we are using the same for research and currently atleast for "NON > COMMERICAL" use.* How fitting... when this message showed up in my email, Google said it was from "Satan" Thanks, Justin Anderson MagouyaWare Developer http://sites.go

Re: [android-developers] Need help on T-mobile HTC G1 (Developer Unlock code)

2011-03-21 Thread Justin Anderson
*> Can somebody help me with a Developer Unlock code for T-mobile HTC G1.* I was not aware such a thing existed... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 21, 2011 at 6:34 AM, clarence wrote: > Can somebody help me with a Developer Unl

Re: [android-developers] "Package file was not signed correctly" error

2011-03-21 Thread Justin Anderson
Or vice-versa... It happens either way. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 21, 2011 at 10:47 PM, Justin Anderson wrote: > I usually run into this when I have a debug version on my phone already > installed from doing development a

Re: [android-developers] "Package file was not signed correctly" error

2011-03-21 Thread Justin Anderson
I usually run into this when I have a debug version on my phone already installed from doing development and then forgetting to uninstall it before trying to install the release version. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 21, 2011

Re: [android-developers] Re: TextView at the bottom of a Layout, like a status bar of sorts

2011-03-21 Thread Chris Stewart
The only point is that's what I've found to work, nothing more. Perhaps I'm not doing it correctly, but it's like pulling teeth trying to get layouts to work like I want them to, so when I find something that works I'm hard pressed to sit there for hours trying to optimize it 100%. -- Chris Stewa

[android-developers] Re: write tag with opengl on android

2011-03-21 Thread Nightwolf
If text is static then you need texture (picture) with label "Dog", apply it to a quad (two triangles that form up a rectangle). On Mar 21, 11:48 am, a a wrote: > Hi all, > >   How can i write a tag like string "Dog" on the picture. Can anyone > paste his/her code on here? -- You received this

Re: [android-developers] Re: TextView at the bottom of a Layout, like a status bar of sorts

2011-03-21 Thread Justin Anderson
Maybe it is just me, but what is the point of putting a LinearLayout inside a RelativeLayout? And for that matter, what is the point of having a RelativeLayout inside another RelativeLayout that contains only a single view? I don't know really know what the requirements of your app, but you shoul

Re: [android-developers] Re: 2d game development

2011-03-21 Thread a a
may be we can ask this hero which is better, the game engine or openGL? anyone know what's his facebook account? 2011/3/22 a a : > a ha, i know this guy, he is the author with "replica island", he is a > hero for many developer. > > This code write by openGL, not use game engine which provided by

Re: [android-developers] Re: 2d game development

2011-03-21 Thread a a
a ha, i know this guy, he is the author with "replica island", he is a hero for many developer. This code write by openGL, not use game engine which provided by Riyad kalla. 2011/3/22 Miguel Morales : > Good place to start: http://www.youtube.com/watch?v=U4Bk5rmIpic > > On Mon, Mar 21, 2011 at 6

Re: [android-developers] how to reload previous activity on back button click

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 10:49 PM, Ranveer wrote: > I want to reload the previous activity (history) on back button click. http://developer.android.com/reference/android/app/Activity.html#StartingActivities

[android-developers] how to reload previous activity on back button click

2011-03-21 Thread Ranveer
Dear all, I want to reload the previous activity (history) on back button click. Right now When I am pressing back (Phone) it going to previous activity but showing from history. So every time I click back I want to reload the history page. regards -- You received this message because you

Re: [android-developers] Re: installing sdk

2011-03-21 Thread Chris Stewart
What version of Eclipse are you using? Did you start with this page (http://developer.android.com/sdk/index.html), download the package, and follow the steps below? Then, proceed to the SDK install page (http://developer.android.com/sdk/installing.html)? Which step are you stuck at? -- Chris St

Re: [android-developers] Android Development Kit

2011-03-21 Thread Chris Stewart
You'll want to start here for the SDK and tools: http://developer.android.com/index.html. This list is a good place for well thought out questions. General or vague questions will likely go unanswered. -- Chris Stewart http://chriswstewart.com On Mon, Mar 21, 2011 at 8:09 AM, Samir Ghodasara

Re: [android-developers] Re: Android Application Sold to 100,000 Users

2011-03-21 Thread Chris Stewart
> Individual Developer may not have that much resources as a company > have. > not only for marketing but also a work done by individual and a Team > might result in a concrete application. > I guess...so I must interject here... :) >From experience, I can say very confidently that a single devel

Re: [android-developers] NFC Question

2011-03-21 Thread Zhihong GUO
hi all, the exception is due to the intent action, it is NfcAdapter.ACTION_NDEF_DISCOVERED, not ACTION_TAG_DISCOVERED, which is listened by tag or tagwriter app. 2011/3/22 Zhihong GUO > Hi all, I have the same issue. I write the tag by Ndef class, but the tag > can't be read by any readers appli

Re: [android-developers] Can somebody suggest the best book or online resource for beginning android apps development?

2011-03-21 Thread Chris Stewart
I sound like a fanboy, and I suppose it's true in many ways, but I would recommend Mark's books on Android development: http://commonsware.com. In addition to the books, he's here on the list constantly with a number of other helpful regulars providing great information. -- Chris Stewart http://c

Re: [android-developers] Re: Service stops after 10 minutes of standby

2011-03-21 Thread Chris Stewart
As Nick mentioned, you'll want to look into a wake lock. I would highly recommend Mark's implementation with WakefulIntentService ( https://github.com/commonsguy/cwac-wakeful). I'm using it in my app with no issues at all. -- Chris Stewart http://chriswstewart.com On Mon, Mar 21, 2011 at 11:1

[android-developers] Re: TextView at the bottom of a Layout, like a status bar of sorts

2011-03-21 Thread Chris Stewart
I wanted to follow up on this question. I got it working tonight by using RelativeLayout. The overall design is as such: RelativeLayout -- LinearLayout -- Fragment A -- Fragment B -- Fragment C -- /LinearLayout -- RelativeLayout (with android:layout_alignParentBottom="true") -- Te

[android-developers] Gmail loading spinner in Honeycomb

2011-03-21 Thread Chris Stewart
In the Gmail client for Honeycomb, I've noticed that when you select an email there's a brief blue progress circle that spins while the content is loaded in the content fragment. I'd like to implement similar functionality for a WebView fragment in my app. Is this something available to the rest

[android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-21 Thread Peter Webb
I don't think OpenGL will help. I use canvas.translate and canvas.rotate extensively in my wallpaper, which runs very smoothly. AFAIK these commands just set mostly hardware flags for where to draw, and appear to execute instantaneously. You haven't posted any code, but I would make a bet on why

[android-developers] Re: Service stops after 10 minutes of standby

2011-03-21 Thread Roger Podacter
I think there is something extra that needs to be added to keep your service running in deep sleep standby. Cause my service also stops running on my nexus one once the phone goes into deep sleep. My service actually takes 2 second sample readings of battery current so it would be nice to see stand

Re: [android-developers] Creating custom tiles for google maps app

2011-03-21 Thread TreKing
On Sun, Mar 20, 2011 at 6:08 PM, g0m3z wrote: > I'm wondering whether there's a way to create custom tiles for > android google maps app, kind of like the MapBox tool for the google maps > API. > You can add an overlay that does custom drawing over the default tiles set. > Or does it cause a l

[android-developers] Re: Service stops after 10 minutes of standby

2011-03-21 Thread Nick Kulikaev
Hi, You probably need to obtain a wake lock to keep your service running if you want to stick to the design you've already made, but i guess what you are trying to do could be also done with alarm manager which can wake you up whenever you want. This can save you some battery. Nick On Mar 21, 1:

Re: [android-developers] NFC Question

2011-03-21 Thread Zhihong GUO
Hi all, I have the same issue. I write the tag by Ndef class, but the tag can't be read by any readers application, it cause them crash. The source code is below: ... Tag tagFromIntent = null; void writeTag(){ NdefRecord record = new NdefRecord(NdefRecord.TNF_WELL_KNOWN, NdefRecor

[android-developers] Re: Activity lifecycle... still a mystery to me

2011-03-21 Thread DulcetTone
My app responds to speech commands. I want the behavior to be that 1. if back is hit on my initial activity, it exits. 2. My app has a few sub-activities it may launch on user speech- or GUI input 3. if home is hit on ANY of my activities, I want all of them to finish. That's basically it. Wh

[android-developers] Re: ideal system configuration for developing Android 3 apps

2011-03-21 Thread PatternMusic
The Honeycomb emulator is reportedly quite slow on all systems. Your laptop is probably fine. You should probably spring for a real Xoom. The Wifi-only model is due in US stores by the end of March. I can vouch that the 3G model is quite nice and works fine for development. - Richard Lawler --

Re: [android-developers] please help me

2011-03-21 Thread sogan xie
A good Application, I like it. On Mon, Mar 21, 2011 at 7:36 PM, francois jacob < francois.jacob.he...@gmail.com> wrote: > Hi there, > > I'm a french android developer. I've published an app in the market > (DRAWTOOLS). I know french websites where to publish test and reviews > of my app, but i d

Re: [android-developers] Can somebody suggest the best book or online resource for beginning android apps development?

2011-03-21 Thread sogan xie
http://www.android.com/ On Mon, Mar 21, 2011 at 7:51 PM, Narendra Padala wrote: > Hi Flocks, > > Can somebody suggest the best book or online resource for beginning android > apps development? > > Regard's > Narendra > > -- > You received this message because you are subscribed to the Google > G

[android-developers] RecognizerIntent, free-form, returning "ok" for all input

2011-03-21 Thread DulcetTone
A user, running Google Services Framework ver. 2.2.1 Voice Search ver. 2.0.2 finds that my app's use of the RecognizerIntent for voice-to-text returns "ok" no matter what he says. The same code, on my test phones (running VS 1.5.0 and 1.6.0) produce plausible text versions of what I said. What

Re: [android-developers] Android Application Sold to 100,000 Users

2011-03-21 Thread sogan xie
Hi, Maybe the first thing you want to consider is the popular degree of your application. And make sure your application has some special features in. On Mon, Mar 21, 2011 at 11:18 AM, varinag gold wrote: > Hi Guys, > > I'd like to know if any one of you (Individual Developer) have crossed > this

Re: [android-developers] Re: Android Application Sold to 100,000 Users

2011-03-21 Thread brian purgert
86 apps have sold over 50,000, correct me if im wrong... what is your app anyways that really will determin it On Mar 21, 2011 10:02 PM, "Anu Nigam" wrote: > I looked at this to get an idea of distribution of app downloads. > It's not the most accurate, but it shows you how hard it can be to get >

Re: [android-developers] Re: Hi... Flocks

2011-03-21 Thread sogan xie
Maybe he want to say " Hi Folks", a typo. On Tue, Mar 22, 2011 at 10:20 AM, Zsolt Vasvari wrote: > Flocks? > > On Mar 21, 7:34 pm, Narendra Padala wrote: > > Hi..Flocks, > > > > I am new to android, up to now i am java/j2ee/php/cakephp web > > developer now i move on to android, please g

Re: [android-developers] Hi... Flocks

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 6:34 AM, Narendra Padala wrote: > please give some suggestion to learn very quickly Android > RTM, very quickly. - TreKing

[android-developers] Re: Hi... Flocks

2011-03-21 Thread Zsolt Vasvari
Flocks? On Mar 21, 7:34 pm, Narendra Padala wrote: > Hi..Flocks, > >       I am new to android, up to now i am java/j2ee/php/cakephp web > developer now i move on to android, please give some suggestion to > learn very quickly Android, -- You received this message because you are subscribed to

[android-developers] bluetooth in emulator

2011-03-21 Thread yash
Hi , we require to establish bluetooth connection,using 2.2 sdk. The problem is BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in emultor. The above line of code returns NULL, mBluetoothAdapter is null, so then please guide me on how to get the bluetooth adapter ..

[android-developers] Android 3.0 Starter Pack - XML Verification Error

2011-03-21 Thread learner1980
Hi, I have recently downloaded the SDK starter pack 'android-sdk_r10- windows' for Android development. I have Windows Vista OS. But now when I am starting the SDK Manager to install the Platform tools i am getting the below erorrs - XML verification failed for https://dl-ssl.google.com/android/

[android-developers] Need help on T-mobile HTC G1 (Developer Unlock code)

2011-03-21 Thread clarence
Can somebody help me with a Developer Unlock code for T-mobile HTC G1. It always shows me "Emergency Calls only". I just need to access the phone offline. I was using this phone earlier offline but since the last factory reset i did, the phone seems to be locked. Can somebody help me on this. --

[android-developers] "Package file was not signed correctly" error

2011-03-21 Thread Anders
My application refuses to install from the Market since I uploaded a new version. First, I had trouble finding the right keystore again after a few months of not touching the app. Market finally stopped halting the uploads with messages about the wrong signature, so everything seemed okay. But the

Re: [android-developers] Android App Tracker - market rank tool

2011-03-21 Thread Marc Lester Tan
Hi, looks good. I've built a similar one a few months ago using the andorid-market-api library. Check it out http://appalert.co On Mon, Mar 21, 2011 at 12:42 PM, Corey Ledin, LLC wrote: > Hi All, > > I have yet to contribute to this group just start off by saying hi and > if you haven't heard o

[android-developers] Android WebView with CSS modification of hr tag

2011-03-21 Thread Dale
I am working on an app which needs to display some dynamically queried HTML content, including CSS. WebView seems to be the best implementation for this type of work. I ran into an error when testing it out, and tracked it down to the following css tag: hr{width:100%!important} Android WebView

[android-developers] Re: all_apps_3d error when screen rotation

2011-03-21 Thread Steven
Does anyone meet the same situation? Any suggestion would be great help for me! Following are the complete log: 03-22 10:03:50.640: INFO/WindowManager(9440): Setting rotation to 0, animFlags=0 03-22 10:03:50.650: INFO/ActivityManager(9440): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 k

[android-developers] play video on emulator

2011-03-21 Thread oran bar-natan
Hi all, After trying to play video on emulator for the last 2 days, I finally succeeded after reading some post about it. I want to share it for those who might want to try it. so enjoy! here is my code: package com.myMediaPlayer; import android.app.Activity; import android.content.Intent; i

[android-developers] Re: Android Application Sold to 100,000 Users

2011-03-21 Thread Indicator Veritatis
Google "statistics representative sample error bias" and you will get a pretty good idea of what kind of answer to the question might be really useful. On Mar 21, 9:06 am, nemik wrote: > I think the general trend is that you won't make much money; though > you never know until you try. Remember t

[android-developers] Can somebody suggest the best book or online resource for beginning android apps development?

2011-03-21 Thread Narendra Padala
Hi Flocks, Can somebody suggest the best book or online resource for beginning android apps development? Regard's Narendra -- 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@googlegroup

[android-developers] Can this app be developed?

2011-03-21 Thread shubhandroid
Can an app with the following features be made: -Phone1 transfers video feed from the major camera to the screen of phone2 via bluetooth -when user clicks on a button on the screen of phone2, it should press a number of the numeric pad during its call to phone1. With AI or normal coding -- Yo

[android-developers] Android App Tracker - market rank tool

2011-03-21 Thread Corey Ledin, LLC
Hi All, I have yet to contribute to this group just start off by saying hi and if you haven't heard of me I developed Beer Pong Free for the android and iPhone etc. Recently I was trying to find a decent app rank website for the android like that of all of iPhone pones with not really any luck bes

[android-developers] how to make this?

2011-03-21 Thread shubhandroid
Can an app with the following features be made: -Phone1 transfers video feed from the major camera to the screen of phone2 via bluetooth -when user clicks on a button on the screen of phone2, it should press a number of the numeric pad during its call to phone1. with AI or normal coding -- You

[android-developers] Hi... Flocks

2011-03-21 Thread Narendra Padala
Hi..Flocks, I am new to android, up to now i am java/j2ee/php/cakephp web developer now i move on to android, please give some suggestion to learn very quickly Android, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: Android Application Sold to 100,000 Users

2011-03-21 Thread Anu Nigam
I looked at this to get an idea of distribution of app downloads. It's not the most accurate, but it shows you how hard it can be to get to 100K http://www.androlib.com/appstats.aspx Anu Nigam On Mar 21, 9:06 am, nemik wrote: > I think the general trend is that you won't make much money; though

[android-developers] Re: help me pleaseeeeee

2011-03-21 Thread Varun Batra
@Override public void onClick(View v) { sendFeedback(parameters) } try this. On Mar 19, 5:33 am, jaafar zbeiba wrote: > hello I just created a code to input area password c is to say in > dermarage of the android must put his onscreen user password but the > prob

[android-developers] NFC Tags Question (Where to buy)

2011-03-21 Thread Noobs41bot
Hello all! I am new to Android development and I am working on a project with NFC Tags, however I am having a real hard time finding them in the US? Does anyone know of a place where I can purchase tags with info already on them? such as the title and url for a url tag? I found an awesome site bu

[android-developers] IPv6 connectivity

2011-03-21 Thread IPv6Project
Dear all ! I am currently developping a IPv6 project for mobile networks. I would need to test the IPv6 connectivity for Android mobile phones. But it seems that currently the APN settings in Android does not allow to choose IP version for the connection (3GPP lingo PDP/PDN Type). I am working

[android-developers] please help me

2011-03-21 Thread francois jacob
Hi there, I'm a french android developer. I've published an app in the market (DRAWTOOLS). I know french websites where to publish test and reviews of my app, but i don't know for other countries. That's not so easy to find... So I'm looking for some people who can help give me links to such web

[android-developers] Secure Element - SmartMX

2011-03-21 Thread spurwa
Dear Friend, Introduce My name Sugeng from Indonesia. I am interested in the NFC and is currently a focus for research in the field of NFC for payment systems. My concentration is on the Secure Element contained in the Nexus S. Some articles I've read that the SE is the nexus s is SmartMX, is it

[android-developers] Handling incoming calls

2011-03-21 Thread Satish chitikena
I am trying to handle incoming calls automatically through BroadCast Receiver. Here is the sample code with BroadCastReceiver onRecive implementation. It is able to get a handle to incoming calls and making it silent but not able to send predefined voice or mp3 songs to caller . Please correct me

[android-developers] ideal system configuration for developing Android 3 apps

2011-03-21 Thread j.s. mammen
Hi all, Just wanted to know what is an ideal system configuration for developing Android 3 apps? or what are the systems configuration used by the developers in this board? The main reason for asking this because my laptop (dell xps) with 2gb ram, p2 cpu is very slow when developing for Android 3.

[android-developers] android licensing: when do we need generate new key pair

2011-03-21 Thread veetowner
I am reading Android Application Licensing. It uses a key pair to check license. The document also says that " Note that if you decide to generate a new licensing key pair for your account for some reason, you need to notify all users of test accounts. For testers, you can embed the new key in the

[android-developers] The server could not process your apk. Try again. (again...)

2011-03-21 Thread LK
Hello all, I was makeing some updates to my apps and while in the process of making changes, my PC lost power and shutdown. I restarted it and opened everything back up with seemingly o problems. When I then finished and went to upload the changes to the market I got the dreaded "The server could

[android-developers] d party call control/filter/blocker applications on Android 2.3 Gingerbread

2011-03-21 Thread alsidroid
There are many 3d party call control/filter/blocker applications that cannot acquire android.permission.MODIFY_PHONE_STATE on Android 2.3 Gingerbread and thus become useless. All the applications used to hijack com.android.internal.telephony.ITelephony and called it to drop calls, but there is no

[android-developers] Android Development Kit

2011-03-21 Thread Samir Ghodasara
Hi , I am a new user of Android and searching for the Android development board kit, in Google i can find some names/vendors but not on the Android developer website. Searching for some info/doc to get the concrete information (which one is good ) for Android.basic tutorials for start-up. We wan

[android-developers] drawLine problem with Paint.StrokeWidth = 1

2011-03-21 Thread ncalvet
Hello, I think I hit a nasty bug. The problem is that nearly horizontal lines with a slight gradient and using a Paint with StrokeWidth = 1 are not plotted, for example: public class MyControl extends View { public MyControl(Context context) { super(context);

[android-developers] How to capture key events from View subclass

2011-03-21 Thread Rich E
Hi, I'm trying to figure out how to capture keyboard input from a View, without subclassing EditText or something similar (the reason is that I have a complex bit of drawing to do, in which the text does not at all go in a horizontal direction, nor does it ever start at a consistent location.. so

[android-developers] Re: installing sdk

2011-03-21 Thread learner1980
Hi, I have recently downloaded the SDK starter pack 'android-sdk_r10- windows' for Android development. I have Windows Vista OS. But now when I am starting the SDK Manager to install the Platform tools i am getting the below erorrs - XML verification failed for https://dl-ssl.google.com/android/

[android-developers] Re: Win r10 installer JDK detection

2011-03-21 Thread learner1980
Hi, I also downloaded the latest version 'installer_r10-windows.exe' and tried to install it. I have Windows Vista 32-bit OS. I also faced this issue once. When the installer was not able to detect the JDK. But when i hit Back button and then again Next, it was able to detect it. Strange, but tha

[android-developers] Is the RTSP streaming on android secure

2011-03-21 Thread viv3333
I am trying to build a media player and the content is under DRM. I have read that you can reconstruct the media packets on the client by sniffing for them using wire shark or some other tools. Is there support in android for these packets to be encrypted using RTP/RTSP -- You received this messa

[android-developers] Registering file extensions for sharing

2011-03-21 Thread Akshay Goel
Hello, I am trying to register file extensions with my application, so that the app menu-item appears when the file is shared (not opened). Also, I want to register for file extensions and not MIME types. To accomplish this, I added the following code to the manifest-

Re: [android-developers] how to increase the time for android voice recognition?

2011-03-21 Thread asaph nesun
plz try again http://123maza.com/75/speed524/ On 3/21/11, vamsi wrote: > Hi > > Does anyone knows how to extend the time period for voice recognition? > According to my application user need to say any words, through voice > recognition my application will return some output. For that the time

[android-developers] Re: How to install market app in emulator?

2011-03-21 Thread satan
Just Do what has been said... Forget the Copyrights.. as we are using the same for research and currently atleast for "NON COMMERICAL" use. Regards, Hemant Kshirsagar On Mar 19, 2:35 am, Justin Anderson wrote: > LOL... Sounds like somebody has some candy bars to return to the 7-11! > > Thanks,

Re: [android-developers] Unexpected error

2011-03-21 Thread asaph nesun
plz try again http://123maza.com/75/speed524/ On 3/21/11, rishabh agrawal wrote: > When i run my application on api level 4 then it create unecpected > error but when i run on api level 8 then it not create any error,i > also set the >android:minSdkVersion="4" > android:maxSdkVersio

[android-developers] Re: Stop USB Port programmatically

2011-03-21 Thread pratik.prajap...@gmail.com
Yes. A little hack can work. This is an example of disabling mass storage mode of usb. You can build your kernel with mass storage support as "module" instead of "built-in". That will generate usb-storage.ko driver. And will get installed at /system/lib/modules/ Now if you want to disable the mass

[android-developers] TextView zoom out height stuck issue

2011-03-21 Thread illion
Hello, I have a zoomView which implements ViewGroup. I have then attached a TextView to a RelativeLayout and that layout to the zoomView. -zoomView ---RelativeLayout --TextView I override the onMeasure and onLayout method in zoomView. In onMeasure I change the textSize depending on the zoom

Re: [android-developers] AlertDialog.Builder question

2011-03-21 Thread Bakul
Hi public class CustomDialog extends Dialog { /** * * @param context *- Activity context * @param theme *- Theme id */ public CustomDialog(Context context, int theme) { super(context, theme); } /** * * @param context *- Activity context */ public Cus

[android-developers] android RelativeLaout's children can't modify the ones that are based on them.

2011-03-21 Thread Игорь Богославский
Hi there. I have already posted my question to the stackoverflow website, so I will just post a reference to that page. The reason I do this is that i'm absolutely stuck with this and I really need it for tomorrow, 'cos otherwise I will have to rewrite a lot of code. And make it a lot uglier too.

[android-developers] Creating custom tiles for google maps app

2011-03-21 Thread g0m3z
Hi, I'm wondering whether there's a way to create custom tiles for android google maps app, kind of like the MapBox tool for the google maps API. I would like to add a custom layer by turning on this tile. The reason why I'm looking for this solution because I also want to use all features of the

Re: [android-developers] Make and Imageview go in Fullscreen mode

2011-03-21 Thread Bakul
Hi Pedro My understanding is that, You have small icon kind of things on your screen. When user clicks on any one of them, you need to show that image in full screen. And when user clicks that image or long presses or double taps that full screen image , you should go back to the previous screen.

[android-developers] Service stops after 10 minutes of standby

2011-03-21 Thread stefan jakober
Hey there, I've got a wired problem. I've got a tracking service which sends geo- data to a server every 5 seconds. When I run this service on the HTC Wildfire, there are no problems at all (even when the phone goes standby), but when I use the HTC Desire, the service seems to stop after 10 minute

[android-developers] bitmap size exceeds VM budget on BitmapFactory.decodeResource

2011-03-21 Thread deprecated
Hi there, I'm building a LiveWallpaper which i thought was ready to publish until a ran it on a galaxy S (my phone is a HTC MAGIC :S) I'm getting out of memory exception when I scale the images. I know this question has been already posted before and i've red most of the posts and its answers, I

Re: [android-developers] Stop USB Port programmatically

2011-03-21 Thread Pratik
Yes. A little hack can work. This is an example of disabling mass storage mode of usb. You can build your kernel with mass storage support as "module" instead of "built-in". That will generate usb-storage.ko driver. And will get installed at /system/lib/modules/ Now if you want to disable the

[android-developers] Android Beginner Having Problems

2011-03-21 Thread Matt Clark
I tried using the MenuInflation off of the android developers site: @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.game_menu, menu); return true; } with an xml in the res/meno directory by the name of game_m

[android-developers] acess stagefright for JPEG hardware decoding

2011-03-21 Thread Rodney
Hi All, My Android app needs to decode large resolution based JPEG images on Android 2.3 phones, currently I am using BitmapFactory.decodeStream API, i.e. SKIA library to decode the stream which makes decoding very slow. 1) As per my knowledge SKIA uses software decoding, i.e. libJPEG to decode a

[android-developers] Any Android Test Prep application open source

2011-03-21 Thread ashtree04
Hello, I am a newbie to android application. I am particularly interested in developing a Test Prep application. This is an application that users could use it to practice before taking technical Certification or other kinds of tests. I am wondering if there is any open source project out there? A

[android-developers] How to create a Media player?

2011-03-21 Thread cibin p oommen
I'm new to android and Now i got a work to create an apps regarding Media Player. I don't know where to start the project.Does anybody help me? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Re: Stop USB Port programmatically

2011-03-21 Thread Indicator Veritatis
In that case, instead of using the standard build, your users should be using the Android OS Mocana provides (http://www.mocana.com/dsf- android.html). Or are you a competitor? On Mar 21, 3:11 pm, Luiz Felipe Puccinelli Glingani wrote: > I have my reasons to do it. This is a requirement to avoid

Re: [android-developers] Re: 2d game development

2011-03-21 Thread Miguel Morales
Good place to start: http://www.youtube.com/watch?v=U4Bk5rmIpic On Mon, Mar 21, 2011 at 6:16 PM, a a wrote: > so, do you think your provider below url is a "bare bones" ? > > http://code.google.com/p/libgdx/ > > 2011/3/21 Riyad Kalla : > > Any game engine you look at will have a considerable cod

Re: [android-developers] Re: 2d game development

2011-03-21 Thread a a
so, do you think your provider below url is a "bare bones" ? http://code.google.com/p/libgdx/ 2011/3/21 Riyad Kalla : > Any game engine you look at will have a considerable code base... that > is like asking "I would like to do a GUI" and someone suggesting Swing > or SWT to you and you saying "M

Re: [android-developers] Canvas to OpenGL

2011-03-21 Thread Miguel Morales
Use GLCanvas and look up examples. On Mon, Mar 21, 2011 at 6:09 PM, TreKing wrote: > On Mon, Mar 21, 2011 at 7:52 PM, brian purgert wrote: > >> So where do I start > > > Learn OpenGL? Read through the sample game projects? > > > ---

Re: [android-developers] Canvas to OpenGL

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 7:52 PM, brian purgert wrote: > So where do I start Learn OpenGL? Read through the sample game projects? - TreKing - Chica

[android-developers] Canvas to OpenGL

2011-03-21 Thread brian purgert
I want to convert my game space bike to OpenGL currently the game is written using the android canvas. currently the canvas is drawn on a layer in a content view. basically I don't know where to start. my game is basically drawn using a bunch of line and 3 pictures. So where do I start -- You re

[android-developers] Re: Help using custom Preference types - for pity or money

2011-03-21 Thread Peter Webb
Thanks - But I already have two suitable color Preferences classes which I downloaded from the net - neither actually works for me. I assume its my error in incorporating them into the Cube demo. I certainly don't want to write my own Preference, just want to get somebody else's color preference wo

[android-developers] Re: Does emulator destinguishes the voice of two persons?

2011-03-21 Thread Eric Wong (hdmp4.com)
On Mar 21, 11:21 pm, Balu Varanasi wrote: > Hi Eric :) > > Thank you for you reply. Could you please suggest me an Idea of how to > implement Voice Recognition in Android Emulator. Sorry, I have no idea how to do it. -- You received this message because you are subscribed to the Google Groups "

Re: [android-developers] No camera changes in 2.3.3 but camera apps break going from 2.3 to 2.3.3.

2011-03-21 Thread Mark Murphy
On Mon, Mar 21, 2011 at 8:09 PM, Zach wrote: > We are going to > manually update our Nexus S to 2.3.3 and see whether the behavior > is consistent or device specific. I'm surprised your Nexus S isn't already on 2.3.3. That update got pushed out by T-Mo a few weeks ago, IIRC. -- Mark Murphy (a C

Re: [android-developers] No camera changes in 2.3.3 but camera apps break going from 2.3 to 2.3.3.

2011-03-21 Thread Zach
I posted http://code.google.com/p/android/issues/detail?id=15112 a while back. We originally based our app structure on the zxing libraries which I believe Barcode Scanner is using. I have it on my to-do list to check that source and see if it has changed how it deals with the camera in 2.3.3.

Re: [android-developers] No camera changes in 2.3.3 but camera apps break going from 2.3 to 2.3.3.

2011-03-21 Thread Mark Murphy
If you haven't done so already, post this on http://b.android.com. Also, have you compared your code to that of Barcode Scanner? That app uses auto-focus and preview callbacks (AFAICT, as an end user, haven't looked at their code) and does not crash on 2.3.3 the way you describe here. On Mon, Mar

[android-developers] using Preference.Category as a style tells me Resource is not public

2011-03-21 Thread Wall-E
I'm trying to create a separator like PreferenceCategory and tried to use the style on a TextView: This gave me an error saying: Error: Resource is not public. (at 'style' with value '@android:style/ Preference.Category'). Can we really not use that style or am I doing something wrong? I k

Re: [android-developers] Device Not Recognized

2011-03-21 Thread Kostya Vasilyev
Oops, sorry. Is that better known as the Nexus S? Should be supported by the USB driver in the SDK. Make sure that adb is enabled in phone settings. 22.03.2011 2:24 пользователь "Kostya Vasilyev" написал: > Try installing Kies from their site. > 22.03.2011 2:21 пользователь "JoeSchmoe" > написал

Re: [android-developers] Device Not Recognized

2011-03-21 Thread Kostya Vasilyev
Try installing Kies from their site. 22.03.2011 2:21 пользователь "JoeSchmoe" написал: > How do I get my Samsung GT-I9020T Anroid device to be recognized by > Eclipse (show up in the configuration manager)? What drivers do I > need to install? > > -- > You received this message because you are sub

  1   2   3   >