[android-developers] android.support.v4.view.BetterViewPager

2016-12-26 Thread hans
I found the class BetterViewPager (under the support library) by coincidence when Android Studio prompts the class when I was about to use ViewPager in my XML. I'm looking for API documentation of the class, or perhaps other fellow developers can direct me to relevant resources that explain

[android-developers] Reward player with Google Play Credit

2016-09-20 Thread Hans Jacobs
Hi, I'm developing a game where it's a kind of a contest. I want to give the winner a part of the in-app purchases for that period. Is there some sort of way to reward Google Play Credit, like the Google Opinion Rewards app? Thanks in advance! -- You received this message because you are

[android-developers] How to remove class file editor in the debug perspective in eclipse indigo

2013-04-16 Thread karan hans
Hi, Could you please have a look at http://stackoverflow.com/questions/16033382/how-to-remove-class-file-editor-in-the-debug-perspective-in-eclipse-indigo -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Polytonic (Ancient) Greek / System Fonts / Diacritics

2013-01-07 Thread Hans A. Hack
Hello, I hope that this is the correct place to ask for help, respectively i am asking for ideas regarding the developement of an app to solve following severe problem: The standard system font of Android does not support Polytonic Greek / Diacritics. As far as i understand the problem this

[android-developers] Re: Localized Images in Google Play

2012-11-02 Thread Hans Maulwurf
Hmm, if noone knows whether this is possible I'll have to assume that it isn't posible at all... -- 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

[android-developers] Localized Images in Google Play

2012-10-22 Thread Hans Maulwurf
Is it possible to have localized images for an App in Google Play? I need to have a different Icon for Japan and this should be reflected by the icons displayed in Google Play. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Phonegap Email Problem - Android 4.0 ICS Bug

2012-10-17 Thread Wayne Hans
I apologize in advance if this has been asked before, but I absolutely cannot find a solution. I have a simple Android app (using HTML/Javascript and phonegap) which offers an email option that sends data from the app via mailto (with parameters) and window.open. This worked fine until my

[android-developers] camera doesnt work

2012-06-24 Thread karan hans
hi, when i try to open the camera in the emulator( api level 4,7,8,15). it worked once when i started working with eclipse. actually iam using a face detection app for which the camera is necessary please help regards Karan -- You received this message because you are subscribed to the

[android-developers] Re: camera doesnt work

2012-06-24 Thread karan hans
the camera on top of my laptop screen/lid blinks with a blue light.however sometimes it doesnt. but in any case the camera view doesnt open up in emulator. i wonder what the problem could be. On Sunday, June 24, 2012 3:35:27 PM UTC+5:30, karan hans wrote: hi, when i try to open the camera

[android-developers] Re: camera doesnt work

2012-06-24 Thread karan hans
otherwise the camera works fine with skype On Sunday, June 24, 2012 4:28:33 PM UTC+5:30, karan hans wrote: actually iam working on windows 7 based system. i dont have an android device. so like if and when i start the avd and click on the camera button it just gives me a chequered background

[android-developers] Connecting to USB-Serial Converter in Android

2012-05-30 Thread Hans Paul
I am attempting to connect to a serial device from a Android tablet, via USB-Serial Converter. In order to interface with this particular serial device, a linux library must be used as an interface. This library takes an integer as an argument, and tries to connect to the device at the

Re: [android-developers] ViewPager

2012-05-03 Thread Hans
Thank you. I try onTouch() and se if it helps me. /Hans Den onsdagen den 2:e maj 2012 kl. 21:10:50 UTC+2 skrev JTeagle: I want to disable swype to next page in a ViewPager when som itemes are uncecked on current page. when all items are checked i want to enable swyping. But still it shold

[android-developers] ViewPager

2012-05-02 Thread Hans
I want to disable swype to next page in a ViewPager when som itemes are uncecked on current page. when all items are checked i want to enable swyping. But still it shold be posible to swype to previus. How am i doning that? -- You received this message because you are subscribed to the

[android-developers] samuel could we get facepreview20120218.zip

2012-04-26 Thread karan hans
-- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] eclipse can't connect the debugger

