[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 imp

[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 subsc

[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 emai

[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 is

[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 t

[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 thi

[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 user

[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

[android-developers] Re: camera doesnt work

2012-06-24 Thread karan hans
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

[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 Goog

[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 following

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 > >swy

[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 Google

[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 th

[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 - Droid1]

[android-developers] eclipse 1.4.1 issues

2012-04-02 Thread karan hans
1. when i enter the text in the search text field in help contents and press enter it crashes. unfortunately that is the only information i can provide as the .log file contains nothing of interest. 2. how does one save the the AndroidManifest.xml file.actually i want to change the debuggable

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 wrote: >

[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 C

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

2012-03-18 Thread karan hans
On Saturday, 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 ha

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

2012-03-17 Thread karan hans
ure [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-tools>adb install > faceprevie > w-20120218.apk > 75 KB/s (3814528 bytes in 49.143s) &g

[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-tools>adb install > faceprevie > w-20120218.apk > 75 KB/s (381452

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

2012-03-17 Thread karan hans
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb 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] 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 com.example.android.rs.hellowo

[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 act

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

2011-10-27 Thread Hans
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 g

[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 de

[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 http://www.anddev.

[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. @Mig

[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 wrote: > On Thu, May 5, 2011 at 1:09 PM, Hans-Erik wrote: > > Help

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

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

[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] 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 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 Developer

[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 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 this message because you

[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: 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] 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 Limi

[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 "MUS

[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 pl

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. T

[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

[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

[android-developers] Extracting files from APK

2009-08-04 Thread Hans A
any of them extracts 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 thi

[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", "com.android

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

2009-04-21 Thread Hans
gs that need fixing, I'm just having a very hard time understanding how there are these terrifically dangerous areas such as the SDCARD that you seem to think are fine (as evidenced by your posts, barring a new permission set) but it's a security hole to allow users to allow applications to

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

2009-04-20 Thread Hans
7;s dangerous and what isn't, when it's all 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, s

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

2009-04-20 Thread Hans
at, because thepropertiesare read-only from the perspective > of SDK 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 > (per

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

2009-04-20 Thread Hans
hat are just as important that are available (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

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

2009-04-20 Thread Hans
ll (cpu/memory/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] Re: As application developers are we allowed to access system properties like ro.config.sync?

2009-04-20 Thread Hans
bly, from 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 --~--~-~--~~~---~-

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

2009-04-20 Thread Hans
bling 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 subsc

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

2009-04-20 Thread Hans
re a 'safe' way 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" gro

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

2009-04-19 Thread Hans
nstantly to monitor those changes instead of what you're supposed to use, which is a broadcast receiver... Surely this is an accidental oversight by the framework team, no? Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

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

2009-04-19 Thread Hans
is in a broadcast receiver? My broadcast receiver won't have the previous 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 &q

[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" grou

[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" gr

[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

[android-developers] Re: Activity with no UI

2009-03-28 Thread Hans
On Mar 28, 6:14 pm, Pd 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] Activity with no UI

2009-03-28 Thread Hans
ately 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 "And

[android-developers] Photo Viewer Share menu ->

2009-03-27 Thread Hans
the operation 'invisibly.' Suggestions 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 androi

[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 wrote: > On Thu, Mar 19, 2009 at 7:33 AM, Hans wrote: > > > Services are just completely different from receivers, which are > > different > > > from activities.  They don't receive any broadcasts at all. > > They c

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

2009-03-19 Thread Hans
also contain a broadcast receiver that would actually be what was triggered and it would in turn start the service, yes/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,

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

2009-03-18 Thread Hans
an 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 --~--~-~--~~~---~-

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

2009-03-18 Thread Hans
for ACTION_SEND, 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 t

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

2009-03-16 Thread Hans
ernel.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@

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

2009-03-16 Thread Hans
d/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

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

2009-03-15 Thread Hans
something I had hoped would 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 wrote: > Oh, I see.

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

2009-03-15 Thread Hans
oogle? 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 wrote: > I haven't looked in detail, but this looks like yet another case of a >

[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.

[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] What emulator version are people using for photo/camera testing?

2009-02-24 Thread Hans
an earlier version. 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 subscr

[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-de

[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 fro

[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, Test

[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

[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 acci

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

2009-02-14 Thread Hans
t seems 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 th

[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 p

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

2009-02-14 Thread Hans
Make sure you have added TestService to your build path for the service monitor :). I'm new to Eclipse myself :). The two projects are in the same workspace, yes? Just different folders I presume? The zip file I provided was the contents of my workspace, it had those two folders in it. You sh

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

2009-02-13 Thread Hans
nus 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 to this group, send em

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

2009-02-13 Thread Hans
without having to modify their manifests and yet the same security model gets enforced. Comments, secure workarounds...? Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

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

2009-02-13 Thread Hans
Is it .addDataAuthority( "*", l_nPortNumber ) ? --~--~-~--~~~---~--~~ 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] How to specify the port when programmatically listening for SMS messages?

2009-02-13 Thread Hans
add properties like 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: Unable to start service Intent error in Client-Server project

2009-02-13 Thread Hans
t. That's 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

[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] 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-12 Thread Hans
nt was somehow mangling 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

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

2009-02-12 Thread Hans
E" name out of the Remote Service section of the manifest for the API samples and add a entry for RemoteService in the sections of the manifest for the remote binding/controlling activities. Hans --~--~-~--~~~---~--~~ You received this message because you a

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

2009-02-12 Thread Hans
l methods on this service, you can register a callback on this service (that's running in another process) BUT you can't receive callbacks from the service's main thread, only from its threadpool. LOL. Sigh. One unusual thing down, billions to go. Thank

[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: Then I could delete the entry in my c

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

2009-02-12 Thread Hans
' 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 --~--~-~--~~~---~--~~ You received this message because you are

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

2009-02-12 Thread Hans
The possibility that the RemoteCallbackList instances are different is interesting if seemingly impossible as it is declared in my service's class definition like this: public class TestService extends Service { //Table of clients interested in hearing from us final RemoteCallback

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

2009-02-12 Thread Hans
43.541: INFO/ActivityManager(50): Start proc com.android.servicemonitor:remote 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 --~--~-~--

[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: And modified my service's manifest to include 'exported' like this: http://schemas.android.com/apk/res/android"; package="com.android.TestService" android:versionCode="1" android:versionName=

[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: 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 i

[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 se

[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 promp

[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

  1   2   >