Re: [android-developers] private file last modified date

2010-07-31 Thread Mark Murphy
On Fri, Jul 30, 2010 at 9:26 AM, Dson wrote: > Hi Guys, > >  I am trying to get the last modified date of an internal file and it > always returns me 0 although I could read the file properly. Can you > please let me know if I am doing anything wrong... > > Creating a file... > ---

Re: [android-developers] Disabling Idle mode

2010-07-31 Thread Mark Murphy
On Fri, Jul 30, 2010 at 4:11 AM, Yannick Plenevaux wrote: > I am currently searching to set out an issue I encounter. > I am developing an Application on Android which have to download a lot > of data and then be unused for a while. > > During the download, the device is locked and switch to a kin

Re: [android-developers] BroadcastReceiver::onReceive Question

2010-07-31 Thread Mark Murphy
On Thu, Jul 29, 2010 at 6:22 PM, Johnny wrote: > What I can not figure out is how to create a file with the 'Context' > variable passed in from the 'onReceive'. I know I can create a private > file with this 'Context' variable but I just don't know how to use > this 'Context' to create an external

Re: [android-developers] Android OS localization

2010-07-31 Thread Mark Murphy
On Fri, Jul 30, 2010 at 4:11 AM, hmdmph wrote: > Hi , > I want to localize android os with my local (si_LK) Sri Lanka , How > cant i work as contributer for localization.i have downloaded os > source and recompile with ubuntu. I want to know how to do this. Please search the archives of the [andr

Re: [android-developers] Re: Inner ListView not respecting layout gravity or width

2010-07-31 Thread Mark Murphy
On Sat, Jul 31, 2010 at 4:02 AM, Zsolt Vasvari wrote: > JOIN the header and detail tables in single query. Or use an ExpandableListView. Or something. ListViews nested in ListViews is unlikely to work. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://c

[android-developers] Re: How to cite/reference free images

2010-07-31 Thread Zsolt Vasvari
I see a License section there. See what the license says and follow the requirements. Quite simple. On Aug 1, 7:22 am, AUandroid wrote: > thanks for the tips. As I told you its my first time publishing a app. > Can anyone please have a look at this image and let me know what I > must write in m

Re: [android-developers]

2010-07-31 Thread Edmund Higgins
And to you too! On Jul 31, 2010 11:19 PM, "saurabh sinha" wrote: hey Happy Friendship day to all android beginner -- 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]

2010-07-31 Thread saurabh sinha
hey Happy Friendship day to all android beginner -- 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+unsub

[android-developers] Re: Extending multiple classes

2010-07-31 Thread Indicator Veritatis
I did not read the code closely enough to see what is going wrong or why. But I did notice one thing: yet again, you are assuming you - must- extend Application, without any clear reason why. Indeed: since Shane already explained how to get the current Application using getApplication(), I am surp

[android-developers] Re: onCreate, onStop..... super.onCreate, super.onStop... called before code or after?

2010-07-31 Thread MB
By this logic, super.onStop and super.onDestroy would need to be called after the implementation of the more specific class. On Jul 31, 7:50 pm, Satya Komatineni wrote: > Probably there are exceptions to every rule. > > In this particular instance I would probably have the base class > complete i

[android-developers] how to detect if a phone is running HTC sense UI

2010-07-31 Thread Kai
Hi, I need to detect if a phone is running HTC sense UI. is there a way to do it? I can't just blindly assume every HTC device runs sense UI(eg: nexus one doesn't run it). Kai -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

Re: [android-developers] Re: Compiling and obfuscating by command line...

2010-07-31 Thread Miguel Morales
Looks like that's defined in: ant/ant_rules_r2.xml and templates/android_rules.xml not sure where this is supposed to be included. you'll have to figure that out. On Sat, Jul 31, 2010 at 7:38 AM, sblantipodi wrote: > Wow, thanks this maked me goes forward to next error :) > thanks... > > Target "

Re: [android-developers] Re: Android preprocessor, //#ifdef...

2010-07-31 Thread Muhammad
I have post already .May be it not approved by moderator,.. so plz help me Dear ALL, I have window based machine.I want to learn Android Development. I have read tutorial. i have installed eclipse-jee-helios-win32-x86_64 .but i have not found Android Plug in. so can anybody tell