2012-04-03 Thread karan hans
hi, iam a newbie so please help me out. I'am running the eclipse in debuggable mode. i have entered the debuggable mode in AndroidManifest.xml as true. However eclipse hangs while running in debuggable mode. i get the following message in the console window. [2012-04-03 15:10:43 -

[android-developers] how to use older adb to install .apk

2012-03-19 Thread karan hans
hi , iam trying to use facepreview-20120218.apk to run on the android emulator. ive had some success uninstalling and installing the app. however the installed app uses the 4.0.3 version of api while i need 2.2.how should i work it out.i couldnt get anything on google. i used the following cmd

Re: [android-developers] how to use older adb to install .apk

2012-03-19 Thread karan hans
infact the app runs on 2.2 he has already said that you should use 2.2 On Monday, March 19, 2012 3:43:20 PM UTC+5:30, Mark Murphy (a Commons Guy) wrote: Ask the developer of the APK to add support for Android 2.2. On Mon, Mar 19, 2012 at 6:03 AM, karan hans karanh...@gmail.com wrote: hi

Re: [android-developers] facepreview20120218.apk does not install with adb

2012-03-18 Thread karan hans
, March 17, 2012 9:23:24 PM UTC+5:30, Kostya Vasilyev wrote: adb install -r filename 17.03.2012 19:50 пользователь Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu написал: Am 17.03.12 16:41, schrieb karan hans: Failure [INSTALL_FAILED_ALREADY_EXISTS

[android-developers] facepreview20120218.apk does not install with adb

2012-03-17 Thread karan hans
C:\Program Files (x86)\Android\android-sdk\platform-toolsadb install faceprevie w-20120218.apk 75 KB/s (3814528 bytes in 49.143s) pkg: /data/local/tmp/facepreview-20120218.apk Failure [INSTALL_FAILED_ALREADY_EXISTS] the author of this app was able to run it on his comp. his eaact words

[android-developers] Re: facepreview20120218.apk does not install with adb

2012-03-17 Thread karan hans
also i dont have an android device and am trying to run the application on emulator On Saturday, March 17, 2012 9:11:56 PM UTC+5:30, karan hans wrote: C:\Program Files (x86)\Android\android-sdk\platform-toolsadb install faceprevie w-20120218.apk 75 KB/s (3814528 bytes in 49.143s

[android-developers] Re: facepreview20120218.apk does not install with adb

2012-03-17 Thread karan hans
[INSTALL_PARSE_FAILED_NO_CERTIFICATES] what is this signed unsigned business On Saturday, March 17, 2012 9:11:56 PM UTC+5:30, karan hans wrote: C:\Program Files (x86)\Android\android-sdk\platform-toolsadb install faceprevie w-20120218.apk 75 KB/s (3814528 bytes in 49.143s) pkg: /data/local/tmp

[android-developers] sample android app doesnt run in eclipse

2012-01-08 Thread karan hans
I'am trying to run a sample app snake the log is as follows [2012-01-08 21:18:08 - Snake] -- [2012-01-08 21:18:08 - Snake] Android Launch! [2012-01-08 21:18:08 - Snake] adb is running normally. [2012-01-08 21:18:08 - Snake] Performing com.example.android.snake.Snake

[android-developers] sample android app wont run on eclipse

2012-01-08 Thread karan hans
wheb i run helloworld app this is what i get [2012-01-08 17:06:11 - HelloWorld] -- [2012-01-08 17:06:11 - HelloWorld] Android Launch! [2012-01-08 17:06:11 - HelloWorld] adb is running normally. [2012-01-08 17:06:11 - HelloWorld] Performing

[android-developers] Start an intent from google calender, or third part calender

2011-10-27 Thread Hans
to lunch your own intent. Or is it possible on som other way. thanks for reply /Hans -- 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

[android-developers] Is there guide-line to use TCP port.

2011-08-31 Thread hans
Hi. I know some TCP Ports are already registered.(i.e. 8080) I need to develope a application using static port not variable port. What port of number would be appropriate ? Is there a rule in order to use port? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Clarification on orientation angles (azimuth, pitch, roll)?

2011-07-14 Thread Hans Müller
Hi, I think need some clarification on these orientation angles. Say my android phone is lying flat on the table, with the top pointing exactly to magnetic north, which, as far as I have understood, corresponds to 0 degrees azimuth (clockwise rotation round Z axis pointing out of the screen), 0

[android-developers] Re: Is it impossible to move and merge text on an image

2011-05-06 Thread Hans-Erik
...@gmail.com wrote: On Thu, May 5, 2011 at 1:09 PM, Hans-Erik erikswed...@gmail.com wrote: Help is needed! With which part? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago

[android-developers] Re: Is it impossible to move and merge text on an image

2011-05-06 Thread Hans-Erik
i have not startet doing this so any ide is helpfull was thinking i could write text on the bitmap and then track x/y when using finger to move the text to new x/y you have better ide? On 6 Maj, 02:42, TreKing treking...@gmail.com wrote: On Thu, May 5, 2011 at 1:09 PM, Hans-Erik erikswed

[android-developers] Re: Is it impossible to move and merge text on an image

2011-05-06 Thread Hans-Erik
I forgot to say i need to save the image with the added text, like merge into a new image. I guess that complicates things. Im investigating and can see that the Canvas class has the drawText method. drawText will write the text solid on the image. So i guess using Canvas is the way to go.

[android-developers] Re: Is it impossible to move and merge text on an image

2011-05-06 Thread Hans-Erik
Well, simply do the saving when the user is finished moving the text or using the feature compose the image. The bitmap canvas supports basic things like drawing text. This doesn't complicate things. yea you right i think, after playing around with this sample for 30 min

[android-developers] Is it impossible to move and merge text on an image

2011-05-05 Thread Hans-Erik
hi all. This seem really hard to do since i cannot find any information about it - Open a jpg in full screen. - Type text on the jpg. - able to move that text where i want it positioned on the jpg. - moving of text must be done with a finger (not in code). Help is needed! -- You received this

[android-developers] How do i multi select images in the Gallery and send there URL to my activity?

2010-12-22 Thread Hans-Erik
hi In the gallery I have added my Item to the share menu. But i can only get one image and making my Activity start. This code give me the URL for one image. Is it possible to set up the Gallery or the share menu so that user can select one or many pictures? if (Intent.ACTION_SEND.equals(action))

[android-developers] How do i multi select images in the Gallery and send there URL to my activity?

2010-12-22 Thread Hans-Erik
hi In the gallery I have added my Item to the share menu. But i can only get one image and making my Activity start. This code give me the URL for one image. Is it possible to set up the Gallery or the share menu so that user can select one or many pictures? if (Intent.ACTION_SEND.equals(action))

[android-developers] Re: How do i multi select images in the Gallery and send there URL to my activity?

2010-12-22 Thread Hans-Erik
On 22 Dec, 20:17, Mark Murphy mmur...@commonsware.com wrote: ACTION_SEND only supports sending one item. Thanks for your reply Do you know any other way to do this? My Activity is dormant and awaken by the user selecting images. There has to be another way to do this right? -- You received

[android-developers] Re: How do i multi select images in the Gallery and send there URL to my activity?

2010-12-22 Thread Hans-Erik
On 22 Dec, 20:48, bruce palant...@gmail.com wrote: What you want is ACTION_SEND_MULTIPLE. You will receive a set of Uris. Thanks Bruce! Coming from Java, Any book you can recommend learning android infrastructure? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Service or no service

2010-12-18 Thread Hans-Erik
That's quite interesting thanks TreKing. That is one approach but dont think it will work for me. On scenario is if 200 phones connect to my server wanting to send one jpg to another phone. 200 messages would go out trough google notifying all phones there is jpg package for them. Google has

[android-developers] Re: Service or no service

2010-12-18 Thread Hans-Erik
I guess if you have a significantly large user base, but I'm assuming that's not the case, or is it? Im planing ahead, trying to learn what it takes to make and app like that Is some lagging or some delay in the delivery of these messages completely unacceptable? yes im playing with the

[android-developers] Service or no service

2010-12-16 Thread Hans-Erik
after reading the article http://www.androidguys.com/2009/09/09/diamonds-are-forever-services-are-not/ I want to ask about creating an Android app that need to run always! The app is an ftp server listening for my PC client to send pictures. The sending can occur anytime so the Android server

[android-developers] Re: Process and application lifecycles

2010-03-16 Thread hans
The first paragraph of http://developer.android.com/guide/topics/fundamentals.html#procthread indicates that anytime the FIRST component (activity, contentprovider, service, bcastrcvr) needs to run, a new Linux process is created for the app. If the process is killed, then the components have no

Re: [android-developers] error while compiling droid pdf...

2010-03-01 Thread Hans-Werner Hilse
Hi, I would suggest discussing this matter further in the relevant mailing list here: http://groups.google.com/group/droidreader-developer-list Please re-post there, here's just a short hint: Try rectifiing the jpeg/ subdirectory by unpacking a fresh, *new* version of libjpeg, i.e. jpegsr8.zip.

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2009-10-30 Thread Hans
Adding sdkman.force.http=true to ~/.android/androidtool.cfg allowed me to retrieve the Sites, Packages, and Archives via the Android SDK and AVD Manager. However, when I select, for example, SDK Platform Android 2.0, API 5, revision 1, and click Install Selected (button), nothing happens. I am

[android-developers] Re: Extracting files from APK

2009-08-05 Thread Hans A
That did the trick. Thanks a lot. Hans --~--~-~--~~~---~--~~ 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

[android-developers] Extracting files from APK

2009-08-04 Thread Hans A
files. Could someone please tell me which options I would have to use to do it? Thanks Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-21 Thread Hans
to this group? Thanks, Hans :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] In case anyone wants to launch sync settings activity...

2009-04-21 Thread Hans
You need to specify the target package/class for the intent as it doesn't appear to be registered for it explicitly (probably a reason for that.) Intent l_oIntent = new Intent(); l_oIntent.setAction( android.settings.SYNC_SETTINGS ); l_oIntent.setClassName( com.android.settings,

[android-developers] android.provider.Sync - is this off limits?

2009-04-20 Thread Hans
to be able to turn auto-sync off from code? There's no system setting for it. Thanks, Hans :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
auto-sync (much less the granularity that would actually be nice.) Is this intentional by the framework team? Is it a whoopsie that is planned to be changed later? Thanks, Hans :) --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
looking through the source, you can disable sync by setting 3 nulls to 'active' in a specific database; however, there surely must be a 'proper' way to enable/ disable auto-sync yes/no/not-yet? Thanks, Hans --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
/cycles) to launch an activity to persist one simple setting? Thanks, Hans :) --~--~-~--~~~---~--~~ 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

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
(data roaming for example.) Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
applications (per Mr. Guy's email). Hence, today, launching the built-in activity may be the only available option. If you would like thosepropertiesto be read-write to SDK applications (perhaps governed by a permission), post an issue tohttp://b.android.com Thanks for the link Mark :). Hans

[android-developers] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
technically dangerous to begin with...? Hans --~--~-~--~~~---~--~~ 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

[android-developers] A simple question about a particular intent...

2009-04-19 Thread Hans
state information, so how do I know what it is that has changed? Thanks, Hans --~--~-~--~~~---~--~~ 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

[android-developers] Re: Sorry if I've missed this somewhere, but what is the default thread stack size in Android...

2009-04-14 Thread Hans
Is this unanswered because nobody knows or because it's available somewhere obvious and I've somehow missed it? Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Sorry if I've missed this somewhere, but what is the default thread stack size in Android...

2009-04-14 Thread Hans
I have found some extraneous information that suggests that 8kb is the default thread stack size. Is that still the case? Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Sorry if I've missed this somewhere, but what is the default thread stack size in Android...

2009-04-13 Thread Hans
...on the emulator and the G1? I presume, at least for now, they're the same. Thanks, Hans :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Activity with no UI

2009-03-28 Thread Hans
vanishes and the old one comes back. This isn't the end of the world, but it would be nice to have no UI at all. Thanks, Hans :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Activity with no UI

2009-03-28 Thread Hans
On Mar 28, 6:14 pm, Pd lotusscr...@gmail.com wrote: Use a service http://developer.android.com/reference/android/app/Service.html Pd. ...want to handle something launched by an ActivityChooser ... Hans ;) --~--~-~--~~~---~--~~ You received

[android-developers] Photo Viewer Share menu -

2009-03-27 Thread Hans
for solving this? Thanks, Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] Re: When the system launches a ResolverActivity or ChooserActivity it doesn't present...

