[android-developers] AccountManager wrong password or account changed error

2011-10-05 Thread mobdev....@gmail.com
This is a reply to: http://groups.google.com/group/android-developers/browse_thread/thread/d66ff537b04ec9a8 (which is closed for replies). I had the same issue when trying to develop an app that authenticates with the Google Docs List API. My AccountManager.blockingGetAuthToken(account,

[android-developers] View moves downwards after standby

2010-12-06 Thread MobDev
Hi, I noticed that when my app is onscreen and the device goes into standby (black screen) and the device gets out of the standby the View (layout) will be moved a couple of centimeter downwards so that the last couple of centimeters of the View actually will fall offscreen.. The Activity itself

[android-developers] Activity cannot be both an Activity and a Receiver ?

2010-10-14 Thread MobDev
Hi, I have the following situation : An Activity (let's call it main) and a Service... The Activiy get's started right away, after which it couples to the Service. I'd liek the Service to be able to send broadcasts so that my Main (but other activities as well) can capture anything the Service has

[android-developers] Re: Activity cannot be both an Activity and a Receiver ?

2010-10-14 Thread MobDev
btw link to my StackOverflow discussion : http://stackoverflow.com/questions/3931136/intent-filter-action-wont-work-in-androidmanifest On 14 okt, 14:38, MobDev developm...@mobilaria.com wrote: Hi, I have the following situation : An Activity (let's call it main) and a Service... The Activiy

[android-developers] Re: Retrieve android:versionName from Library Project

2010-10-06 Thread MobDev
/services/whatever into the hosts-project manifest, by referencing the package name of the Project's Library components... Or do you mean something else with merge stuff ? On 5 okt, 17:43, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 5, 2010 at 11:30 AM, MobDev developm...@mobilaria.com wrote

[android-developers] Re: Retrieve android:versionName from Library Project

2010-10-05 Thread MobDev
by simplyretrieving the versionCode (and versionName) from the importing Project... On 4 okt, 14:52, Mark Murphy mmur...@commonsware.com wrote: On Mon, Oct 4, 2010 at 8:27 AM, MobDev developm...@mobilaria.com wrote: /edit : I posted this on stackoverflow as well and someone responded with : As far as I

[android-developers] Re: Library Projects support ?

2010-10-04 Thread MobDev
(for 1.6) is needed. Use the SDK updater to get an update to the 1.6 SDK component. (seehttp://developer.android.com/sdk/adding-components.htmlfor more info) Xav On Fri, Oct 1, 2010 at 12:28 AM, MobDev developm...@mobilaria.com wrote: Hi, I have been trying to work with a Library

[android-developers] Retrieve android:versionName from Library Project

2010-10-04 Thread MobDev
Hi, I have created a Library Project which I import into another project. In that Library Project at some point I retrieve it's android:versionName To do that you need to supply the package name. The problem arises when that code is executed when the Library Project is included within another

[android-developers] Library Projects support ?

2010-10-01 Thread MobDev
Hi, I have been trying to work with a Library Project, just like it's mentioned in the documentation : http://developer.android.com/guide/developing/eclipse-adt.html I have created my Library Project as a Android 1.6 Project and now I have been trying to reference to it out of my second project

[android-developers] Versioning and common code-bases with Eclipse

2010-09-10 Thread MobDev
Hi there, I'd like to bring out an app in the near future, so I was wondering how to support a couple of funcitonalities I have got used whilst developing for J2ME and iPhone - first the versioning. With J2ME (using NetBeans as IDE) I had the option to auto-increment the softwwares version every

[android-developers] Re: Is there a way to track my piracy rates for paid apps?

2010-08-23 Thread MobDev
yup, that's kinda the way to do it, or otherwise have it send it's unique id first time it gets started, could be towards your server or otherwise (somewhat clumsier) an email to you directly. On 20 aug, 05:45, TreKing treking...@gmail.com wrote: On Thu, Aug 19, 2010 at 9:12 PM, Greg Siano

[android-developers] Question regarding drawable resources usage

2010-08-19 Thread MobDev
Hi, I have made an app which I also would like to run on smaller screens, so I have read the documentation regarding supporting multiple screens. I noticed though that I actually didn't need a completely new layout, the only thing I needed were actually smaller images which are used within the

[android-developers] Re: how to see the the usage of memory in the android?

2010-07-01 Thread MobDev
hehe, I do agree from the things I have read about it, but, with all due respect, you make it sound like something that's not graspable for humans or something impossible to determine... That would mean thet the OS itself would have no clue whatsoever if it's running out of memory or not (crashing

[android-developers] Correct Redirected HTTP GET retrieval

2010-07-01 Thread MobDev
Hi, I'd like to know how to do a HTTP GET request to a server from which I know I will get redirected at least a couple of times... I'd like to get the response (body) of the last webpage. It should come up with a code in my specific example... Or, as an alternative, I do know you can start the

[android-developers] HTC Hero Update 2.1 -- Broke Audio Streaming ????

2010-06-30 Thread MobDev
Hi there, I have installed the 2.1 update on my HTC Hero yesterday, and happy as a puppy I instaleld my streaming app... Just to discover that it won't stream decently... It has to stream an mp3 stream and it works on my ADP 1.6 device, on a Samsung Galaxy S test-device (with 2.1) and on the 2.1

[android-developers] Re: Accidentally made my paid app free

2010-06-29 Thread MobDev
owh oke,that explains it somewhat.. Sorry it sounded kinda of strange ;) On 25 jun, 20:28, TreKing treking...@gmail.com wrote: On Fri, Jun 25, 2010 at 12:49 PM, Nathan critter...@crittermap.com wrote: Why would there be any downloads and ratings if I immediately unpublished it, so I

[android-developers] Re: What are the advantages of an Android Developers Device?

2010-06-28 Thread MobDev
that's somewhat it regarding advantages... There is no device ALL the developers are using, I guess many are using of the shelf devices... Personally I have a ADP2 in combination with a off-the-shelf Htc Hero and since a couple of days a Samsung Galaxy S... No the ADP2 cannot has no 2.1 update,

[android-developers] Re: How to fetch phone's phone number or unique ID

2010-06-28 Thread MobDev
You might want to re-read the post of Indicator, he actually tell you which package you should use and even which method.. If those things don't ring a bell you might want to start learning OOP first (specifically Java) and the in a couple of months start programming for the mobile platform... On

[android-developers] Re: rtsp client?

2010-06-28 Thread MobDev
afaik you can directly feed that trsp url to the MediaPlayer class... On 28 jun, 12:33, chas__123 charlie.nug...@gmail.com wrote: Hi could someone say if android supports an RTSP stack? We've an RTSP server that we'd like to stream video to an android rtsp client if thats possible thanks

[android-developers] Status bar leaves a black bar in my Fullscreen Activity !

2010-06-28 Thread MobDev
Hi, I have a Fulscreen Activity (by using android:theme=@android:style/ Theme.NoTitleBar.Fullscreen). I noticed that when the device has gone into powersave mode (black screen) or when I have used the Home Button, and I get back in my Activity the whole Layout will have been moved downwards

[android-developers] Percentages on ProgressDialog.STYLE_HORIZONTAL

2010-06-28 Thread MobDev
Hi, I have been using a ProgressDialog in it's horizontal form, exactly like in this article : http://mobiledeviceprogramming.blogspot.com/2010/01/showing-progress-bar-on-android.html Now I was wondering how do I get rid of one of the two percentages ? As in I have a percentage on the left side

[android-developers] Re: Which android device to target for Android development?

2010-06-25 Thread MobDev
well officially the ADP's should be able to install the newer versions of Android OS... Or at least, technically they are because they are rooted/bricked... BUT, if you check out the HTC's developers site you will notice that the downloadable OS versions don't go any higher than 1.6... This means

[android-developers] Re: Diapad phone red button press

2010-06-25 Thread MobDev
I'm afraid you will have to do better in explaining your problem ? Or is it a question ? On 25 jun, 06:57, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Hi, Has any has success of pressing the redbutton of the dialpad, which is launched my their own application. We want to do press

[android-developers] Re: Streaming audio AAC format

2010-06-25 Thread MobDev
will be answered by searching for the word 'streaming' in the Reference tab for the android.media package, class MediaPlayer. On Jun 24, 7:57 am, MobDev developm...@mobilaria.com wrote: Actually on this same group there have been several reports of the new 2.2 Mediaplayer being a step backwards

[android-developers] Re: is this a bug in android OS

2010-06-25 Thread MobDev
Well, are you calling it after you have binded ? You are mentioning onCreate(), I just hope the code-sequence is the right one, thus something like : myServiceIntent = new Intent(this,service.class); this.bindService(myServiceIntent, mConnection, Context.BIND_AUTO_CREATE); On 25 jun, 11:40,

[android-developers] Re: Which android device to target for Android development?

2010-06-25 Thread MobDev
...@gmail.com wrote: Hi MobDev,    Thx a lot so it means I cant go with using Android developers phone 1 or Android Developers phone 2 and i have to use Droid/ Milestone rt? Thanks, Sagar On Jun 25, 3:00 pm, MobDev developm...@mobilaria.com wrote: well officially the ADP's should be able

[android-developers] Re: Accidentally made my paid app free

2010-06-25 Thread MobDev
Well some ratings might obviously be based on the fact that the app is free, so I guess that keeping them wouldn't be very fair ? On 25 jun, 16:35, g1bb corymgibb...@gmail.com wrote: I don't assume that would keep my downloads and ratings intact, would it? Thanks again. On Jun 25, 8:21 am,

[android-developers] Re: Will data remain after updating android os in mobile phones

2010-06-24 Thread MobDev
Actually, in my specific case (HTC Hero with 1.5) the manufacturer (HTX) will bring out an update to 2.1 but they have already stated that everything has to backed up because it will whipe the whole system (as in installed apps, db's etc)... I can't remember exactly where I read that, it has been

[android-developers] Re: Crash dumps - Market vs Homegrown

2010-06-24 Thread MobDev
afaik not ALL existing devices will get an update to Froyo, so yes I guess there is still use for ACRA ! On 24 jun, 12:08, Tomáš Hubálek tom.huba...@gmail.com wrote: Nathan, I belive that homegrown (eg. ACRA -http://code.google.com/p/acra/) is must untl Froyo and newer become majority. Correct

[android-developers] Re: Streaming audio AAC format

2010-06-24 Thread MobDev
Actually on this same group there have been several reports of the new 2.2 Mediaplayer being a step backwards, as in many good-running apps seem to break on Froyo... Btw, might I ask how you stream aac directly from an url ? On 23 jun, 04:51, kabson kabson.andr...@gmail.com wrote: Hello all,  

[android-developers] Re: got a problem to learn Android

2010-06-24 Thread MobDev
you can buy a book, and even though this might be wrongly interpreted as some kind of publicity I'd like to advise you to buy Mark Murphy's books. He has a beginners version and an advanced one, and in my opinion they are very very understandable (I have read some very techincal Android books as

[android-developers] Re: got a problem to learn Android

2010-06-24 Thread MobDev
(if it exists) full of ebook versions :P On 24 jun, 17:13, Mark Murphy mmur...@commonsware.com wrote: Thanks for the vote of confidence! On Thu, Jun 24, 2010 at 11:06 AM, MobDev developm...@mobilaria.com wrote: you can buy a  book, and even though this might be wrongly interpreted as some

[android-developers] Re: Android: Set selected icon in GridView

2010-06-23 Thread MobDev
Not sure about GridViews, I've used this for a ListView, but you might want to look if the setTag() and getTag() methods are available for the Gridview items, so yu can set (and get) a specific name/id/ description/whatever... On 22 jun, 21:40, HJ hjenner...@gmail.com wrote: I'm trying to find a

[android-developers] Re: Service unable to call Java Class Methods

2010-06-23 Thread MobDev
using IPC doesn't mean it's in a separate process -- it just means you could set it up that way and the communication  would still work. On Jun 22, 6:42 am, MobDev developm...@mobilaria.com wrote: Hi, I am using a Service to play some music. In the same project I have several Activity's

[android-developers] Re: Service unable to call Java Class Methods

2010-06-23 Thread MobDev
ok I have taken out the android:process=:remote tag in my service tag within the androidmanifest and now it calls the Logger just fine... On 23 jun, 14:15, MobDev developm...@mobilaria.com wrote: First, you debug a Service the same way you debug anything else. You set breakpoints

[android-developers] Service unable to call Java Class Methods

2010-06-22 Thread MobDev
Hi, I am using a Service to play some music. In the same project I have several Activity's but also some custom classes which are part of a framework, so nothing graphical. One of those (singleton) classes is a Logging class which send logs to my server. I noticed that even though I can call the

[android-developers] Re: Service unable to call Java Class Methods

2010-06-22 Thread MobDev
Actuall the LogCat doesn't show anything... It's not like I am getting any errors/exceptions... I have been using System.err.println in the Service, which print out just fine in Logcat... But, yes there is always a but :P, I don't want the service to write to the System.err but to my Logger

[android-developers] Re: Extremely Simple Question

2010-06-22 Thread MobDev
Guess you are using an ArrayAdapter ? Or did you impelment your own Filter ? If so don't forget to call notifyDataSetChanged()... Also it might simply be selecting the first element of your old list... On 21 jun, 08:29, HeyYouThere newsome...@gmail.com wrote: Here goes: I have a very simple

[android-developers] Re: Service unable to call Java Class Methods

2010-06-22 Thread MobDev
unfortunately using the complete path didn't make any difference at all :( Reflection, afaik, are handy if some method's/api's are missing and thus you can fall back on another implementation.. But I'm afraid in my case it would always fall back to the other implementation, thus never using my

[android-developers] Re: help on singleinstance launchmode

2010-06-21 Thread MobDev
Actually, to me it sounds it's behaving correctly... If Activity B is standard then it might be re-used, so it's not obliged to create a new Instance... Thats what happens in ur case, first time it get's created, then you go to activity A, then when you ask for Activity B the old activity B is

[android-developers] Re: help on singleinstance launchmode

2010-06-21 Thread MobDev
Btw, got this from documentation, concentrate on the last sentence : Every time there's new intent for a standard activity, a new instance of the class is created to respond to that intent. Each instance handles a single intent. Similarly, a new instance of a singleTop activity may also be created

[android-developers] Misplaced Layout after “home ”-button and/or powersave screen

2010-06-17 Thread MobDev
Hi, I have an app which also includes a service with a Notification. Right now I am experiencing the foillowing problem : * I start my app which will work fine * after couple of minutes the powersave kicks in and I get a black screen * I (or hte user) click the Menu-button to

[android-developers] Re: Static header in ListView

2010-06-14 Thread MobDev
Put the header outside the ListView. How do you even do that ? :D Thought the addHeaderView(v) method was specifically for the ListView ? I guess you are saying that another View should be used and placed within the same Layout where the ListView is in ? ASpecifically on top of it ? On 12 jun,

[android-developers] Re: Location distanceBetween()

2010-06-14 Thread MobDev
This obviously is all true, BUT why re-invent the wheel ? I mean if there is an implemented method which should offer that functionality the most logical thing is to use that one instead of writing your own methods.. Or did you guys also rewrote all other API's as well ? Why even supply ANY API's

[android-developers] How to intercept a Linkify web link ?

2010-05-28 Thread MobDev
Hi, I have a page with two web links on them, to make it possible for the user to click on and show the webpages those link to I used the Linkify class... It works like a charm, but I'd like to know when an user clicks on it, for statistical reasons... So is there any way I actually can intercept

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-05-21 Thread MobDev
so there is actually still no solution ? We have a new and modern platform which cannot stream mp3's or aac from the net ? Well I guess we didn't move that far from j2me at all, this is still a very frustrating MediaPlayer class... On 19 mei, 00:25, rooster 808 rich.al...@gmail.com wrote:

[android-developers] Re: I've found a way to stop piracy of my apps

2010-05-10 Thread MobDev
It took several days (almost a week) for crackers to decompile Screebl Pro and find a way to circumvent AAL. Typically it takes about 90 secs from the time that we publish to the market for the various warez sites to start tweeting the location of the download. I was wondering, after the first

[android-developers] Re: AsyncTask and progressUpdate()

2010-05-03 Thread MobDev
() method I will simply scrap the AsyncTask... Also get your ass to the netherlands for some training sessions ;) On 28 apr, 13:15, Mark Murphy mmur...@commonsware.com wrote: MobDev wrote: hhmm ok... So I guess it should be possible for example to make my own class extendingAsyncTaskand

[android-developers] Re: AsyncTask and progressUpdate()

2010-04-28 Thread MobDev
apr, 18:00, Mark Murphy mmur...@commonsware.com wrote: MobDev wrote: Hi, I am using an AsyncTask to start out a sequence of events to retrieve data from the net, parse this data and then write it to the Database... I have divided my code into several modules, one for networking operations

[android-developers] AsyncTask and progressUpdate()

2010-04-27 Thread MobDev
Hi, I am using an AsyncTask to start out a sequence of events to retrieve data from the net, parse this data and then write it to the Database... I have divided my code into several modules, one for networking operations (which is used for retrieving the data), one for xml- parsing, and one for DB

[android-developers] Re: Activity's Thread ID

2010-04-26 Thread MobDev
()' On Mar 22, 10:04 am, MobDev developm...@mobilaria.com wrote: Hi, I'd like to retrieve the Thread Priority of one or more Activity's... To do so I have found the Process.getThreadPriority() method, but as an argument you have to supply the Thread's ID... That's not that bad because

[android-developers] Re: Dynamic Flipping Screen(like that of iPhone) in Android

2010-04-20 Thread MobDev
Do you mean a screen transition Animation ? On 20 apr, 09:17, Maxood maqs...@salsoft.net wrote: How can i make a dynamic flipping screen(like that of iPhone) in Android I am parsing data through the web service. I want the flipping horizontally rather than vertically. Here is a tutorial

[android-developers] Re: wlan.ko and tiwlan.ini ?

2010-04-16 Thread MobDev
hhmm, isn't this kinda of topic-hijacking ? It's somewhat off-topic and even the subject of discussion has been changed completely... On 16 apr, 00:23, Emre A. Yavuz eayl...@hotmail.com wrote: Does anybody know where to find a good tutorial on wlan.ko module and tiwlan.ini configuration file ?

[android-developers] Re: Threads or ASyncTask?

2010-04-14 Thread MobDev
I am just making a wild guess here, and I hope more experience people will support or deny it (Mark, are you awake yet ? ;) ) but this might be a good scenario for a Service ? On 6 apr, 16:21, jfbaro jfb...@gmail.com wrote: Hi, I am working on a simple application (studying purposes) which

[android-developers] Re: My team is in urgent need of android developers

2010-04-14 Thread MobDev
Lead the development of at least 2 successfully shipped Android applications you know most Android apps are made by very very little companies (2-3 employees) or by one man companies ? Mostly because a big team, which needs a project-manager/leader, is too expensive in comparison to the

[android-developers] Re: How can I use VideoView to streaming without buffering?

2010-04-14 Thread MobDev
well most of the time buffering is just part of streaming... it's there so that a user will get a more seamless playback of the video/audio... The flipside is that it starts a little later because it has to buffer beforehand, and when it has enough data to play a specific amount of time seamlessly

[android-developers] Re: Web Apps for Dummies?

2010-04-14 Thread MobDev
well an option is just to create your standard webpage (taking into account it's for mobile devices, which possibly means changing design/ resolution), and just open up the browser inside your app... something like : WebView web = (WebView) findViewById(R.id.webView);

[android-developers] Re: Working with low 3G strength

2010-04-14 Thread MobDev
well you cannot improve a low strength signal I'm afraid... So I guess the general guideline would be to tell the user the signal is weak which might result in a less smooth user experience... On 10 apr, 04:36, antiTalented anirudh.ai...@gmail.com wrote: Hello, I am developing an app that is

[android-developers] Re: Android Phones

2010-04-13 Thread MobDev
Sure you can look out for a cheaper option, but you specifically asked for other places to buy a testing device outside of the market... So I guess the options would be to buy a second hand device, paying the going second hand price... If that is too much for you then I simply guess thats also

[android-developers] Re: Problem accessing Layer-List items

2010-04-13 Thread MobDev
hhmm, are you sure they are getting a layer-id if they are not specified as layers ? I have no experience in that but I see that those already have a R-id and you are trying to use that same id as a layer-id ? On 12 apr, 15:48, Alok Kulkarni kulsu...@gmail.com wrote: Hi guys I have a Style

[android-developers] Re: Progress Dialog Status Bar

2010-04-13 Thread MobDev
My idea would be to use asynctask... In tthis specific case you can do some lengthy task (for example in another Thread) and in the menatime show a progress bar... On 13 apr, 13:20, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi ,    - In my application i'm loading 40 images in background

[android-developers] Re: Huge UI

2010-04-13 Thread MobDev
hehe, thats one answer I should give to my boss when he comes with his n-th ingenious plan which implies years of work :P On 13 apr, 15:31, Mark Murphy mmur...@commonsware.com wrote: Ajay wrote: Thanks for a super quick reply!! I doubt if I could use a ListView because it has to scroll

[android-developers] Re: Android Phones

2010-04-12 Thread MobDev
Well depends on what you mean with in market... Are you referring to the ADP's ? Otherwise you might want to look for a second-hand device in your country ? Via ebay or something similar... On 12 apr, 11:35, Nubh nubh.bharg...@gmail.com wrote: hey how to buy a phone for testing applications,

[android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-12 Thread MobDev
Thought you actually could according to this article I read couple of weeks ago : http://www.ibm.com/developerworks/opensource/library/x-android/index.html#N1029E Says you can use the XmlSerializer object for that ? On 12 apr, 14:34, Mark Murphy mmur...@commonsware.com wrote: Anthoni wrote:

[android-developers] Re: Database insertion timings

2010-04-12 Thread MobDev
do you have some code specifically showing the sequence and the syntax ? AAfaik a transaction SHOULD make it faster accroding to this documentation : http://web.utk.edu/~jplyon/sqlite/SQLite_optimization_FAQ.html#transactions On 12 apr, 12:32, Alok Kulkarni kulsu...@gmail.com wrote: I have

[android-developers] Re: Database insertion timings

2010-04-12 Thread MobDev
---     public void open() throws SQLException {         db = DBHelper.getWritableDatabase();     } On Mon, Apr 12, 2010 at 6:20 PM, MobDev developm...@mobilaria.com wrote: do you have some code specifically showing the sequence and the syntax ? AAfaik a transaction SHOULD make it faster accroding

[android-developers] Re: Database insertion timings

2010-04-12 Thread MobDev
= 0 i 3000 ; i++)    addArtistDB(); for(i = 0 i 2000 ; i++)    addSongDB(); try {             db.setTransactionSuccessful();         } finally {             db.endTransaction();         } On Mon, Apr 12, 2010 at 7:18 PM, MobDev developm...@mobilaria.com wrote: I don't see

[android-developers] Re: Flashing the android device

2010-04-07 Thread MobDev
HTC got a page for developers on which they also have some versions of the Android OS... On that same page a whole procedure is explained regarding the flashing of those Android OS versions... It might be helpfull in your case ? For example : http://developer.htc.com/google-io-device.html On 6

[android-developers] Retrieving OS Version

2010-04-06 Thread MobDev
Hi, I am trying to retrieve the Android OS Version (like 1.5 or 1.6 or 2.1) and I am using this code : TelephonyManager mTelephonyMgr = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); String softwareVer = mTelephonyMgr.getDeviceSoftwareVersion(); When I try this on a ADP2 (Google Ion

[android-developers] Re: Retrieving OS Version

2010-04-06 Thread MobDev
Thanks, that did the job beautifully !!! This one should be added to the FAQ or something like that :D On 6 apr, 13:59, Lance Nanek lna...@gmail.com wrote: http://developer.android.com/reference/android/os/Build.VERSION.html On Apr 6, 5:35 am, MobDev developm...@mobilaria.com wrote: Hi, I

[android-developers] http POST message

2010-03-29 Thread MobDev
Hi. I ahve been trying to send a http POST message towards my server, I have been using this code : HttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost(sUrl); // Add your data ListNameValuePair nameValuePairs = new ArrayListNameValuePair(1); String userAgent =

[android-developers] MP3 Audio Tag in MediaPlayer

2010-03-26 Thread MobDev
Hi there, I was wodnerign if there is any way to retrieve an MP3 tag through the MediaPlayer, just like in J2ME ? Or if there is some kind of other Interface or class for that ? Thanks in advance ! -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Displaying a PDF file in android application

2010-03-24 Thread MobDev
Well obviously not all J2SE functionality (and thus libraries) are compatible... You could have a look in the Reference (http://developer.android.com/ intl/fr/reference/packages.html) which of those classes (the one you were mentioning like JPanel tec) are available.. If those aren't then I'd

[android-developers] Activity's Thread ID

2010-03-22 Thread MobDev
Hi, I'd like to retrieve the Thread Priority of one or more Activity's... To do so I have found the Process.getThreadPriority() method, but as an argument you have to supply the Thread's ID... That's not that bad because in the end I also needed to have that, only I can't seem to find a method for

[android-developers] Re: Help regarding Logging

2010-03-18 Thread MobDev
incorporating it into my app now. I have not launched my app yet but I seems like what we need. It's has capabilities to report exceptions and events in your app that you want to track among other things. -Chris On Tue, Mar 16, 2010 at 7:07 AM, MobDev developm...@mobilaria.com wrote: Hi

[android-developers] Re: I don't HATE apple, but I found these interesting things yesterday, poor iphone developers.

2010-03-17 Thread MobDev
hehe, another music app developer here, with no decent streaming app possibilities :( It's nice to have a MediaPlayer which streams MP3, but thats way way too limited.. I want it to be compatible with AAC to begin with (because of the bandwidth), and I definitely would want more control (and maybe

[android-developers] Help regarding Logging

2010-03-16 Thread MobDev
Hi, for my application I would like to be able to incorporate some good Logging capabilities... I would also like to use the networiking capabilitites for two purposes : - first I should be able to send a Logging Level from my server to my client (Android app)... So the Logging Level should be

[android-developers] Re: Which Android device is best, cheapest for 2.1?

2010-03-15 Thread MobDev
Well if you are guessing it might be a complete rewrite you might want to try the emulator first ? Just make your software and test it thorough the several emulator- configurations ? That might save you money (and time, you can get ahead right away) at the beginning and it might buy you a couple

[android-developers] Re: New Android SDK Tools, Eclipse plug-in and NDK

2010-03-10 Thread MobDev
hhmm, any idea if there will be some low level support through NDK for MediaPlayer or any more direct about audio-buffers and codecs ? Anyways, good work ! It's good to see there is still a good amount of progression ! On 9 mrt, 03:17, Mario Zechner badlogicga...@gmail.com wrote: Awesome! OpenGL

[android-developers] Android Library

2010-03-03 Thread MobDev
Hi, I'd like to create a own Android Library, as in a JAR file with specific functionality which I can later re-use in future projects... This Library will also include basic Archtiecture components... Now I was wondering what type of Project should I be using for this in Eclipse ? Should it be a

[android-developers] Re: Piracy, almost 50% of my new users - Seriously Google?

2010-03-02 Thread MobDev
I was just curious, for those 29 who asked a refund will hou just refund the app-price or will you refund 4 GBP per single app ? Thanks in advance On 28 feb, 10:26, Al Sutton a...@funkyandroid.com wrote: We put Purchase Checking in at AndAppStore for exactly this kind of reason

[android-developers] Retrieve Log

2010-02-25 Thread MobDev
Hi, I am logging within my app through Log.d() calls, now I was wondering though : - if there is a Log (as in a file) being created whilst using these calls ? - if there is a way, and if so how, to retrieve this File/information so that I could (for example) send it to my server ? Thanks in

[android-developers] Re: Singleton Service ???

2010-02-23 Thread MobDev
actually I had a question regarding this... I made a service which plays an MP3, so it uses a single instance (in the whole service) of MediaPlayer.. Still I noticed (by mistake because the Service didn't get closed while exiting my main Activity) that the Service obviously kept running, but when

[android-developers] Re: Singleton Service ???

2010-02-23 Thread MobDev
entities that do exactly the same... On 23 feb, 11:44, MobDev developm...@mobilaria.com wrote: actually I had a question regarding this... I made a service which plays an MP3, so it uses a single instance (in the whole service) of MediaPlayer.. Still I noticed (by mistake because the Service didn't

[android-developers] Menu throughout Application

2010-02-16 Thread MobDev
Hi, I have implemented a Menu within an Activity, but I'd like this Menu to exist throughout my whole application... How can thsi be achieved ? Should I be placing the public boolean onCreateOptionsMenu(Menu menu) method within every single Activity or is there some way to share the menu ?

[android-developers] Images are unsharp/blurry

2010-02-11 Thread MobDev
Hi, I have been developing on a ADP2 (Google Ion) with a standard screen size (with a resolution of 320x480)... Our designer made some pretty neat Images with which to create the GUI, and when placing everything within the layout XML files it looks pretty good... That is, on the Eclipse renderer,

[android-developers] Re: Images are unsharp/blurry

2010-02-11 Thread MobDev
oki I soved this myself :P Had to place my images and resources under the drawable-mdpi folder... when I created the project for some reason the IDE itself created and placed nearly everything under the drawable-hdpi folder... On 11 feb, 10:16, MobDev developm...@mobilaria.com wrote: Hi, I have

[android-developers] passing values from Activity to Activity

2010-02-11 Thread MobDev
Hi, I have an app which makes use of several layout-views...Every layout- view also got a class for it, which extend the Activity class... One class for example retrieves some database values whilst offering a search form to the user... Afterwards the user can select one of those values and he

[android-developers] Re: passing values from Activity to Activity

2010-02-11 Thread MobDev
Call getStringArrayExtra() on the Intent in the receiving Activity to get it back. I have no Intent in the receiving Activity ? Or is that the Bundle which comes with public void onCreate(Bundle savedInstanceState) ? On 11 feb, 13:46, Mark Murphy mmur...@commonsware.com wrote: Anyways, I'd

[android-developers] Re: passing values from Activity to Activity

2010-02-11 Thread MobDev
aha ! look at that ! thanks a lot for the answer it helped me out :D I have to say that It's all pretty confusing, you got your Java class, your XML layout, your activity, your Intent, your Context, your bundles etc... Inter-object communication isn't very easy (or at least not as transparant as

[android-developers] Singleton Service ???

2010-02-11 Thread MobDev
Hi, I'd like to know if it's possible to create a Singelton Service throughout an application ? Let's say I'd like to cerate a Service to play some mp3... I'd like it to be a Singleton, we don't want two mp3 tracks playing through each other (well maybe some would want that, but in my case I'm

[android-developers] Re: Singleton Service ???

2010-02-11 Thread MobDev
well, thats a good thing especially in my situation :D Now my next most prioritized question, can I communicate with a Service ? Are there some kind of interfaces for that ? Btw, you are a fast responder Mark ;) Thanks for your interest and time :D On 11 feb, 17:11, Mark Murphy

[android-developers] Re: Help Needed With Some Layout - UI Problems

2010-02-09 Thread MobDev
:38, TreKing treking...@gmail.com wrote: On Mon, Feb 8, 2010 at 8:56 AM, MobDev developm...@mobilaria.com wrote: A vertical LinearLayout, which contains first a TableLayout with just one TableRow What's the point of having a TableLayout with just one row? Why not just use a horizontal

[android-developers] Involuntary Scrolling, help !

2010-02-09 Thread MobDev
Hi, I have created a somewhat complex RelativeLayout, in which I also have specified it's width and height as fill_parent.. Now I noticed that even though all my extra widgets within this Layout won't get bigger than the height of my test-device (480px) the whole Layout will scroll somewhat to the

[android-developers] Question regarding Threads and Services

2010-02-09 Thread MobDev
Hi, I'd like to create some sort of Thread which can be accessed by my main program.. Specifically I'd like two classes, both with their own thread, one for parsing XML data and one for doing database operations, without actually interfering with the main UI-thread (slowdowns for example)... I was

[android-developers] Re: Question regarding Threads and Services

2010-02-09 Thread MobDev
Hi Mark, first of all thanks for your answer :D I come from a J2ME background in which I had the same problem, i.e I need to have a always-existent database interface and a always- existent xml-parser which (in J2ME) I placed in a singleton Thread, so that they could be paused when needed and they

[android-developers] Sending some data when requesting XML

2010-02-09 Thread MobDev
Hi, I have been using this code to parse some XML data from a specific server : URL url = new URL(http://myserver.com/someXMLScript;); URLConnection conn = url.openConnection(); InputStream is = conn.getInputStream(); Xml.parse(is, Xml.Encoding.ISO_8859_1, new

[android-developers] Re: Sending some data when requesting XML

2010-02-09 Thread MobDev
hhmm oke, I was hoping in something more POST-like instead of GET-like :D Is that possible ? On 9 feb, 17:22, Frank Weiss fewe...@gmail.com wrote: Simple. Add query parameter to the URL. Example:http://myserver.com/someXMLScript?IME=A7G -- You received this message because you are subscribed

[android-developers] Re: Question regarding Threads and Services

2010-02-09 Thread MobDev
owh mostly for being more memory efficient ? :D I have tried with the AsyncTask, which seemed like a great option for me (especially being able to do an updateProgress) but unfortunately my situation is somewhat more complex :( In my situation I have a main class (with the main UI Thread

[android-developers] Re: Sending some data when requesting XML

2010-02-09 Thread MobDev
well maybe out of security reasons ? mostly because of the fact that the used server already reads out POST requests instead of GET... hhmm, I guess that with httpClient I cannot use the uber-simple code I am using at the moment :P for parsing that is :D On 9 feb, 17:45, Frank Weiss

  1   2   >