English 中文(简体)
在背景服务中不设实体的情况下获得图像
原标题:Obtain image path without IntentFilters inside a background service

I have a rather tricky problem. I am working on a little project, which enables a user to "throw" content (images, audio files, videos) from his or her android phone to a computer screen. I use a Kinect in combination with the built in sensors of the phone to detect gestures which trigger the file exchange. I use UDP to upload files from or send requests to the phone.

我一直在通过《自然开发商指南》阅读,因为不必写我的档案浏览器,以挑选我想要发送的档案,是非常明智的。 如果我能够利用现有的软件,如美术馆,在电话上展示图像,并且宣布这一形象是选定的,并将其发送到计算机,那将是完美的。

因此,更明确地说明: 电话储存图像——检测到的姿态——>向计算机发送目前展示的形象。

Now my question: How can I find the location of the currently displayed image? LogCat shows me this, when I display an image:

11-21 14:59:22.142: D/FullScreenView(20619): image index=0, uri=content://media/external/images/media/437, path=/mnt/sdcard/Pictures/Loldroid/memebase/memes-inlove-cats-all-my-base-are-belong-to-you.jpg

是否有办法让我接受这一信息。 我的申请不会有用户接口,因此,我无法按照我的理解使用实体。

能否做到这一点,是否有什么投入?

Best regards, Sticks

问题回答

暂无回答




相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签