2009-03-19 Thread Hans
/no? So, to sum up, unless an intent is sent via broadcast, a running service has no approach to receive intents other than from binds and starts/stops, correct? Thanks, Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: When the system launches a ResolverActivity or ChooserActivity it doesn't present...

2009-03-19 Thread Hans
On Mar 19, 1:08 pm, Dianne Hackborn hack...@android.com wrote: On Thu, Mar 19, 2009 at 7:33 AM, Hans hkess...@gmail.com wrote: Services are just completely different from receivers, which are different from activities.  They don't receive any broadcasts at all. They certainly do when

[android-developers] When the system launches a ResolverActivity or ChooserActivity it doesn't present...

2009-03-18 Thread Hans
, the service won't show up in that chooser will it? I presume that only activities would show up, but I can't check just now. Thanks, Hans :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: When the system launches a ResolverActivity or ChooserActivity it doesn't present...

2009-03-18 Thread Hans
that services will tend to only get 'sticky' broadcast intents, intents intended explicitly for them from a given activity or service, and the occasional intent that isn't handle by any activity currently registered for it? Hans --~--~-~--~~~---~--~~ You received

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-16 Thread Hans
and/or OpenSUSE 10.3. Hans :) --~--~-~--~~~---~--~~ 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

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-16 Thread Hans
://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=tree Hans :) --~--~-~--~~~---~--~~ 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

