HTC Desire :: Sharing Contact As QR Code
Nov 12, 2010
I've recently noticed that on both the HTC Magic (aka MyTouch) and Samsung Galaxy S it's possible to share contacts details via QR Codes.Both the aforementioned smartphones had the latest Barcode Scanner (by ZXing Software) installed. It's simply a matter of going into the address book, hit the menu button and select the "share contact as barcode". As a result, a fullscreen QRCode is displayed containing all the relevant details of the selected contact, ready to be scanned and saved by another smartphone.Now, why can't my Desire do the same?I have Barcode Scanner 3.51 installed, but the "share as barcode" options is nowhere to be found in my address book/contacts list.The only workaround I found is to share contacts directly from inside B.S., but (other than being slower) this method shows non-grouped contacts which is a PITA.Is this a Sense-related matter?What about yours?
View 4 Replies
Oct 7, 2009
I have an app with two activities.
Both activities among other functions have to perform the same calculation on data, so each activity include the same code to perform the calculation.
Is it possible to only have the similar code in a separate activity and be accessed by the other two activities instead of duplicating the code twice?
View 15 Replies
View Related
Jul 24, 2010
I want to create a "main" service/application which will provide different functionalities to other applications. According to android docs I can use elements from an application/ service in other. "A central feature of Android is that one application can make use of elements of other applications (provided those applications permit it). ...". There is any examples/documentation on this direction? TicTacToeMain/TicTacToeLib example is not helping me because it seems "TicTacToeLib" will be embedded in final TicTacToeMain apk file. Also I want to ask if is possible to detect if "main" service/ application is missing (if is missing I want to tell user to install it, or to install it automatically).
View 2 Replies
View Related
Dec 22, 2009
Fred meets Bob at the pub and shows off the latest app he's installed.Bob likes it and wants to have it on his phone, too. Q: What's the best way for Fred to help Bob install an application? Hint: On a Palm, Fred would just 'beam' the app to Bob's pda (we're assuming that it's a freely downloadable app, not requiring payment or registration). On an Android phone, can Fred somehow share it over Bluetooth, or display a QR Code for the app so that Bob can use his Barcode Scanner to get it from the Market (or slimeme.org, or wherever)? As far as I know, no file manager has a "display barcode" function (like Contacts does when you have Barcode Scanner installed), so I'm forced to describe the app, or go into the application list and dig out its "com.vendor.app" name. This seems decidedly un-slick.
View 3 Replies
View Related
Aug 26, 2010
I have ten, possibly more, apps I'm developing that all share logic. 50-75% of the logic is the same - perfect for some time of library or code sharing. However, after reading the posts here and trying to share code in Eclipse, I'm not sure that's going to work. I tried going to project -> properties -> build path -> link source and adding the src and gen folders of the project with the shared code and then importing the classes I need. That seems to work in the IDE, but gives an error during runtime: class not found. This seems to be a common error for people attempting this.
I am slowly deciding that shared code is not the best approach in this scenario. Android doesn't seem to work well with this type of code sharing. For one thing resources are not packed in libraries, but references (R.whatever) must exist so as not to create errors. This can be designed around, but the effort and headache is probably worse than simply creating multiple copies. My experience seems typical, based on what I've read. Is it? Have you experienced success or failure with sharing code and/or custom libraries? Am I off-base in thinking that multiple code copies will be smoother sailing than fighting the shared code approach?
View 5 Replies
View Related
Jul 2, 2010
I have an Android application composed by several Activities. Most of them need to check whether an active network is available or not:
public boolean isNetworkAvailable() {
ConnectivityManager cm = (ConnectivityManager)
getSystemService(Context.CONNECTIVITY_SERVICE);
TelephonyManager tm = (TelephonyManager)
getSystemService(Context.TELEPHONY_SERVICE);
...
}
I would like to move that code to a helper class in order to avoid the need to write that code in every Activity, but calls to getSystemService are only allowed from an Activity. The other alternative is to move that code to a parent activity use inheritance but:
Every activity already extends from android.app.Activity
Some of my activities already extend from a common my.package.BaseActivity
(Activity <- BaseActivity <- XXXActivity)
What do you recommend in this case? Is there any other alternative?
View 1 Replies
View Related
Jul 26, 2010
Did a bunch of searching but can't seem to find a solution. A friend texts and asks me if I have so-and-so's number. On the blackberry, I would go to my contacts, shift-roll to select the phone number, and paste it into a new text message. I'm looking for the most efficient way to do this on my droid x. I have found the copy command in different places (sometimes via the menu key and other times via a hold click) but I don't see where I can select specific text. I know there is a feature to send an id card or something like that, but those don't seem to work with a lot of phones.
View 1 Replies
View Related
Dec 15, 2009
I want to add,delete,update android Contact Database using native c code. please tell me how to do if any one have done it.
View 3 Replies
View Related
Sep 19, 2012
I have my Google account also setup on my wife's phone so we can share purchased apps. However, everything else is shared too. For example, even though I have sync for everything on my account turned off, my calendar still showed up on my wife's phone until I disabled it in the calendar app. Also, I can't remove my Google Talk account from her phone so my messages show up on her phone.
This is on a pair of stock Samsung Galaxy S3 phones.
View 2 Replies
View Related
Apr 10, 2010
I have created an adhoc wifi connection with internet sharing enabled on windows 7 and am struggling to get my Desire to see it. Another laptop can see it as well as my ipod touch.
I have tried both WEP and WPA-2 security types (only two available) and I cannot see the wifi.
Is there anything I have to do on the phone?
Forgot to add - I am able to connect to my home wifi (bt homehub) but I am no longer at home.
View 4 Replies
View Related
Jul 20, 2010
I'm using HTC desire, I'm sorry if I haven't searched the forum enough.I'm wondering if there is ever a way to post a link in Facebook like how you do it on the full web site- when you click on "What's on your mind" a drop down of several icon appears and when you choose the "link" icon you can paste the URL there.The problem is that without that interface the URL messes up with the actual message you wanted to post (most of the time to explain the link you are posting).
View 3 Replies
View Related
Nov 17, 2010
I have a Desire and can't live without my swype for typing. My brother also has a Desire but hasn't got swype and the beta is closed. He wants to try and get swype onto his HTC by downloading mine. If he does this, will Swype allow it to be downloaded onto two phones or will they stop it?
View 8 Replies
View Related
Sep 7, 2010
New to Android, just got a Droid Desire from US Cellular in Wisconsin. I would like to wired tether the phone with my Mac Book and share the G3 internet connection. Is this possible? How is it done?
View 4 Replies
View Related
Sep 8, 2010
I'm moving away from strict Android development and wanting to create iPhone applications. My understanding is that I can code the backend of iOS applications in C/C++ and also that I can use the NDK to include C/C++ code in Android apps. My question however is how? I've googled quite a bit and I can't find any clear and concise answers.
When looking at sample code for the NDK, it seems that all the function names etc. are Android (or at least Java) specific and so I would not be able to use this C/C++ backend to develop an iPhone frontend?
I'd appreciate some clarification on this issue and if at all available some code to help me out? (even just a simple Hello World that reads a string from a C/C++ file and displays it in an iOS and Android app).
View 1 Replies
View Related
Aug 23, 2010
From which link i can copy contact application code for windows. I just want to go through code in my windows system. I will not do any "make sdk" on that code.
View 2 Replies
View Related
Aug 23, 2010
to display the contact i have used this coding
Code:
Cursor cursor = getContacts();
String[] fields = new String[] { ContactsContract.Data.DISPLAY_NAME };
//this.setListAdapter(new ArrayAdapter<String>(this,android.R.layout.simple_list_item_checked,));
SimpleCursorAdapter adapter =
new SimpleCursorAdapter(this,
android.R.layout.simple_list_item_checked, cursor, fields,
newint[] { R.id.contactEntryText });
mContactList.setAdapter(adapter);
exception is thrown, i got successful in textview but i want it in listview(scrollable) to add the contact, i have used the code
Code:
ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>();
ops.add(ContentProviderOperation.newInsert(Data.CONTENT_URI)
.withValue(Data.RAW_CONTACT_ID,0)
.withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE)
.withValue(Phone.NUMBER, "1-800-GOOG-411")
.withValue(Phone.TYPE, Phone.TYPE_CUSTOM)
.withValue(Phone.LABEL, "free directory assistance")
[code]....
i both add and delete i am not getting any error, but it is not reflected nither in the contact nor in the textView.
View 1 Replies
View Related
Jul 15, 2009
I have downloaded the full Android source code & pulled out the contact source into a different folder. I am trying to create a separate Contacts "stand alone" App using the existing android contacts source code, once that done I intend to add some more features (code) to contacts source & make a contacts.apk out of it. Is it possible? The problem I faced was, when I pulled the contacts app source code, there were many internal api calls & Private api references. I tried to resolve them by including those internal api source code & class files (available from the android source code) in my project, but there are still many errors & internal api calls, which I am not sure how to resolve them like:
import android.os.ServiceManager android.provider.Gmail android.provider.Im android.provider.Telephony acquireProvider(Uri) deleteRow() lookupProviderNameFromId(int) ISyncAdapter IContentProvider etc.
Is there a way to solve these internal API issue? Was there anyone who has successfully extended any of the existing apps (Contacts, Alaram, calendar.) of android with the help of its source code, is this approach possible? I tried to include the "framework_immediates classes.jar" in the project, but due to duplicate class files present in the project & SDK it throws the ususal - UNEXPECTED TOP-LEVEL EXCEPTION: class file already added com/android/ internal/telephony/callerInfosync. I have been trying to achieve this for the past 2 days, with not much success. Can somebody lead me to a correct direction?
View 8 Replies
View Related
Jun 8, 2010
Anybody has a code snippet where I can get all the numbers (telephone) of a contact? (in android 2.1).
View 2 Replies
View Related
Apr 10, 2010
I'm trying to update/change contact ringtone using this code...
I get the message: " the application has stopped unexpectedly"
what is wrong with my code and how do I do it? code...
View 1 Replies
View Related
Aug 27, 2010
I am having the contact source code which i want to build on eclipse & test on emulator,but the contact application uses some of the hidden APIs of base code which is not present in default android.jar because of that i am getting lot of error in my code. I am trying to generate my own android.jar using "Android sdk - Including hidden APIs." option in android.mk of framework directory, but still the hidden APIs not getting exposed in android.jar. how to customize the android.jar in order to make all hidden APIs exposed to application.
View 2 Replies
View Related
May 7, 2010
I had some fairly simple code in my app to invoke Edit Contact activity on a known good contact index that worked in Android 1.6 but is broken for me now in Android 2.1 on the Droid. I built a sample activity/app 'EdCon' to show this:
package com.jbh;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
When I run this on my G1 running 1.6 it works as expected i.e. brings up the Edit Contact screen for the known index and then I can hit BACK to return to "Hello World, EdCon". Code...
View 3 Replies
View Related
Apr 19, 2010
loving the phone my first android. was a toss up between that and the iphone, think i made the right choice.il get to the point my phone is locked to oranage uk but i need it unlocked tried a shop near me that unlocks phones but he says he cant get a code cos the phone is too new! so i tried foneszone and they said the same thing. anyone know of a website that can supply me with a code?
View 27 Replies
View Related
Apr 19, 2010
getting a desire tomorrow and the owner texted me the unlock code from vodafone,is that correct 7 digits as thats what they gave her ?
View 2 Replies
View Related
Sep 26, 2010
I have my new desire for almost a week now. I am trying to unlock it (it's locked to telus). I have tryed many website (mobileincanada, cellunlock) but they still answer me that the didn't receive the codes for ''new'' Desires.I didnt ask a refund from cellunlock because he told me that if he doesnt have it, no one else will have it.so I'd better wait (1-3 buisness days) after 3 buisness days they still don't have it.I've spoken to an other admin from htccode dot com and they can 'give it a try'because they have acess to ''all' databases. I'm not into asking a refund from cellunlock and be stucked again with htccode.Can someone explain me the theory of 'new databases' Vs 'old databases'?How do these buisness work? How can they have to htc databases... why HTC give them access? Hopefully I will find someone here who's in my situation and will try to help out
View 1 Replies
View Related
Sep 14, 2010
The title is a little bit missleading. I removed the brand on my phone rooted it and instaled the newest version of Leedriod.
When i Turn on my Desire i will be prompted to enter the pin. When i dont enter anything the system loads and i just can make emergency calls.
So the question is how to enter my PIN afterwards ?
View 2 Replies
View Related
Aug 16, 2010
UK HTC Desire on Vodafone, currently 2.1:
I recently set up my calendar to sync with Exchange, which worked perfectly. However, the security of Exchange meant that it insisted on having an unlock code.
Then I installed LockPicker to circumvent having to type in the code every time I used the phone. This also worked perfectly.
Now I've forgotten what the code is. Which doesn't matter, as LockPicker is still working fine. However, I'm on Vodafone, and rumour has it that we'll be getting Android 2.2 this week. Now, call me Old Mr Cynical, but I'm seeing a potential problem here... if LockPicker doesn't reinstall/transfer to 2.2 first time... I'm not going to be able to get into the phone!
So, before this all goes very pear shaped, is there a way (other than Factory Reset) of getting around this? Or, if I have to do a FR, then what's the best way to avoid aggro after the reset and get everything back how it currently is?
View 1 Replies
View Related
May 12, 2010
When I add a new contact, I'm offered Google, SIM and phone. Where should I put it, and what effect does each option have?
View 8 Replies
View Related
Jun 23, 2010
Just found a 25% off Voucher code for Wave Secure, so I though I'd post it here, To get it just enter GOAL into the voucher/promotion box for 25% off the price. Valid till the end of June.
View 3 Replies
View Related
Jul 22, 2010
Imported all of my contacts from outlook that include the country codes (mostly +44 for UK). The desire does not recognise these numbers when I try and dial - Is there an easy way round this without editing every contact
View 5 Replies
View Related
Nov 7, 2010
HTTP error code: 504 (T-Mobile)
I've got a weird internet connection problem:
When using the standard internet app on mobile data (3G/HSDPA) I get the error for all webpages:
~~~~~~~~~~
Web page not available:
The web page at: ############# could not be loaded as:
HTTP error code: 504
Gateway Time-out
~~~~~~~~~~~
All other apps that require internet/data over mobile network function correctly (e.g. facebook, maps, twitter etc). When using the standard internet app on wi-fi it works fine, so I decided to download another browser (opera) and without inputting any settings it works fine on the mobile network and wifi.
One theory, after the recent update of 1.32.405.6 this may have caused this problem???
When looking at the settings, under wireless and settings, mobile network sometimes displays 'not connected' after using the internet app.
I've gone through all the settings, and can't see any issues? I've deleted cache, 'force stop', restarted the phone, removed the battery and sim card and restarted phone. I'm thinking it has to be a software issue with the internet app as i can use the 3G/HSPDA connection through other apps.
View 2 Replies
View Related