I have an empty TextView set for my ListView. When there is no data, it shows the empty text, where I have description that they should go to Contacts application. How can I linkify "Contacts" word so when tapped opens the Contacts application?
In the built-in Contacts app, when you press a key to input a character in the contact list view, it will show a transparent and floating dialog about what you input. It will also filter the underlying contacts using the keyword you input. This is quite different with using quick search box. How to implement this?
Like the Alarm Clock, Calculator, etc. I see that the source is available at : http://source.android.com/ For example, the alarm clock I'm going to modify will "look exactly the same" as the built-in one, but there'll be a lot more functions. Is it legal to extend the functionality of the Alarm Clock and publish it as paid application?
We've rebuilt a couple of our apps with the 1.5 SDK (but targeting 1.1).
The Market seems to have a bit of trouble with the background of the icons. They appear correctly (with transparent backgrounds) on the desktop, and they appear correctly when the app is downloaded from the Market and installed on the device.
However, they appear on black (not transparent) backgrounds in the Market uploader web page, and in the Market application on the device.
It looks to me as though the Market has a problem when it extracts the icon from the .apk at upload time, with .apks built by the 1.5 SDK.
I am looking to find out how to uninstall the apps that came with my htc evo. Like Friend stream and bookmarks. and other apps i will never use to free up some memory. It i go to settings > application . there is no where to remove app.
I have a Samsung Galaxy S4 running 4.4.2 KitKat. I tried to set the default image, video and documents directories to a folder on the SD card by going to MyFiles -> Settings -> SDCard path. I am taking photos & videos using the default app, not a 3rd party app. Although it is showing me the default is set to the SD card, the images I take using the default camera app all seem to save to the default internal storage /storage/emulated/0/DCIM/Camera.
getting the default image directories to be on the SD card?
I have done many of reverse engineering for other electronics in the past, Since Im new to android I was wondering before even wasting my time if is possible to port, or built a rom from sources or a phone thatis NOT External SD built in to a phone that it have the external sd built in.
Making it short can I try to reverse engineer the android code from a Nexus 5 (no ext_sd) to other device that have ext_sd built in?
If is possible where should I be looking to start trying making some development on this as I haven't done nothing close quite.
Is there a way to block or remove built in applications on an android phone. I want to limit what you can do on the phone e.g. only call, text, email and use one or two third party applications. Is it possible to do that without rooting the phone?
If I get an Android phone, such as HTC Hero or Nexus One (if it comes to Sprint), is the default "Contact" app "Gmail Contacts"? That is, will it automatically sync my Gmail Contacts to the phone's internal "Contacts" database? I like the idea of pushing everything to Gmail (including all my contact info) and I'd love it if the Android phone would sync with all the contacts in Gmail. That way, I will always be backed up and never have to worry about loosing the 500 or so contacts I've built up over the years on my current Palm Treo phone. If I don't like the built-in Contact app on whatever Android phone I end up with, are there better apps for sale that will also sync with Gmail's contacts?
I've pulled and compiled the latest Android tree. Now I want to make changes to the Android's Browser application.
The environment in Eclipse is already set up. I tried creating the project by selecting "Build project from existing source", but it fails to build because it uses libraries not in the SDK.
Does anyone know how to import the missing source in order to build the Browser app, or even better, how to just copy the source into a separate project and use it like I was developing a regular application?
I'm not sure if this can be done, but is it possible to launch an activity from text that has been Linkified? I'm basically providing an illustrated glossary, and when the user clicks on a highlighted term, I want the activity that handles display of the image and associated text to fire up. I also need to pass in some parameters to the activity being launched.
I got the @s linkifying no problem with @([A-Za-z0-9_]+) like this:
However, when i try to do the same with hashtags the hashtag part is not passed to the link. This is what I tried:
It is not the matter of the hashViewURL (I tried with %23 etc.), somehow the extracted hash is not appended to the url. The hash tag is properly showing as link but the link only points to raw hashViewURL from above http://search.twitter.com/search?q=#
I'd like to add a menu option to the Android camera app. Is this possible to do using the current SDK? I know I need to add an intent-filter tag in my activity. But I don't know what I should put in the mime type. I want to be able to process the live camera previews if the user selects the menu option. So what do I put into the type tag of the intent-filter? Also I suppose I won't be using ALTERNATIVE or SELECTED-ALTERNATIVE for the category as I want to deal with the whole intent?
I have a ListView that uses Linkify to create a link to another activity in my app. the url looks something like content://com.myapp/activitiy/view?param=blah
This works fine every time.
However, in another view, I'm trying to call some code like this:
But for some reason this doesn't seem to work. It doesn't trigger my activity (and in fact it blows up if i dont include the setAction() call. How am I supposed to create the Intent such that it acts the same way that Linkify does...?
Now i realize i can setup the extras and then handle it in the activity, but that just seems like duplicated effort.