[android-developers] Building Android source on Gentoo

2010-07-31 Thread Mod
I have done these: 1. install JDK 5 2. set java-vm to 1.5 3. set environment variables, ANDROID_JAVA_HOME and JAVA_HOME 4. checked if using JDK 5 by command "which" and "java-config -O" 5. make clean, and then try to build again But I still encountered the same error as below, could someone pleas

[android-developers] Re: Licensing

2010-07-31 Thread b...@bresnan.net
It would be wonderful if this would work - but I don’t see it working. If your developing an app that frequently/occasionally requested info from a server, it would be very easy to detect pirates and deal with them. If not - you're doomed to deal with not making as much money as you should. Everyth

[android-developers] Two controls on a line?

2010-07-31 Thread Jez
Right, first things first. I'm no numpty. I'm a developer with over 15 years experience of developing in the Windows platform including mobile apps. I've figured out that Windows Mobile 7 is not the way I want to go as I'll have to redevelop my apps into Silverlight and I'd rather learn Android an

[android-developers] Re: Tab Content Overlaps Problem

2010-07-31 Thread b...@bresnan.net
Does the code reflect the changes between tabs on your onTouchEvent? I'd say they would need to be seperate activities. On Jul 28, 11:01 pm, "Sasikumar.S" wrote: > Thanks for your reply Richard. > > Below is my tabbar xml code. > > maintab.xml > > > >         android:layout_height="fill_parent"

[android-developers] Application not following resource directory qualifier rules?

2010-07-31 Thread Greg Dubb
Hi, I have an image that is the same name I am referring to located in three drawable folders: drawable, drawable-hdpi-v4, and drawable-ldpi-v4.  My manifest has:   and   and I am building against the latest 2.2 SDK. When I load it into a 240 density 480x800 emulator, I've tr

[android-developers] get favicon from sites

2010-07-31 Thread aye thwe
Hi everybody! I m now studying NewsDroid Rss Feed project. I want to get favicon from Feed Url also. But i don't know how to get it. Please help. Thank you all. with regards, ayethwe -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] problem regarding starting of emulator

2010-07-31 Thread Neeraj Sinha
Hi All, I am so new in android developement. I am facing a problem regarding AVD. Whenever i am trying to run my program it does take a lot of time to start AVD emulator. Once its started and i am chaning my code and trying run that, it's fine. But in the begining it does take a lot of time to st

[android-developers] Spinner distorts TableRow layout

2010-07-31 Thread Graham Borland
I have a Spinner inside a TableRow. It seems to confuse the TableRow layout; the columns in this row are completely different widths from the rest of the columns in the table, and the Spinner never expands to fill the available width despite having android:layout_width="fill_parent" set. If I chang

RE: [android-developers] Record audio problem on the LG Ally