[android-developers] class com.android.camera.UploadService does not exist?

2009-03-15 Thread Hans
;)... Anyone successfully built the full (not commented out here and there) Camera application? Tips appreciated. Thanks :) Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-15 Thread Hans
? I'm just looking for what my requirements would be in order to build the Camera application if truly necessary. Thanks, Hans Appreciated - Hans On Mar 15, 10:58 am, Jean-Baptiste Queru j...@android.com wrote: I haven't looked in detail, but this looks like yet another case

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-15 Thread Hans
be simple - just build Camera.apk without any changes... I've googled on this a bunch but found nothing but vagaries that make it sound like no ones actually doing this right now. Thanks, Hans On Mar 15, 11:40 am, Jean-Baptiste Queru j...@android.com wrote: Oh, I see. The real problem

[android-developers] What emulator version are people using for photo/camera testing?

2009-02-24 Thread Hans
. Is this a known issue, sort of a well, if you're really going to work with pictures, you should be using a G1 anyhow... kind of thing? Thanks, Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: What emulator version are people using for photo/camera testing?

2009-02-24 Thread Hans
LOL - Problem resolved with 1.1 r1. Pictures still do a weird preview immediately after taking the picture and saving, but when you go to the photos viewer, lo and behold there's a big picture of LUMBERGH! Lol... Ahhh Google, that was 'vintage'... :)

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
You should only need the AIDL file to reside in the TestService's folder because the IDL compiler will find it there. Again, make sure you have your build path setup properly for Service Monitor. Iirc, I tested this on a laptop I'd not used for anything and it built for me straight away when I

