15,892,072 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by merridus (Top 22 by date)
merridus
13-Mar-12 4:49am
View
Hello,
Thank you, I'd discovered that function and I've used a NetworkAvailablilityChanged listener with it and it seems to accurately tell me when the machine is connected to a network and if the internet is available. This should set me on my way.
Thanks.
merridus
12-Mar-12 17:29pm
View
Thank you for this, I hadn't seen this function. I imagine I could combine this with pinging a web address to confirm an active internet connection when it has been confirmed that it's actually connected to a network.
merridus
12-Mar-12 16:54pm
View
Should it not just be: android:background="@color/background" if you have a colour defined in your color.xml file a color called background
merridus
24-Feb-12 5:12am
View
Can you post your logcat output?
merridus
10-Feb-12 4:39am
View
Do you intend on storing the data locally on the device or in a database running on a server somewhere?
merridus
9-Feb-12 6:15am
View
Well you could do something like "Select TOP 1 * FROM Table ORDER BY IDField DESC" for your SQL I guess, and then put whats returned into your textbox.
Any help?
merridus
8-Feb-12 11:50am
View
Good point, the only time i've ever actually had to achieve this is with widgets that don't require a launcher icon.
I've not come across any way of preventing the OS from killing an application or auto restarting immediately after the service is killed, I wouldn't imagine this is possible/advised but I could be wrong.
I can't think of how you might achieve this at the minute so you might have to wait and see if someone else can pick it up.
merridus
7-Feb-12 9:08am
View
You have the sign the wrong way round in the code you pasted above for printing all results. That's why it isn't outputting anything at the end upon exiting the loop. "i<10"
merridus
7-Feb-12 7:22am
View
Does it just not output anything or does it give you an error?
merridus
7-Feb-12 6:22am
View
What is your problem? Does it not exit when you enter -999?
merridus
7-Feb-12 5:46am
View
Exactly, now use the techniques you learnt from that article to do a bit of searching to find what you want for mobile technology. Your question is very broad so do some searching and reading and then if you have a specific question come back and ask that.
merridus
7-Feb-12 5:25am
View
Suggested reading:
http://searchengineland.com/guide/how-to-use-google-to-search
[
^
]
merridus
7-Feb-12 4:13am
View
Does mnuItems actually have any children to remove?
It looks like you are trying to remove the first child when there are none which would produce the out of range exception. Unless you are adding children to it somewhere else?
merridus
9-Jan-12 6:48am
View
Do you mean when the user uninstalls the application you want any icons placed on the homepage for the application to be removed?
It should do that by default should it not?
merridus
23-Dec-11 6:21am
View
No problem, added it as an answer for future reference.
merridus
23-Dec-11 5:05am
View
I'm not sure it will work but try adding < uses-feature android:name="android.hardware.telephony" android:required="false" /> to your manifest file. This should state that it will request telephony permissions but as they aren't required it can still be downloaded without them. I'm assuming your tablet doesn't have this functionality.
merridus
23-Dec-11 5:02am
View
Deleted
I'm not sure it will work but try adding <uses-feature android:name="android.hardware.telephony" android:required="false" /> to your manifest file. This should state that it will request telephony permissions but as they aren't required it can still be downloaded without them. I'm assuming your tablet doesn't have this functionality.
merridus
22-Dec-11 7:30am
View
Does your application use any features that the tablet doesn't have? Such as "uses-feature android:name="android.hardware.telephony" or anything like that?
merridus
21-Dec-11 9:15am
View
No problem.
merridus
14-Nov-11 10:56am
View
What are you initially binding to the gridview?
merridus
13-Sep-11 11:32am
View
When do you first call doDraw()?
merridus
13-Sep-11 6:17am
View
In the xml?
android:background="@android:color/transparent"
This should set the background colour of a layout to transparent.
Show More