1. Confirmation issues
Look at the operating system version: ALT + AA + H to see the mobile version, (build number inside such as 1688)
Do Network Diagnostics phone signal display is uppercase, 3G, EDGE, 1x
See log: ALT + L g l g (lowercase)
Mobile phone can send mail not. BBM, send pin message, can Internet (extranet, intranet)-Purpose Check network connectivity
Check the BES log (see for yourself, find a supplier)
2. Processing
2.1 Shut down the network, turn on the network, turn of
First, let's test Google tts English text aloud
Command-line testing:Wget-q-u mozilla-o "Helloworld.mp3" "http://translate.google.com/translate_tts?ie=UTF-8tl=enq=hello+ World
Then we write a section of QT Code, test Chinese speech aloud, download the file name Translate_tts, the mobile phone in the application of the data directory, such as
/accounts/1000/appdata/com.example.hello1standard.testdev_lo1standard73e1edad/data
We can copy this mp3 file to the
Bo Master Doll also wrote several BlackBerry development of small documents, quite practical, thanks.
Original:
http://doll.javaeye.com/blog/569457
LabelField TestLabel = new LabelField ("I swear to God up in the sky I'll be your shelter if you cry cause your are my everything."field.focusable) {int Currentchar = 0;String currenttext = null;Font Ourfont;Private Timer _scrolltimer;Private TimerTask _scrolltimertask;protected void Paint (Graphics Grap
Method 1:
Print debug information on the NDK development tool console
The way mobile phones and development desktops are connected is on a local area network (such as an office WiFi environment, or a phone USB connection to a development desktop)
Operating effect:
The BlackBerry NDE C + + example code is as follows
void btcontroller::logqstring (const QString msg)
{
std::cout
Reference:
BB10 Cascades Beta3: How to more easily
January 29, 2010: Last night just upgraded to the latest BDM 5.0, install the application, the results prompt:
This application isn't compatible with your device and cannot be loaded
Reason:
The jackpot is estimated to be the BDM 5.0 bug.
Workaround:
Install cod with the Javaloader command line installation.
1) Copy Javaloader.exe to C:/windows
2) javaloader-u Load Myapp.cod
May 30, 2010 Update:
1) It is recommended to download the latest BDM
2) Javaloader is a powerful tool for
==============================================================
The following are used in non-QT projects.
==============================================================
The BB10 IDE comes with a playaudio example program.
To create a clean project:
Select Menu New--BlackBerry C + + Project
Select Minimal Screen Application
1) Copy the playbook inside the source code, MP3 file over.
2) Modify the Bar-descriptor.xml and add the mp3 file to the assets.
Final effect
1, a new document, the size of the custom (just find a material also line).
2, a new layer, with the Brush tool, I choose the cusp 19 pixel (pen), color I choose blue (you can choose the
Heap Sort HeapSort is a tree-like sorting method. The characteristic of heap sorting is that during the sorting process, R [l .. n] As a Complete Binary Tree ordered storage structure, using the internal relationship between the parent node and
In the word programming, We need to count the most frequently used words in the book Bible. This is a typical top K problem. It is solved using the classic hash + heap method,CodeAs follows:
# Include # include # include # include # include
I. Overview
To improve the performance of the software, you need to start from the following aspects:
1. algorithms and data structures
2. Algorithm Optimization
3. Data restructuring
4. Optimization of code unrelated to the system (float replaces
I. Overview
Problem: calculate the maximum sum of continuous subvectors in one-dimensional arrays.
For example, if a [6] = {3, 4,-2,-9, 10, 8}, the sum of the maximum continuous subvectors is 10 + 8 = 18.
1) solution 1: simple algorithms
#include
I. Overview
1) benefits of space saving
Smaller programs make loading faster; easier to read into high-speed cache; less data to be operated, thus reducing the operation time.
2) space saving methods
Mathematical functions Replace the data to be
1. Heap
1) Heap: A Complete Binary Tree with the value of any node less than or equal to the value of its child is a small root heap.
A Complete Binary Tree with values of any node greater than or equal to the value of its child is a big root
1. Calculate the prime number
First Program: If the integer n cannot be divisible from 2 to n-1, It is a prime number. Note that n = 2 must be a prime number.
#include using namespace std;int prime(int n){ int i; for (i = 2; i
It is very convenient to use the bitset of C ++:
/************* Bitmap Sorting Algorithm **************/# include # include # include using namespace STD; int main () {// view bitset implementation we can see that bitset stores bits indirectly
This is the fourth chapter in programming:
If the first binary search is too simple for you (everyone must feel this way...), please give it a try:In p, return the position where t appears for the first time in array x (that is, if an array appears
1. subscripts: 0
2. This function can be written as follows:
# Include using namespace STD; int BS (int * a, int begin, int end, int v) {int * B = a + begin; // start int * E = a + end; // end int * mid = NULL; // The while (B 1); // obtain
Package COM. SDO. tradinghub. domain; public class bitsorttest { Private Static final int bitsperword = 32; // integer digits Private Static final int shift = 5; Private Static final int mask = 0x1f; // 5-bit masking 0b11111 Private Static
Finding the median indicates that the question is a special case of knowing the question. Finding the number smaller than K and using the Division idea of the Quick Sort, time complexity O (N + n/2 + N/4 ....) = O (N)
Void swap (int * a, int * B)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.