2010-07-31 Thread Giampaolo Tomassoni
> protected Void doInBackground(Void... arg0) > { > System.out.println("Recording started"); > audioRecord = null; > System.gc(); > int totalBytes = bufferSize; > try > { > buffer = new byte[bufferSize]; I'm not an Android expert, nev

[android-developers] Re: Failure loading drawables on Cupcake/1.5 when building with Froyo/2.2 SDK

2010-07-31 Thread machambi
I have the same problem , Application compiled using 2.2 fails to startup on 1.5. If I change the application settings to compile using 2.1 api, the same app loads ok on 1.5. Have you got any resolution to this problem? On Jul 19, 6:08 pm, Trygve wrote: > I have ported the keyboard from Android

Re: [android-developers] Re: Retrieving XML Document from web service

2010-07-31 Thread Filip Havlicek
Hi, just a quick thought about that - some web services have a request property to define in what format you want the result. Are you sure this isn't your case? Best regards, Filip Havlicek 2010/7/31 beacon > Hello Frank, > > This is what I am doing on the client side > > SoapObject request =

[android-developers] Data connection

2010-07-31 Thread Dawid
Hi, I was wondering how to disable data connection (GPRS etc) I'm using setWifiEnabled for wifi but i couldn't find anything like this for data connection. Is there any code which i could use to disable it, because i don't want to use airplane mode. Thanks :) -- You received this message because

[android-developers] Biggner Android Developer

2010-07-31 Thread Muhammad
Dear ALL, I have window based machine.I want to learn Android Development. I have read tutorial. i have installed eclipse-jee-helios-win32-x86_64 .but i have not found Android Plug in. so can anybody tell which version of Eclipse i need to start Android Development Environment? Ju

[android-developers] Android Street View availability check

2010-07-31 Thread K P
What is the best way to check if street view is available for a GeoPoint location? There seems to be no way of figuring this out, but the map google app grays out the street view button if not available? -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Re: Failure loading drawables on Cupcake/1.5 when building with Froyo/2.2 SDK

2010-07-31 Thread machambi
Have you resolved this issue ? I have the exact same problem . On Jul 19, 6:08 pm, Trygve wrote: > I have ported the keyboard from Android 2.2 to 1.5, because I want to > use it as a base for a keyboard. When I compile the keyboard with SDK > version 2.2 and run the keyboard in an emulator run

[android-developers] Installation

2010-07-31 Thread Muhammad
Dear ALL, I have window based machine.I want to learn Android Development. I have read tutorial. i have installed eclipse-jee-helios-win32-x86_64 .but i have not found Android Plug in. so can anybody tell which version of Eclipse i need to start Android Development Environment?

[android-developers] Popup Listview ContextMenu Problem

2010-07-31 Thread yeng
Hi Everyone, I have a Listview on a PopupWindow. Everything works fine except for the listview's ContextMenu. I have attached a listener to the Listview (OnCreateContextMenuListener) but it doesn't fire when I do a long press. Anybody encountered this problem? Hoping you could help me with thi

[android-developers] Android Developers Needed!!

2010-07-31 Thread Sid
Urgently looking for Senior Android Developers to work in Sweden and Finland. Kindly send me your updated CV in a word format OR who else do you think can do this job? Best regards, Sid Jain Recruitment Consultant R2 International Ltd United Kingdom Tel: +44 (0)207 100 2312 Fax: +44 (0)870 490

[android-developers] Re: Problem using adb push

2010-07-31 Thread nh2
Use adb shell and check if you are root (see the # instead of $ shell sign). I had to adb shell; su; mkdir /data/pcsc; mkdir /data/pcscd and then I could push over the files. On 10 Jun., 02:06, Jiss wrote: > Hello everyone ! > > I am trying to port PC/SC on my G1 in order to develop on a smartcar

[android-developers] Android JUnit Test problem?

2010-07-31 Thread cary
I build Android JUnit Project test my Android app project,my Android app import extra jar method,I import extra jar to Android JUnit project path,so test error(java.lang.IllegalAccessError: cross-loader access from pre-verified class).but comment extra jar method in Adroid app project,junit success

[android-developers] Re: VirtualKeyboard not updating EditText

2010-07-31 Thread Hani Naguib
Did you ever get to the bottom of this? I am having similar problems. -- 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 and

[android-developers] Regarding the LG 265: Hi, very new, need all the help I can get!

2010-07-31 Thread jabsfreelanceworld08
Hello, I am very new to the application creation world. I am familiar with programming languages, though. I understand at least the purpose of them and for starters I would probably use script templates. I am wondering if anyone was able to create yet any apps that are compatible with the LG Scri

[android-developers] SDK Manager: failed to install

2010-07-31 Thread Antonello
Hi, all. I'm trying to update my SDK but every time I get this same warning dialog: -= Waning! =- A folder failed to be renaimed or moved... and blah, blah, blah! The folder is /tools. I searched for help in this group about this error and found some answers. But none of them worked for me. Look

[android-developers] everything in gen folder deleted

2010-07-31 Thread Mer
I opened Eclipse to continue working on a project and found that everything inside my gen folder was deleted. I've already tried cleaning my project and saw on another discussion to use ctrl+shift+o to re-import the R.java information. Neither of these fixed the problem. Is there any way I can re

[android-developers] NetMonitoring on UMTS seems.. buggy.

2010-07-31 Thread P.G.
Hi all, First of: I have heard about the problems, I'm just wondering what the states are, and if anyone has updates / workaround to my questions, I'd be willing to listen :) Im using Nexus one phone. Android 2.2 UMTS Network Onto my main point: I am a student in software engineer doing a Netm

[android-developers] Intents in broadcastrecievers

2010-07-31 Thread run
hi, i wanted to place an intent in broadcastreceiver , by which i can call other applications. public void onReceive(Context context, Intent intent) { //---get the SMS message passed in--- Bundle bundle = intent.getExtras(); SmsMessage[] msgs = null; String st

[android-developers] Multiple concurrent versions of same app, filtered by minSdkVersion?

2010-07-31 Thread Brian Rak
Hi there, I have an app on Android Market right now with a minSdkVersion corresponding to Android 1.6. I'd like to make an update that is only visible to users of Android 2.2 and higher (there is a good reason for this, which I will explain below). So I have two questions: - First, if I publish a

[android-developers] Performance of glDrawElements

2010-07-31 Thread rajath
Hi all, I am trying to render a mesh that has a triangle strip array. I'm using the GL11 api as follows: int offset = 0; int size = Short.SIZE / Byte.SIZE; for (int i = 0; i < triStripArray.strips.length; i++) { gl.glDrawElements(gl.GL_TRIANGLE_STRIP, triStripArray.strips[i

[android-developers] Focal Point Camera

2010-07-31 Thread Igor Novais
On Android Phones, it´s possible use focal point of camera? The user select an area on touch screen on preview camera application and set the focus to selected point? Like on Iphone's camera preview. Someone knows something about this? -- Igor Novais -- You received this message because you ar

[android-developers] How to set the scroll position of a ListView.

2010-07-31 Thread Rodrigo Otávio
Hi, I have a listview displaying my data.Ok. I want to set the scroll position in a position of my choice, but I just cant do it. I used : myListView.setSelection( anyPosition ); myListView.setSelected(true); and has not worked. I also tried : myListView.scrollTo(0, Po

[android-developers] 6500K color for OLED screens and mkv + softsub support

2010-07-31 Thread Epicstar
Sorry for having 2 complaints but. Is there any way for people with OLED Android phones to achieve 6500K color calibration? I'd love it if the screen color changed to 6500K, especially for the Nexus One. Less blue means more battery life and more accurate colors. The other complaint is for mk

[android-developers] Syntax error in C2DM Registering in Google example

2010-07-31 Thread feras
Well, its not that big deal but i found a Syntax error in the code for C2DM Registering from this site http://code.google.com/android/c2dm/index.html at the error in the line below . registrationIntent.putExtra("app", PendingIntent.getBroadcast(this, 0, new Intent(), 0); where they missi

[android-developers] Newbie question - running the STK app on Froyo

2010-07-31 Thread Eric Warheim
Hi, As you may know, the official build of Froyo on the Nexus One does not include the Sim Toolkit application (stk.apk). I really don't want to diverge from the stock build on my main phone and run CM for example (which includes stk.apk) but for certain services (online banking) I do depend on th

[android-developers] private file last modified date

2010-07-31 Thread Dson
Hi Guys, I am trying to get the last modified date of an internal file and it always returns me 0 although I could read the file properly. Can you please let me know if I am doing anything wrong... Creating a file... FileOutputStream Os = activity.openFileOutput("file1.jpg"

[android-developers] Android Developers Needed!!

2010-07-31 Thread Sid
My client a leading blue chip company in urgently looking for Android Developers in Finland and Sweden. Consultnats who are immediatky available kindly send your CVs to sid.j...@r2international.com. you can also call me on +44 207 100 2312, +46 8 506 38351. -- You received this message because yo

[android-developers] Re: Design similar to the home screen on Twitter and Facebook

2010-07-31 Thread Seni Sangrujee
The 2010 Google I/O app had that dashboard look similar to the Twitter and Facebook apps. Screenshot: http://www.androidcentral.com/official-google-io-android-app-now-available http://code.google.com/p/iosched/source/browse/trunk/res/layout/activity_home.xml I copied that for some of my apps bu

[android-developers] getting 'permission denied' when trying to write to a file

2010-07-31 Thread paul linto
Hi Guys, I am trying to take a dump of encoded data stream to a file. I had added the code to make the file dump in pvmf_omx_enc_node.cpp file, in the Fillbufferdoneprocessing () function. But i am getting the error 'permission denied' for fopen("/sdcard/enc_bitstream.bin,"wb+""); what i need to

[android-developers] Re: No plan to support Netbeans?

2010-07-31 Thread Krischik Martin
On 29 Jul., 12:34, sblantipodi wrote: > As title, > I'm developing on every Java flavour, from JavaME to BB to Symbian > Java to JavaSE to JavaEE etc... > I know that Android isn't Java but I will like to develop to android > using Netbeans... Netbeans has excellent Maven integration and there is

[android-developers] Using ? (question mark) and @ (at symbol) as values for a string resource

2010-07-31 Thread Quintin Willison
Trying to be a good boy here (all strings being declared in resource values) but have hit upon a non-critical but annoying issue... Example from res/values/strings.xml: ? @ Eclipse / Android SDK will not take either of these lines. e.g.: "error: Error: No resource found that matches the

[android-developers] Re: My experience with LVL and the precedence it sets

2010-07-31 Thread Krischik Martin
Hi, > As for importing java.lang.String, those 2 files have been created > automatically by aidl (see the files in aidl/) and the tool doesn't > care about unneeded imports and automatically put import statements > for all the used classes. Heretic question: Import is optional so why import at al

[android-developers] Programmatically install free applications in android market

2010-07-31 Thread tak
Hi there, I'm sure that you all have already known AppBrain's Fast Web Installer which is able to programmatically install free applications in android market to the device. How could it be possible ? Anyone knows how ? or hints ? Thanks. -tak -- You received this message because you are sub

[android-developers] Re: Android Market Licensing: Now Available!

2010-07-31 Thread Quintin Willison
Just noticed this. Excellent news! Thanks. Now to find some time to explore it... :) -- 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, se

[android-developers] Problem

2010-07-31 Thread prateek tuli
Hi, I want to create an application in android which at runtime calls an xml file from some path of the system.And make that contents of the xml file run in the same application.Could i get a feasible code because at runtime the bytecode of the activity is already created.how do i compile and run t

[android-developers] Understand the filesystem contents

2010-07-31 Thread John Manko
Is there any documentation on the filesystem used for Android? I'm talking about an explanation of the contents of /dev or /etc, and not YAFFS or whatever. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] android openGL issue

2010-07-31 Thread sldt
If you do not get through inheritance surfaceView to handle OpenGL Direct Rendering but through inheritance View image how OpenGL has to know, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Jigsaw puzzle image source

2010-07-31 Thread HIRAK
I guys, I am creating a basic jigsaw puzzle for android. The code is almost ready but I am facing problem in finding images for the puzzle. The User should be able to get new image every time they click "Next". Upon selecting an image, the application will create puzzle for the selected image. F

[android-developers] BroadcastReceiver::onReceive Question

2010-07-31 Thread Johnny
Hi All, I am trying to develop a feature for my Android phone. Basically, I'd like to export some files whenever a sdcard is inserted into the phone. So, I had a broadcast receiver registered to the system. I override the onReceive (Context, Intent) function such that I can create a file in the S

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 100 Messages in 71 Topics

2010-07-31 Thread Hasn AlTaiar
Hi everyone, I am developing an application that visualize so many POI on Google map on Android 1.6 I am interested in finding the CPU and memory usage of the application with different optimization, so my question is *is it possible to access the memory and CPU usage programmatically and write

[android-developers] Re: 2.2 Google Api emulator not booting up

2010-07-31 Thread Folly
I have this problem too. When I create new device it loading going normal, but when I close emulator and start again i have "W/MountService( 68): Waiting too long for mReady!". -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] Disabling Idle mode

2010-07-31 Thread Yannick Plenevaux
Hello everybody, I am currently searching to set out an issue I encounter. I am developing an Application on Android which have to download a lot of data and then be unused for a while. During the download, the device is locked and switch to a kind of idle mode that close the wifi connection. I d

[android-developers] Android OS localization

2010-07-31 Thread hmdmph
Hi , I want to localize android os with my local (si_LK) Sri Lanka , How cant i work as contributer for localization.i have downloaded os source and recompile with ubuntu. I want to know how to do this. -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: WAnt to break an image into pieces...........

2010-07-31 Thread HIRAK
Dividing into pieces of same size is easy. You have to write your own logic, to divide it into pieces of different size. But anyways, you need to read about the Bitmap api and also BitmapDrawable. On Jun 1, 11:32 am, TreKing wrote: > On Tue, Jun 1, 2010 at 1:16 PM, Dixit Wadhwani wrote: > > > I

[android-developers] Re: sun/security/x509/X500Name

2010-07-31 Thread iluvmyoldmerc
Same issue here ubuntu 9.1 sun JDK 1.6 android-sdk_r06-linux_86 eclipse-java-helios-linux 3.6 Errors occurred during the build. Errors running builder 'Android Package Builder' on project 'HelloAndroid'. sun.security.x509.X500Name I had a similar issue on XP Windows XP sun JDK 1.6 android-sdk_r06-

[android-developers] shared library

2010-07-31 Thread sowmya
Hi , I have a static c library which i want to port in android .i have c porting files . i have written jni interface and build shared library combining all above (c porting files,static library ,jni -cpp) Now i have to write ui for this . my doubt is How to build package .can i develop a separate

[android-developers] Throttling change notifications

2010-07-31 Thread Connick
Is there a way to throttle change notifications emanating from a content provider? Was thinking some sort of timer solution but that could get messy. e.g. if the last notification isn't made then data on the UI will be inaccurate. Thanks, Stace -- You received this message because you are subscr

[android-developers] Re: add to application via Java code

2010-07-31 Thread Indicator Veritatis
More explicitly, recall that the permissions set in the manifest are displayed to the user at -install- time. So that is when the permissions must be set, not at run time. That in turn is why we should not expect the ability to set it programatically. On Jul 30, 6:22 am, Carlos Silva wrote: > On

[android-developers] Re: Android preprocessor, //#ifdef...

2010-07-31 Thread DanH
On some development systems a C preprocessor has been hijacked to preprocess Java code. It's not standard, though. You can use final constants in Java to select pieces of code. Eg, "if (MY_CONSTANT) { ... }" where MY_CONSTANT is a "final" boolean value. The Java compiler is defined to compile th

[android-developers] Re: Correct way to kill the application

2010-07-31 Thread Mystique
Yes, but Android will terminate this automatically isn't it? On Aug 1, 1:38 am, a wrote: > While I agree with most of the replies, there is one issue that makes task > killers useful. Some apps run background tasks or they don't properly > terminate threads when they should. These apps will dra

Re: [android-developers] onCreate, onStop..... super.onCreate, super.onStop... called before code or after?

2010-07-31 Thread Satya Komatineni
Probably there are exceptions to every rule. In this particular instance I would probably have the base class complete its work before I do the work of the derived. May be a poor parallel, but if I am constructing a multi-story house, I would want to finish the base floors and move on to the upper

[android-developers] Design similar to the home screen on Twitter and Facebook

2010-07-31 Thread Chris Stewart
An application I'm working on has a use for a home screen like the ones in the Twitter and Facebook Android clients. Something like a 2 by 3 grid view that adjusts when viewed in either orientation. I'm nothing short of awful when it comes to design and I've yet to work out a design in my layout

[android-developers] Re: finish() at onStop causes ANR

2010-07-31 Thread James Wang
@TreKing Thanks for your replies. We do have some reasons to call finish because Android did not finish one when another is shown before it. >Probably, but with your code, not Android. Document does not say finish is not allowed to be called at onStop. How to explain there is no problem with callin

[android-developers] onCreate, onStop..... super.onCreate, super.onStop... called before code or after?

2010-07-31 Thread Moto
This might be a simple question but I'm seeing the super call at the end of the overwritten function and also at the start of the function. What is recommended? any differences on this? I feel very beginner with this question... :P i.e. @Override protected void onCreate)

[android-developers] Re: use-library causes java.lang.ClassCastException when both apks loaded in one process

2010-07-31 Thread James Wang
Hi Dianne, thanks for your answer. Can you tell us how to avoid this error if we have to put A and B in the same process? -- 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.c

Re: [android-developers] Re: Android preprocessor, //#ifdef...

2010-07-31 Thread TreKing
On Sat, Jul 31, 2010 at 5:09 PM, sblantipodi wrote: > I'm sorry for my rude and really not too much kind speaking, > but I can't belive that android doesn't support preprocessor. > Why so surprised? The main Android SDK is Java-based, which does not have preprocessor. Whatever you've used with ot

[android-developers] Re: Start an activity without creating a new one.

2010-07-31 Thread Tim
On Jul 31, 5:26 pm, "Adriano B. Godinho" wrote: > Hi, > > You can declare your activity with singleTask launch mode. > >                     android:label="@string/app_name" >                   android:launchMode="singleTask"/> > > More > details:http://developer.android.com/guide/topics/fundam

[android-developers] MobClix revenue drop

2010-07-31 Thread Loki117
Anyone else on here use Mobclix for Ad serving? I have seen my revenue drop from $15 to $9 as in they have removed $6 of revenue! Also they are not giving impression counts for Ads which I know are being displayed! Is anyone else seeing these issues with Mobclix? -- You received this message beca

[android-developers] Re: Correct way to kill the application

2010-07-31 Thread Indicator Veritatis
Eric- You are basing your entire post on the fallacious assumption that it is only "non-technical people" who download the task killers. I am very technical, and I downloaded one. Nor am I alone. Nor is it that "people ar very bad at shifting". Rather, the recent trend in the mobile OS industry (

[android-developers] LVL returns always LICENSED...

2010-07-31 Thread sblantipodi
Hi, I have built in the Sample code from LVL and putted it into my main activity. I haven't understood why it always returns LICENSED also if I setted UNlicensed from my developer console. this is the adb logcat output... I/LicenseChecker( 496): Binding to licensing service. I/LicenseChecker(

[android-developers] Re: Correct way to kill the application

2010-07-31 Thread Indicator Veritatis
Kostya- Most of what you say is true, but beside the point. Task killers per se do not "interfere with the platform's functionality". Now yes, some users do have the strong desire you allude to, but that is far from proof that the desire for Task Killers IS an example of this effect. I do not bel

[android-developers] How to solve this problem: Close Force Error when trying to populate viewStub

2010-07-31 Thread kivy
Hi there, I just ran into a problem, while trying to populate a ViewStub by tapping an ImageButton within a SlidingDrawer (the ViewStub should also be part of the drawer), but all I get is a Force Close Error due to a Null Pointer Exception. As I am using ViewStubs for the first time I am not sure

[android-developers] Re: How to cite/reference free images

2010-07-31 Thread AUandroid
thanks for the tips. As I told you its my first time publishing a app. Can anyone please have a look at this image and let me know what I must write in my about page.Is it ok? if I just provide this link in my about section http://commons.wikimedia.org/wiki/File:Nuvola_apps_important.svg or I mus

[android-developers] Re: Using a new generated Keystone for existing app. Any possible outcomes?

2010-07-31 Thread Moto
Oops never mind :( You can't do that... http://developer.android.com/guide/publishing/app-signing.html "Application upgrade – As you release updates to your application, you will want to continue to sign the updates with the same certificate or set of certificates, if you want users to upgrade s

[android-developers] Re: Text blinking effect TextView

2010-07-31 Thread Doug
Try posting a series of delayed messages or runnables to a handler that alter the TextView in sequence as you need. On Jul 29, 9:21 am, Huynh Ngoc Vu Nguyen wrote: > Please let me know! How to make text blinking effect in TextView? > I am using Android SDK 2.2. -- You received this message beca

[android-developers] Re: Using a new generated Keystone for existing app. Any possible outcomes?

2010-07-31 Thread Moto
keystone = keystore :P On Jul 31, 6:24 pm, Moto wrote: > Hi, > > I currently have my application signed using a keystone key I > generated.  Could I use a new keystone to sign my application for the > next update? > > Any issues that could arise if I use a different keystone? > > Thanks! > -Moto

[android-developers] Using a new generated Keystone for existing app. Any possible outcomes?

2010-07-31 Thread Moto
Hi, I currently have my application signed using a keystone key I generated. Could I use a new keystone to sign my application for the next update? Any issues that could arise if I use a different keystone? Thanks! -Moto -- You received this message because you are subscribed to the Google Gr

[android-developers] Re: How to cite/reference free images

2010-07-31 Thread Streets Of Boston
One possibility is to have an 'About' screen, reachable from your menu or from your settings/preferences activity. Put the references/ citations in the About screen. On Jul 31, 3:39 pm, AUandroid wrote: > Hi All, > > I am about to release my first app on the market for free. How should > I refere

[android-developers] Re: LVL, ServerManagedPolicy...

2010-07-31 Thread sblantipodi
How can we use ServerManagedPolicy in the emulator and fastly switch from licensed to unlicensed to something else? The first time I got the licensed message, than I'll continue to get the licensed message also if I set UNLICENSED from my developer console after I deleted and reinstalled the app o

[android-developers] Re: Android preprocessor, //#ifdef...

2010-07-31 Thread Streets Of Boston
I'm glad to not have to use pre-processors and hash-defines. I hated them when i worked in C (and C++) (they tended to get over- used, made code unreadable and difficult to debug) and for the last decade of Java programming i really never ever needed them. "How can you develop on a mobile without

[android-developers] Re: Android preprocessor, //#ifdef...

2010-07-31 Thread sblantipodi
I'm sorry for my rude and really not too much kind speaking, but I can't belive that android doesn't support preprocessor. I can't think on mobile programming without preprocessor, too many different configurations, think only to LVL and android market and preprocessor could be useful... Ok we can

[android-developers] Re: LVL NOT_MARKET_MANAGED

2010-07-31 Thread Brian
I've done some testing on this, myself, and it seems that it only returns the NOT_MARKET_MANAGED error for an app in the market if the version code (the integer form of the version number in the manifest) in the copy making the check is higher than the one currently in the market. If the version c

[android-developers] Re: Android Market Licensing: Now Available!

2010-07-31 Thread keyeslabs
Speaking as someone who has traveled this road before with my own implementation of basically the same approach, obfuscation will be critical. With AAL, it took about three days for someone to crack the app. The process looks something like this: decompile the apk using a freely available open s

Re: [android-developers] Re: Android preprocessor, //#ifdef...

2010-07-31 Thread TreKing
On Sat, Jul 31, 2010 at 3:00 PM, sblantipodi wrote: > How can you develop on a mobile without preprocessing? > Quite easily, actually. > Sure android is really good for fart app, but what else? > Is this is a serious question? Have you browsed through the Android Market (as painful as that is)

Re: [android-developers] Re: Correct way to kill the application

2010-07-31 Thread Adal
I think the user is not always the problem and if it is... we've got a problem because we can hardly make people change their behave, what we can do is build better apps that don't take resources they don't need. That's a developers fault and that's the one developers should focus. If we keep thin

Re: [android-developers] Re: Android preprocessor, //#ifdef...

2010-07-31 Thread Frank Weiss
Here is a long thread on the subject: http://groups.google.com/group/android-developers/browse_thread/thread/1c9078176b172e1a/235bae6530ee7e74?show_docid=235bae6530ee7e74 There are Java projects that use various preprocessors. The lack of a standard one is a problem. AFAIK Sun's WORA ideology ran

[android-developers] Missing network functionality?

2010-07-31 Thread RickB
Can any version of Android support simultaneous connections on both a mobile network (e.g. 3G) and a WiFi network? Here's the requirement: I want to connect to a local Wifi network of sensors/devices that is not connected to the Internet, and be able to transmit data to an Internet-connected web

[android-developers] Re: Android preprocessor, //#ifdef...

2010-07-31 Thread sblantipodi
Ok but other java software/platform supports preprocessor on both Eclipse/Netbeans/IntelliJ/JDE ecc. ecc... On Jul 31, 10:15 pm, Kostya Vasilyev wrote: > The absence of preprocessor has to do with Java, not Android. > > And tlhere is a lot of Java software out there... > > -- > Kostya Vasilyev --

Re: [android-developers] Re: Android preprocessor, //#ifdef...

2010-07-31 Thread Kostya Vasilyev
The absence of preprocessor has to do with Java, not Android. And tlhere is a lot of Java software out there... -- Kostya Vasilyev -- http://kmansoft.wordpress.com 01.08.2010 0:00 пользователь "sblantipodi" написал: ah ah... it's incredible... I develop on Windows Mobile, JavaME, Bada, Blackbe

  1   2   >