[android-developers] Dumb question about SMS - what port does a normal text SMS come in...

2009-02-14 Thread Hans
to just carry the PDU data (so I can get the phone number, but not what port it came in on.) Thanks, Hans :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
I'm not trying to be argumentative for the sake of being argumentative Dianne, but if that was the case, how could the IPC calls to the remote process be resolved if they are only declared in the manifest for the service project which is in a different *.apk? This would mean that android was

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
Android framework engineer hack...@android.com Apologies, just for my first two tests :). Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
Crud Suni - I accidentally left an error call (from when I was testing out the weirdness of service creation the 'wrong' way) in the StartService method in the Service Monitor class... Right below the comment //Attempt to start the service there's a call: startService( new Intent( this,

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Hans
Fixed and re-uploaded in case anyone else uses 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

[android-developers] Re: Dumb question about SMS - what port does a normal text SMS come in...

2009-02-14 Thread Hans
So default text based SMS traffic does not travel over IP, but SMS traffic can travel over IP? --~--~-~--~~~---~--~~ 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] TextView scrolling (in case anyone finds this useful)

2009-02-13 Thread Hans
This is rough and quick, but after a couple of minutes looking aroudn I didn't find anything about asking Google to auto-scroll my TextView (I'm sure there are several ways to do this), so I used this for now. public void AdjustScroll( TextView in_oTextView ) { /*

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-13 Thread Hans
Sunil, I'll zip up my test projects (a client in its own package and *.apk and a remote service it its own package, and *.apk, exposing 2 interfaces and using callbacks into the client), I'll post the URL here when I've done it. Hope it helps :).

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-13 Thread Hans
pretty much it. The ServiceMonitor project imports from the TestService in order to use the interfaces, and the TestService project manifest specifies a global service reference name of TEST_SERVICE and also denotes that the service runs in its own process. Hope this helps :). Hans

[android-developers] How to specify the port when programmatically listening for SMS messages?

2009-02-13 Thread Hans
that to a programmatically created IntentFilter (I presume you can)? Also, I am interested in reading the message (as part of a control scheme), will this trigger some sort of notification to the user to decide who/what gets to handle the SMS? Thanks, Hans

[android-developers] Re: Presumably there's no method to apply permissions to your code during runtime, correct?

2009-02-13 Thread Hans
requirements have changed, but again, that puts the onus on the person using your code when I'd rather do the work for them.) Hans :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
Hi everyone, I'm an experienced C++/Java dev who has been truly enjoying that past two days of getting neck deep into the Android SDK. I can foresee a lot of sleepless nights ahead :). Now, being arrogant due to experience (lol) I basically wrote a hello world Activity, got it to work and

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
When I built my client/service code I had two projects, one for the client (the Activity) and a different project for my Service. Now, I spent about 3 hours struggling until I realized that for some reason (probably because I was using an out of process service) I needed to not only declare my

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
I'm sorry for not understanding, but it sounds like you're describing how to get thread pool requests executed in the main thread, but that's not the problem I'm describing (unless I've described it poorly [if so, sorry...]) My problem is that as client Activities pass my service their callback

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
I will try that, thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
It didn't work. I commented out the service declaration in my Activity's manifest: service android:name=com.android.TestService.TestService/ And modified my service's manifest to include 'exported' like this: ?xml version=1.0 encoding=utf-8? manifest

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
for service com.android.servicemonitor/com.android.TestService.TestService: pid=621 uid=10018 gids={} So it would seem that com.android.servicemonitor/ com.android.TestService.TestService is perfectly fine. Hans --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
, in the sample, the clients use this 'name' for the service to start/bind to it. I use the class name as is used in other service examples. I wonder if, because the service is remote, it makes a difference using a specified name... Hans

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
It turns out that you can avoid using the service reference in your client manifest if you declare what I presume is a global name in your service's manifest and simply refer to this name in your client code. This is what I added to my service's manifest: action

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
for the pointers Dianne :). Hans :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
for the API samples and add a service/ entry for RemoteService in the sections of the manifest for the remote binding/controlling activities. Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
TestService.class? TestService.class resolves directly to com.android.TestService.TestService anyhow. Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] how to emulate sim card in emulate tools

2008-12-30 Thread hans
Hi, I need help, how to emulate sim card in emulate tools? could anybody tell me the steps about to config it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: How can I launch the default Contact Application provided in SDK with my app

2008-11-09 Thread Hans
Thanks for your help. I am not sure... therefore is it possible to just launch contacts app and use its functionality from a personal application? Is this issue solved? and if yes would anyone help please. Thanks On Nov 5, 12:58 pm, Abraham [EMAIL PROTECTED] wrote: To select a particular

[android-developers] HTTP POST-Reply sample working on SDK 0.9

2008-10-12 Thread Hans
Hi, anyone has an HTTP POST-Reply sample working on SDK 0.9 available please? Any help is greatly appreciated. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Web service using XML-RPC working on Android SDK 0.9

2008-10-04 Thread Hans
Anyone out there ready to share some sample project which features a web service using XML-RPC working on SDK 0.9. I managed to get hold of some other samples but unfortunately these do not work successfully in SDK 0.9. Any help as with regards to web services on android would be greatly